powerpc: Fix tabort usage in syscalls
[glibc.git] / ChangeLog
blob6e55d886a6b3c7975e54357f25cbc1d189d60f49
1 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
4         register other than r0 for tabort, it has special meaning.
5         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
6         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
7         transaction before starting syscall.
9 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19         * sysdeps/x86_64/rtld-memcmp.c: Removed.
20         * sysdeps/x86_64/rtld-memset.S: Likewise.
21         * sysdeps/x86_64/rtld-strchr.S: Likewise.
22         * sysdeps/x86_64/rtld-strlen.S: Likewise.
23         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
24         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
30 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
32         * debug/strcpy_chk.c: Improve performance.
33         * debug/stpcpy_chk.c: Likewise.
34         * sysdeps/x86_64/strcpy_chk.S: Remove.
35         * sysdeps/x86_64/stpcpy_chk.S: Remove.
37         [BZ #18240]
38         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
40 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
42         [BZ #15128]
43         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
44         ifuncmain8.
45         (modules-names): Add ifuncmod8.
46         ($(objpfx)ifuncmain8): New rule.
47         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
48         <cpuid.h>.
49         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
50         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
51         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
52         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
53         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
54         * sysdeps/x86_64/dl-trampoline.h: Likewise.
55         * sysdeps/x86_64/ifuncmain8.c: New file.
56         * sysdeps/x86_64/ifuncmod8.c: Likewise.
57         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
58         Removed.
59         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
60         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
61         Change rtld_savespace_sse to __glibc_unused2.
62         (RTLD_CHECK_FOREIGN_CALL): Removed.
63         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
64         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
65         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
67 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
69         * sysdeps/aarch64/bzero.S (__bzero): Remove.
71 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
73         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
74         Unconditionally set __fpcr to avoid uninialized warning.
75         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
77 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
79         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
80         is corrupt.
82         * malloc/arena.c (arena_get2): Drop unused argument.
83         (arena_lock): Adjust.
84         (arena_get_retry): Likewise.
86 2015-08-24  Andreas Schwab  <schwab@suse.de>
88         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
89         Don't define.
90         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
91         (__ASSUME_IPC64): Don't undef.
92         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
93         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
94         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
95         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
96         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
97         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
98         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
99         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
100         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
101         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
102         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
103         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
104         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
105         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
106         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
107         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
108         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
109         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
110         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
111         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
112         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
114 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
116         * manual/Makefile (install): Only build manual when perl is available.
118 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
120         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
121         '#undef memcpy' by '#undef memchr'.
123 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
125         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
126         memchr not point to the internal __GI_memchr implementation.
128 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
130         * timezone/Makefile (CFLAGS-zdump.c): Remove
131         -Wno-strict-prototypes.
132         (CFLAGS-zic.c): Likewise.
133         (CFLAGS-ialloc.c): Likewise.
134         (CFLAGS-scheck.c): Likewise.
136         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
137         -Wno-error=undef.
139 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
141         * i386/i686/multiarch/strcasestr-c.c: Removed.
142         * x86_64/multiarch/strcasestr.c: Likewise.
143         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
144         Remove strcasestr.
146 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
148         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
150         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
151         variables for high and low parts before possibly modifying them.
153 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
155         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
156         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
157         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
158         of "multiarch/init-arch.h".
159         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
160         * sysdeps/x86/init-arch.h: This.
162 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
164         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
165         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
167 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
169         [BZ #17787]
170         * manual/macros.texi: Add twoexp macro.
171         * manual/filesys.texi: Fix exponents.
172         * manual/llio.texi: Likewise.
173         * manual/stdio.texi: Likewise.
175 2015-08-20  Florian Weimer  <fweimer@redhat.com>
177         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
178         incorrect use.
180 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
182         [BZ #18370]
183         * math/s_csqrt.c (__csqrt): Force underflow exception for results
184         whose real or imaginary part has small absolute value.
185         * math/s_csqrtf.c (__csqrtf): Likewise.
186         * math/s_csqrtl.c (__csqrtl): Likewise.
187         * math/auto-libm-test-in: Add more tests of csqrt.
188         * math/auto-libm-test-out: Regenerated.
189         * sysdeps/i386/fpu/libm-test-ulps: Update.
191 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
193         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
194         __ppc_set_ppr_very_low): New functions.
195         * manual/platform.texi: Add documentation about
196         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
198 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
200         * string/stpncpy.c (stpncpy): Improve performance using
201         __strnlen/memcpy/memset.
203 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
205         [BZ #18796]
206         * scripts/test-installation.pl: Don't add -lmvec to build options if
207         libmvec wasn't built.
209 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
211         [BZ #14341]
212         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
213         case when there is a gap between DT_REL and DT_JMPREL sections.
214         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
215         (LDFLAGS-tst-split-dynreloc): New.
216         (tst-split-dynreloc-ENV): Likewise.
217         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
218         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
220 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
222         [BZ #18822]
223         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
224         attribute_hidden.
225         (__xstat64_conv): Likewise.
226         (__xstat32_conv): Likewise.
228 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
230         [BZ #18822]
231         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
232         Don't load %ebx when calling __setcontext.  Call __setcontext
233         with HIDDEN_JUMPTARGET.
234         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
235         libc_hidden_def.
237 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
239         * sysdeps/i386/i686/Makefile
240         [$(subdir) == string] (sysdep_routines): Moved to ...
241         * sysdeps/i386/Makefile: Here.
242         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
243         * sysdeps/i386/cacheinfo.c: Here.
244         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
245         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
246         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
247         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
249 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
251         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
252         __i586__ is defined.
253         (HAS_I686): Defined to 1 if __i686__ is defined.
255 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
257         * elf/Makefile [$(have-z-execstack) = yes]
258         (CPPFLAGS-tst-execstack.c): New variable.
260         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
261         conditional to [defined UTMPX || _HAVE_UT_TYPE].
262         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
263         UTMPX || _HAVE_UT_TV].
264         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
265         UTMPX || _HAVE_UT_TV - 0].
267 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
269         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
270         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
271         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
273 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
275         * sysdeps/powerpc/dl-procinfo.c:
276         (_dl_powerpc_cap_flags): Added missing strings for some
277         hwcap features.
278         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
280 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
282         Port the 0x7efe...feff pattern to GCC 6.
283         See Steve Ellcey's bug report in:
284         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
285         * string/memrchr.c (MEMRCHR):
286         * string/rawmemchr.c (RAWMEMCHR):
287         * string/strchr.c (strchr):
288         * string/strchrnul.c (STRCHRNUL):
289         Rewrite code to avoid issues with signed shift overflow.
291 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
293         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
294         whether cpuid is available only if HAS_CPUID is 0.
295         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
296         (HAS_I586): Likewise.
297         (HAS_I686): Likewise.
299 2015-08-18  Zack Weinberg  <zackw@panix.com>
301         * misc/Versions (libc): Add GLIBC_2.23.
303 2015-08-18  Alan Modra  <amodra@gmail.com>
305         [BZ #18421]
306         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
307         .Lp__global.
308         (_start): Load %dp via .Lp__global.
309         [!SHARED]: Use .section .rodata.
311 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
313         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
314         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
316 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
318         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
319         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
321 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
323         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
324         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
326 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
328         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
329         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
331 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
333         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
334         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
336 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
338         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
339         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
341 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
343         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
345 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
347         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
348         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
349         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
350         (__ASSUME_LWS_CAS): Delete.
352 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
354         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
355         * sysdeps/hppa/configure: Regenerated.
356         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
357         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
358         * sysdeps/hppa/nptl/tls.h: Likewise.
360 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
362         [BZ #18823]
363         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
364         for scaling up small arguments.
365         * math/s_csqrtf.c (__csqrtf): Likewise.
366         * math/s_csqrtl.c (__csqrtl): Likewise.
367         * math/auto-libm-test-in: Add more tests of csqrt.
368         * math/auto-libm-test-out: Regenerated.
370 2015-08-17  Andreas Schwab  <schwab@suse.de>
372         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
373         version set GLIBC_2.19.
375 2015-08-16  Zack Weinberg  <zackw@panix.com>
377         [BZ #18681]
378         * misc/regexp.h: This interface is no longer supported.
379         Remove all contents, leaving only an #error directive.
380         * misc/regexp.c (loc1, loc2, locs, step, advance):
381         Demote to compatibility symbols.
383 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
385         [BZ #18084]
386         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
387         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
388         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
389         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
390         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
391         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
392         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
393         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
394         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
396 2015-08-15  Zack Weinberg  <zackw@panix.com>
398         [BZ #18795]
399         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
400         buffer length is known to be too large, not if it's known to be
401         small enough.
402         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
403         overflow at runtime, involving a length parameter, twice: once
404         with a compile-time constant length parameter, once without.
406 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
408         [BZ #18824]
409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
410         scaling x * y up instead of down.
411         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
412         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
413         * math/auto-libm-test-in: Add more tests of fma.
414         * math/auto-libm-test-out: Regenerated.
416 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
418         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
420 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
422         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
423         unnecessary movq.
424         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
425         Likewise.
427 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
429         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
430         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
431         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
432         and tgamma.
433         * math/auto-libm-test-out: Regenerated.
434         * sysdeps/i386/fpu/libm-test-ulps: Update.
435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
437         [BZ #16520]
438         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
439         (__tanh): Force underflow exception for arguments with small
440         absolute value.
441         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
442         (__tanhf): Force underflow exception for arguments with small
443         absolute value.
444         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
445         (__tanhl): Force underflow exception for arguments with small
446         absolute value.
447         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
448         (__tanhl): Force underflow exception for arguments with small
449         absolute value.
450         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
451         (__tanhl): Force underflow exception for arguments with small
452         absolute value.
453         * math/auto-libm-test-in: Add more tests of tanh.
454         * math/auto-libm-test-out: Regenerated.
455         * sysdeps/i386/fpu/libm-test-ulps: Update.
457 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
459         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
460         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
462 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
464         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
465         <cpuid.h>.
467 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
469         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
470         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
472 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
474         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
475         Remove $(objpfx)init-arch.o.
476         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
477         init-arch.
478         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
479         (INIT_ARCH_EXT): Defined as empty.
480         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
481         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
482         __init_cpu_features call.  Replace HAS_XXX with
483         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
484         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
485         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
486         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
487         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
488         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
489         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
490         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
491         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
492         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
493         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
494         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
495         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
496         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
497         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
498         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
499         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
500         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
501         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
502         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
503         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
504         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
505         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
506         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
507         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
508         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
509         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
510         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
511         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
512         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
513         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
514         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
515         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
516         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
517         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
518         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
520 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
522         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
523         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
524         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
525         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
526         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
527         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
528         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
529         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
530         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
531         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
532         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
533         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
534         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
535         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
536         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
537         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
538         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
539         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
540         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
541         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
542         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
543         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
544         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
545         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
546         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
547         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
548         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
549         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
550         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
551         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
552         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
553         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
554         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
555         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
556         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
557         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
558         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
559         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
560         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
561         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
562         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
563         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
564         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
566 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
568         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
569         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
570         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
571         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
572         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
573         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
574         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
575         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
576         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
577         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
578         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
579         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
580         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
581         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
582         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
583         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
584         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
585         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
586         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
587         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
588         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
589         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
590         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
591         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
592         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
593         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
594         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
595         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
596         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
597         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
598         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
599         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
600         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
601         * sysdeps/x86_64/multiarch/memset.S: Likewise.
602         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
603         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
604         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
605         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
606         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
607         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
608         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
609         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
610         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
612 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
614         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
615         (dl_platform_init): Call init_cpu_features.
616         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
617         * sysdeps/i386/i686/cacheinfo.c
618         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
619         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
620         * sysdeps/i386/i686/multiarch/Versions: Removed.
621         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
622         Removed.
623         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
624         * sysdeps/unix/sysv/linux/x86/Makefile
625         (libpthread-sysdep_routines): Remove init-arch.
626         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
627         <sysdeps/x86_64/dl-procinfo.c> instead of
628         sysdeps/generic/dl-procinfo.c>.
629         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
630         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
631         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
632         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
633         [$(subdir) == elf] (tests-static): Add
634         tst-get-cpu-features-static.
635         * sysdeps/x86/Versions: New file.
636         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
637         * sysdeps/x86/cpu-features.c: Likewise.
638         * sysdeps/x86/cpu-features.h: Likewise.
639         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
640         * sysdeps/x86/libc-start.c: Likewise.
641         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
642         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
643         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
644         * sysdeps/x86_64/dl-procinfo.c: Likewise.
645         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
646         Assume USE_MULTIARCH is defined and don't check it.
647         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
648         (is_amd): Likewise.
649         (max_cpuid): Likewise.
650         (intel_check_word): Likewise.
651         (__cache_sysconf): Don't call __init_cpu_features.
652         (__x86_preferred_memory_instruction): Removed.
653         (init_cacheinfo): Don't call __init_cpu_features. Replace
654         __cpu_features with GLRO(dl_x86_cpu_features).
655         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
656         (dl_platform_init): Call init_cpu_features.
657         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
658         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
659         * sysdeps/x86_64/multiarch/Versions: Removed.
660         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
661         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
662         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
663         Removed.
664         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
666 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
668         [BZ #18820]
669         * libio/Makefile (test-fmemopen-mem): New test.
670         * libio/test-fmemopen.c (do_bz18820): New test.
671         * libio/fmemopen.c (__fmemopen): Fix memory leak.
672         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
674 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
676         [BZ #16734]
677         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
678         (FREE_BUF): Delete.
679         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
680         * libio/genops.c (_IO_setb): Use malloc and free directly.
681         (_IO_default_doallocate, _IO_default_finish): Likewise.
682         ( _IO_unbuffer_all): Likewise.
683         ( libc_freeres_fn): Likewise.
684         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
685         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
686         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
687         (_IO_wdefault_doallocate): Likewise.
689 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
691         [BZ #18086]
692         * sysdeps/posix/nice.c (nice): Restore old errno.
693         * posix/tst-nice.c (do_test): Add test for BZ #18086.
695 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
697         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
699 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
701         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
702         __bcopy and add a weak_alias to bcopy.
703         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
704         for static build.
706         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
707         cleanup macro usage.
708         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
709         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
710         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
711         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
712         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
713         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
714         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
715         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
716         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
717         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
718         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
719         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
720         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
721         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
722         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
723         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
724         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
725         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
726         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
728         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
729         libc_hidden_def.
730         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
732         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
733         (sysdep_routines): Add strstr-ppc64.
734         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
736 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
738         [BZ #18778]
739         * elf/Makefile (tests): Add Add tst-nodelete2.
740         (modules-names): Add tst-nodelete2mod.
741         (tst-nodelete2mod.so-no-z-defs): New.
742         ($(objpfx)tst-nodelete2): Likewise.
743         ($(objpfx)tst-nodelete2.out): Likewise.
744         (LDFLAGS-tst-nodelete2): Likewise.
745         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
746         out of loop through all loaded libraries.
747         * elf/tst-nodelete2.c: New file.
748         * elf/tst-nodelete2mod.c: Likewise.
750 2015-08-11  Andreas Schwab  <schwab@suse.de>
752         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
753         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
754         (__openat64_nocancel): Likewise.
756 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
758         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
759         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
760         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
761         * math/auto-libm-test-out: Regenerated.
762         * sysdeps/i386/fpu/libm-test-ulps: Update.
763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
765 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
767         [BZ #18790]
768         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
769         threshold for returning +/- 1.
770         * math/auto-libm-test-in: Add more tests of tanh.
771         * math/auto-libm-test-out: Regenerated.
772         * sysdeps/i386/fpu/libm-test-ulps: Update.
774 2015-08-10  Andreas Schwab  <schwab@suse.de>
776         [BZ #18781]
777         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
778         MORE_OFLAGS to oflag.
779         * io/test-lfs.c (do_test): Test openat64.
781 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
783         [BZ #18789]
784         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
785         smaller threshold for returning the argument.
786         * math/auto-libm-test-in: Add more tests of sinh.
787         * math/auto-libm-test-out: Regenerated.
788         * sysdeps/i386/fpu/libm-test-ulps: Update.
790 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
792         [BZ #18674]
793         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
794         break.
796 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
798         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
799         (generated): Don't add $(addprefix z.,$(tzfiles)).
801 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
803         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
804         * scripts/sysd-rules.awk: Likewise.
806 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
808         * iconvdata/tst-tables.sh: Change echo -n to printf.
809         * nss/db-Makefile: Likewise.
810         * posix/tst-getconf.sh: Likewise.
811         * stdio-common/tst-unbputc.sh: Likewise.
813 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
815         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
816         MADV_*_PAGES defines behind this feature check.
818 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
820         [BZ #18480]
821         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
822         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
823         Define.
824         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
825         LOAD_REGS_5, LOAD_REGS_6): Update.
826         (INTERNAL_SYSCALL): Update using new LOAD defines.
827         (INTERNAL_SYSCALL_NCS): Likewise.
828         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
830 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
832         [BZ #16734]
833         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
835 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
837         [BZ #17905]
838         * catgets/Makefile (tst-catgets-mem): New test.
839         * catgets/catgets.c (catopen): Don't use unbounded alloca.
840         * catgets/open_catalog.c (__open_catalog): Likewise.
841         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
843 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
845         [BZ #18787]
846         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
847         clobber registers.
848         (atomic_compare_and_exchange_val_acq): Use register asms to assign
849         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
850         Cast return to __typeof (oldval).
852 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
854         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
855         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
856         and delete sys/syscall.h include.
858 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
860         [BZ #16517]
861         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
862         (tan): Force underflow exception for arguments with small absolute
863         value.
864         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
865         (__kernel_tanf): Force underflow exception for arguments with
866         small absolute value.
867         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
868         (__kernel_tanl): Force underflow exception for arguments with
869         small absolute value.
870         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
871         (__kernel_tanl): Force underflow exception for arguments with
872         small absolute value.
873         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
874         (__kernel_tanl): Force underflow exception for arguments with
875         small absolute value.
876         * math/auto-libm-test-in: Add more tests of tan.
877         * math/auto-libm-test-out: Regenerated.
879 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
881         Fix sysdeps/i386/fpu/s_scalbn.S build
883         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
885 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
887         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
889 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
891         Fix gcrt0.o compilation
893         When static-start-installed-name is different from
894         start-installed-name, we must not use the shared objects.
896         * csu/Makefile
897         (extra-objs): Add gmon-start.o when building shared library and
898         $(static-start-installed-name) is different from
899         $(start-installed-name).
900         $(objpfx)g$(static-start-installed-name): When building shared
901         library and $(static-start-installed-name) is different from
902         $(static-start-installed-name), revert to non-shared rule,
903         i.e. using $(objpfx)% and gmon-start.o.
905 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
907         [BZ #16519]
908         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
909         (__ieee754_sinh): Force underflow exception for arguments with
910         small absolute value.
911         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
912         (__ieee754_sinhf): Force underflow exception for arguments with
913         small absolute value.
914         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
915         (__ieee754_sinhl): Force underflow exception for arguments with
916         small absolute value.
917         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
918         (__ieee754_sinhl): Force underflow exception for arguments with
919         small absolute value.
920         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
921         (__ieee754_sinhl): Force underflow exception for arguments with
922         small absolute value.
923         * math/auto-libm-test-in: Add more tests of sinh.
924         * math/auto-libm-test-out: Regenerated.
925         * sysdeps/i386/fpu/libm-test-ulps: Update.
927 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
929         * libio/oldfileops.c: Include unistd.h.
931 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
933         * stdlib/isomac.c: Include ctype.h.
935 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
937         * dirent/tst-seekdir.c (main): Converted to ...
938         (do_test): ... this.
939         (TEST_FUNCTION): New macro.
940         Include test-skeleton.c.
941         * elf/tst-dlmodcount.c (main): Converted to ...
942         (do_test): ... this.
943         (TEST_FUNCTION): New macro.
944         Include test-skeleton.c.
945         * elf/tst-order-main.c (main): Converted to ...
946         (do_test): ... this.
947         (TEST_FUNCTION): New macro.
948         Include test-skeleton.c.
949         * elf/tst-pie2.c (main): Converted to ...
950         (do_test): ... this.
951         (TEST_FUNCTION): New macro.
952         Include test-skeleton.c.
953         * inet/tst-ether_aton.c (main): Converted to ...
954         (do_test): ... this.
955         (TEST_FUNCTION): New macro.
956         Include test-skeleton.c.
957         * misc/tst-mntent.c (main): Converted to ...
958         (do_test): ... this.
959         (TEST_FUNCTION): New macro.
960         Include test-skeleton.c.
961         * misc/tst-tsearch.c (main): Converted to ...
962         (do_test): ... this.
963         (TEST_FUNCTION): New macro.
964         Include test-skeleton.c.
965         * posix/tst-regexloc.c (main): Converted to ...
966         (do_test): ... this.
967         (TEST_FUNCTION): New macro.
968         Include test-skeleton.c.
969         * resolv/tst-aton.c (main): Converted to ...
970         (do_test): ... this.
971         (TEST_FUNCTION): New macro.
972         Include test-skeleton.c.
973         * stdio-common/test-fwrite.c (main): Converted to ...
974         (do_test): ... this.
975         (TEST_FUNCTION): New macro.
976         Include test-skeleton.c.
977         * stdio-common/tst-ferror.c (main): Converted to ...
978         (do_test): ... this.
979         (TEST_FUNCTION): New macro.
980         Include test-skeleton.c.
981         * stdio-common/tst-printf.c (main): Converted to ...
982         (do_test): ... this.
983         (TEST_FUNCTION): New macro.
984         Include test-skeleton.c.
985         * stdio-common/tst-printfsz.c (main): Converted to ...
986         (do_test): ... this.
987         (TEST_FUNCTION): New macro.
988         Include test-skeleton.c.
989         * stdlib/tst-strtod.c (main): Converted to ...
990         (do_test): ... this.
991         (TEST_FUNCTION): New macro.
992         Include test-skeleton.c.
993         * string/tst-strlen.c (main): Converted to ...
994         (do_test): ... this.
995         (TEST_FUNCTION): New macro.
996         Include test-skeleton.c.
997         * string/tst-svc.c (main): Converted to ...
998         (do_test): ... this.
999         (TEST_FUNCTION): New macro.
1000         Include test-skeleton.c.
1001         * time/tst-strptime.c (main): Converted to ...
1002         (do_test): ... this.
1003         (TEST_FUNCTION): New macro.
1004         Include test-skeleton.c.
1005         * timezone/tst-timezone.c (main): Converted to ...
1006         (do_test): ... this.
1007         (TEST_FUNCTION): New macro.
1008         Include test-skeleton.c.
1010 2015-08-05  Zack Weinberg  <zackw@panix.com>
1012         * misc/regexp.h: Update comments.
1014 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1016         [BZ #18635]
1017         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1018         before return label.
1020 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1022         [BZ #18661]
1023         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1024         when calling __errno_location.
1025         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1026         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1028 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1030         [BZ #18661]
1031         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1032         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1033         __gettimeofday.
1035 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1037         [BZ #18661]
1038         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1039         (__start_context): Don't use pop to restore %rdi so that stack
1040         is aligned to 16 bytes when calling __setcontext.
1042 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1044         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1045         only for libc.
1046         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1048 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1050         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1051         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1052         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1054 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1056         * string/memccpy.c (memccpy):
1057         Improve performance by using memchr/memcpy/__mempcpy.
1059 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1061         * string/strncpy.c (strncpy):
1062         Improve performance by using __strnlen/memcpy.
1064 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1066         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1067         Optimize to avoid an unnecessary FPCR read.
1069 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1071         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1072         Optimize to reduce FPCR/FPSR accesses.
1074 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1076         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1077         dead->data[category] != NULL.
1079 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1081         [BZ #18647]
1082         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1083         and |x| close to 1, use absolute value of x when computing log.
1084         * math/auto-libm-test-in: Add more tests of pow.
1085         * math/auto-libm-test-out: Regenerated.
1087 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1089         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1090         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1091         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1093 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1095         [BZ #18525]
1096         * locales/km_KH: Remove timezone definition.
1097         * locales/lo_LA: Likewise.
1098         * locales/my_MM: Likewise.
1099         * locales/nan_TW@latin: Likewise.
1100         * locales/th_TH: Likewise.
1101         * locales/uk_UA: Likewise.
1103 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1105         [BZ #18265]
1106         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1107         (wcsncat): Likewise.
1108         (wcscmp): Likewise.
1109         (wcsncmp): Likewise.
1111 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1113         * test-skeleton.c (usage): New function.
1114         (main): Call usage when opt is '?'.
1116 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1118         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1119         before first use.
1121 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1123         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1124         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1125         in there too.
1127 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1129         * version.h (RELEASE): Set to "development".
1130         (VERSION): Set to "2.22.90"
1132         * version.h (RELEASE): Set to "stable".
1133         (VERSION): Set to "2.22"
1134         * include/features.h (__GLIBC_MINOR__): Set to 22.
1136 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1138         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1139         Restructure macro to avoid "value computed is not used" warning.
1140         (atomic_compare_and_exchange_val_acq): Likewise.
1142 2015-08-04  Andreas Schwab  <schwab@suse.de>
1144         [BZ #18635]
1145         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1146         ret.
1147         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1149 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1151         * po/pl.po: Updated translation.
1152         * po/uk.po: Likewise.
1153         * po/fi.po: Likewise.
1154         * po/ko.po: Likewise.
1155         * po/ru.po: Likewise.
1156         * po/vi.po: Likewise.
1158 2015-07-31  Zack Weinberg  <zackw@panix.com>
1160         [BZ #18681]
1161         * regexp.h: Add unconditional #warning stating that this header
1162         will be removed soon.  Revise banner comment to match.
1163         (compile): Consistently use ERROR instead of RETURN to report
1164         errors (partial fix for bz#18681).
1165         * regexp.c: Don't include regexp.h. Remove some unnecessary
1166         declarations.
1168 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1170         * po/libc.pot: Regenerated.
1172 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1174         [BZ #18740]
1175         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1176         float-vlen4-arch-ext-cflags): Removed.
1177         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1178         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1180 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1182         [BZ #14113]
1183         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1184         aligned to __aligned__.
1185         (pthread_cond_t, pthread_rwlock_t): Likewise.
1187 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1189         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1191 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1193         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1194         (struct sigaction): Change sa_flags from a long to an int, and add
1195         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1197 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1199         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1200         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1201         sysdeps/generic/sysdep.h include.
1202         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1203         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1204         sysdeps/hppa/sysdep.h.
1205         (ENTRY, PSEUDO): Undefine before defining.
1207 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1209         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1210         from scratch to use INTERNAL_SYSCALL.
1212 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1214         [BZ #18078]
1215         * scripts/check-localplt.awk: Support alternate relocations.
1216         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1217         sections.
1218         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1219         malloc entries with + REL R_386_GLOB_DAT.
1220         * sysdeps/x86_64/localplt.data: New file.
1222 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1224         [BZ #18731]
1225         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1226         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1227         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1229 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1231         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1233 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1235         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1236         directly in terms of __sync_fetch_and_add and delete (int) cast.
1238 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1240         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1241         the -D_ASM_IA64_CURRENT_H flag.
1243 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1245         [BZ #18641]
1246         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1248 2015-07-27  Andreas Schwab  <schwab@suse.de>
1250         * conform/conformtest.pl (checknamespace): Filter out string
1251         literals while tokenizing.
1253 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1255         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1256         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1257         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1259 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1261         * nptl/tst-join7mod.c: Add #include <string.h>.
1263 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1265         * sysdeps/nios2/libm-test-ulps: Update.
1267 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1269         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1270         Fix order of arguments to the rt_sigprocmask syscall.
1271         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1272         Likewise.
1274 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1276         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1278 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1280         [BZ #18457]
1281         * nptl/Makefile (tests): New test case tst-join7.
1282         (modules-names): New test case module tst-join7mod.
1283         * nptl/tst-join7.c: New file.
1284         * nptl/tst-join7mod.c: New file.
1285         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1286         all translation units in libc.so, libpthread.so and rtld.
1288 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1292 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1294         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1295         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1296         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1297         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1298         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1299         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1300         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1301         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1302         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1303         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1304         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1305         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1306         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1307         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1308         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1309         implementation.
1311 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1313         [BZ #17711]
1314         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1315         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1316         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1317         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1318         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1319         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1321 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1323         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1324         instead of just saying load lock in the comments.
1326 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1328         * sysdeps/unix/Subdirs: Moved ...
1329         * sysdeps/posix/Subdirs: ... here.
1330         * login/pty.h (struct termios, struct winsize): Add forward decls.
1331         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1332         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1333         * sysdeps/arm/nacl/libc.abilist: Updated.
1334         * sysdeps/nacl/libutil.abilist: New file.
1336         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1337         (SIGWINCH): New macro.
1339         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1340         * sysdeps/arm/nacl/libc.abilist: Add it.
1342 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1344         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1346 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1348         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1349         Swap __glibc_reserved0 and sa_flags order.
1351 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1353         [BZ #18657]
1354         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1355         are pending TLS destructor calls.
1356         * include/link.h (struct link_map): Add concurrency note for
1357         L_TLS_DTOR_COUNT.
1358         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1359         Don't touch the link map flag.  Atomically increment
1360         l_tls_dtor_count.
1361         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1362         Avoid taking the load lock and don't touch the link map flag.
1363         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1364         * stdlib/Makefile (tests): Use it.
1365         * stdlib/tst-tls-atexit.c (do_test): dlopen
1366         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1367         to allow tst-tls-atexit-nodelete test case to use it.
1369 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1371         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1372         to bits/types.h.
1373         (msgqnum_t): New typedef.
1374         (msglen_t): Likewise.
1375         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1376         and msg_qbytes type to msglen_t.
1378 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1380         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1381         pad0 to __glibc_reserved0.
1382         (struct stat64): Likewise.
1384 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1386         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1387         Change sa_flags from a long to an int and add __glibc_reserved0 before
1388         it for padding.
1390 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1392         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1393         anonymous by deleting "siginfo" name.
1395 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1397         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1398         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1399         rather than __nacl_irt_filename.
1400         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1402         * NEWS: New item for arm-nacl port.
1403         * sysdeps/arm/nacl/libc.abilist: New file.
1404         * sysdeps/nacl/ld.abilist: New file.
1405         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1406         * sysdeps/nacl/libanl.abilist: New file.
1407         * sysdeps/nacl/libcrypt.abilist: New file.
1408         * sysdeps/nacl/libdl.abilist: New file.
1409         * sysdeps/nacl/libm.abilist: New file.
1410         * sysdeps/nacl/libpthread.abilist: New file.
1411         * sysdeps/nacl/libresolv.abilist: New file.
1412         * sysdeps/nacl/librt.abilist: New file.
1414 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1416         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1417         __startcontext to initialize the new context.
1418         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1419         up CFI directive to forbid further backtracing.
1421 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1423         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1424         reference.
1425         * charmaps/ANSI_X3.4-1968: Likewise.
1426         * charmaps/BS_4730: Likewise.
1427         * charmaps/BS_VIEWDATA: Likewise.
1428         * charmaps/CP1250: Likewise.
1429         * charmaps/CP1251: Likewise.
1430         * charmaps/CP1252: Likewise.
1431         * charmaps/CP1253: Likewise.
1432         * charmaps/CP1254: Likewise.
1433         * charmaps/CP1255: Likewise.
1434         * charmaps/CP1256: Likewise.
1435         * charmaps/CSN_369103: Likewise.
1436         * charmaps/EBCDIC-DK-NO: Likewise.
1437         * charmaps/GB_1988-80: Likewise.
1438         * charmaps/GREEK-CCITT: Likewise.
1439         * charmaps/GREEK7: Likewise.
1440         * charmaps/INIS-8: Likewise.
1441         * charmaps/ISIRI-3342: Likewise.
1442         * charmaps/ISO_2033-1983: Likewise.
1443         * charmaps/ISO_5427-EXT: Likewise.
1444         * locales/POSIX: Likewise.
1445         * locales/ar_SA: Likewise.
1446         * locales/be_BY: Likewise.
1447         * locales/be_BY@latin: Likewise.
1448         * locales/ca_ES: Likewise.
1449         * locales/cs_CZ: Likewise.
1450         * locales/da_DK: Likewise.
1451         * locales/de_BE: Likewise.
1452         * locales/de_CH: Likewise.
1453         * locales/de_LU: Likewise.
1454         * locales/en_AU: Likewise.
1455         * locales/en_BW: Likewise.
1456         * locales/en_CA: Likewise.
1457         * locales/en_DK: Likewise.
1458         * locales/en_GB: Likewise.
1459         * locales/en_IE: Likewise.
1460         * locales/en_NZ: Likewise.
1461         * locales/en_ZA: Likewise.
1462         * locales/en_ZW: Likewise.
1463         * locales/es_AR: Likewise.
1464         * locales/es_BO: Likewise.
1465         * locales/es_CL: Likewise.
1466         * locales/es_CO: Likewise.
1467         * locales/es_DO: Likewise.
1468         * locales/es_EC: Likewise.
1469         * locales/es_ES: Likewise.
1470         * locales/es_HN: Likewise.
1471         * locales/es_MX: Likewise.
1472         * locales/es_PA: Likewise.
1473         * locales/es_PE: Likewise.
1474         * locales/es_PY: Likewise.
1475         * locales/es_SV: Likewise.
1476         * locales/es_US: Likewise.
1477         * locales/es_UY: Likewise.
1478         * locales/es_VE: Likewise.
1479         * locales/et_EE: Likewise.
1480         * locales/fa_IR: Likewise.
1481         * locales/fo_FO: Likewise.
1482         * locales/fr_CA: Likewise.
1483         * locales/fr_CH: Likewise.
1484         * locales/gv_GB: Likewise.
1485         * locales/he_IL: Likewise.
1486         * locales/hr_HR: Likewise.
1487         * locales/id_ID: Likewise.
1488         * locales/is_IS: Likewise.
1489         * locales/it_CH: Likewise.
1490         * locales/iw_IL: Likewise.
1491         * locales/kl_GL: Likewise.
1492         * locales/ko_KR: Likewise.
1493         * locales/kw_GB: Likewise.
1494         * locales/lg_UG: Likewise.
1495         * locales/lt_LT: Likewise.
1496         * locales/lv_LV: Likewise.
1497         * locales/mi_NZ: Likewise.
1498         * locales/nhn_MX: Likewise.
1499         * locales/nl_BE: Likewise.
1500         * locales/pl_PL: Likewise.
1501         * locales/sk_SK: Likewise.
1502         * locales/sl_SI: Likewise.
1503         * locales/sv_FI: Likewise.
1504         * locales/tl_PH: Likewise.
1505         * locales/tr_TR: Likewise.
1506         * locales/vi_VN: Likewise.
1508 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1510         [BZ #17475]
1511         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1512         of tu_IN and bh_IN.
1514 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1516         [BZ #18694]
1517         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1518         bits/wordsize.h.
1519         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1521 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1523         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1524         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1525         (spawn_thread): New function.
1526         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1527         (do_test): ... here.  Use IS_LOADED to test for its
1528         availability.
1530 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1532         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1534 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1536         [BZ #18696]
1537         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1538         si_addr_bnd.
1539         (si_lower): New.
1540         (si_upper): Likewise.
1542 2015-07-16  David S. Miller  <davem@davemloft.net>
1544         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1546 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1548         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1549         buffer.
1550         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1551         fail output information.
1553 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1556         and strstr-ppc64..
1557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1558         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1559         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1560         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1561         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1563 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1565         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1566         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1567         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1568         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1570 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1572         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1573         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1574         rtld_hidden_proto.
1575         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1577 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1579         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1580         the test can fail.
1582         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1584         [BZ #18676]
1585         * elf/tst-nodelete-opened.c: New test case.
1586         * elf/tst-nodelete-opened-lib.c: New test case module.
1587         * elf/Makefile (tests, modules-names): Use them.
1588         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1589         early.
1591 2015-07-15  David S. Miller  <davem@davemloft.net>
1593         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1594         futex-intenal.h
1595         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1596         * sysdeps/sparc/sparc64/Makefile: Likewise.
1597         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1598         Remove space from macro define.
1599         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1601 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1603         [BZ #17475]
1604         * locale/iso-639.def: Update Bhili and Tulu language codes as
1605         per iso639-3.
1607 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1609         * elf/tst-leaks1.c (main): Converted to ...
1610         (do_test): ... this.
1611         (TEST_FUNCTION): New macro.
1612         Include test-skeleton.c.
1613         * localedata/tst-langinfo.c (main): Converted to ...
1614         (do_test): ... this.
1615         (TEST_FUNCTION): New macro.
1616         Include test-skeleton.c.
1617         * math/test-fpucw.c (main): Converted to ...
1618         (do_test): ... this.
1619         (TEST_FUNCTION): New macro.
1620         Include test-skeleton.c.
1621         * math/test-tgmath.c (main): Converted to ...
1622         (do_test): ... this.
1623         (TEST_FUNCTION): New macro.
1624         Include test-skeleton.c.
1625         * math/test-tgmath2.c (main): Converted to ...
1626         (do_test): ... this.
1627         (TEST_FUNCTION): New macro.
1628         Include test-skeleton.c.
1629         * setjmp/tst-setjmp.c (main): Converted to ...
1630         (do_test): ... this.
1631         (TEST_FUNCTION): New macro.
1632         Include test-skeleton.c.
1633         * stdio-common/tst-sscanf.c (main): Converted to ...
1634         (do_test): ... this.
1635         (TEST_FUNCTION): New macro.
1636         Include test-skeleton.c.
1637         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1638         (do_test): ... this.
1639         (TEST_FUNCTION): New macro.
1640         Include test-skeleton.c.
1642         * elf/tst-audit9.c (main): Converted to ...
1643         (do_test): ... this.
1644         (TEST_FUNCTION): New macro.
1645         Include test-skeleton.c.
1647 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1649         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1651 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1653         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1654         New variable.
1656 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1658         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1660 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1662         * sysdeps/generic/dl-fileid.h: New file.
1663         * sysdeps/posix/dl-fileid.h: New file.
1664         * sysdeps/nacl/dl-fileid.h: New file.
1665         * include/link.h: Include <dl-fileid.h>.
1666         (struct link_map): Replace l_dev and l_ino with l_file_id.
1667         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1668         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1669         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1671 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1673         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1675 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1677         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1678         Add iff $CXX is set.
1679         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1680         Likewise.
1681         (tst-nodelete-zmodiff): Likewise.
1682         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1684 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1686         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1688 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1690         * sysdeps/aarch64/fpu/math_private.h
1691         (define math_opt_barrier): Add AArch64 version.
1692         (math_force_eval): Likewise.
1694 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1696         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1698 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1700         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1701         %ld with %jd and cast to intmax_t.
1702         (do_test_length_zero): Likewise.
1704 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1706         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1708 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1710         * sysdeps/tile/libm-test-ulps: Regenerated.
1712         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1713         Comment out the whole function, not just its body.
1715 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1717         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1718         locks.
1720         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1722 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1724         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1725         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1727 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1729         * sysdeps/nptl/futex-internal.h: New file.
1730         * sysdeps/nacl/futex-internal.h: New file.
1731         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1732         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1733         error checking.
1734         (setxid_unmark_thread): Likewise.
1735         (__nptl_setxid): Likewise.
1736         (__wait_lookup_done): Likewise.
1737         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1738         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1739         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1740         * nptl/pthread_once.c (clear_once_control): Likewise.
1741         (__pthread_once_slow): Likewise.
1742         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1743         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1744         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1745         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1746         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1747         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1748         Likewise.
1749         (__pthread_rwlock_rdlock): Likewise.
1750         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1751         Likewise.
1752         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1753         Likewise.
1754         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1755         Likewise.
1756         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1757         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1758         Likewise.
1759         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1760         __ASSUME_PRIVATE_FUTEX check.
1761         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1762         Check that shared futexes are supported.
1763         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1764         wrappers with error checking.
1765         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1766         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1767         * nptl/pthread_barrierattr_setpshared.c
1768         (pthread_barrierattr_setpshared): Check that shared futexes are
1769         supported.
1770         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1771         Likewise.
1772         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1773         Likewise.
1774         * nptl/sem_init.c (futex_private_if_supported): Remove.
1775         (__new_sem_init): Adapt and check that shared futexes are supported.
1776         * nptl/sem_open.c (sem_open): Likewise.
1777         * nptl/sem_post.c (futex_wake): Remove.
1778         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1779         (do_futex_wait): Use futex wrappers with error checking.
1780         * nptl/sem_wait.c: Include lowlevellock.h.
1781         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1782         Use futex_supports_pshared.
1783         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1784         Use futex wrappers with error checking.
1785         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1786         Likewise.
1787         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1788         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1789         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1790         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1791         (futex_wake): Likewise.
1792         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1793         (do_futex_wait): Use futex wrappers with error checking.
1794         (__new_sem_wait_slow): Update EINTR handling.
1795         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1797 2015-07-09  Martin Sebor  <msebor@redhat.com>
1799         [BZ #18435]
1800         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1801         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1802         * nptl/Makefile (test-xfail-tst-once5): Define.
1804 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1806         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1807         * elf/dl-minimal.c: For readability, reorder some definitions and
1808         introduce more page breaks.  Include <stdio.h>.
1809         (__libc_fatal): New function.
1811         * include/unistd.h: Add rtld_hidden_proto for _exit.
1812         * posix/_exit.c: Add rtld_hidden_def.
1813         * sysdeps/mach/hurd/_exit.c: Likewise.
1814         * sysdeps/nacl/_exit.c: Likewise.
1815         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1816         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1818 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1820         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1821         bndmov encoding with zero displacement.
1823 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1824             H.J. Lu  <hongjiu.lu@intel.com>
1826         [BZ #18134]
1827         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1828         * sysdeps/i386/configure: Regenerated.
1829         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1830         (_dl_runtime_profile): Save and restore Intel MPX return bound
1831         registers when calling _dl_call_pltexit.  Add
1832         PRESERVE_BND_REGS_PREFIX before return.
1833         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1834         (LRV_BND1_OFFSET): Likewise.
1835         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1836         lrv_bnd1.
1837         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1838         typo in bndmov encoding.
1839         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1840         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1841         branch instructions to preserve bounds.
1843 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1846         [GLIBC_2.22]: Add fmemopen.
1848 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1850         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1851         returns an error, also try to use host port from __mach_host_self for
1852         the __vm_wire call.
1853         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1855 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1857         [BZ #18400]
1858         [BZ #18648]
1859         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1860         Fix pr_uid and pr_gid members.
1861         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1862         definition to elf_greg_t.
1864 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1866         [BZ #18383]
1867         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1868         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1869         * sysdeps/arm/configure: Regenerated.
1870         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1871         (test-xfail-tst-tlsalign-static): Variable removed.
1873         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1874         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1875         rather than explicit 'ln -s'.
1877         * resolv/rpc/netdb.h: New file.
1878         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1880 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1882         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1883         length buffers.
1884         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1885         test-skeleton.c.
1887         [BZ #6544]
1888         [BZ #11216]
1889         [BZ #12836]
1890         [BZ #13151]
1891         [BZ #13152]
1892         [BZ #14292]
1893         * include/stdio.h (fmemopen): Remove hidden prototype.
1894         (__fmemopen): Add new hidden prototype.
1895         * libio/Makefile: Add oldfmemopen object.
1896         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1897         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1898         compliance.
1899         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1900         symbol compatibility.
1901         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1902         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1903         fmemopen.
1904         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1905         on append and read mode.
1906         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1907         fmemopen.
1908         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1909         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1910         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1911         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1912         Likewise.
1913         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1914         [GLIBC_2.22]: Likewise.
1915         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1916         Likewise.
1917         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1918         Likewise.
1919         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1920         [GLIBC_2.22]: Likewise.
1921         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1922         [GLIBC_2.22]: Likewise.
1923         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1924         [GLIBC_2.22]: Likewise.
1925         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1926         [GLIBC_2.22]: Likewise.
1927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1928         [GLIBC_2.22]: Likewise.
1929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1930         [GLIBC_2.22]: Likewise.
1931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1932         [GLIBC_2.22]: Likewise.
1933         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1934         Likewise.
1935         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1936         Likewise.
1937         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1938         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1939         [GLIBC_2.22]: Likewise.
1940         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1941         [GLIBC_2.22]: Likewise.
1942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1943         [GLIBC_2.22]: Likewise.
1944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1945         [GLIBC_2.22]: Likewise.
1946         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1947         Likewise.
1948         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1949         Likewise.
1950         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1951         Likewise.
1952         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1953         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1955 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1957         [BZ #18643]
1958         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1959         IPV6_PATHMTU, and IPV6_DONTFRAG.
1961 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1963         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1964         and _IO_UNBUFFERED.
1965         * libio/oldfileops.c: Likewise.
1966         * libio/wfileops.c: Likewise.
1968 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1970         * nscd/selinux.c: Delete selinux/flask.h include.
1972 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1974         [BZ #18641]
1975         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1976         (putpwent): Likewise.
1977         (getpwnam): Likewise.
1978         (getpwent_r): Likewise.
1979         (getpwuid_r): Likewise.
1980         (getpwnam_r): Likewise.
1981         (fgetpwent_r): Likewise.
1983 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1985         [BZ #18557]
1986         * inet/rcmd.c (__validuser2_sa): Check user first to
1987         short-circuit host check.
1989 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1990             Mikhail Ilin  <m.ilin@samsung.com>
1992         [BZ #17833]
1993         * elf/Makefile (tests): Add tst-nodelete.
1994         (modules-names): Add tst-nodelete-uniquemod.
1995         (tst-nodelete-uniquemod.so-no-z-defs): New.
1996         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1997         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1998         ($(objpfx)tst-nodelete): Likewise.
1999         ($(objpfx)tst-nodelete.out): Likewise.
2000         (LDFLAGS-tst-nodelete): Likewise.
2001         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2002         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2003         implement forced object deletion.
2004         (_dl_close): Pass false to _dl_close_worker.
2005         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2006         * elf/tst-nodelete.cc: New file.
2007         * elf/tst-nodeletelib.cc: Likewise.
2008         * elf/tst-znodeletelib.cc: Likewise.
2009         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2011 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2013         [BZ #18508]
2014         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2015         Depend on $(libdl).
2016         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2017         is not called infinitely times.
2018         (backtrace_helper): New function.
2019         (trace_arg): New struct.
2020         (st1): Enlarge stack size.
2021         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2022         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2023         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2024         Likewise.
2026 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2028         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2030 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2032         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2033         Include sys/types.h instead of bits/types.h.
2034         Remove inclusion of bits/wordsize.h.
2036 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2038         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2039         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2040         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2041         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2042         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2043         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2045 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2047         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2048         link-defines.sym.
2049         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2050         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2051         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2052         and LR_SIZE.
2053         * sysdeps/i386/link-defines.sym: New file.
2055 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2057         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2058         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2059         ($(objpfx)tst-audit3): New rule.
2060         ($(objpfx)tst-audit3.out): Likewise.
2061         * sysdeps/i386/tst-audit3.c: New file.
2062         * sysdeps/i386/tst-audit3.h: Likewise.
2063         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2064         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2066 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2068         [BZ #18633]
2069         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2070         pointer in C code.
2071         (__strcat_c): Likewise.
2072         (__strcat_g): Likewise.
2074 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2076         [BZ #18592]
2077         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2079 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2081         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2082         New function.  (__ieee754_sqrtf): New function.
2083         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2084         New function.
2085         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2086         New function.
2088 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2090         * sysdeps/ieee754/support.c: Remove unused file.
2092 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2094         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2095         registers instead of d ones so the layout is kernel abi compatible.
2096         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2097         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2098         Likewise.
2100 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2102         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2104 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2106         [BZ #18619]
2107         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2108         and return argument in case of subnormal argument.
2110 2015-07-01  Martin Sebor  <msebor@redhat.com>
2112         [BZ #18435]
2113         * nptl/Makefile: Add tst-once5.cc.
2114         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2115         Remove macro redefinitions.
2116         * nptl/tst-once5.cc: New test.
2118 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2120         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2122         * sysdeps/arm/libm-test-ulps: Regenerated.
2124         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2125         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2127 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2129         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2130         lll_lock_wait_private and lll_futex_wake probes.
2132         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2133         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2134         Likewise.
2135         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2136         atomic_spin_nop.
2137         * sysdeps/x86_64/bits/atomic.h: Likewise.
2138         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2139         to atomic_spin_nop and move ...
2140         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2141         ... here and ...
2142         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2143         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2144         atomic_spin_nop instead of BUSY_WAIT_NOP.
2145         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2146         Likewise.
2147         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2148         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2149         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2150         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2151         instead of atomic_delay.
2153 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2155         [BZ #18613]
2156         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2157         X_ADJ not X when adjusting exponent.
2158         (__ieee754_gamma_r): Do intermediate computations in
2159         round-to-nearest then adjust overflowing and underflowing results
2160         as needed.
2161         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2162         of X_ADJ not X when adjusting exponent.
2163         (__ieee754_gammaf_r): Do intermediate computations in
2164         round-to-nearest then adjust overflowing and underflowing results
2165         as needed.
2166         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2167         log of X_ADJ not X when adjusting exponent.
2168         (__ieee754_gammal_r): Do intermediate computations in
2169         round-to-nearest then adjust overflowing and underflowing results
2170         as needed.  Use 1.0L not 1.0f as numerator of division.
2171         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2172         log of X_ADJ not X when adjusting exponent.
2173         (__ieee754_gammal_r): Do intermediate computations in
2174         round-to-nearest then adjust overflowing and underflowing results
2175         as needed.  Use 1.0L not 1.0f as numerator of division.
2176         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2177         of X_ADJ not X when adjusting exponent.
2178         (__ieee754_gammal_r): Do intermediate computations in
2179         round-to-nearest then adjust overflowing and underflowing results
2180         as needed.  Use 1.0L not 1.0f as numerator of division.
2181         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2182         to auto-libm-test-in.
2183         (tgamma_test): Use ALL_RM_TEST.
2184         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2185         tests of tgamma with spurious-overflow.
2186         * math/auto-libm-test-out: Regenerated.
2187         * math/gen-libm-have-vector-test.sh: Do not check for START.
2188         * sysdeps/i386/fpu/libm-test-ulps: Update.
2189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2191         [BZ #18612]
2192         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2193         arguments, just return 0.5 times the argument, with underflow
2194         forced as needed.
2195         * math/auto-libm-test-in: Add more tests of j1.
2196         * math/auto-libm-test-out: Regenerated.
2198         [BZ #16559]
2199         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2200         (__ieee754_j1): Force underflow exception for small results.
2201         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2202         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2203         (__ieee754_j1f): Force underflow exception for small results.
2204         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2205         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2206         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2207         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2208         (__ieee754_j1l): Force underflow exception for small results.
2209         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2210         * math/auto-libm-test-in: Add more tests of j1 and jn.
2211         * math/auto-libm-test-out: Regenerated.
2213         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2214         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2215         (PF_MPLS): Likewise.
2216         (AF_IB): Likewise.
2217         (AF_MPLS): Likewise.
2218         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2219         value and macro.
2220         (MS_RMT_MASK): Include MS_LAZYTIME.
2222 2015-06-26  Mel Gorman  <mgorman@suse.de>
2224         [BZ #18502]
2225         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2226         already minimal.
2228 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2230         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2231         (DT_MIPS_NUM): Update.
2232         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2233         DT_MIPS_RLD_MAP_REL.
2235 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2237         [BZ #16559]
2238         [BZ #18602]
2239         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2240         round-to-nearest internally then recompute results that
2241         underflowed to zero in the original rounding mode.
2242         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2243         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2244         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2245         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2246         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2247         * sysdeps/i386/fpu/libm-test-ulps: Update.
2248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2250 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2252         * NEWS: Fixed description of link with vector math library.
2254 2015-06-25  Andreas Schwab  <schwab@suse.de>
2256         [BZ #18549]
2257         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2258         * libio/test-fmemopen.c (do_test): Add test for it.
2260 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2262         [BZ #17841]
2263         * Makeconfig (no-pie-ldflag): New.
2264         (+link): Set to $(+link-pie) if default to PIE.
2265         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2266         * config.make.in (build-pie-default): New.
2267         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2268         is default.  AC_SUBST.
2269         * configure: Regenerated.
2270         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2272 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2274         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2275         to 'unsigned int'.
2277         * resolv/gai_misc.h (struct waitlist): Change type of field
2278         counterp to 'volatile unsigned int *'.
2279         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2280         FUTEXADDR and OLDVAL.
2281         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2282         Give local variable TOTAL type 'volatile unsigned int'.
2283         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2284         * resolv/gai_suspend.c (gai_suspend):
2285         Give local variable CNTR type 'unsigned int'.
2287         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2288         counterp to 'volatile unsigned int *'.
2289         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2290         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2291         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2292         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2293         Give local variable TOTAL type 'volatile unsigned int'.
2294         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2296 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2298         [BZ #18383]
2299         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2300         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2301         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2302         comment for i386/x86-64.
2303         (test-xfail-tst-tlsalign-extern-static): Removed.
2305 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2307         * math/test-double.h: New file.
2308         * math/test-float.h: Likewise.
2309         * math/test-ldouble.h: Likewise.
2310         * math/test-math-inline.h: Likewise.
2311         * math/test-math-no-inline.h: Likewise.
2312         * math/test-math-scalar.h: Likewise.
2313         * math/test-math-vector.h: Likewise.
2314         * math/test-vec-loop.h: Remove file.  Contents moved into
2315         test-math-vector.h.
2316         * math/libm-test.inc (MATHCONST): Do not document macro.
2317         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2318         and test-math-scalar.h.
2319         (FUNC): Remove macro.
2320         (FUNC_TEST): Likewise.
2321         (FLOAT): Likewise.
2322         (MATHCONST): Likewise.
2323         (PRINTF_EXPR): Likewise.
2324         (PRINTF_XEXPR): Likewise.
2325         (PRINTF_NEXPR): Likewise.
2326         (TEST_DOUBLE): Likewise.
2327         (TEST_MATHVEC): Likewise.
2328         (__NO_MATH_INLINES): Likewise.
2329         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2330         and test-math-scalar.h.
2331         (FUNC): Remove macro.
2332         (FUNC_TEST): Likewise.
2333         (FLOAT): Likewise.
2334         (MATHCONST): Likewise.
2335         (PRINTF_EXPR): Likewise.
2336         (PRINTF_XEXPR): Likewise.
2337         (PRINTF_NEXPR): Likewise.
2338         (TEST_FLOAT): Likewise.
2339         (TEST_MATHVEC): Likewise.
2340         (__NO_MATH_INLINES): Likewise.
2341         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2342         and test-math-scalar.h.
2343         (FUNC): Remove macro.
2344         (FUNC_TEST): Likewise.
2345         (FLOAT): Likewise.
2346         (MATHCONST): Likewise.
2347         (PRINTF_EXPR): Likewise.
2348         (PRINTF_XEXPR): Likewise.
2349         (PRINTF_NEXPR): Likewise.
2350         (TEST_DOUBLE): Likewise.
2351         (TEST_MATHVEC): Likewise.
2352         (TEST_INLINE): Likewise.
2353         (__NO_MATH_INLINES): Likewise.
2354         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2355         test-math-scalar.h.
2356         (FUNC): Remove macro.
2357         (FUNC_TEST): Likewise.
2358         (FLOAT): Likewise.
2359         (MATHCONST): Likewise.
2360         (PRINTF_EXPR): Likewise.
2361         (PRINTF_XEXPR): Likewise.
2362         (PRINTF_NEXPR): Likewise.
2363         (TEST_FLOAT): Likewise.
2364         (TEST_MATHVEC): Likewise.
2365         (TEST_INLINE): Likewise.
2366         (__NO_MATH_INLINES): Likewise.
2367         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2368         and test-math-scalar.h.
2369         (FUNC): Remove macro.
2370         (FUNC_TEST): Likewise.
2371         (FLOAT): Likewise.
2372         (MATHCONST): Likewise.
2373         (PRINTF_EXPR): Likewise.
2374         (PRINTF_XEXPR): Likewise.
2375         (PRINTF_NEXPR): Likewise.
2376         (TEST_LDOUBLE): Likewise.
2377         (TEST_MATHVEC): Likewise.
2378         (TEST_INLINE): Likewise.
2379         (__NO_MATH_INLINES): Likewise.
2380         * math/test-ldouble.c: Include test-ldouble.h,
2381         test-math-no-inline.h and test-math-scalar.h.
2382         (FUNC): Remove macro.
2383         (FUNC_TEST): Likewise.
2384         (FLOAT): Likewise.
2385         (MATHCONST): Likewise.
2386         (PRINTF_EXPR): Likewise.
2387         (PRINTF_XEXPR): Likewise.
2388         (PRINTF_NEXPR): Likewise.
2389         (TEST_LDOUBLE): Likewise.
2390         (TEST_MATHVEC): Likewise.
2391         (__NO_MATH_INLINES): Likewise.
2392         * math/test-double-vlen2.h: Include test-double.h,
2393         test-math-no-inline.h and test-math-vector.h.
2394         (FLOAT): Remove macro.
2395         (FUNC): Likewise.
2396         (MATHCONST): Likewise.
2397         (PRINTF_EXPR): Likewise.
2398         (PRINTF_XEXPR): Likewise.
2399         (PRINTF_NEXPR): Likewise.
2400         (TEST_DOUBLE): Likewise.
2401         (TEST_MATHVEC): Likewise.
2402         (__NO_MATH_INLINES): Likewise.
2403         (CNCT): Likewise.
2404         (CONCAT): Likewise.
2405         (WRAPPER_NAME): Likewise.
2406         (WRAPPER_DECL): Likewise.
2407         (WRAPPER_DECL_ff): Likewise.
2408         (WRAPPER_DECL_fFF): Likewise.
2409         (VECTOR_WRAPPER): Likewise.
2410         (VECTOR_WRAPPER_ff): Likewise.
2411         (VECTOR_WRAPPER_fFF): Likewise.
2412         (VEC_LEN): New macro.
2413         * math/test-double-vlen4.h: Include test-double.h,
2414         test-math-no-inline.h and test-math-vector.h.
2415         (FLOAT): Remove macro.
2416         (FUNC): Likewise.
2417         (MATHCONST): Likewise.
2418         (PRINTF_EXPR): Likewise.
2419         (PRINTF_XEXPR): Likewise.
2420         (PRINTF_NEXPR): Likewise.
2421         (TEST_DOUBLE): Likewise.
2422         (TEST_MATHVEC): Likewise.
2423         (__NO_MATH_INLINES): Likewise.
2424         (CNCT): Likewise.
2425         (CONCAT): Likewise.
2426         (WRAPPER_NAME): Likewise.
2427         (WRAPPER_DECL): Likewise.
2428         (WRAPPER_DECL_ff): Likewise.
2429         (WRAPPER_DECL_fFF): Likewise.
2430         (VECTOR_WRAPPER): Likewise.
2431         (VECTOR_WRAPPER_ff): Likewise.
2432         (VECTOR_WRAPPER_fFF): Likewise.
2433         (VEC_LEN): New macro.
2434         * math/test-double-vlen8.h: Include test-double.h,
2435         test-math-no-inline.h and test-math-vector.h.
2436         (FLOAT): Remove macro.
2437         (FUNC): Likewise.
2438         (MATHCONST): Likewise.
2439         (PRINTF_EXPR): Likewise.
2440         (PRINTF_XEXPR): Likewise.
2441         (PRINTF_NEXPR): Likewise.
2442         (TEST_DOUBLE): Likewise.
2443         (TEST_MATHVEC): Likewise.
2444         (__NO_MATH_INLINES): Likewise.
2445         (CNCT): Likewise.
2446         (CONCAT): Likewise.
2447         (WRAPPER_NAME): Likewise.
2448         (WRAPPER_DECL): Likewise.
2449         (WRAPPER_DECL_ff): Likewise.
2450         (WRAPPER_DECL_fFF): Likewise.
2451         (VECTOR_WRAPPER): Likewise.
2452         (VECTOR_WRAPPER_ff): Likewise.
2453         (VECTOR_WRAPPER_fFF): Likewise.
2454         (VEC_LEN): New macro.
2455         * math/test-float-vlen4.h: Include test-float.h,
2456         test-math-no-inline.h and test-math-vector.h.
2457         (FLOAT): Remove macro.
2458         (FUNC): Likewise.
2459         (MATHCONST): Likewise.
2460         (PRINTF_EXPR): Likewise.
2461         (PRINTF_XEXPR): Likewise.
2462         (PRINTF_NEXPR): Likewise.
2463         (TEST_FLOAT): Likewise.
2464         (TEST_MATHVEC): Likewise.
2465         (__NO_MATH_INLINES): Likewise.
2466         (CNCT): Likewise.
2467         (CONCAT): Likewise.
2468         (WRAPPER_NAME): Likewise.
2469         (WRAPPER_DECL): Likewise.
2470         (WRAPPER_DECL_ff): Likewise.
2471         (WRAPPER_DECL_fFF): Likewise.
2472         (VECTOR_WRAPPER): Likewise.
2473         (VECTOR_WRAPPER_ff): Likewise.
2474         (VECTOR_WRAPPER_fFF): Likewise.
2475         (VEC_LEN): New macro.
2476         * math/test-float-vlen8.h: Include test-float.h,
2477         test-math-no-inline.h and test-math-vector.h.
2478         (FLOAT): Remove macro.
2479         (FUNC): Likewise.
2480         (MATHCONST): Likewise.
2481         (PRINTF_EXPR): Likewise.
2482         (PRINTF_XEXPR): Likewise.
2483         (PRINTF_NEXPR): Likewise.
2484         (TEST_FLOAT): Likewise.
2485         (TEST_MATHVEC): Likewise.
2486         (__NO_MATH_INLINES): Likewise.
2487         (CNCT): Likewise.
2488         (CONCAT): Likewise.
2489         (WRAPPER_NAME): Likewise.
2490         (WRAPPER_DECL): Likewise.
2491         (WRAPPER_DECL_ff): Likewise.
2492         (WRAPPER_DECL_fFF): Likewise.
2493         (VECTOR_WRAPPER): Likewise.
2494         (VECTOR_WRAPPER_ff): Likewise.
2495         (VECTOR_WRAPPER_fFF): Likewise.
2496         (VEC_LEN): New macro.
2497         * math/test-float-vlen16.h: Include test-float.h,
2498         test-math-no-inline.h and test-math-vector.h.
2499         (FLOAT): Remove macro.
2500         (FUNC): Likewise.
2501         (MATHCONST): Likewise.
2502         (PRINTF_EXPR): Likewise.
2503         (PRINTF_XEXPR): Likewise.
2504         (PRINTF_NEXPR): Likewise.
2505         (TEST_FLOAT): Likewise.
2506         (TEST_MATHVEC): Likewise.
2507         (__NO_MATH_INLINES): Likewise.
2508         (CNCT): Likewise.
2509         (CONCAT): Likewise.
2510         (WRAPPER_NAME): Likewise.
2511         (WRAPPER_DECL): Likewise.
2512         (WRAPPER_DECL_ff): Likewise.
2513         (WRAPPER_DECL_fFF): Likewise.
2514         (VECTOR_WRAPPER): Likewise.
2515         (VECTOR_WRAPPER_ff): Likewise.
2516         (VECTOR_WRAPPER_fFF): Likewise.
2517         (VEC_LEN): New macro.
2518         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2519         test-vec-loop.h.
2520         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2521         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2522         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2523         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2524         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2525         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2526         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2528 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2530         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2531         (__getlogin_r): ... this.
2533 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2535         [BZ #18594]
2536         * math/s_ccosh.c (__ccosh): Compare with least normal value
2537         instead of comparing class with FP_SUBNORMAL.
2538         * math/s_ccoshf.c (__ccoshf): Likewise.
2539         * math/s_ccoshl.c (__ccoshl): Likewise.
2540         * math/s_cexp.c (__cexp): Likewise.
2541         * math/s_cexpf.c (__cexpf): Likewise.
2542         * math/s_cexpl.c (__cexpl): Likewise.
2543         * math/s_csin.c (__csin): Likewise.
2544         * math/s_csinf.c (__csinf): Likewise.
2545         * math/s_csinh.c (__csinh): Likewise.
2546         * math/s_csinhf.c (__csinhf): Likewise.
2547         * math/s_csinhl.c (__csinhl): Likewise.
2548         * math/s_csinl.c (__csinl): Likewise.
2549         * math/s_ctan.c (__ctan): Likewise.
2550         * math/s_ctanf.c (__ctanf): Likewise.
2551         * math/s_ctanh.c (__ctanh): Likewise.
2552         * math/s_ctanhf.c (__ctanhf): Likewise.
2553         * math/s_ctanhl.c (__ctanhl): Likewise.
2554         * math/s_ctanl.c (__ctanl): Likewise.
2555         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2556         csin, csinh, ctan and ctanh.
2557         * math/auto-libm-test-out: Regenerated.
2558         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2559         * sysdeps/i386/fpu/libm-test-ulps: Update.
2560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2562 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2564         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2565         return value is wrong, print the expected value too.
2567 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2569         [BZ #18585]
2570         * elf/readlib.c (is_gdb_python_file): New.
2571         (process_file): Don't issue errors on filenames with -gdb.py
2572         suffix.
2574 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2576         * math/auto-libm-test-in: Add more tests of csin and csinh.
2577         * math/auto-libm-test-out: Regenerated.
2578         * math/libm-test.inc (csin_test_data): Remove tests moved to
2579         auto-libm-test-in.
2580         (csinh_test_data): Likewise.
2582         [BZ #18593]
2583         * math/s_csin.c (__csin): Negate before rather than after possibly
2584         overflowing multiplication.
2585         * math/s_csinf.c (__csinf): Likewise.
2586         * math/s_csinh.c (__csinh): Likewise.
2587         * math/s_csinhf.c (__csinhf): Likewise.
2588         * math/s_csinhl.c (__csinhl): Likewise.
2589         * math/s_csinl.c (__csinl): Likewise.
2590         * math/auto-libm-test-in: Add some tests of csin and csinh.
2591         * math/auto-libm-test-out: Regenerated.
2592         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2593         (csinh_test_data): Likewise.
2594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2596         [BZ #18586]
2597         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2598         underflow exception for small results.
2600 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2602         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2603         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2604         variable and included header.
2605         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2606         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2607         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2608         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2609         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2610         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2611         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2612         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2613         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2614         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2615         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2616         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2617         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2618         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2619         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2620         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2622 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2624         [BZ #16526]
2625         [BZ #16538]
2626         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2627         (__sin): Force underflow exception for arguments with small
2628         absolute value.
2629         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2630         (__kernel_sinf): Force underflow exception for arguments with
2631         small absolute value.
2632         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2633         (__kernel_sincosl): Force underflow exception for arguments with
2634         small absolute value.
2635         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2636         (__kernel_sinl): Force underflow exception for arguments with
2637         small absolute value.
2638         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2639         (__kernel_sincosl): Force underflow exception for arguments with
2640         small absolute value.
2641         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2642         (__kernel_sinl): Force underflow exception for arguments with
2643         small absolute value.
2644         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2645         (__kernel_sinl): Force underflow exception for arguments with
2646         small absolute value.
2647         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2648         (__kernel_sinf): Force underflow exception for arguments with
2649         small absolute value.
2650         * math/auto-libm-test-in: Add more tests of sin and sincos.
2651         * math/auto-libm-test-out: Regenerated.
2653         [BZ #18245]
2654         [BZ #18583]
2655         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2656         (__kernel_standard_l): Use feholdexcept and fesetenv around
2657         conversion to double instead of special-casing overflow and
2658         underflow.
2659         * math/libm-test.inc (fmod_test_data): Add more tests.
2660         (remainder_test_data): Likewise.
2661         (sqrt_test_data): Likewise.
2663 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2665         [BZ #17403]
2666         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2667         atomic_read_barrier, atomic_write_barrier): Define.
2668         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2669         atomic_read_barrier, atomic_write_barrier): Define.
2671 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2673         * math/Makefile [$(PERL) != no]
2674         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2675         dependency on libm-test.stmp below the inclusion of Rules.
2677 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2679         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2680         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2681         and included header.
2682         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2683         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2684         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2685         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2686         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2687         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2688         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2689         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2690         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2691         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2692         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2693         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2694         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2695         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2696         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2697         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2698         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2699         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2700         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2702 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2704         [BZ #18371]
2705         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2706         intermediate but not final result might underflow.
2707         * math/s_csqrtf.c (__csqrtf): Likewise.
2708         * math/s_csqrtl.c (__csqrtl): Likewise.
2709         * math/auto-libm-test-in: Add more tests of csqrt.
2710         * math/auto-libm-test-out: Regenerated.
2711         * sysdeps/i386/fpu/libm-test-ulps: Update.
2713         [BZ #18219]
2714         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2715         threshold on absolute value of exponent for which scaling is used.
2716         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2717         * math/auto-libm-test-in: Add more tests of exp2.
2718         * math/auto-libm-test-out: Regenerated.
2720 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2722         [BZ #17977]
2723         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2724         when initializing interface list, based on the bug analysis
2725         and the patch proposed by Eric Newton.
2726         * resolv/tst-res_hconf_reorder.c: New test.
2727         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2728         tst-res_hconf_reorder.
2729         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2730         and $(shared-thread-library).
2731         (tst-res_hconf_reorder-ENV): New variable.
2733         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2734         in comment.
2736 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2738         [BZ #16353]
2739         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2740         (__expm1): Force underflow exception for arguments with small
2741         absolute value.
2742         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2743         (__expm1f): Force underflow exception for arguments with small
2744         absolute value.
2745         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2746         (__expm1): Force underflow exception for arguments with small
2747         absolute value.
2748         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2749         (__expm1f): Force underflow exception for arguments with small
2750         absolute value.
2751         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2752         Check for small arguments before calling __expm1.
2753         * math/auto-libm-test-in: Do not mark underflow exceptions as
2754         possibly missing for bug 16353.
2755         * math/auto-libm-test-out: Regenerated.
2757 2015-06-22  Andreas Schwab  <schwab@suse.de>
2759         [BZ #18513]
2760         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2761         PTR queries.
2763 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2765         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2767         * string/strcoll_l.c: Remove unused struct element idxnow.
2769 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2771         [BZ #18569]
2772         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2773         underflow and return argument in case of subnormal argument.
2774         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2775         Likewise.
2776         * math/auto-libm-test-in: Add more tests of expm1.
2777         * math/auto-libm-test-out: Regenerated.
2779         [BZ #16361]
2780         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2781         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2782         tiny results.
2783         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2784         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2785         tiny results.
2786         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2787         mark underflow exceptions as possibly missing for bug 16361.
2788         * math/auto-libm-test-out: Regenerated.
2790 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2792         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2793         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2794         Remove variable.
2795         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2796         (test-xfail-XOPEN2K8/utmpx.h/conform).
2798         * conform/conformtest.pl ($xerrors): New variable.
2799         (note_error): New function.
2800         (compiletest): New argument $xfail.  Use not_error.
2801         (runtest): Likewise.
2802         (top level): Handle xfail- lines.  Update calls to compiletest and
2803         runtest.  Handle xfail- and optional- in headers listed with
2804         allow-header.
2805         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2806         (O_EXEC): Likewise.
2807         (O_SEARCH): Likewise.
2808         * conform/data/stropts.h-data (ioctl): Likewise.
2809         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2810         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2811         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2812         (msghdr.msg_controllen): Likewise.
2813         (cmsghdr.cmsg_len): Likewise.
2814         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2815         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2816         variable.
2817         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2818         (test-xfail-XPG4/stropts.h/conform): Likewise.
2819         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2820         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2821         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2822         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2823         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2824         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2825         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2826         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2827         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2828         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2829         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2830         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2831         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2832         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2833         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2834         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2835         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2836         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2837         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2839 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2841         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2842         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2843         definitions for proper unfolding of __MATHDECL_VEC.
2845 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2847         * benchtests/bench-strcoll.c:
2848         Include string.h.
2849         (main): Remove unused variable res.
2851 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2853         * timezone/Makefile (%/UTC %/Universal):
2854         Generate test-result files for UTC and Universal.
2856 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2858         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2860 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2862         [BZ #16350]
2863         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2864         for arguments with small absolute value.
2865         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2866         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2867         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2868         (__asinh): Force underflow exception for arguments with small
2869         absolute value.
2870         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2871         (__asinhf): Force underflow exception for arguments with small
2872         absolute value.
2873         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2874         (__asinhl): Force underflow exception for arguments with small
2875         absolute value.
2876         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2877         (__asinhl): Force underflow exception for arguments with small
2878         absolute value.
2879         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2880         (__asinhl): Force underflow exception for arguments with small
2881         absolute value.
2882         * math/auto-libm-test-in: Do not mark underflow exceptions as
2883         possibly missing for bug 16350.
2884         * math/auto-libm-test-out: Regenerated.
2886         * include/bits/ipc.h: Remove file.
2887         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2888         variable.
2889         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2890         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2891         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2892         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2893         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2894         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2895         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2896         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2897         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2899         * math/auto-libm-test-in: Remove spurious underflow allowance for
2900         tests of cexp.
2901         * math/auto-libm-test-out: Regenerated.
2903         [BZ #18558]
2904         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2905         unconditional definition.
2906         (MCAST_BLOCK_SOURCE): Likewise.
2907         (MCAST_UNBLOCK_SOURCE): Likewise.
2908         (MCAST_LEAVE_GROUP): Likewise.
2909         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2910         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2911         (MCAST_MSFILTER): Likewise.
2912         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2913         Remove variable.
2914         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2915         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2916         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2917         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2918         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2920 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2922         * NEWS: Mention addition of x86_64 vector sincosf.
2923         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2924         * math/test-float-vlen4.h: Likewise.
2925         * math/test-float-vlen8.h: Likewise.
2926         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2927         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2928         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2929         * sysdeps/x86_64/fpu/Versions: New versions added.
2930         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2931         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2932         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2933         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2934         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2935         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2936         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2937         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2938         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2939         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2940         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2941         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2942         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2943         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2944         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2945         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2946         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2947         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2948         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2949         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2950         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2951         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2952         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2953         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2955         * NEWS: Mention addition of x86_64 vector sincos.
2956         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2957         * math/math.h (__MATHDECL_VEC): New macro.
2958         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2959         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2960         declaration under condition.
2961         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2962         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2963         TEST_VEC_LOOP change.
2964         * math/test-double-vlen4.h: Likewise.
2965         * math/test-double-vlen8.h: Likewise.
2966         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2967         * math/test-float-vlen4.h: Likewise.
2968         * math/test-float-vlen8.h: Likewise.
2969         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2970         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2971         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2972         * sysdeps/x86_64/fpu/Versions: New versions added.
2973         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2974         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2975         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2976         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2977         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2978         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2979         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2980         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2981         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2982         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2983         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2984         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2985         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2986         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2987         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2988         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2989         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2990         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2991         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2992         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2993         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2994         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2995         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2996         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2998         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2999         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3000         redirections for powf.
3001         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3002         * sysdeps/x86_64/fpu/Versions: New versions added.
3003         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3004         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3005         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3006         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3007         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3008         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3009         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3010         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3011         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3012         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3013         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3014         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3015         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3016         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3017         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3018         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3019         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3020         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3021         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3022         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3023         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3024         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3025         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3026         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3027         * math/test-float-vlen16.h: Fixed 2 argument macro.
3028         * math/test-float-vlen4.h: Likewise.
3029         * math/test-float-vlen8.h: Likewise.
3030         * NEWS: Mention addition of x86_64 vector powf.
3032 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3034         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3035         and redefine.
3036         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3037         and redefine.
3038         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3039         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3040         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3042         [BZ #18553]
3043         * resource/getpriority.c (getpriority): Rename to __getpriority
3044         and define as weak alias of __getpriority.
3045         * resource/setpriority.c (setpriority): Rename to __setpriority
3046         and define as weak alias of __setpriority.
3047         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3048         __getpriority and define as weak alias of __getpriority.
3049         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3050         __setpriority and define as weak alias of __setpriority.
3051         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3052         strong name.
3053         (setpriority): Use __setpriority as strong name.
3054         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3055         __getpriority and define as weak alias of __getpriority.
3056         * include/sys/resource.h (__getpriority): Declare.  Use
3057         libc_hidden_proto.
3058         (__setpriority): Likewise.
3059         (getpriority): Don't use libc_hidden_proto.
3060         (setpriority): Likewise.
3061         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3062         getpriority.  Call __setpriority instead of setpriority.
3063         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3064         Remove variable.
3066         [BZ #18547]
3067         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3068         as weak alias of __getttynam.  Use prototype function definition.
3069         Call __setttyent, __getttyent and __endttyent instead of
3070         setttyent, getttyent and endttyent.
3071         (getttyent): Rename to __getttyent and define as weak alias of
3072         __getttyent.  Call __setttyent instead of setttyent.  Call
3073         __fgets_unlocked instead of fgets_unlocked.
3074         (setttyent): Rename to __setttyent and define as weak alias of
3075         __setttyent.
3076         (endttyent): Rename to __endttyent and define as weak alias of
3077         __endttyent.
3078         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3079         (__setttyent): Likewise.
3080         (__endttyent): Likewise.
3081         (getttyent): Don't use libc_hidden_proto.
3082         (setttyent): Likewise.
3083         (endttyent): Likewise.
3084         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3085         __endttyent instead of setttyent, getttyent and endttyent.
3086         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3087         Remove variable.
3089         [BZ #18546]
3090         * socket/recv.c (__recv): Use libc_hidden_def.
3091         * socket/socket.c (__socket): Likewise.
3092         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3093         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3094         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3095         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3096         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3097         libc_hidden_def.
3098         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3099         libc_hidden_weak.
3100         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3101         Use libc_hidden_proto.
3102         (__recv): Likewise.
3103         * socket/Versions (libc): Export __recv and __socket at version
3104         GLIBC_PRIVATE.
3105         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3106         instead of recv.
3107         (init_mq_netlink): Call __socket instead of socket.
3108         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3109         Remove variable.
3111         [BZ #18545]
3112         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3113         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3114         hidden_weak.
3115         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3116         define as alias of __mq_timedsend.  Use hidden_weak.
3117         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3118         __mq_timedsend as strong name.
3119         (mq_timedreceive): Use __mq_timedreceive as strong name.
3120         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3121         (__mq_timedreceive): Likewise.
3122         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3123         __mq_timedreceive instead of mq_timedreceive.
3124         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3125         instead of mq_timedsend.
3126         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3127         Remove variable.
3129         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3130         hidden_def and hidden_weak instead of libc_hidden_def and
3131         libc_hidden_weak.
3132         (top level): Refer to hidden_def in comment.
3133         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3134         macro.  Use it instead of libc_hidden_def.
3135         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3136         specify __GI_* name explicitly.
3137         (mq_timedreceive): Likewise.
3138         (mq_setattr): Likewise.
3140         [BZ #18544]
3141         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3142         __pthread_barrier_init and define as weak alias of
3143         __pthread_barrier_init.
3144         * sysdeps/sparc/nptl/pthread_barrier_init.c
3145         (pthread_barrier_init): Likewise.
3146         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3147         __pthread_barrier_wait and define as weak alias of
3148         __pthread_barrier_wait.
3149         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3150         (pthread_barrier_wait): Likewise.
3151         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3152         (pthread_barrier_wait): Likewise.
3153         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3154         (pthread_barrier_wait): Likewise.
3155         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3156         (pthread_barrier_wait): Likewise.
3157         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3158         __pthread_barrier_wait at version GLIBC_PRIVATE.
3159         * include/pthread.h (__pthread_barrier_init): Declare.
3160         (__pthread_barrier_wait): Likewise.
3161         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3162         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3163         (helper_thread): Likewise.
3164         (init_mq_netlink): Call __pthread_barrier_init instead of
3165         pthread_barrier_init.
3167         [BZ #18542]
3168         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3169         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3170         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3171         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3172         vswscanf.
3173         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3174         Remove variable.
3176         [BZ #18540]
3177         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3178         strong alias of _IO_fflush.  Use libc_hidden_def.
3179         * libio/iofflush_u.c (fflush_unlocked): Rename to
3180         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3181         Use libc_hidden_weak.
3182         * include/stdio.h (__fflush_unlocked): Declare.  Use
3183         libc_hidden_proto.
3184         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3185         fflush_unlocked.
3186         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3187         Remove variable.
3189         [BZ #18539]
3190         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3191         define as weak alias of __addseverity.
3192         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3193         Remove variable.
3194         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3195         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3196         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3198         [BZ #18536]
3199         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3200         (__tfind): Likewise.
3201         (__tdelete): Likewise.
3202         (__twalk): Likewise.
3203         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3204         __twalk to GLIBC_PRIVATE.
3205         * include/search.h (__tsearch): Use libc_hidden_proto.
3206         (__tfind): Likewise.
3207         (__tdelete): Likewise.
3208         (__twalk): Likewise.
3209         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3210         Call __tdelete instead of tdelete.
3211         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3212         tfind.  Call __tsearch instead of tsearch.
3213         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3214         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3215         Remove variable.
3216         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3218         [BZ #18534]
3219         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3220         (dprintf): Define as a weak alias of __dprintf, not a strong
3221         alias.
3222         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3223         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3224         dprintf.
3225         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3226         Remove variable.
3227         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3228         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3230         [BZ #18533]
3231         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3232         not a strong alias.
3233         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3234         Remove variable.
3236         [BZ #18532]
3237         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3238         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3239         (in6addr_loopback): Rename to __in6addr_loopback and define as
3240         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3241         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3242         libc_hidden_proto.
3243         (__in6addr_any): Likewise.
3244         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3245         in6addr_any.
3246         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3247         variable.
3248         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3250 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3252         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3253         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3254         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3255         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3256         redirections for pow.
3257         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3258         * sysdeps/x86_64/fpu/Versions: New versions added.
3259         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3260         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3261         build of SSE, AVX2 and AVX512 IFUNC versions.
3262         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3263         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3264         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3265         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3266         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3267         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3268         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3269         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3270         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3271         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3272         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3273         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3274         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3275         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3276         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3277         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3278         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3279         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3280         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3281         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3282         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3283         * NEWS: Mention addition of x86_64 vector pow.
3285         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3286         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3287         redirections for expf.
3288         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3289         * sysdeps/x86_64/fpu/Versions: New versions added.
3290         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3291         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3292         build of SSE, AVX2 and AVX512 IFUNC versions.
3293         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3294         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3295         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3296         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3297         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3298         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3299         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3300         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3301         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3302         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3303         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3304         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3305         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3306         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3307         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3308         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3309         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3310         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3311         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3312         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3313         * NEWS: Mention addition of x86_64 vector expf.
3315         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3316         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3317         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3318         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3319         redirections for exp.
3320         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3321         * sysdeps/x86_64/fpu/Versions: New versions added.
3322         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3323         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3324         build of SSE, AVX2 and AVX512 IFUNC versions.
3325         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3326         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3327         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3328         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3329         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3330         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3331         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3332         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3333         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3334         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3335         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3336         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3337         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3338         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3339         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3340         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3341         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3342         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3343         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3344         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3345         * NEWS: Mention addition of x86_64 vector exp.
3347         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3348         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3349         redirections for logf.
3350         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3351         * sysdeps/x86_64/fpu/Versions: New versions added.
3352         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3353         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3354         build of SSE, AVX2 and AVX512 IFUNC versions.
3355         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3356         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3357         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3358         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3359         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3360         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3361         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3362         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3363         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3364         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3365         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3366         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3367         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3368         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3369         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3370         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3371         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3372         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3373         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3374         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3375         * NEWS: Mention addition of x86_64 vector logf.
3377         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3378         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3379         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3380         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3381         redirections for log.
3382         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3383         * sysdeps/x86_64/fpu/Versions: New versions added.
3384         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3385         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3386         build of SSE, AVX2 and AVX512 IFUNC versions.
3387         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3388         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3389         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3390         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3391         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3392         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3393         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3394         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3395         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3396         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3397         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3398         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3399         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3400         test.
3401         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3402         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3403         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3404         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3405         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3406         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3407         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3408         * NEWS: Mention addition of x86_64 vector log.
3410 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3412         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3413         cfi_adjust_cfa_offset argument.
3414         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3415         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3417         [BZ #18034]
3418         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3419         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3420         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3421         ordering using ldar.
3422         (_dl_tlsdesc_dynamic): Likewise.
3423         (_dl_tlsdesc_return_lazy): Likewise.
3424         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3425         relaxed atomics instead of volatile and synchronize with release store.
3426         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3427         volatile.
3428         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3430 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3432         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3433         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3434         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3435         * sysdeps/x86_64/fpu/Versions: New versions added.
3436         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3437         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3438         build of SSE, AVX2 and AVX512 IFUNC versions.
3439         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3440         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3441         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3442         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3443         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3444         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3445         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3446         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3447         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3448         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3449         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3450         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3451         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3452         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3453         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3454         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3455         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3456         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3457         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3458         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3459         * NEWS: Mention addition of x86_64 vector sinf.
3461 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3463         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3464         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3465         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3466         Remove variable.
3467         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3468         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3470 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3472         [BZ #18530]
3473         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3474         strong alias of _IO_fputs.  Use libc_hidden_def.
3475         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3476         and define as weak alias of __fputs_unlocked.  Use
3477         libc_hidden_weak.
3478         * include/stdio.h (__fputs_unlocked): Declare.  Use
3479         libc_hidden_proto.
3480         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3481         fputs_unlocked.
3483         [BZ #18529]
3484         * resolv/netdb.h [__USE_POSIX]: Change condition to
3485         [__USE_XOPEN2K].
3486         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3487         not expect.
3488         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3489         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3490         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3491         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3492         [XPG4 || UNIX98] (AI_ALL): Likewise.
3493         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3494         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3495         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3496         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3497         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3498         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3499         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3500         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3501         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3502         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3503         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3504         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3505         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3506         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3507         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3508         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3509         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3510         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3511         [XPG4 || UNIX98] (gai_strerror): Likewise.
3512         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3513         [XPG4 || UNIX98] (getnameinfo): Likewise.
3515         [BZ #18528]
3516         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3517         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3518         __USE_XOPEN2K8].
3519         (getgrent): Likewise.
3520         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3521         expect.
3522         [XPG3 || POSIX2008] (endgrent): Likewise.
3523         [XPG3] (setgrent): Likewise.
3524         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3525         variable.
3526         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3528         [BZ #18527]
3529         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3530         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3531         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3532         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3533         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3534         * include/unistd.h (__getlogin_r): Declare.  Use
3535         libc_hidden_proto.
3536         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3537         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3538         variable.
3539         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3540         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3541         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3543 2015-06-12  Martin Sebor  <msebor@redhat.com>
3545         [BZ #18512]
3546         * Makerules (check-install-supported): New target.
3547         (install): Add check-install-supported as a dependency.
3548         * manual/install.texi (Installing the C Library): Document
3549         that overriding prefix and exec_prefix is not supported.
3550         Mention DESTDIR.
3551         * INSTALL: Regenerate from the above.
3553 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3555         [BZ #18519]
3556         * posix/Versions (libc): Export __libc_pread at version
3557         GLIBC_PRIVATE.
3558         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3559         instead of pread.
3560         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3561         variable.
3563         [BZ #18522]
3564         * misc/efgcvt_r.c
3565         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3566         (cvt_symbol): Use weak_alias instead of strong_alias.
3567         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3568         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3569         Remove variable.
3570         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3571         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3573         [BZ #18520]
3574         * inet/herrno.c (h_errno): Rename to __h_errno.
3575         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3576         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3577         to __h_errno instead of h_errno.
3578         * nptl/herrno.c (h_errno): Rename to __h_errno.
3579         (__h_errno_location): Refer to __h_errno not h_errno.
3580         * resolv/Versions (h_errno): Rename to __h_errno.
3581         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3582         Remove variable.
3583         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3585 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3587         * configure.ac: More strict check for AVX512 assembler support.
3588         * configure: Regenerated.
3590         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3591         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3592         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3593         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3594         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3595         * sysdeps/x86_64/fpu/Versions: New versions added.
3596         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3597         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3598         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3599         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3600         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3601         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3602         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3603         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3604         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3605         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3606         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3607         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3608         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3609         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3610         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3611         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3612         test.
3613         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3614         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3615         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3616         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3617         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3618         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3619         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3620         * NEWS: Mention addition of x86_64 vector sin.
3622 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3624         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3625         comment.
3627 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3629         [BZ #18479]
3630         * nptl/pt-interp.c: New file.
3631         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3632         Add pt-interp.
3633         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3634         $(common-objpfx)runtime-linker.h.
3636 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3638         * Makeconfig (+interp): Remove unused variable.
3639         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3640         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3641         $(elf-objpfx)runtime-linker.h.
3642         ($(elf-objpfx)runtime-linker.h): Rename to
3643         $(common-objpfx)runtime-linker.h and move ...
3644         * Makerules [$(build-shared) = yes]: ... here.
3645         * elf/interp.c: Include <runtime-linker.h> instead of
3646         <elf/runtime-linker.h>.
3648 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3650         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3651         (__gettimeofday_syscall): Remove vsyscall fallback.
3652         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3653         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3654         Add syscall fallback function.
3655         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3656         if vDSO is not present.
3657         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3658         fallback function.
3659         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3660         present.
3661         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3662         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3664 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3666         [BZ #18497]
3667         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3668         of wcscmp.
3669         (wcscmp): Define as weak alias of WCSCMP.
3670         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3671         wcscoll.
3672         (USE_HIDDEN_DEF): Define.
3673         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3674         __wcscoll.  Don't use libc_hidden_weak.
3675         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3676         wcscmp.
3677         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3678         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3679         __GI_wcscmp.
3680         (weak_alias): Undefine and redefine.
3681         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3682         __wcscmp and define as weak alias of __wcscmp.
3683         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3684         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3685         (__wcscoll): Likewise.
3686         (wcscmp): Don't use libc_hidden_proto.
3687         (wcscoll): Likewise.
3688         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3689         wcscoll.
3690         * posix/regexec.c (check_node_accept_bytes): Likewise.
3691         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3692         variable.
3693         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3694         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3696         [BZ #18507]
3697         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3698         __fstatvfs and define as weak alias of __fstatvfs.  Use
3699         libc_hidden_weak.
3700         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3701         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3702         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3703         Define as alias of __fstatvfs, not fstatvfs.
3704         (fstatvfs64): Likewise.
3705         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3706         Define as alias of __statvfs, not statvfs.
3707         (statvfs64): Likewise.
3708         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3709         Remove variable.
3711 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3714         (HAVE_GETCPU_VSYSCALL): Define.
3715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3716         (HAVE_GETCPU_VSYSCALL): Likewise.
3717         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3718         * sysdeps/unix/sysv/linux/sched_getcpu.c
3719         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3720         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3721         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3722         prototype.
3723         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3724         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3725         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3727         Define.
3728         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3729         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3730         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3731         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3733 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3735         * sysdeps/x86_64/fpu/Makefile: New file.
3736         * sysdeps/x86_64/fpu/Versions: New file.
3737         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3738         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3739         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3740         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3741         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3742         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3743         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3744         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3745         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3746         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3747         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3748         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3749         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3750         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3751         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3752         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3753         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3754         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3755         * sysdeps/x86_64/configure: Regenerated.
3756         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3757         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3758         * manual/install.texi (Configuring and compiling): Document
3759         --disable-mathvec.
3760         * INSTALL: Regenerated.
3761         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3763         * math/Makefile: Added rules for vector tests.
3764         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3765         declaration under condition.
3766         * math/test-double-vlen2.h: New file.
3767         * math/test-double-vlen4.h: New file.
3768         * math/test-double-vlen8.h: New file.
3769         * math/test-vec-loop.h: Added initialization macro.
3770         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3771         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3772         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3773         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3774         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3775         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3776         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3777         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3778         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3779         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3780         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3782         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3783         * sysdeps/x86_64/fpu/Versions: New versions added.
3784         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3785         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3786         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3787         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3788         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3789         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3790         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3791         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3792         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3793         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3794         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3795         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3796         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3797         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3798         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3799         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3800         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3801         * NEWS: Mention addition of x86_64 vector cosf.
3803         * math/Makefile: Added CFLAGS for new tests.
3804         * math/test-float-vlen16.h: New file.
3805         * math/test-float-vlen4.h: New file.
3806         * math/test-float-vlen8.h: New file.
3807         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3808         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3810         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3811         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3812         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3813         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3814         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3815         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3816         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3817         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3819 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3821         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3822         * locale/programs/ld-ctype.c: Likewise.
3824 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3826         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3827         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3828         bit_ZMM16_31_state): New macro.
3829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3830         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3832 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3834         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3836 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3838         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3840 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3842         [BZ #18498]
3843         * libio/memstream.c (open_memstream): Rename to __open_memstream
3844         and define as weak alias of __open_memstream.
3845         * include/stdio.h (__open_memstream): Declare.  Use
3846         libc_hidden_proto.
3847         (open_memstream): Don't use libc_hidden_proto.
3848         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3849         open_memstream.
3850         * posix/getopt.c (_getopt_internal_r): Likewise.
3851         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3852         variable.
3853         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3854         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3855         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3857         [BZ #18496]
3858         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3859         instead of wcrtomb.
3861         [BZ #18483]
3862         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3863         [__USE_XOPEN2K8].  Remove redundant #endif.
3864         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3865         Remove redundant #if.
3866         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3867         Remove variable.
3868         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3869         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3871         [BZ #18495]
3872         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3873         (__iswlower): Likewise.
3874         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3875         (__iswlower): Likewise.
3876         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3877         instead of towlower.
3878         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3879         instead of iswlower.  Call __towupper instead of towupper.
3880         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3881         instead of iswalnum.
3883 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3885         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3886         errors to stderr.
3888 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3890         [BZ #15661]
3891         [BZ #17322]
3892         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3893         Check for overflow properly.  Check for O_APPEND.  Ignore large
3894         file system block sizes.  Add comments about problems.
3895         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3896         * manual/filesys.texi (Storage Allocation): New node.
3898 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3900         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3901         cancellable syscalls.
3902         (SYS_ify): Add guard to no redefine it.
3903         (INLINE_SYSCALL): Likewise.
3904         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3905         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3906         SYSCALL_CANCEL instead.
3907         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3908         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3909         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3910         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3911         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3912         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3913         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3914         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3915         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3916         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3917         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3918         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3919         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3920         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3921         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3922         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3923         Likewise.
3924         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3925         (__libc_pread64): Likewise.
3926         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3927         (__libc_preadv): Likewise.
3928         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3929         (__libc_readv64): Likewise.
3930         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3931         (__libc_pwrite): Likewise.
3932         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3933         (__libc_pwrite64): Likewise.
3934         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3935         (__libc_pwritev): Likewise.
3936         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3937         (__libc_pwritev64): Likewise.
3938         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3939         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3940         (sync_file_range): Likewise.
3941         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3942         Likewise.
3943         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3944         Likewise.
3945         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3946         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3947         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3948         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3949         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3950         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3951         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3952         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3954         Likewise.
3955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3956         (__libc_read64): Likewise.
3957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3958         Likewise.
3959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3960         Likewise.
3961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3962         Likewise.
3963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3964         Likewise.
3965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3966         (__libc_pread64): Likewise.
3967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3968         Likewise.
3969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3970         (__libc_pwrite64): Likewise.
3971         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3972         (sync_file_range): Likewise.
3973         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3974         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3975         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3976         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3977         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3978         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3979         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3980         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3981         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3982         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3983         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3984         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3985         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3986         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3987         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3988         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3989         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3990         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3991         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3992         Likewise.
3993         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3994         Likewise.
3995         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3996         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3997         Likewise.
3998         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3999         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4000         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4001         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4002         Likewise.
4003         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4004         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4005         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4006         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4007         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4009 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4011         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4012         Include dl-vdso.
4013         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4014         Use VDSO routines for gettimeofday, clock_gettime if
4015         available.
4016         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4017         Declare VDSO symbols.
4018         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4019         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4020         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4021         * sysdeps/unix/sysv/linux/arm/Versions: Add
4022         __vdso_clock_gettime.
4024 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4026         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4027         be an inline implementation regardless of library is built within.
4028         (open_not_cancel_2): Likewise.
4029         (__read_nocancel): Likewise.
4030         (__write_nocancel): Likewise.
4031         (openat_not_cancel): Likewise.
4032         (openat_not_cancel_3): Likewise.
4033         (openat64_not_cancel): Likewise.
4034         (openat64_not_cancel_3): Likewise.
4035         (__close_nocancel): Likewise.
4036         (pause_not_cancel): Likewise.
4037         (nanosleep_not_cancel): Likewise.
4038         (sigsuspend_not_cancel): Likewise.
4040 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4042         [BZ #14958]
4043         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4044         wake-up.
4045         (__pthread_rwlock_rdlock_slow): Likewise.
4046         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4047         Likewise.
4048         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4049         Likewise.
4050         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4051         * nptl/tst-rwlock16.c: New file.
4052         * nptl/Makefile (tests): Add new test.
4054 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4056         [BZ #18324]
4057         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4058         missing wake-up of readers.
4059         * nptl/tst-rwlock15.c: New file.
4060         * nptl/Makefile (tests): Add new test.
4062 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4064         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4065         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4066         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4067         and __nacl_supply_interface_rtld.
4068         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4069         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4070         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4071         Add __nacl_supply_interface_rtld.
4072         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4074 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4076         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4077         isfinite.
4078         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4079         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4081 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4083         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4084         __signbit* with standard C99 macros.
4085         * math/e_exp10l.c: Likewise.
4086         * math/e_exp2l.c: Likewise.
4087         * math/e_scalb.c: Likewise.
4088         * math/e_scalbf.c: Likewise.
4089         * math/e_scalbl.c: Likewise.
4090         * math/s_ldexp.c: Likewise.
4091         * math/s_ldexpf.c: Likewise.
4092         * math/s_ldexpl.c: Likewise.
4093         * math/w_atan2.c: Likewise.
4094         * math/w_atan2f.c: Likewise.
4095         * math/w_atan2l.c: Likewise.
4096         * math/w_cosh.c: Likewise.
4097         * math/w_coshf.c: Likewise.
4098         * math/w_coshl.c: Likewise.
4099         * math/w_exp10.c: Likewise.
4100         * math/w_exp10f.c: Likewise.
4101         * math/w_exp10l.c: Likewise.
4102         * math/w_exp2.c: Likewise.
4103         * math/w_exp2f.c: Likewise.
4104         * math/w_exp2l.c: Likewise.
4105         * math/w_fmod.c: Likewise.
4106         * math/w_fmodf.c: Likewise.
4107         * math/w_fmodl.c: Likewise.
4108         * math/w_hypot.c: Likewise.
4109         * math/w_hypotf.c: Likewise.
4110         * math/w_hypotl.c: Likewise.
4111         * math/w_jnl.c: Likewise.
4112         * math/w_lgamma.c: Likewise.
4113         * math/w_lgamma_r.c: Likewise.
4114         * math/w_lgammaf.c: Likewise.
4115         * math/w_lgammaf_r.c: Likewise.
4116         * math/w_lgammal.c: Likewise.
4117         * math/w_lgammal_r.c: Likewise.
4118         * math/w_pow.c: Likewise.
4119         * math/w_powf.c: Likewise.
4120         * math/w_powl.c: Likewise.
4121         * math/w_remainder.c: Likewise.
4122         * math/w_remainderf.c: Likewise.
4123         * math/w_remainderl.c: Likewise.
4124         * math/w_scalb.c: Likewise.
4125         * math/w_scalbf.c: Likewise.
4126         * math/w_scalbl.c: Likewise.
4127         * math/w_scalbln.c: Likewise.
4128         * math/w_scalblnf.c: Likewise.
4129         * math/w_scalblnl.c: Likewise.
4130         * math/w_sinh.c: Likewise.
4131         * math/w_sinhf.c: Likewise.
4132         * math/w_sinhl.c: Likewise.
4133         * math/w_tgamma.c: Likewise.
4134         * math/w_tgammaf.c: Likewise.
4135         * math/w_tgammal.c: Likewise.
4136         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4137         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4138         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4139         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4140         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4141         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4142         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4143         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4144         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4145         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4146         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4147         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4148         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4149         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4150         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4151         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4152         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4153         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4154         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4155         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4156         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4157         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4158         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4159         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4160         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4161         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4162         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4163         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4164         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4165         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4166         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4167         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4168         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4169         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4170         * stdio-common/printf_fp.c: Likewise.
4171         * stdio-common/printf_fphex.c: Likewise.
4172         * stdio-common/printf_size.c: Likewise.
4174 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4176         [BZ #18470]
4177         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4178         strnlen.
4179         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4180         Remove variable.
4181         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4182         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4183         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4184         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4185         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4186         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4187         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4188         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4189         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4190         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4192         [BZ #18468]
4193         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4194         weak alias of __wmemchr.  Use libc_hidden_weak.
4195         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4196         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4197         instead of wmemchr.
4199 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4201         [BZ #18383]
4202         * elf/tst-tlsalign-extern.c: New file.
4203         * elf/tst-tlsalign-extern-static.c: New file.
4204         * elf/tst-tlsalign-vars.c: New file.
4205         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4206         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4207         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4208         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4209         (test-xfail-tst-tlsalign-extern-static): New variable.
4211 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4213         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4214         Use variable name _sc_err instead of err.
4215         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4216         instead of ret.
4217         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4218         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4219         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4220         (INLINE_SYSCALL): Likewise.
4222         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4223         * include/string.h (__strnlen): Use libc_hidden_proto.
4224         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4225         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4226         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4227         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4228         (libc_hidden_def): Undefine and redefine.
4229         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4230         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4231         __GI_strnlen.
4232         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4233         libc_hidden_def.
4234         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4236         [BZ #18469]
4237         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4238         weak alias of __towlower.  Use libc_hidden_weak.
4239         (towupper): Rename to __towupper and define as weak alias of
4240         __towupper.  Use libc_hidden_weak.
4241         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4242         (__towupper): Likewise.
4243         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4244         __towlower instead of towlower.
4246 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4248         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4249         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4251 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4253         * sysdeps/aarch64/libm-test-ulps: Update.
4255 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4257         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4258         Define.
4259         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4261         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4262         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4263         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4264         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4265         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4267 2015-06-01  Martin Sebor  <msebor@redhat.com>
4269         [BZ #18116]
4270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4271         (__setcontext): Use extended four-operand version of mtsf whenever
4272         possible.
4273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4274         (__novec_swapcontext): Likewise.
4276 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4278         * benchtests/scripts/compare_bench.py: New file.
4279         * benchtests/scripts/import_bench.py (mean): New function.
4280         (split_list): Likewise.
4281         (do_for_all_timings): Likewise.
4282         (compress_timings): Likewise.
4284         * benchtests/scripts/import_bench.py: New file.
4285         * benchtests/scripts/validate_benchout.py: Import import_bench
4286         instead of jsonschema.
4287         (validate_bench): Remove function.
4288         (main): Use import_bench.
4290 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4292         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4293         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4295 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4299 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4301         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4302         set THREAD_SELF->tid to a magic value and futex-wake it.
4303         Pass its address to the thread_exit system call.
4304         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4305         bit is clear.
4306         * sysdeps/nacl/lowlevellock.h: New file.
4307         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4309         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4310         Add TIMEOUT to current time, don't subtract it.
4312 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4314         [BZ #2981]
4315         [BZ #18422]
4316         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4317         ($(objpfx)tst-audit2.out): Also depend on
4318         $(objpfx)tst-auditmod9b.so.
4319         * elf/tst-audit2.c: Include <dlfcn.h>.
4320         (calloc_called): New.
4321         (calloc): Allow to be called more than once.
4322         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4324 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4326         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4327         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4329 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4331         * stdlib/monetary.h: Fix comment.
4333 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4335         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4336         Avoid using variables in #defines that might cause shadowing.
4337         (INTERNAL_VSYSCALL_CALL): Likewise.
4339 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4341         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4343         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4344         * nptl/lll_timedlock_wait.c: ... to this new file.
4345         * nptl/Makefile (libpthread-routines): Add it.
4346         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4347         * nptl/lll_timedwait_tid.c: ... to this new file.
4348         * nptl/Makefile (libpthread-routines): Add it.
4349         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4350         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4351         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4352         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4353         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4354         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4355         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4356         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4357         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4358         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4360 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4362         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4363         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4364         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4365         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4366         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4367         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4368         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4369         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4370         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4371         * sysdeps/unix/sysv/linux/tile/sysdep.h
4372         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4373         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4374         using vDSO syscall macro.
4376 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4378         [BZ #17293]
4379         * uk_UA: Fix sorting order for Ukrainian locale
4381 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4383         * stdlib/monetary.h: Fix comment.
4385 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4387         [BZ #18234]
4388         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4389         st_mtim and st_ctim members.
4390         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4391         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4392         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4393         (struct stat64): Likewise.
4394         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4395         (struct stat64): Likewise.
4396         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4397         (struct stat64): Likewise.
4399 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4401         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4402         Define and include sysdep-vdso.h.
4403         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4404         Likewise.
4405         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4406         Likewise.
4407         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4408         Define with VDSO_SYMBOL and use PTR_MANGLE.
4409         (__vdso_clock_gettime): Likewise.
4410         (__vdso_clock_getres): Likewise.
4411         (_libc_vdso_platform_setup): Likewise.
4412         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4413         Likewise.
4414         (_libc_vdso_platform_setup): Likewise.
4415         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4416         Likewise.
4417         (__vdso_clock_gettime): Likewise.
4418         (__vdso_clock_getres): Likewise.
4419         (__vdso_get_tbfreq): Likewise.
4420         (__vdso_getcpu): Likewise.
4421         (__vdso_time): Likewise.
4422         (__vdso_sigtramp_rt64): Likewise.
4423         (__vdso_signtramp32): Likewise.
4424         (__vdso_sigtramp_rt32): Likewise.
4425         (_libc_vdso_platform_setup): Likewise.
4426         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4427         Likewise.
4428         (__vdso_clock_gettime): Likewise.
4429         (__vdso_clock_getres): Likewise.
4430         (_libc_vdso_platform_setup): Likewise.
4431         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4432         Likewise.
4433         (__vdso_clock_gettime): Likewise.
4434         (_libc_vdso_platform_setup): Likewise.
4435         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4436         Likewise.
4437         (__vdso_getcpu): Likewise.
4438         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4439         Use VDSO_SYMBOL macro to define.
4440         (__vdso_clock_gettime): Likewise.
4441         (__vdso_clock_getres): Likewise.
4442         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4443         Likewise.
4444         (__vdso_clock_gettime): Likewise.
4445         (__vdso_clock_getres): Likewise.
4446         (__vdso_get_tbfreq): Likewise.
4447         (__vdso_getcpu): Likewise.
4448         (__vdso_time): Likewise.
4449         (__vdso_sigtramp_rt64): Likewise.
4450         (__vdso_signtramp32): Likewise.
4451         (__vdso_sigtramp_rt32): Likewise.
4452         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4453         Likewise.
4454         (__vdso_clock_gettime): Likewise.
4455         (__vdso_clock_getres): Likewise.
4456         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4457         Likewise.
4458         (__vdso_clock_gettime): Likewise.
4459         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4460         Likewise.
4461         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4462         macro.
4463         (INTERNAL_VSYSCALL): Likewise.
4464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4465         Remove macro.
4466         (INTERNAL_VSYSCALL): Likewise.
4467         (INTERNAL_VSYSCALL_NCS): Likewise.
4468         (INTERNAL_VSYSCALL_CALL): New macro.
4469         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4470         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4471         Likewise.
4472         (INTERNAL_VSYSCALL): Likewise.
4473         (INTERNAL_VSYSCALL_NCS): Likewise.
4474         (INTERNAL_VSYSCALL_CALL): New macro.
4475         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4477         (INLINE_VSYSCALL): Remove macro.
4478         (INTERNAL_VSYSCALL): Remove macro.
4479         (INTERNAL_VSYSCALL_NCS): Remove macro.
4480         (INTERNAL_VSYSCALL_CALL): New macro.
4481         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4482         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4483         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4484         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4485         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4487         (INLINE_VSYSCALL): Remove macro.
4488         (INTERNAL_VSYSCALL): Likewise.
4489         (INTERNAL_VSYSCALL_NCS): Likewise.
4490         (INTERNAL_VSYSCALL_CALL): New macro.
4491         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4492         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4493         PTR_DEMANGLE on vDSO pointer.
4494         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4495         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4496         macro.
4497         (INTERNAL_SYSCALL): Likewise.
4498         (INTERNAL_VSYSCALL_NCS): Remove macro.
4499         (INTERNAL_VSYSCALL_CALL): New macro.
4500         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4501         Remove macro.
4502         (INTERNAL_VSYSCALL): Likewise.
4503         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4504         sysdep-vdso.h instead of libc-vdso.h.
4505         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4506         definition.
4507         (INLINE_VSYSCALL): Likewise.
4508         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4509         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4510         definition.
4511         (INLINE_VSYSCALL): Likewise.
4512         (INTERNAL_VSYSCALL): Likewise.
4513         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4514         * sysdeps/unix/sysv/linux/timespec_get.c
4515         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4516         (timespec_get): Use ANSI prototype.
4517         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4518         and definition for Linux.
4520 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4522         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4523         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4525 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4527         [BZ #2981]
4528         [BZ #18410]
4529         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4530         for missing DT_PLTRELSZ.
4532 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4534         Remove obsolete aliases that broke 'locale -a'
4535         [BZ #18412]
4536         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4537         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4538         breaking some applications that use 'locale -a' output.
4539         Change the encoding of this file from Latin-1 to ASCII to avoid
4540         other potential problems with people grepping this file.
4542 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4544         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4545         -fasynchronous-unwind-tables.
4546         (CFLAGS-sendto.c): Likewise.
4547         (CFLAGS-sendmsg.c): Likewise.
4548         (CFLAGS-connect.c): Likewise.
4549         (CFLAGS-recvmsg.c): Likewise.
4550         (CFLAGS-recvfrom.c): Likewise.
4551         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4552         (SOCKETCALL): New macro: non-cancellable socketcall.
4553         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4554         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4555         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4556         * sysdeps/unix/sysv/linux/accept.c: New file.
4557         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4558         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4559         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4560         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4561         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4562         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4563         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4564         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4565         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4566         * sysdeps/unix/sysv/linux/send.c: Likewise.
4567         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4568         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4569         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4570         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4571         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4572         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4573         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4574         prototype.
4575         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4576         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4577         instead of __internal_xxx function.
4578         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4579         prototype.
4580         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4581         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4582         instead of __internal_xxx function.
4583         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4584         prototype.
4585         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4586         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4587         instead of __internal_xxx function.
4588         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4589         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4590         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4591         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4592         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4593         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4594         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4595         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4596         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4597         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4598         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4599         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4600         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4601         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4602         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4603         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4604         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4605         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4606         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4607         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4610         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4611         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4612         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4613         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4614         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4615         * sysdeps/unix/sysv/linux/send.S: Likewise.
4616         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4617         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4618         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4619         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4620         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4621         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4622         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4623         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4624         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4625         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4626         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4627         socketcall is implemented in GLIBC.
4629 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4631         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4632         (__fma): Ignore uninitialized warnings around packing.
4633         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4634         (__fmaf): Ignore uninitialized warnings around packing.
4635         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4636         (__fmal): Ignore uninitialized warnings around packing.
4638         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4639         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4640         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4641         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4643         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4644         switch statement into default case.
4645         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4647         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4648         a conditional in forcing "inexact".
4649         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4650         Likewise.
4652 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4654         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4655         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4656         for each INTERNAL_SYSCALL use.
4658 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4660         [BZ #438]
4661         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4662         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4663         variable.
4665         [BZ #18444]
4666         * string/basename.c (basename): Rename to __basename and define as
4667         weak alias of __basename.  Use libc_hidden_weak.
4668         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4669         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4670         __basename instead of basename.
4671         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4672         Remove variable.
4673         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4675 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4677         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4678         (_IO_JUMPS_FILE_plus): New.
4679         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4680         _IO_CAST_FIELD_ACCESS.
4681         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4682         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4683         * libio/freopen.c (freopen): Likewise.
4684         * libio/freopen64.c (freopen64): Likewise.
4685         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4686         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4687         * libio/iofwide.c (_IO_fwide): Likewise.
4688         * libio/memstream.c (open_memstream): Likewise.
4689         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4690         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4691         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4693 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4695         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4696         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4697         NADJ.
4698         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4699         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4700         NADJ.
4701         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4702         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4703         NADJ.
4705         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4706         (p == 4) case.
4708         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4709         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4710         Remove variable.
4711         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4712         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4713         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4715 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4717         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4718         Adjust jump table label generation macros.
4720 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4722         * stdio-common/vfprintf.c (vfprintf): Move local variables
4723         args_malloced, specs, specs_malloced, and the code after
4724         do_positional to the printf_positional function.
4725         (printf_positional): New function.
4727 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4729         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4730         function.
4731         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4732         STEP4_TABLE, process_arg): Move macro definitions
4733         out of the vfprintf function.  (Cosmetic change only.)
4735 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4737         * benchtests/Makefile (stdio-common-bench): Define.
4738         (benchset): Add stdio-common-bench.
4739         * sprintf-inputs: New file.
4740         * sprintf-source.c: New file.
4742 2015-05-21  Andreas Schwab  <schwab@suse.de>
4744         [BZ #13028]
4745         [BZ #17053]
4746         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4747         of struct __res_state.
4748         * resolv/res_send.c (__libc_res_nsend): Likewise.
4749         (get_nsaddr): New function.
4750         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4751         statp directly.
4753 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4755         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4756         -D_POSIX_C_SOURCE=199506L.
4758         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4760         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4761         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4762         Do not mention otherwise.
4763         [POSIX] (_XOPEN_VERSION): Do not expect.
4764         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4765         [POSIX] (_POSIX2_C_BIND): Likewise.
4766         [POSIX] (_POSIX2_VERSION): Likewise.
4767         [POSIX] (_XOPEN_XPG2): Likewise.
4768         [POSIX] (_XOPEN_XPG3): Likewise.
4769         [POSIX] (_XOPEN_XPG4): Likewise.
4770         [POSIX] (_XOPEN_UNIX): Likewise.
4771         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4772         [POSIX] (_POSIX_BARRIERS): Likewise.
4773         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4774         [POSIX] (_POSIX_CPUTIME): Likewise.
4775         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4776         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4777         [POSIX] (_POSIX_SHELL): Likewise.
4778         [POSIX] (_POSIX_SPAWN): Likewise.
4779         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4780         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4781         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4782         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4783         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4784         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4785         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4786         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4787         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4788         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4789         [POSIX] (_POSIX2_PBS): Likewise.
4790         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4791         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4792         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4793         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4794         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4795         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4796         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4797         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4798         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4799         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4800         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4801         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4802         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4803         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4804         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4805         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4806         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4807         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4808         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4809         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4810         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4811         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4812         [POSIX] (_SC_2_C_BIND): Likewise.
4813         [POSIX] (_SC_2_C_VERSION): Likewise.
4814         [POSIX] (_SC_2_PBS): Likewise.
4815         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4816         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4817         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4818         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4819         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4820         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4821         [POSIX] (_SC_BARRIERS): Likewise.
4822         [POSIX] (_SC_BASE): Likewise.
4823         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4824         [POSIX] (_SC_DEVICE_IO): Likewise.
4825         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4826         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4827         [POSIX] (_SC_FD_MGMT): Likewise.
4828         [POSIX] (_SC_FIFO): Likewise.
4829         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4830         [POSIX] (_SC_FILE_LOCKING): Likewise.
4831         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4832         [POSIX] (_SC_IOV_MAX): Likewise.
4833         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4834         [POSIX] (_SC_NETWORKING): Likewise.
4835         [POSIX] (_SC_PAGE_SIZE): Likewise.
4836         [POSIX] (_SC_PASS_MAX): Likewise.
4837         [POSIX] (_SC_PIPE): Likewise.
4838         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4839         [POSIX] (_SC_REGEXP): Likewise.
4840         [POSIX] (_SC_SHELL): Likewise.
4841         [POSIX] (_SC_SIGNALS): Likewise.
4842         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4843         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4844         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4845         [POSIX] (_SC_USER_GROUPS): Likewise.
4846         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4847         [POSIX] (_SC_STREAMS): Likewise.
4848         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4849         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4850         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4851         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4852         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4853         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4854         [POSIX] (_PC_FILESIZEBITS): Likewise.
4855         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4856         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4857         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4858         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4859         [POSIX] (uid_t): Likewise.
4860         [POSIX] (gid_t): Likewise.
4861         [POSIX] (off_t): Likewise.
4862         [POSIX] (pid_t): Likewise.
4863         [POSIX] (cuserid): Allow.
4864         (_SC_2_CHAR_TERM): Require constant.
4865         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4866         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4867         variable.
4869 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4871         * sysdeps/nacl/pthread-pids.h: New file.
4872         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4873         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4875         * nptl/pthread-pids.h: New file.
4876         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4877         * nptl/nptl-init.c: Include <pthread-pids.h>.
4878         (__pthread_initialize_minimal_internal):
4879         Call __pthread_initialize_pids instead of set_tid_address syscall.
4881         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4882         * sysdeps/posix/usleep.c: ... here.
4884 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4886         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4887         call_pselect6 object.
4888         [$(subdir) = io]: Remove call_sync_file_range object.
4889         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4890         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4891         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4892         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4894 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4896         * math/s_cproj.c: Add include "math_private.h".
4897         * math/s_cprojf.c: Likewise.
4898         * math/s_cprojl.c: Likewise.
4900 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4902         [BZ #18244]
4903         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4904         high mantissa bit when testing whether P is a NaN.
4905         * math/libm-test.inc (remainder_test_data): Add more tests.
4906         (remquo_test_data): Likewise.
4908         [BZ #18049]
4909         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4910         below -32, return the argument, with underflow if subnormal.
4911         * math/auto-libm-test-in: Add more tests of atanh.
4912         * math/auto-libm-test-out: Regenerated.
4914 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4916         [BZ #18434]
4917         * nptl/tst-sem15.c: New file.
4918         * nptl/Makefile (tests): Add it.
4919         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4920         s/<</>>/ to fix typo in EOVERFLOW check.
4921         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4923 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4925         * manual/strings.texi (envz_remove): Fix typo in safety
4926         annotations.
4928 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4929             Steve Ellcey  <sellcey@imgtec.com>
4931         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4932         in order to avoid strict alias warnings.
4933         (iruserok_af): Ditto for ra.
4935 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4937         [BZ #17581]
4938         * malloc/hooks.c
4939         (magicbyte): Convert to a function and avoid returning 0x01.
4940         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4941         (mem2chunk_check): Fix unsigned comparisons to zero.
4942         Hoist defs of sz and magic.
4944 2015-05-19  Richard Henderson  <rth@redhat.com>
4946         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4948         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4950 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4952         [BZ #16159]
4953         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4954         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4955         (reused_arena): Find a non-corrupt arena.
4956         (heap_trim): Pass arena to unlink.
4957         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4958         malloc_printerr.
4959         (top_check): Likewise.
4960         (free_check): Likewise.
4961         (realloc_check): Likewise.
4962         * malloc/malloc.c (malloc_printerr): Add arena argument.
4963         (unlink): Likewise.
4964         (munmap_chunk): Adjust.
4965         (ARENA_CORRUPTION_BIT): New macro.
4966         (arena_is_corrupt): Likewise.
4967         (set_arena_corrupt): Likewise.
4968         (sysmalloc): Use mmap if there are no usable arenas.
4969         (_int_malloc): Likewise.
4970         (__libc_malloc): Don't fail if arena_get returns NULL.
4971         (_mid_memalign): Likewise.
4972         (__libc_calloc): Likewise.
4973         (__libc_realloc): Adjust for additional argument to
4974         malloc_printerr.
4975         (_int_free): Likewise.
4976         (malloc_consolidate): Likewise.
4977         (_int_realloc): Likewise.
4978         (_int_memalign): Don't touch corrupt arenas.
4979         * malloc/tst-malloc-backtrace.c: New test case.
4981         * Makefile (summarize-tests): Fix return value on success.
4983         * manual/string.texi (Envz Functions): Add envz_remove.
4985 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4987         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4988         (invalid_name): New function, broken out of ...
4989         (__opendirat): ... here.  Call it.
4990         (need_isdir_precheck): New function, broken out of ...
4991         (__opendirat): ... here.  Call it.
4992         Use __fxstatat64, not __xstatat64.
4993         (opendir_oflags): New function, broken out of ...
4994         (__opendirat): ... here.  Call it.
4995         (opendir_tail): New function, broken out of ...
4996         (__opendirat): ... here.  Call it.
4997         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4998         opendir_tail, rather than punting to __opendirat.
4999         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5001 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5003         * .gitignore: Ignore generated *.pyc.
5005 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5007         * include/stdio.h: Define __need_wint_t.
5008         * test-skeleton.c: Avoid `for' loop initial declaration.
5009         * nptl/tst-initializers1.c: Use test-skeleton.c.
5011 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5013         [BZ #18418]
5014         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5016 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5018         [BZ #16352]
5019         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5020         (__ieee754_atanh): Force underflow exception for results with
5021         small absolute value.
5022         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5023         (__ieee754_atanhf): Force underflow exception for results with
5024         small absolute value.
5025         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5026         (__ieee754_atanh): Force underflow exception for results with
5027         small absolute value.
5028         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5029         (__ieee754_atanhf): Force underflow exception for results with
5030         small absolute value.
5031         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5032         (__ieee754_atanhl): Force underflow exception for results with
5033         small absolute value.
5034         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5035         (__ieee754_atanhl): Force underflow exception for results with
5036         small absolute value.
5037         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5038         (__ieee754_atanhl): Force underflow exception for results with
5039         small absolute value.
5040         * math/auto-libm-test-in: Do not allow missing underflow
5041         exceptions from atanh.
5042         * math/auto-libm-test-out: Regenerated.
5044         [BZ #18221]
5045         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5046         2**-28 as threshold for returning x or +/- 1/x.
5047         * math/auto-libm-test-in: Add more tests of tan.
5048         * math/auto-libm-test-out: Regenerated.
5050         [BZ #18220]
5051         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5052         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5053         * math/auto-libm-test-in: Add another test of lgamma.
5054         * math/auto-libm-test-out: Regenerated.
5056 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5058         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5059         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5060         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5061         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5062         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5063         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5064         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5065         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5066         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5067         (log1): Use fabs.  (my_log2): Use fabs.
5068         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5069         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5070         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5071         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5072         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5073         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5074         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5075         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5076         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5077         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5078         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5080 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5082         [BZ #18217]
5083         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5084         as threshold for returning 1 - x.
5085         * math/auto-libm-test-in: Add more tests of erfc.
5086         * math/auto-libm-test-out: Regenerated.
5088 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5090         [BZ #18196]
5091         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5092         threshold for large arguments.
5093         * math/auto-libm-test-in: Add another test of atan.
5094         * math/auto-libm-test-out: Regenerated.
5096         [BZ #16339]
5097         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5098         (__log1p): Force underflow exception for results with small
5099         absolute value.
5100         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5101         (__log1pf): Force underflow exception for results with small
5102         absolute value.
5103         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5104         (__log1p): Force underflow exception for results with small
5105         absolute value.
5106         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5107         (__log1pf): Force underflow exception for results with small
5108         absolute value.
5109         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5110         (__log1pl): Force underflow exception for results with small
5111         absolute value.
5112         * math/auto-libm-test-in: Do not allow missing underflow
5113         exceptions from log1p.
5114         * math/auto-libm-test-out: Regenerated.
5116 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5117             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5119         [BZ #16704]
5120         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5122 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5124         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5125         (libmvec): New variable.
5126         * configure.ac: Added option for mathvec build.
5127         * configure: Regenerated.
5128         * mathvec/Depend: New file.
5129         * mathvec/Makefile: New file.
5130         * shlib-versions: Added libmvec.
5131         * math/Makefile: Added rule for libm.so installation.
5133         * bits/math-vector.h: New file.
5134         * bits/libm-simd-decl-stubs.h: New header.
5135         * math/Makefile (headers): Added new header
5136         libm-simd-decl-stubs.h.
5137         * math/math.h (__MATHCALL_VEC): New macro.
5139         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5140         for conditions in testing functions.
5141         * math/Makefile: Added call of libm-have-vector-test.sh.
5142         * math/libm-test.inc (HAVE_VECTOR): New macros.
5144         * math/libm-test.inc: START refactored.
5145         * math/test-double.c (TEST_MATHVEC): Add define.
5146         * math/test-float.c: Likewise.
5147         * math/test-idouble.c: Likewise.
5148         * math/test-ifloat.c: Likewise.
5149         * math/test-ildoubl.c: Likewise.
5150         * math/test-ldouble.c: Likewise.
5151         * sysdeps/generic/math-tests-arch.h
5152         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5153         architecture check.
5155         * math/test-double.c (FUNC_TEST): New macro.
5156         * math/test-float.c: Likewise.
5157         * math/test-idouble.c: Likewise.
5158         * math/test-ifloat.c: Likewise.
5159         * math/test-ildoubl.c: Likewise.
5160         * math/test-ldouble.c: Likewise.
5161         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5163 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5165         * sysdeps/nacl/fdopendir.c: New file.
5167         * dirent/scandir-tail.c: New file.
5168         * dirent/scandir64-tail.c: New file.
5169         * dirent/Makefile (routines): Add them.
5170         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5171         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5172         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5173         [!SCANDIR] (SCANDIR_TAIL): New macro.
5174         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5175         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5176         (SCANDIRAT): Macro removed.
5177         (SCANDIR_TAIL): New macro.
5178         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5179         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5180         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5181         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5182         (READDIR): Macro removed.
5183         (SCANDIR_TAIL): New macro.
5184         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5185         (SCANDIR_TAIL): New macro.
5187         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5188         * dirent/scandir-cancel.c: ... to this new file.
5189         * dirent/Makefile (routines): Add it.
5190         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5191         * sysdeps/unix/sysv/linux/i386/scandir64.c
5192         (SKIP_SCANDIR_CANCEL): Macro removed.
5193         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5195         * dirent/tst-scandir.c: New file.
5196         * dirent/tst-scandir64.c: New file.
5197         * dirent/Makefile (tests): Add them.
5199 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5201         [BZ #18409]
5202         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5204 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5206         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5207         list.
5209 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5211         * benchtests/bench-strcoll.c: New benchmark.
5212         * benchtests/Makefile: Generate locales and run benchmark.
5213         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5214         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5215         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5216         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5217         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5218         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5219         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5220         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5221         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5222         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5223         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5224         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5225         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5226         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5227         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5228         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5229         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5230         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5231         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5232         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5233         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5234         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5235         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5236         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5238 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5240         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5241         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5243 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5245         * posix/uname-values.h: New file.
5246         * posix/uname.c: Include that instead of <config-name.h>.
5247         * sysdeps/nacl/uname-values.h: New file.
5248         * sysdeps/arm/nacl/uname-values.h: New file.
5250 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5252         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5253         splitting into fields.
5255 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5257         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5258         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5259         * locale/localeinfo.h: Add enum collation_encoding_type.
5260         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5261         * programs/ld-collate.c (collate_output): Add encoding type info.
5262         * string/strcoll_l.c (STRDIFF): New function.
5263         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5264         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5266 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5268         [BZ #18397]
5269         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5270         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5271         <fpu_control.h> instead of <math/fpu_control.c>.
5272         * sysdeps/mips/mips32/fpu/Makefile: New file.
5274 2015-05-11  Andreas Schwab  <schwab@suse.de>
5276         [BZ #18007]
5277         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5278         nss_endgrent.
5279         (_nss_compat_endgrent): Call nss_endgrent.
5280         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5281         nss_endpwent.
5282         (_nss_compat_endpwent): Call nss_endpwent.
5283         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5284         needent, call nss_setspent only if non-zero.
5285         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5286         (internal_endspent): Don't call nss_endspent.
5287         (_nss_compat_endspent): Call nss_endspent.
5288         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5289         Remove.  All uses removed.
5290         (internal_setent): Remove parameter stayopen, add parameter
5291         stream.  Use it instead of global variable.
5292         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5293         (internal_endent, internal_getent): Add parameter stream.  Use it
5294         instead of global variable.
5295         (CONCAT(_nss_files_end,ENTNAME))
5296         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5297         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5298         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5299         uses removed.
5300         (internal_setent, internal_endent): Add parameter stream.  Use it
5301         instead of global variable.
5302         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5303         stream.
5304         (get_next_alias): Add parameter stream.
5305         (_nss_files_getaliasent_r): Pass global stream.
5306         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5307         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5308         (_nss_files_gethostbyname4_r): Pass local stream to
5309         internal_setent, internal_getent and internal_endent.  Remove
5310         locking.
5312 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5314         * tst-strfmon1.c (tests): Update expected currency symbol.
5316 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5318         * sysdeps/nacl/gethostname.c: New file.
5320 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5322         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5323         and sinh.
5324         * math/auto-libm-test-out: Regenerated.
5325         * sysdeps/i386/fpu/libm-test-ulps: Update.
5326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5328 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5330         [BZ #18125]
5331         * stdlib/tst-setcontext3.c: New file.
5332         * stdlib/tst-setcontext3.sh: New file.
5333         * stdlib/Makefile (tests): Add tst-setcontext3.
5334         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5335         to verify test program created output file.
5336         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5337         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5338         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5339         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5341 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5343         [BZ #18383]
5344         * elf/tst-tlsalign.c: New file.
5345         * elf/tst-tlsalign-static.c: New file.
5346         * elf/tst-tlsalign-lib.c: New file.
5347         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5348         (tests-static): Add tst-tlsalign-static.
5349         (modules-names): Add tst-tlsalign-lib.
5350         (test-xfail-tst-tlsalign): New variable.
5351         (test-xfail-tst-tlsalign-static): New variable.
5353         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5354         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5356 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5358         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5359         csqrt, erfc, sin and sincos.
5360         * math/auto-libm-test-out: Regenerated.
5361         * sysdeps/i386/fpu/libm-test-ulps: Update.
5362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5364 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5366         * sysdeps/aarch64/libm-test-ulps: Update.
5368 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5370         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5371         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5372         * math/auto-libm-test-out: Regenerated.
5373         * sysdeps/i386/fpu/libm-test-ulps: Update.
5374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5376 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5378         [BZ #18265]
5379         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5380         (wcsncpy): Likewise.
5382 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5384         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5385         Assume __ASSUME_FALLOCATE is always true.
5386         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5387         (__posix_fallocate64_l64): Likweise.
5388         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5389         (posix_fallocate): Likewise.
5390         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5391         (__posix_fallocate64_l64): Likewise.
5392         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5393         [!__ASSUME_FALLOCATE]: Add comment.
5395 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5397         * sysdeps/unix/sysv/linux/i386/Makefile
5398         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5399         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5400         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5401         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5402         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5403         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5404         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5406 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5408         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5409         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5410         tgamma.
5411         * math/auto-libm-test-out: Regenerated.
5412         * sysdeps/i386/fpu/libm-test-ulps: Update.
5413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5415 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5417         * math/auto-libm-test-in: Add more tests of tgamma.
5418         * math/auto-libm-test-out: Regenerated.
5419         * sysdeps/i386/fpu/libm-test-ulps: Update.
5420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5422         * math/auto-libm-test-in: Add more tests of tanh.
5423         * math/auto-libm-test-out: Regenerated.
5424         * sysdeps/i386/fpu/libm-test-ulps: Update.
5425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5427         * math/auto-libm-test-in: Add more tests of tan.
5428         * math/auto-libm-test-out: Regenerated.
5429         * sysdeps/i386/fpu/libm-test-ulps: Update.
5430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5432         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5433         * math/auto-libm-test-out: Regenerated.
5434         * sysdeps/i386/fpu/libm-test-ulps: Update.
5435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5437         * math/auto-libm-test-in: Add another test of pow.
5438         * math/auto-libm-test-out: Regenerated.
5439         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5441         * math/auto-libm-test-in: Add more tests of lgamma.
5442         * math/auto-libm-test-out: Regenerated.
5443         * sysdeps/i386/fpu/libm-test-ulps: Update.
5444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5446         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5447         log1p.
5448         * math/auto-libm-test-out: Regenerated.
5449         * sysdeps/i386/fpu/libm-test-ulps: Update.
5450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5452 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5454         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5455         Elf64_Chdr structs and ELFCOMPRESS constants.
5457 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5459         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5460         expm1.
5461         * math/auto-libm-test-out: Regenerated.
5462         * sysdeps/i386/fpu/libm-test-ulps: Update.
5463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5465         * math/auto-libm-test-in: Add more tests of erf and erfc.
5466         * math/auto-libm-test-out: Regenerated.
5467         * sysdeps/i386/fpu/libm-test-ulps: Update.
5468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5470 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5472         * config.h.in (HAVE_AARCH64_BE): Add.
5474 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5476         * math/auto-libm-test-in: Add more tests of csqrt.
5477         * math/auto-libm-test-out: Regenerated.
5478         * sysdeps/i386/fpu/libm-test-ulps: Update.
5479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5481         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5482         * math/auto-libm-test-out: Regenerated.
5483         * sysdeps/i386/fpu/libm-test-ulps: Update.
5484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5486         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5488 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5490         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5491         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5493         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5494         (euidaccess, eaccess): Define as weak aliases.
5496         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5497         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5498         but __suseconds_t is often 'long int' so some sources assume that
5499         type is being used (e.g. they use %ld to print tv_usec).
5501 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5503         [BZ #18007]
5504         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5505         (CVE-2014-8121)
5506         * nss/tst-nss-getpwent.c: New file.
5507         * nss/Makefile (tests): Add new test.
5509 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5511         [BZ #18346]
5512         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5513         exponents less than 48 as cases where high part of mantissa needs
5514         examining to determine whether argument is integral.
5515         * math/libm-test.inc (round_test_data): Add more tests.
5517 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5519         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5521 2015-04-27  David S. Miller  <davem@davemloft.net>
5523         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5524         __tls_get_addr.
5525         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5527 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5529         [BZ#18333]
5530         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5532 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5534         [BZ#18333]
5535         * time/tzset.c (parse_tzname): Return error on memory allocation
5536         failure.
5537         * test-skeleton.c (struct temp_name_list): Change type of name
5538         member to non-const.
5539         (add_temp_file): Create a copy of the file name.
5540         (delete_temp_files): Deallocate memory.
5541         (create_temp_file): Add comment.
5543 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5545         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5546         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5548 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5550         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5551         * sysdeps/arm/configure: Regenerated.
5553 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5555         [BZ #17715]
5556         * time/tzfile.c (__tzfile_read): Check for large values of
5557         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5558         * time/tzset.c (__tzstring_len): New function, based on the old
5559         __tzstring function.
5560         (__tzstring): Call __tzstring_len.
5561         (parse_tzname): New helper function extracted from
5562         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5563         the input string.
5564         (parse_offset): New helper function extracted from
5565         __tzset_parse_tz.  Replace switch with fallthrough with
5566         initialization before sscanf.
5567         (parse_rule): Likewise.
5568         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5569         new-style function definition.
5570         * timezone/Makefile (tests): Add tst-tzset.
5571         (tst-tzset.out): Dependencies on time zone files.
5572         (tst-tzset-ENV): Set TZDIR.
5573         (testdata/XT%): Copy crafted time zone files.
5574         * timezone/README: Mention crafted time zone files.
5575         * timezone/testdata/XT1, timezone/testdata/XT2,
5576         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5577         files.
5578         * timezone/tst-tzset.c: New test.
5580 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5582         * Makeconfig (+gccwarn): Remove -Winline.
5584 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5586         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5588 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5590         * NEWS: Mention sysconf() cache information support for s390.
5591         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5593 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5595         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5596         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5597         (__nearbyint): Likewise.
5598         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5599         (copysignl): Likewise.
5601 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5603         [BZ #18287]
5604         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5605         based on padding.  (CVE-2015-1781)
5607 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5609         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5610         libc-vdso.h.
5611         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5612         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5613         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5614         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5615         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5616         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5617         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5618         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5619         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5620         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5621         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5622         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5623         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5624         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5625         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5626         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5627         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5628         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5629         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5630         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5631         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5632         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5633         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5635 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5637         * stdlib/setenv.c (__add_to_environ):
5638         Dump core quickly if setenv (..., NULL, ...) is called.
5639         This time, do it the right way, and pacify GCC with a pragma.
5641 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5643         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5644         IMAP->l_prev cannot be null, and #if out the code for the contrary
5645         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5646         believe that NS (&_dl_ns[NSID]) could point outside the array.
5648         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5649         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5650         before using NSID as an index.
5652 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5654         [BZ #17825]
5655         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5656         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5657         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5659 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5661         Add preliminary port to Google Native Client on ARM.
5662         * abi-tags (.*-.*-nacl.*): New entry.
5663         * sysdeps/arm/nacl: New directory.
5664         * sysdeps/nacl: New directory.
5666 2015-04-16  David S. Miller  <davem@davemloft.net>
5668         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5669         lowlevellock-futex.h
5671 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5673         * sysdeps/tile/configure.ac: New file.
5674         * sysdeps/tile/configure: Regenerated.
5676 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5678         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5679         conditionals for weak_alias and libc_hidden_weak.
5680         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5681         libc_hidden_weak and weak_alias.
5682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5683         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5684         and weak_alias for static one.
5686 2015-04-15  David S. Miller  <davem@davemloft.net>
5688         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5690 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5692         [BZ #18206]
5693         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5694           Use signed comparision instead of substraction to avoid
5695           overflow bug.
5696         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5697           Take the sign of ret.
5698         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5699           Do not expect precise return values. Only the sign matters.
5700         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5701         * wcsmbs/test-wcsncmp.c: New File.
5702         * string/test-strncmp.c: Add wcsncmp support.
5704 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5706         [BZ #6792]
5707         * math/w_log1p.c: New file.
5708         * math/w_log1pf.c: Likewise.
5709         * math/w_log1pl.c: Likewise.
5710         * math/Makefile (libm-calls): Add w_log1p.
5711         * math/s_log1pl.c (log1pl): Remove weak_alias.
5712         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5713         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5714         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5715         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5716         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5717         [NO_LONG_DOUBLE] (log1pl): Likewise.
5718         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5719         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5720         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5721         (log1p): Remove long_double_symbol.
5722         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5723         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5724         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5725         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5726         remove weak_alias for corresponding log1p function.
5727         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5728         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5729         * sysdeps/ia64/fpu/w_log1p.c: New file.
5730         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5731         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5732         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5734 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5736         [BZ #18247]
5737         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5738         decimal exponent by 1.
5739         * stdlib/tst-strtod-round-data: Add more tests.
5740         * stdlib/tst-strtod-round.c (tests): Regenerated.
5742 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5744         * math/auto-libm-test-in: Add more tests of clog and clog10.
5745         * math/auto-libm-test-out: Regenerated.
5746         * sysdeps/i386/fpu/libm-test-ulps: Update.
5747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5749 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5751         * Makeconfig (module-cppflags): Exclude all .v.i files.
5752         (skip-module-cppflags): Variable removed.
5754         * configure.ac (libc_config_ok): Initialize before reading
5755         preconfigure scripts, not after.
5756         * configure: Regenerated.
5758         * test-skeleton.c (TIMEOUT): Move #define to top level.
5759         (main): Grok environment variable TEST_DIRECT.  If set, print
5760         test expectation details into that file and then behave as if
5761         given --direct.
5763 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5765         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5766         warning on 32-bit.
5768 2015-04-08  David S. Miller  <davem@davemloft.net>
5770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5772 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5774         * math/auto-libm-test-in: Add more tests of atanh.
5775         * math/auto-libm-test-out: Regenerated.
5776         * sysdeps/i386/fpu/libm-test-ulps: Update.
5777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5779         * math/auto-libm-test-in: Add more tests of atan.
5780         * math/auto-libm-test-out: Regenerated.
5781         * sysdeps/i386/fpu/libm-test-ulps: Update.
5782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5784 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5786         * elf/pldd.c (main): Rewrite to use struct
5787         scratch_buffer instead of extend_alloca.
5788         * elf/pldd-xx.c (find_maps): Likewise.
5789         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5790         <alloca.h>.
5791         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5792         scratch_buffer instead of extend_alloca.
5793         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5794         grp/compat-initgroups.c.
5795         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5796         Rewrite to use struct scratch_buffer instead of extend_alloca.
5797         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5798         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5800 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5802         * math/auto-libm-test-in: Add more tests of cbrt.
5803         * math/auto-libm-test-out: Regenerated.
5804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5806         * math/auto-libm-test-in: Add more tests of cabs.
5807         * math/auto-libm-test-out: Regenerated.
5808         * sysdeps/i386/fpu/libm-test-ulps: Update.
5809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5811         [BZ #18210]
5812         [BZ #18211]
5813         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5814         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5815         computations.
5816         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5817         clog10.
5818         * math/auto-libm-test-out: Regenerated.
5819         * sysdeps/i386/fpu/libm-test-ulps: Update.
5820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5822         [BZ #18197]
5823         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5824         (atan): Set FE_TONEAREST mode for internal computations.
5825         * math/auto-libm-test-in: Add more tests of atan.
5826         * math/auto-libm-test-out: Regenerated.
5828 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5830         [BZ #17930]
5831         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5833 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5835         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5837 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5839         * include/scratch_buffer.h: New file.
5840         * malloc/scratch_buffer_grow.c: Likewise.
5841         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5842         * malloc/scratch_buffer_set_array_size.c: Likewise.
5843         * malloc/tst-scratch_buffer.c: Likewise.
5844         * malloc/Makefile (routines): Add scratch_buffer_grow.
5845         (tests): Add test case.
5846         * malloc/Versions (GLIBC_PRIVATE): Export
5847         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5848         __libc_scratch_buffer_set_array_size.
5850 2015-04-06  Richard Henderson  <rth@redhat.com>
5852         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5853         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5855         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5856         unsigned int before printing.
5858 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5860         [BZ #17596]
5861         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5862         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5864 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5866         * include/libc-internal.h (libc_max_align_t): Define.
5868 2015-04-02  Andreas Schwab  <schwab@suse.de>
5870         [BZ #16850]
5871         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5873 2015-04-02  Mel Gorman  <mgorman@suse.de>
5875         [BZ #17195]
5876         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5877         as well as the main arena.
5879 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5881         [BZ #18185]
5882         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5883         sharing L2 cache to 2 for Silvermont/Knights Landing.
5885 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5887         [BZ #17711]
5888         * config.make.in (have-protected-data): New.
5889         * configure.ac: Check linker support for protected data symbol.
5890         * configure: Regenerated.
5891         * elf/Makefile (modules-names): Add tst-protected1moda and
5892         tst-protected1modb if $(have-protected-data) is yes.
5893         (tests): Add tst-protected1a and tst-protected1b if
5894         $(have-protected-data) is yes.
5895         ($(objpfx)tst-protected1a): New.
5896         ($(objpfx)tst-protected1b): Likewise.
5897         (tst-protected1modb.so-no-z-defs): Likewise.
5898         * elf/tst-protected1a.c: New file.
5899         * elf/tst-protected1b.c: Likewise.
5900         * elf/tst-protected1mod.h: Likewise.
5901         * elf/tst-protected1moda.c: Likewise.
5902         * elf/tst-protected1modb.c: Likewise.
5904 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5906         [BZ #17711]
5907         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5908         indicates it is called from do_lookup_x on relocation against
5909         protected data, skip the data definion in the executable from
5910         copy reloc.
5911         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5912         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5913         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5914         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5915         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5916         otherwise to 0.
5917         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5918         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5919         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5920         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5921         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5922         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5924 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5926         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5927         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5929 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5931         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5932         THREAD_SETMEM_NC.
5933         * sysdeps/x86_64/nptl/tls.h: Ditto.
5935 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5937         * dlfcn/tststatic.c (main): Converted to ...
5938         (do_test): ... this.
5939         (TEST_FUNCTION): New macro.
5940         Include test-skeleton.c.
5942 2015-03-26  Alan Modra  <amodra@gmail.com>
5944         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5945         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5946         zero for undefined weak.
5947         (elf_machine_plt_conflict): Similarly.
5949 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5951         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5952         atanh.
5953         * math/auto-libm-test-out: Regenerated.
5954         * sysdeps/i386/fpu/libm-test-ulps: Update.
5955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5957         * math/auto-libm-test-in: Add another test of asin.
5958         * math/auto-libm-test-out: Regenerated.
5959         * sysdeps/i386/fpu/libm-test-ulps: Update.
5960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5962         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5963         Remove macro.
5964         (LLL_EBX_REG): Likewise.
5965         (LLL_ENTER_KERNEL): Likewise.
5967         * math/auto-libm-test-in: Add more tests of asin.
5968         * math/auto-libm-test-out: Regenerated.
5969         * sysdeps/i386/fpu/libm-test-ulps: Update.
5970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5972         [BZ #18138]
5973         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5974         libc_do_syscall_args): New structure.
5975         (INTERNAL_SYSCALL_MAIN_0): New macro.
5976         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5977         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5978         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5979         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5980         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5981         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5982         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5983         Replace conditional definitions by conditional definitions of ....
5984         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5985         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5986         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5987         (libpthread-sysdep_routines): Add libc-do-syscall.
5988         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5989         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5990         to __NR_futex not 240.
5992 2015-03-25  Alan Modra  <amodra@gmail.com>
5994         * NEWS: Advertise TLS optimization.
5995         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5996         (DT_PPC_NUM): Increment.
5997         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5998         (CHECK_STATIC_TLS): Use here.
5999         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6000         TLS descriptors.
6001         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6002         * sysdeps/powerpc/dl-tls.c: New file.
6003         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6004         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6005         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6006         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6011 2015-03-25  Alan Modra  <amodra@gmail.com>
6013         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6014         for overlapping .opd entries" to "support...".
6015         * sysdeps/powerpc/powerpc64/configure: Regenerate
6017 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6019         * math/auto-libm-test-in: Add more tests of acos.
6020         * math/auto-libm-test-out: Regenerated.
6021         * sysdeps/i386/fpu/libm-test-ulps: Update.
6022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6024         * math/auto-libm-test-in: Add more tests of expm1.
6025         * math/auto-libm-test-out: Regenerated.
6026         * sysdeps/i386/fpu/libm-test-ulps: Update.
6027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6029 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6031         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6032         * math/auto-libm-test-out: Regenerated.
6033         * sysdeps/i386/fpu/libm-test-ulps: Update.
6034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6036         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6039         * math/auto-libm-test-in: Add more tests of log2.
6040         * math/auto-libm-test-out: Regenerated.
6041         * sysdeps/i386/fpu/libm-test-ulps: Update.
6042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6044 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6046         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6047         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6048         _IO_IS_APPENDING bit in READ_WRITE instead.
6050 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6052         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6053         (__determine_cpumask_size): Replace extend_alloca with a
6054         variable-length array.  Do not treat res == 0 as an error.
6056 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6058         [BZ #18100]
6059         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6060         and integer overflow.
6061         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6062         (main): Add integer overflow tests.
6063         * manual/pattern.texi (Calling Wordexp): Document additional use
6064         for WRDE_SYNTAX.
6066 2015-03-23  Alan Modra  <amodra@gmail.com>
6068         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6069         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6070         and false branch of conditional.
6071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6072         Likewise.
6074 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6076         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6077         libc-modules.h
6078         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6079         unused declaration of _hurd_intr_rpc_msg_in_trap.
6080         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6081         defined instead of whether it is non-zero.
6082         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6083         input constraint instead of both input and output constraint.  Use ecx
6084         clobber instead of %ecx.
6085         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6086         mutex_unlock): Use a statement expression instead of an expression list.
6087         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6088         type to vm_size_t instead of vm_address_t.
6089         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6090         defined instead of whether it is non-zero.
6091         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6092         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6093         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6094         comparisons with mapaddr.
6095         * nscd/nscd-client.h: Include <time.h>.
6096         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6097         9th parameter to __vm_region instead of int.
6098         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6099         * scripts/check-local-headers.sh (exclude): Add device/,
6100         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6101         cthreads.h.
6103 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6105         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6106         to account for alignment padding.
6107         * sysdeps/arm/memmove.S: Likewise.
6109 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6111         * sysdeps/unix/sysv/linux/generic/README: New file.
6113 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6115         [BZ #18138]
6116         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6117         (futex_abstimed_wait)
6118         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6119         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6120         of lll_futex_timed_wait.
6122 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6124         [BZ #17542]
6125         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6127 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6129         [BZ #17090]
6130         [BZ #17620]
6131         [BZ #17621]
6132         [BZ #17628]
6133         * NEWS: Update.
6134         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6135         entries with Static TLS too.  Skip entries past the end of the
6136         allocated DTV, from Alan Modra.
6137         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6138         Static TLS DTV entry set up from...
6139         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6140         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6141         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6142         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6143         for Static TLS.
6144         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6145         that the slot we find is associated with the given map before
6146         using its generation count.
6147         * nptl_db/db_info.c: Include ldsodefs.h.
6148         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6149         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6150         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6151         (link_map::l_tls_offset): New struct field.
6152         (dtv_t::counter): Likewise.
6153         (rtld_global): New struct.
6154         (_rtld_global): New rtld variable.
6155         (dl_tls_dtv_slotinfo_list): New rtld global field.
6156         (dtv_slotinfo_list): New struct.
6157         (dtv_slotinfo): Likewise.
6158         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6159         (td_lookup): Rename to...
6160         (td_mod_lookup): ... this.  Use new mod parameter instead of
6161         LIBPTHREAD_SO.
6162         * nptl_db/td_thr_tlsbase.c: Include link.h.
6163         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6164         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6165         addresses even if the DTV is out of date or missing them.
6166         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6167         index zero-length arrays.
6168         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6169         (td_lookup): Make it a macro implemented in terms of...
6170         (td_mod_lookup): ... this declaration.
6171         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6172         (DB_MAIN_VARIABLE): Likewise.
6174 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6176         [BZ #18134]
6177         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6179 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6181         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6183 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6185         [BZ #18128]
6186         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6187         (atomic_add, atomic_increment_and_test)
6188         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6190 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6192         * stdlib/setenv.c (__add_to_environ):
6193         Dump core quickly if setenv (..., NULL, ...) is called.
6195 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6197         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6198         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6199         all the necessary asm magic in one place.
6200         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6201         using those.
6203 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6205         [BZ #14906]
6206         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6207         traced file mtime. Use consistent log message.
6208         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6209         (register_traced_file): Call install_watches. Always set mtime.
6210         (invalidate_cache): Iterate over all trace files. Call install_watches.
6211         (inotify_check_files): Don't inline. Handle watching parent
6212         directories and configuration file movement in and out.
6213         (handle_inotify_events): New function.
6214         (main_loop_poll): Call handle_inotify_events.
6215         (main_loop_epoll): Likewise.
6216         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6217         (struct traced_file): Use array of inotify fds. Add parent directory,
6218         and basename.
6219         (struct database_dyn): Remove unused file_mtime.
6220         (init_traced_file): New inline function.
6221         (define_traced_file): New macro.
6222         * nss/nss_db/db-init.c: Use define_traced_file.
6223         (_nss_db_init): Use init_traced_file.
6224         * nss/nss_files/files-init.c: Use define_traced_file.
6225         (_nss_files_init): Use init_traced_file.
6227 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6229         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6230         [_LIBC]: Do not include <stdlib.h>.
6231         [!_LIBC] (abort): Remove declaration.
6232         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6233         _FP_STATIC_ASSERT instead of conditionally calling abort.
6234         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6235         (_FP_EXTEND_CNAN): Likewise.
6236         (FP_TRUNC): Likewise.
6237         (__FP_CLZ): Likewise.
6238         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6240 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6242         * manual/string.texi (XPG basename): Fix prototype.
6244 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6246         [BZ #18080]
6247         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6248         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6249         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6250         (__setcontext): Likewise.
6251         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6252         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6253         Call rt_sigprocmask syscall one time to set new signal mask
6254         and retrieve the current signal mask instead of two calls.
6255         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6256         (__swapcontext): Likewise.
6257         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6258         * stdlib/tst-setcontext2.c: New file.
6260 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6262         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6264 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6266         [BZ #18093]
6267         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6268         the wrong size.
6270 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6272         [BZ #18043]
6273         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6275 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6277         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6278         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6279         Remove define.
6280         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6281         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6282         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6283         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6284         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6285         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6286         define.
6287         * nptl_db/td_symbol_list.c (td_lookup): Remove
6288         HAVE_ASM_GLOBAL_DOT_NAME code.
6289         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6290         HAVE_ASM_GLOBAL_DOT_NAME check.
6291         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6292         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6293         (DOT_LABEL): Remove define.
6294         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6295         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6296         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6297         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6298         (__TLS_GET_ADDR): Likewise.
6299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6300         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6302 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6304         [BZ #18111]
6305         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6306         (_FPU_SETCW): Initialize cw from fpsr before storing.
6307         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6308         (fesetexceptflag): Rewrite using fpu_control.h.
6309         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6311 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6313         [BZ #18110]
6314         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6315         asms.
6316         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6318 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6320         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6321         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6322         abort.
6323         (_FP_FMA): Likewise.
6324         (_FP_DIV): Likewise.
6326 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6328         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6329         with 0 in that case.
6330         * Makefile (summarize-tests): New canned sequence, factored out of
6331         commands for targets tests and xtests.  Display summary lines that
6332         don't start with PASS: or XFAIL: rather than ones that do start with
6333         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6334         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6335         do start with ERROR: or FAIL:.
6336         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6337         (except for [$(build-shared) = yes]).
6338         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6339         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6340         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6341         * nptl/Makefile: Revert 2015-03-04 changes.
6342         [$(CXX) empty] (tests-unsupported): New variable.
6343         * debug/Makefile: Likewise.
6345         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6346         gnulib file.  Replace __attribute with __attribute__ throughout.
6348 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6350         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6352 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6354         [BZ #18104]
6355         * math/auto-libm-test-in: Add another test of pow.
6356         * math/auto-libm-test-out: Regenerated.
6358 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6360         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6361         $(config-cflags-nofma).
6363 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6365         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6366         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6367         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6368         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6369         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6370         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6371         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6372         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6373         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6374         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6375         Add comment on closing #endif.
6377 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6379         * posix/wordexp.c (CHAR_IN_SET): New macro.
6380         (parse_param): Use it.
6382 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6384         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6386 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6388         [BZ #18043]
6389         * posix/wordexp.c (parse_param): Fix buffer overflow.
6390         * posix/wordexp-test.c (test_case): Add test case.
6392 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6394         [BZ #18042]
6395         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6396         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6398 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6400         [BZ #18043]
6401         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6402         (do_bz18043): Delete.
6403         (at_page_end): New.
6404         (testit): Refactor to have words at the edge of unreadable page.
6406 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6408         [BZ #16734]
6409         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6410         Cleanup read-only streams as well.
6411         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6413 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6415         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6416         <bits/libc-lockP.h>
6418 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6420         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6421         on [__KERNEL__].
6422         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6423         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6424         * soft-fp/op-common.h (_FP_DECL): Likewise.
6426 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6428         * elf/ifuncdep2.c (global): Replace
6429         __attribute__((visibility("protected"))) with
6430         asm (".protected global").
6431         * elf/ifuncmod1.c (global): Likewise.
6432         * elf/ifuncmod5.c (global): Likewise.
6434 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6436         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6437         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6439 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6441         * manual/install.texi (Configuring and compiling):
6442         Document test-wrapper-env-only.
6443         * INSTALL: Regenerated.
6445 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6447         [BZ #18043]
6448         * posix/wordexp.c (parse_param): Fix buffer overflow.
6449         * posix/wordexp-test.c (do_bz18043): Add test case.
6451 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6453         * time/tst-strptime2.c (do_test): Ensure failing tests are
6454         reported correctly.
6455         * time/tst-strptime3.c (do_test): Likewise.
6457 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6459         Fix aio_error thread-safety.
6460         * sysdeps/pthread/aio_error.c: New file
6461         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6462         synchronization.
6464 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6466         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6467         (group_number, vfprintf): Use it.
6468         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6469         (JUMP, REF): Use it.
6470         (WORK_BUFFER_SIZE): New enum constant.
6471         (process_arg, vfprintf): Use it.
6473 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6475         * manual/errno.texi (Error Messages): Complete example function
6476         by adding missing #define.
6477         (program_invocation_name): Add statement indicating GNU
6478         extension and reference which header file declares the variable.
6479         (program_invocation_short_name): Likewise.
6481 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6483         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6484         compatibility note.
6486 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6488         * Makeconfig (test-wrapper-env-only): New variable.
6489         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6490         then use that with $(test-wrapper-env-only) rather than using
6491         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6493 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6495         [BZ #18082]
6496         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6497         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6498         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6499         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6500         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6501         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6502         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6503         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6504         Likewise.
6505         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6506         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6507         Likewise.
6508         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6509         Likewise.
6510         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6511         Likewise.
6512         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6513         Likewise.
6514         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6515         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6516         Likewise.
6517         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6518         Likewise.
6519         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6520         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6522 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6524         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6525         (ETH_ALEN): New macro.
6526         (struct ether_addr): Use it for length of ether_addr_octet.
6528         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6529         (setdb): Don't call __nss_configure_lookup for "rpc".
6530         (do_test): Don't call test_rpc.
6531         (output_rpcent, test_rpc): Functions moved ...
6532         * sunrpc/test-rpcent.c: ... to this new file.
6533         * sunrpc/Makefile (tests): Add it.
6535         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6536         __xpg_sigpause.
6537         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6538         * nptl/tst-signal6.c: Likewise.
6539         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6540         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6542         * configure.ac (libc_cv_cxx_link_ok): New check.
6543         Reset CXX to empty if it fails to link.
6544         * configure: Regenerated.
6545         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6546         bug-atexit3-lib only if $(CXX) is nonempty.
6547         * nptl/Makefile (tests): Likewise for tst-cancel24.
6548         (tests, tests-static): Likewise for tst-cancel24-static.
6549         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6550         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6551         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6552         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6554 2015-03-04  Andreas Schwab  <schwab@suse.de>
6556         [BZ #17631]
6557         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6558         for non-GCC compilers.
6559         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6560         Likewise.
6562 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6564         [BZ #17776]
6565         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6566         integer before bitwise and assembly operations.
6567         (feclearexcept): Likewise.
6568         * math/test-fenvinline.c: New file.
6569         * math/Makefile: Add test-fenvinline test.
6571 2015-03-03  Alan Modra  <amodra@gmail.com>
6573         [BZ #16512]
6574         * scripts/localplt.awk: Strip off symbol version.
6575         * NEWS: Mention bug fix.
6577 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6579         * sysdeps/pthread/timer_routines.c
6580         (timer_free_list, thread_free_list, thread_active_list): Make static.
6582 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6584         [BZ #17779]
6585         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6586         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6587         Undefine.
6588         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6589         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6590         Likewise.
6591         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6592         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6593         Likewise.
6595 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6597         [BZ #18036]
6598         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6599         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6601 2015-03-02  Andreas Schwab  <schwab@suse.de>
6603         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6604         variable name.
6606 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6608         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6609         Return error status.
6611 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6613         [BZ #15969]
6614         * locale/findlocale.c (_nl_find_locale): Introduce const
6615         version of loc_name and drop unsafe type casts.
6617 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6619         * dlfcn/tststatic2.c (main): Converted to ...
6620         (do_test): ... this.
6621         (TEST_FUNCTION): New macro.
6622         Include test-skeleton.c.
6624 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6626         [BZ #17711]
6627         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6628         (tests-pie): Add vismain.
6629         (CFLAGS-vismain.c): New.
6630         * elf/vismain.c: Add comments for PIE requirement.
6632 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6634         [BZ #18046]
6635         [BZ #18047]
6636         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6637         0x1p-56L as threshold for just returning the argument.
6638         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6639         0x1p-32L as threshold for just returning the argument.
6640         * math/auto-libm-test-in: Add more tests of atanh.
6641         * math/auto-libm-test-out: Regenerated.
6642         * sysdeps/i386/fpu/libm-test-ulps: Update.
6643         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6645 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6647         * string/bcopy.c (bcopy): Call memmove for performance.
6649 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6651         * string/bzero.c (__bzero): Call memset for performance.
6653 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6655         [BZ #18068]
6656         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6657         to 00100000.
6659 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6661         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6663 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6665         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6666         (__kernel_standard): Use CSTR macro when setting exc.name.
6667         * sysdeps/ieee754/Makefile [$(subdir) = math]
6668         (CFLAGS-k_standard.c): Remove variable.
6670         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6671         setting p and q from "else if" to "else".
6672         (qzero): Likewise.
6673         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6674         (qone): Likewise.
6675         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6676         (qzerof): Likewise.
6677         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6678         (qonef): Likewise.
6679         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6680         (qzero): Likewise.
6681         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6682         (qone): Likewise.
6684         [BZ #18038]
6685         [BZ #18039]
6686         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6687         return pi/2 for arguments below 0x1p-113L.
6688         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6689         return pi/2 for arguments below 0x1p-106L.
6690         * math/auto-libm-test-in: Add more tests of acos.
6691         * math/auto-libm-test-out: Regenerated.
6693         [BZ #16351]
6694         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6695         (MO): New macro.
6696         (__ieee754_asin): Force underflow exception for results with small
6697         absolute value.
6698         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6699         (MO): New macro.
6700         (__ieee754_asinf): Force underflow exception for results with
6701         small absolute value.
6702         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6703         (__ieee754_asin): Force underflow exception for results with small
6704         absolute value.
6705         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6706         (__ieee754_asinf): Force underflow exception for results with
6707         small absolute value.
6708         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6709         (__ieee754_asinl): Force underflow exception for results with
6710         small absolute value.
6711         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6712         (__ieee754_asinl): Force underflow exception for results with
6713         small absolute value.
6714         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6715         (__ieee754_asinl): Force underflow exception for results with
6716         small absolute value.
6717         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6718         Include <math.h>.
6719         * math/auto-libm-test-in: Do not mark underflow exceptions as
6720         possibly missing for bug 16351.
6721         * math/auto-libm-test-out: Regenerated.
6723         [BZ #18030]
6724         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6725         of power of 2 down when low part has opposite sign.
6726         * math/libm-test.inc (logb_test_data): Add more tests.
6728 2015-02-26  Andreas Schwab  <schwab@suse.de>
6730         [BZ #18032]
6731         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6732         over collating symbol inside a bracket expression.  Minor cleanup.
6733         * posix/tst-fnmatch3.c (do_test): Add test case.
6735 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6737         [BZ #18029]
6738         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6739         Adjust exponent of power of 2 down when low part has opposite
6740         sign.
6741         * math/libm-test.inc (ilogb_test_data): Add more tests.
6743 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6745         [BZ #15969]
6746         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6747         the previous change.
6749         [BZ #15969]
6750         * locale/findlocale.c (_nl_find_locale): Retry archive search
6751         after alias expansion.
6753 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6755         * iconv/tst-iconv3.c (main): Converted to ...
6756         (do_test): ... this.
6757         (TEST_FUNCTION): New macro.
6758         Include test-skeleton.c.
6760         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6761         (convert): Make function static.
6762         (test_unalign): Likewise.  Add const to argument pointee types.
6763         (main): Replace with static function do_test.
6764         Print "Succeeded." only if RET is zero.
6765         (TEST_FUNCTION): New macro.
6766         Include test-skeleton.c.
6768         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6769         returns a null pointer.
6771 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6773         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6774         to __memcpy_ppc only for static builds.
6776 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6778         [BZ #18020]
6779         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6780         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6781         * math/auto-libm-test-in: Add more tests of asinh.
6782         * math/auto-libm-test-out: Regenerated.
6783         * sysdeps/i386/fpu/libm-test-ulps: Update.
6784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6786 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6788         [BZ #15850]
6789         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6790         and ip6_mtuinfo definitions here.
6791         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6792         in this define too.  Update comment.
6794 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6796         * elf/sprof.c (load_shobj): Tweak error message to match others.
6798 2015-02-24  Kevin Easton  <kevin@guarana.org>
6800         [BZ #16145] (partial fix)
6801         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6802         to reduce lock contention.
6804 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6806         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6807         (struct timex): Update time comment.
6808         (ADJ_SETOFFSET): Define.
6810 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6812         [BZ #18019]
6813         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6814         2**56 not 2**28 as threshold for log (2x) formula.
6815         * math/auto-libm-test-in: Add more tests of acosh.
6816         * math/auto-libm-test-out: Regenerated.
6817         * sysdeps/i386/fpu/libm-test-ulps: Update.
6818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6820 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6822         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6823         parenthesis around the buf assignment.
6824         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6826 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6828         [BZ #16783]
6829         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6830         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6831         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6832         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6833         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6834         * math/libm-test.inc (scalb_test_data): Add more tests.
6836 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6838         [BZ #17916]
6839         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6840         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6842 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6844         [BZ #17523]
6845         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6846         * io/bits/fcntl2.h (open): Use it.
6847         (openat): Likewise.
6848         * io/open.c (__libc_open): Likewise.
6849         * io/open64.c (__libc_open64): Likewise.
6850         * io/open64_2.c (__open64_2): Likewise.
6851         * io/open_2.c (__open_2): Likewise.
6852         * io/openat.c (__openat): Likewise.
6853         * io/openat64.c (__openat64): Likewise.
6854         * io/openat64_2.c (__openat64_2): Likewise.
6855         * io/openat_2.c (__openat_2): Likewise.
6856         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6857         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6858         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6859         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6860         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6861         (__open_nocancel): Likewise.
6862         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6863         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6864         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6866 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6868         [BZ #14841]
6869         * resolv/gethnamaddr.c (getanswer): Skip logging if
6870         RES_USE_DNSSEC is set.
6871         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6873 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6875         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6877 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6879         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6880         201304L, for Unicode 7.
6882 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6884         [BZ #17836]
6885         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6886         shared library.  Add gmon-start.os otherwise.
6887         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6888         $(objpfx)gmon-start.os if builing shared library.
6889         ($(objpfx)g$(static-start-installed-name)): Likewise.
6891 2015-02-23  Andreas Schwab  <schwab@suse.de>
6893         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6895 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6897         [BZ #17269]
6898         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6899         (enlarge_userbuf): Likewise.
6901 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6903         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6904         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6905         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6906         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6908 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6910         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6911         expression inside statement expression.
6913 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6915         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6916         <sysdeps/nptl/lowlevellock.h> and remove macros and
6917         functions that are now defined there.
6918         (SYS_futex): Remove.
6919         (lll_compare_and_swap): Remove.
6920         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6922 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6924         [BZ #17999]
6925         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6926         instead of scandirat.
6927         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6928         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6929         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6930         __scandirat.
6931         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6932         (__scandirat): Declare.  Use libc_hidden_proto.
6933         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6934         Remove variable.
6935         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6937 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6939         [BZ #15319]
6940         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6941         (MO): New macro.
6942         (__ieee754_atan2): For results with small absolute value, force
6943         underflow exception and remove excess range and precision from
6944         return value.
6945         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6946         (MO): New macro.
6947         (__ieee754_atan2f): For results with small absolute value, force
6948         underflow exception and remove excess range and precision from
6949         return value.
6950         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6951         (MO): New macro.
6952         (__atan): For results with small absolute value, force underflow
6953         exception and remove excess range and precision from return value.
6954         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6955         (MO): New macro.
6956         (__atanf): For results with small absolute value, force underflow
6957         exception and remove excess range and precision from return value.
6958         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6959         <math.h>.
6960         (__ieee754_atan2): Force underflow exception for results with
6961         small absolute value.
6962         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6963         <math_private.h>.
6964         (atan): Force underflow exception for results with small absolute
6965         value.
6966         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6967         (__atanf): Force underflow exception for results with small
6968         absolute value.
6969         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6970         <math.h>.
6971         (__atanl): Force underflow exception for results with small
6972         absolute value.
6973         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6974         (__atanl): Force underflow exception for results with small
6975         absolute value.
6976         * sysdeps/x86/fpu/bits/mathinline.h
6977         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6978         (__ieee754_atan2): Only define inline for long double.
6979         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6980         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6981         * math/auto-libm-test-in: Do not mark underflow exceptions as
6982         possibly missing for bug 15319.  Add more tests of atan2.
6983         * math/auto-libm-test-out: Regenerated.
6984         * math/libm-test.inc (casin_test_data): Do not mark underflow
6985         exceptions as possibly missing for bug 15319.
6986         (casinh_test_data): Likewise.
6987         * sysdeps/i386/fpu/libm-test-ulps: Update.
6989 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6991         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6992         * sysdeps/mips/bits/endian.h: Fix comments.
6994 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6996         [BZ #17996]
6997         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6998         (hdestroy_r): Likewise.
6999         (hsearch_r): Likewise.
7000         (__hcreate_r): Declare and use libc_hidden_proto.
7001         (__hdestroy_r): Likewise.
7002         (__hsearch_r): Likewise.
7003         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7004         (hcreate): Call __hcreate_r instead of hcreate_r.
7005         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7006         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7007         as weak alias of __hcreate_r.
7008         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7009         __hdestroy_r.
7010         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7011         __hsearch_r.
7012         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7013         Remove variable.
7014         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7015         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7016         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7017         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7019 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7021         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7022         arena_lock into a single arena_get.
7024 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7026         * dl-reloc.c: Inlucde libc-internal.h.
7027         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7028         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7029         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7030         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7031         (grow_heap): Likewise.
7032         * malloc/malloc.c: Include libc-internal.h.
7033         (do_check_malloc): Call powerof2.
7034         (sysmalloc): Use pagesize. Call ALIGN_UP.
7035         (systrim): Use pagesize.
7036         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7037         (__libc_valloc): Use pagesize.
7038         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7040 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7042         [BZ #17991]
7043         * include/sys/resource.h (__getrlimit64): Declare.  Use
7044         libc_hidden_proto.
7045         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7046         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7047         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7048         getrlimit64.
7049         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7050         __getrlimit64.
7051         [!getrlimit64] (getrlimit64): Define as weak alias of
7052         __getrlimit64.  Use libc_hidden_weak.
7053         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7054         using __getrlimit64 not __new_getrlimit64.
7055         (__GI_getrlimit64): Likewise.
7056         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7057         Likewise.
7058         (__GI_getrlimit64): Likewise.
7059         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7061         (getrlimit): Add __getrlimit64 alias.
7062         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7063         Likewise.
7064         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7065         Remove variable.
7066         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7067         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7069 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7071         * libio/fileops.c: Add missing sys/mman.h
7072         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7074 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7076         * manual/math.texi (Errors in Math Functions): Clarify goals
7077         regarding inexact and underflow exceptions.
7079 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7081         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7082         * sysdeps/mips/memset.S: Ditto.
7084 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7086         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7088 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7090         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7091         (__v1longjmp): Remove versioned symbol.
7092         (__v1siglongjmp): Remove alias and versioned symbol.
7093         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7094         (__v2siglongjmp): Likewise.
7096 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7098         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7100 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7102         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7104 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7106         [BZ #17987]
7107         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7108         zero result does not depend on the sign resulting from
7109         subtraction.
7110         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7111         Likewise.
7112         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7113         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7114         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7115         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7116         * math/libm-test.inc (remquo_test_data): Add more tests.
7118 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7120         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7121         Problem reported by J William Piggott.
7123 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7125         [BZ #17978]
7126         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7127         products 4 * y and 2 * y where those would overflow.
7128         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7129         Likewise.
7130         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7131         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7132         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7133         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7134         * math/libm-test.inc (remquo_test_data): Add more tests.
7136         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7138         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7139         [defined _COMPILING_NEWLIB].
7140         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7141         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7143         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7144         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7146 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7148         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7149         acquired.
7151 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7153         [BZ #17792]
7154         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7155         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7156         HOST_STACK_END_ADDR): Likewise.
7158 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7160         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7161         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7162         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7164 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7166         * sysdeps/generic/c++-types.data: New file.
7167         * sysdeps/generic/ld.abilist: New file.
7168         * sysdeps/generic/libBrokenLocale.abilist: New file.
7169         * sysdeps/generic/libanl.abilist: New file.
7170         * sysdeps/generic/libc.abilist: New file.
7171         * sysdeps/generic/libcrypt.abilist: New file.
7172         * sysdeps/generic/libdl.abilist: New file.
7173         * sysdeps/generic/libm.abilist: New file.
7174         * sysdeps/generic/libpthread.abilist: New file.
7175         * sysdeps/generic/libresolv.abilist: New file.
7176         * sysdeps/generic/librt.abilist: New file.
7178 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7180         [BZ #17569]
7181         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7182         Compute absolute value of x as modified by fmod, not original
7183         value of x.
7184         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7185         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7186         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7187         RUN_TEST_ffI_f1_mod8.
7188         (remquo_test_data): Add more tests.
7190 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7192         * sysdeps/init_array/pt-crti.S: New file.
7194 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7196         [BZ #17967]
7197         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7198         __builtin_fmaf instead of relying on contraction of a * b + c.
7200 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7202         [BZ #17969]
7203         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7204         node.
7206 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7208         [BZ #17964]
7209         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7210         __builtin_fma instead of relying on contraction of a * b + c.
7212 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7214         * Makeconfig (ASFLAGS): Add -Werror=undef.
7215         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7216         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7217         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7219         * Makeconfig (after-link): New variable.
7220         (+link-pie, +link-pie-tests): Use it.
7221         (+link-static, +link-static-tests): Likewise.
7222         (+link, +link-tests): Likewise.
7223         * Makerules (build-module, build-module-asneeded): Likewise.
7224         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7225         Likewise.
7226         * elf/Makefile ($(objpfx)ld.so): Likewise.
7228 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7230         [BZ #17965]
7231         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7232         both struct timeval and struct timespec.
7234 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7236         [BZ #16560]
7237         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7238         and redefine.
7239         (__ieee754_exp2l): Do not multiply small fractional parts by
7240         M_LN2l.
7241         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7242         small argument.
7243         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7244         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7245         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7246         * math/auto-libm-test-in: Add more tests of exp2.
7247         * math/auto-libm-test-out: Regenerated.
7249 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7251         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7252         unaligned path.
7254 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7256         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7257         little endian.
7259 2015-02-12  Andreas Schwab  <schwab@suse.de>
7261         [BZ #15790]
7262         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7263         Filter out elision flags from value returned in kind.
7264         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7265         * nptl/tst-pthread-mutexattr.c: New file.
7267 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7269         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7270         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7271         into gnu-gnu, and update comment to refer to abi-tags.
7273 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7275         [BZ #15467]
7276         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7277         (__sincos): Set errno to EDOM for infinite argument.
7278         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7279         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7280         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7281         (__sincosl): Set errno to EDOM for infinite argument.
7282         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7283         (__sincosl): Set errno to EDOM for infinite argument.
7284         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7285         (__sincosl): Set errno to EDOM for infinite argument.
7286         * math/libm-test.inc (sincos_test_data): Test errno setting.
7288 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7290         * string/strxfrm_l.c: Remove #define STRCMP.
7291         * string/strcoll_l.c: Remove #define STRLEN.
7292         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7293         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7295 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7297         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7298         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7299         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7300         * sysdeps/mips/mips64/Makefile: ... here.
7301         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7302         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7303         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7304         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7305         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7306         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7307         * sysdeps/mips/mips64/n64/Implies: Likewise.
7309 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7311         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7312         <sys/time.h>, <string.h>, and <errno.h>.
7313         (dest_offset, dest_address, value, zero): Remove unused variables.
7314         (ldouble): Remove typedef.
7315         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7316         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7317         1).  Fix code style.
7318         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7319         (check): Function removed.
7320         (CHECK): New macro.
7321         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7322         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7323         Don't call set_sigaction_FP and remove_sigaction_FP here.
7324         (ldouble_test): Just use 'long double' as macro argument, no need for
7325         the 'ldouble' typedef.
7326         (do_test): Set up SIGFPE handler at start, using plain signal rather
7327         than sigaction.  Fix code style.
7329 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7331         [BZ #17949]
7332         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7333         jump label.
7335 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7337         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7338         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7340         * sysdeps/powerpc/configure.ac: Remove file.
7341         * sysdeps/powerpc/configure: Likewise.
7343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7344         [sysdep_routines]: Remove wordcopy-power6 object.
7345         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7346         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7347         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7348         (__memmove_ppc32): Likewise.
7349         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7350         file.
7351         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7352         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7353         Remove preprocessor.
7355         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7356         [sysdep_routines]: Remove wide chars objects.
7357         [wcsmbs]: New rule for wide char objects.
7359         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7360         Remove wordcopy-power6 obejct.
7361         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7362         Use local call for wordcopy and memcpy symbols.
7363         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7364         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7365         implementation for loader.
7366         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7368         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7369         Remove wordcopy-power7 object.
7370         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7371         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7372         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7373         (_wordcopy_fwd_dest_aligned): Likewise.
7374         (_wordcopy_bwd_aligned): Likewise.
7375         (_wordcopy_bwd_dest_aligned): Likewise.
7377         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7378         Rewrite to call __memmove_ppc instead of include default
7379         implementation.
7381         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7382         Remove wide chars objects.
7383         [wcsmbs]: New rule for wide char objects.
7385 2015-02-09  Andreas Schwab  <schwab@suse.de>
7387         [BZ #17912]
7388         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7389         in terms of __O_DIRECTORY.
7391 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7393         * time/getdate.c: Include <stdbool.h>.
7394         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7395         call PTR_MANGLE.
7396         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7397         PTR_DEMANGLE.
7399 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7401         Add ersatz _Static_assert on older C hosts
7402         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7403         pre-C11 C platform that is not known to support _Static_assert.
7405 2015-02-07  Richard Braun  <rbraun@sceen.net>
7407         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7408         sigstate.
7409         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7411 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7413         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7414         priority against unexistent AIO_PRIO_DELTA_MAX.
7415         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7416         instead of int.
7417         * misc/fchflags.c (fchflags): Likewise.
7418         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7419         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7420         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7421         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7422         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7423         Declare macros.
7424         [__USE_MISC] (chflags, fchflags): Declare functions.
7425         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7426         EINVAL when nfds is greater than FD_SETSIZE.
7427         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7428         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7429         45.
7430         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7431         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7432         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7433         MACH_RCV_TIMED_OUT.
7434         * hurd/hurd/signal.h (_hurd_self_sigstate,
7435         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7436         Explicit casts from void *.
7437         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7438         * abi-tags: Rename gnu-gnu os into gnu.
7440         [BZ #4719]
7441         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7442         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7443         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7444         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7445         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7446         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7448         [BZ #17944]
7449         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7450         duplicates ADDR->sun_path with sockaddr LEN limitation.
7451         * sysdeps/mach/hurd/connect.c: Include <string.h>
7452         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7453         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7454         * sysdeps/mach/hurd/sendto.c: Likewise.
7455         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7456         implementing it by hand.
7458 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7460         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7461         Use sfi_breg on ldr.
7462         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7463         Likewise.
7465         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7466         it's defined.
7467         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7468         Test SIGSETXID only if it's defined.
7470         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7472         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7473         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7475         * nptl/tst-align2.c: Moved ...
7476         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7477         * nptl/Makefile (tests): Remove tst-align2.
7478         * sysdeps/unix/sysv/linux/Makefile
7479         [$(subdir) = nptl] (tests): Add tst-align-clone.
7480         * nptl/tst-getpid1.c: Moved ...
7481         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7482         * nptl/tst-getpid2.c: Moved ...
7483         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7484         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7485         * sysdeps/unix/sysv/linux/Makefile
7486         [$(subdir) = nptl] (tests): ... here.
7487         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7488         * sysdeps/unix/sysv/linux/Makefile
7489         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7491         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7492         Drop trailing \n from perror argument.  Use return rather than exit.
7494         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7495         on [SA_SIGINFO].
7496         * nptl/tst-cancel21.c (do_test): Likewise.
7497         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7498         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7499         [!SA_SIGINFO]: Make it a stub test.
7501         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7502         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7504         * posix/tst-getlogin.c: Move to ...
7505         * login/tst-getlogin.c: ... here.
7506         * posix/Makefile (tests): Move tst-getlogin to ...
7507         * login/Makefile (tests): ... here.
7509         * libio/tst-atime.c (do_test): Move local variables SV and E
7510         inside [ST_NOATIME] conditional.
7512         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7514         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7516         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7517         (wait_code): New function replaces macro.
7518         Call nanosleep rather than syscall.
7520         * nptl/pt-system.c: Rewritten.  Put everything under
7521         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7522         Use IFUNC to redirect when possible.
7524         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7525         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7526         Use IFUNC to redirect when possible.
7528         * nptl/pt-fork.c: Rewritten.  Put everything under
7529         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7530         Use IFUNC to redirect when possible.
7531         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7533         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7534         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7535         unconditionally nowadays.  This included the only reference to
7536         __vdso_clock_gettime that appears outside libc proper.
7537         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7538         Remove version set (containing only __vdso_clock_gettime).
7539         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7540         Add attribute_hidden.
7541         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7542         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7543         libc_hidden_data_def.
7544         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7545         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7547         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7548         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7549         setrpcent, and getrpcport to ...
7550         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7551         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7552         getrpcbynumber_r, and getrpcent_r to ...
7553         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7554         * inet/getrpcbyname.c: Moved ...
7555         * sunrpc/getrpcbyname.c: ... here.
7556         * inet/getrpcbyname_r.c: Moved ...
7557         * sunrpc/getrpcbyname_r.c: ... here.
7558         * inet/getrpcbynumber.c: Moved ...
7559         * sunrpc/getrpcbynumber.c: ... here.
7560         * inet/getrpcbynumber_r.c: Moved ...
7561         * sunrpc/getrpcbynumber_r.c: ... here.
7562         * inet/getrpcent.c: Moved ...
7563         * sunrpc/getrpcent.c: ... here.
7564         * inet/getrpcent_r.c: Moved ...
7565         * sunrpc/getrpcent_r.c: ... here.
7566         * inet/Makefile (routines): Move those to ...
7567         * sunrpc/Makefile (routines): ... here.
7568         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7569         the $(subdirs) list.
7570         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7571         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7572         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7573         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7575         * elf/Makefile (routines): Include $(all-dl-routines), not just
7576         $(dl-routines).
7577         (rtld-routines): Likewise.  Use = rather than :=.
7578         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7579         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7580         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7581         * sysdeps/arm/Makefile: Likewise.
7582         * sysdeps/i386/Makefile: Likewise.
7583         * sysdeps/x86_64/Makefile: Likewise.
7584         * sysdeps/hppa/Makefile [$(subdir) = elf]
7585         (sysdep_routines, sysdep-rtld-routines): Don't add
7586         $(sysdep-dl-routines) to these.
7587         * sysdeps/ia64/Makefile: Likewise.
7588         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7589         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7590         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7591         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7592         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7593         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7594         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7595         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7596         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7597         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7598         these; sysdep-dl-routines alone is enough.
7600 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7602         [BZ #17932]
7603         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7604         where multiplication results in zero and third argument is finite
7605         and nonzero.
7606         * math/auto-libm-test-in: Add more tests of fma.
7607         * math/auto-libm-test-out: Regenerated.
7609         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7610         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7611         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7612         (_FP_CMP_EQ): Likewise.
7613         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7615         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7616         extra argument CHECK_NAN.  Redefine as wrapper around
7617         _FP_EXTEND_CNAN.
7619 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7621         * version.h (RELEASE): Set to "stable".
7622         (VERSION): Set to "2.21"
7623         * include/features.h (__GLIBC_MINOR__): Set to 21.
7625         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7627 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7628             Paul Eggert  <eggert@cs.ucla.edu>
7630         [BZ #16618]
7631         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7632         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7633         size in bytes. Store needed elements in wpmax. Use needed size
7634         in bytes for extend_alloca.
7636 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7638         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7639         binutls 2.25, and texinfo 5.2.
7640         * INSTALL: Regenerate.
7641         * sysdeps/nios2/configure: Regenerate.
7642         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7643         * manual/contrib.texi: Update.
7644         * po/be.po: Update.
7645         * po/bg.po: Update.
7646         * po/ca.po: Update.
7647         * po/cs.po: Update.
7648         * po/da.po: Update.
7649         * po/de.po: Update.
7650         * po/el.po: Update.
7651         * po/eo.po: Update.
7652         * po/es.po: Update.
7653         * po/fi.po: Update.
7654         * po/fr.po: Update.
7655         * po/gl.po: Update.
7656         * po/hr.po: Update.
7657         * po/hu.po: Update.
7658         * po/ia.po: Update.
7659         * po/id.po: Update.
7660         * po/it.po: Update.
7661         * po/ja.po: Update.
7662         * po/ko.po: Update.
7663         * po/lt.po: Update.
7664         * po/nb.po: Update.
7665         * po/nl.po: Update.
7666         * po/pl.po: Update.
7667         * po/pt_BR.po: Update.
7668         * po/ru.po: Update.
7669         * po/rw.po: Update.
7670         * po/sk.po: Update.
7671         * po/sl.po: Update.
7672         * po/sv.po: Update.
7673         * po/tr.po: Update.
7674         * po/uk.po: Update.
7675         * po/vi.po: Update.
7676         * po/zh_CN.po: Update.
7677         * po/zh_TW.po: Update.
7679         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7680         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7681         * sysdeps/hppa/dl-irel.h: Remove #warning.
7682         * sysdeps/hppa/entry.h: Provide prototype for
7683         __canonicalize_funcptr_for_compare and cast argument.
7684         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7685         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7686         * sysdeps/hppa/sotruss-lib.c: New file.
7687         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7688         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7689         (atomic_compare_and_exchange_bool_acq): Likewise.
7690         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7691         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7693         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7694         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7695         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7697 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7699         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7700         called function in non-PIC case.
7702 2015-01-31  David S. Miller  <davem@davemloft.net>
7704         * sysdeps/sparc/sparc32/bits/atomic.h
7705         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7706         unlock not after it.
7707         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7708         volatile register usage warnings from the compiler.
7710         * sysdeps/sparc/nptl/sem_init.c: Delete.
7711         * sysdeps/sparc/nptl/sem_post.c: Delete.
7712         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7713         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7714         * sysdeps/sparc/sparc32/sem_init.c: New file.
7715         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7716         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7717         padding explicitly initialized.
7718         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7719         padding for in-semaphore spinlock.
7720         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7721         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7722         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7723         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7724         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7725         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7726         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7727         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7728         version.
7729         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7730         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7732 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7734         [BZ #17801]
7735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7736         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7737         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7738         New.
7739         (index_AVX_Fast_Unaligned_Load): Likewise.
7740         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7741         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7742         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7743         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7744         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7745         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7746         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7747         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7748         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7750 2015-01-29  Andreas Schwab  <schwab@suse.de>
7752         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7754 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7756         [BZ #17892]
7757         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7759 2015-01-28  Martin Sebor  <msebor@redhat.com>
7761         * math/README.libm-test: Clarify. Add "How to read the test output."
7763 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7765         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7766         Define to 0.
7768 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7770         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7771         (__HAVE_64B_ATOMICS): Define to 0.
7773 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7775         [BZ #17885]
7776         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7777         value to set as new flag.
7779         [BZ #16576]
7780         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7781         and use _ARCH_PPCSQ instead.
7782         (__ieee754_sqrt): Likewise.
7783         (__ieee754_sqrtf): Likewise.
7784         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7785         _ARCH_PPCSQ is defined.
7786         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7787         fsqrt instruction.
7788         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7789         _ARCH_PPCSQ is defined.
7790         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7791         fsqrts instruction.
7792         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7794 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7796         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7797         bug (GCC BZ #64739).
7799 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7801         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7802         Mark _retval as used.
7803         (lll_futex_wake_unlock): Likewise.
7804         (lll_futex_timed_wait_requeue_pi): Likewise.
7806         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7807         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7808         register variables.
7810         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7811         libm_hidden_def.
7813         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7814         (__bswap_64): Mark as __always_inline.
7816 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7818         [BZ #15378]
7819         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7820         when none of the search directories exist.
7822 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7824         [BZ #17869]
7825         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7826         power8 in .machine directive.
7828         [BZ #17868]
7829         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7830         set dependency from opd value.
7832 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7835         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7836         architecture.
7838 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7840         [BZ #17870]
7841         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7842         with uint64_t.
7843         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7844         (uint64_t) 1.
7845         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7846         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7847         Replace 1UL with (uint64_t) 1.
7848         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7849         int with uint64_t.
7851 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7853         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7854         (if_freenameindex): Likewise.
7856         * resource/getrlimit64.c: Add missing libc_hidden_def.
7858 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7860         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7861         __label__.
7862         (_FP_FMA): Likewise.
7863         (_FP_TO_INT_ROUND): Likewise.
7864         (_FP_FROM_INT): Likewise.
7866 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7868         [BZ #16418]
7869         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7870         Make code racy and cancel safe.
7872 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7874         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7875         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7876         attribution.
7878         * pwd/tst-getpw.c: Rewrite.
7880         [BZ #17702]
7881         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7882         (modules-names): Add moddummy1 and moddummy2.
7883         ($(objpfx)tst-rec-dlopen): Define.
7884         * dlfcn/moddummy1.c: New file.
7885         * dlfcn/moddummy2.c: New file.
7886         * dlfcn/tst-rec-dlopen.c: New file.
7887         * elf/dl-cache.c (_dl_load_cache_lookup):
7888         Return char*. Copy result with alloca/strcpy/strdup.
7889         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7890         returns char*. Free cached. If not saving realname
7891         free cached.
7892         * elf/dl-open.c (dl_open_worker): Do not assert that
7893         _r_debug->r_state is RT_CONSISTENT.
7894         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7895         returns char*.
7897 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7898             Carlos O'Donell  <carlos@redhat.com>
7900         [BZ #12674]
7901         * nptl/sem_waitcommon.c: New file.
7902         * nptl/sem_wait.c: Include sem_waitcommon.c.
7903         (__sem_wait_cleanup, do_futex_wait): Remove.
7904         (__new_sem_wait): Adapt.
7905         (__new_sem_trywait): New function.
7906         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7907         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7908         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7909         (sem_timedwait): Adapt.
7910         * nptl/sem_post.c (__new_sem_post): Adapt.
7911         (futex_wake): New function.
7912         (__old_sem_post): Add release MO fence.
7913         * nptl/sem_open.c (sem_open): Adapt.
7914         * nptl/sem_init.c (__new_sem_init): Adapt.
7915         (futex_private_if_supported): New function.
7916         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7917         (__old_sem_getvalue): Add using previous code.
7918         * sysdeps/nptl/internaltypes.h: Adapt.
7919         * nptl/tst-sem13.c (do_test): Adapt.
7920         * nptl/tst-sem11.c (main): Adapt.
7921         * nptl/sem_trywait.c: Remove.
7922         * nptl/DESIGN-sem.txt: Remove.
7923         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7924         (gen-as-const-headers): Remove structsem.sym.
7925         * nptl/structsem.sym: Remove.
7926         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7927         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7928         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7929         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7930         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7931         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7932         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7933         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7934         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7935         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7936         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7937         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7938         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7939         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7940         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7941         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7942         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7943         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7944         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7945         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7946         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7947         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7949 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7951         * INSTALL: Regenerated.
7953         * po/libc.pot: Regenerated.
7955 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7956             Sandra Loosemore  <sandra@codesourcery.com>
7957             Andrew Jenner  <andrew@codesourcery.com>
7958             Joseph Myers  <joseph@codesourcery.com>
7959             Nathan Sidwell  <nathan@codesourcery.com>
7961         * NEWS: Mention new Nios II port.
7962         * sysdeps/nios2/Implies: New file.
7963         * sysdeps/nios2/Makefile: New file.
7964         * sysdeps/nios2/Subdirs: New file.
7965         * sysdeps/nios2/Versions: New file.
7966         * sysdeps/nios2/__longjmp.S: New file.
7967         * sysdeps/nios2/abort-instr.h: New file.
7968         * sysdeps/nios2/backtrace.c: New file.
7969         * sysdeps/nios2/bits/endian.h: New file.
7970         * sysdeps/nios2/bits/fenv.h: New file.
7971         * sysdeps/nios2/bits/link.h: New file.
7972         * sysdeps/nios2/bits/setjmp.h: New file.
7973         * sysdeps/nios2/bsd-_setjmp.S: New file.
7974         * sysdeps/nios2/bsd-setjmp.S: New file.
7975         * sysdeps/nios2/configure: New generated file.
7976         * sysdeps/nios2/configure.ac: New file.
7977         * sysdeps/nios2/crti.S: New file.
7978         * sysdeps/nios2/crtn.S: New file.
7979         * sysdeps/nios2/dl-init.c: New file.
7980         * sysdeps/nios2/dl-machine.h: New file.
7981         * sysdeps/nios2/dl-sysdep.h: New file.
7982         * sysdeps/nios2/dl-tls.h: New file.
7983         * sysdeps/nios2/dl-trampoline.S: New file.
7984         * sysdeps/nios2/gccframe.h: New file.
7985         * sysdeps/nios2/gmp-mparam.h: New file.
7986         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7987         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7988         * sysdeps/nios2/ldsodefs.h: New file.
7989         * sysdeps/nios2/libc-tls.c: New file.
7990         * sysdeps/nios2/libm-test-ulps: New file.
7991         * sysdeps/nios2/machine-gmon.h: New file.
7992         * sysdeps/nios2/math-tests.h: New file.
7993         * sysdeps/nios2/math_private.h: New file.
7994         * sysdeps/nios2/memusage.h: New file.
7995         * sysdeps/nios2/nptl/Makefile: New file.
7996         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7997         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7998         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7999         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8000         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8001         * sysdeps/nios2/nptl/tls.h: New file.
8002         * sysdeps/nios2/preconfigure: New file.
8003         * sysdeps/nios2/s_fma.c: New file.
8004         * sysdeps/nios2/s_fmaf.c: New file.
8005         * sysdeps/nios2/setjmp.S: New file.
8006         * sysdeps/nios2/sfp-machine.h: New file.
8007         * sysdeps/nios2/sotruss-lib.c: New file.
8008         * sysdeps/nios2/stackguard-macros.h: New file.
8009         * sysdeps/nios2/stackinfo.h: New file.
8010         * sysdeps/nios2/start.S: New file.
8011         * sysdeps/nios2/sysdep.h: New file.
8012         * sysdeps/nios2/tls-macros.h: New file.
8013         * sysdeps/nios2/tst-audit.h: New file.
8014         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8015         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8016         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8017         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8018         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8019         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8020         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8021         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8022         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8023         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8024         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8025         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8026         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8027         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8028         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8029         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8030         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8031         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8032         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8033         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8034         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8035         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8036         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8037         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8038         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8039         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8040         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8041         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8042         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8043         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8044         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8045         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8046         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8047         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8048         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8049         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8050         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8051         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8052         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8053         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8054         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8055         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8056         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8057         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8059 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8061         [BZ #17844]
8062         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8063         (getutent): Use weak_alias in non SHARED case
8064         and default_symbol_version in SHARED case.
8065         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8066         (getutent_r, pututline): Likewise.
8067         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8068         (getutid): Likewise.
8069         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8070         (getutid_r): Likewise.
8071         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8072         (getutline): Likewise.
8073         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8074         (getutline_r): Likewise.
8075         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8076         (updwtmp): Likewise.
8078 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8080         [BZ #17848]
8081         * sysdeps/s390/s390-32/memcmp.S
8082         (memcmp_g5): Rename to __memcmp_g5.
8083         * sysdeps/s390/s390-32/memcpy.S
8084         (memcpy_g5): Rename to __memcpy_g5.
8085         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8086         (memcpy_mvcle) Rename to __memcpy_mvcle.
8087         * sysdeps/s390/s390-32/memset.S
8088         (memset_g5): Rename to __memset_g5.
8089         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8090         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8091         and use prefixed functions.
8092         * sysdeps/s390/s390-32/multiarch/memcmp.S
8093         (memcmp_z196): Rename to __memcmp_z196.
8094         (memcmp_z10): Rename to __memcmp_z10.
8095         (memcmp): Set alias to __memcmp_g5.
8096         (bcmp): Set alias to __memcmp_g5.
8097         * sysdeps/s390/s390-32/multiarch/memcpy.S
8098         (memcpy_z196): Rename to __memcpy_z196.
8099         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8100         (memcpy_z10): Rename to __memcpy_z10.
8101         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8102         (memcpy): Set alias to __memcpy_g5.
8103         * sysdeps/s390/s390-32/multiarch/memset.S
8104         (memset_z196): Rename to __memset_z196.
8105         Jump to __memset_mvcle instead of memset_mvcle.
8106         (memset_z10): Rename to __memset_z10.
8107         Jump to __memset_mvcle instead of memset_mvcle.
8108         (memset_mvcle) Rename to __memset_mvcle.
8109         (memset): Set alias to __memset_g5.
8110         * sysdeps/s390/s390-64/memcmp.S
8111         (memcmp_z900): Rename to __memcmp_z900.
8112         * sysdeps/s390/s390-64/memcpy.S
8113         (memcpy_z900): Rename to __memcpy_z900.
8114         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8115         (memcpy_mvcle) Rename to __memcpy_mvcle.
8116         * sysdeps/s390/s390-64/memset.S
8117         (memset_z900): Rename to __memset_z900.
8118         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8119         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8120         and use prefixed functions.
8121         * sysdeps/s390/s390-64/multiarch/memcmp.S
8122         (memcmp_z196): Rename to __memcmp_z196.
8123         (memcmp_z10): Rename to __memcmp_z10.
8124         (memcmp): Set alias to __memcmp_z900.
8125         (bcmp): Set alias to __memcmp_z900.
8126         * sysdeps/s390/s390-64/multiarch/memcpy.S
8127         (memcpy_z196): Rename to __memcpy_z196.
8128         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8129         (memcpy_z10): Rename to __memcpy_z10.
8130         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8131         (memcpy): Set alias to __memcpy_z900.
8132         * sysdeps/s390/s390-64/multiarch/memset.S
8133         (memset_z196): Rename to __memset_z196.
8134         Jump to __memset_mvcle instead of memset_mvcle.
8135         (memset_z10): Rename to __memset_z10.
8136         Jump to __memset_mvcle instead of memset_mvcle.
8137         (memset_mvcle) Rename to __memset_mvcle.
8138         (memset): Set alias to __memset_z900.
8140 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8142         [BZ #17748]
8143         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8144         __fesetenv instead of fesetenv.
8146 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8148         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8149         macro.
8151 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8153         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8154         regression on LE.
8156         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8157         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8158         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8159         strncmp-power8 object.
8160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8161         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8162         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8163         * NEWS: Update.
8165 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8166             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8168         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8169         trailing byte check.
8171 2015-01-13  David S. Miller  <davem@davemloft.net>
8173         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8175 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8177         * login/logout.c (logout): Use memset rather than bzero.
8178         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8179         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8180         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8181         (_gethtbyaddr): Likewise.
8182         * locale/programs/simple-hash.c (bcopy): Macro removed.
8184 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8186         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8187         Add strcmp-power8 object.
8188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8189         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8190         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8191         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8192         __strcmp_power8 implementation.
8193         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8194         * NEWS: Update.
8196         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8197         Add strncpy-power8 and stpncpy-power8 objects.
8198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8199         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8200         implementations.
8201         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8202         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8203         __stpncpy_power8 implementation.
8204         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8205         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8206         __strncpy_power8 implementation.
8207         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8208         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8209         * NEWS: Update.
8211         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8212         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8213         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8215         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8216         strncat-power8 object.
8217         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8218         __strcat_power8 implementation.
8219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8220         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8221         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8222         optimized strcat for power8.
8224         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8225         strcpy-power8 and stpcpy-power8 objects.
8226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8227         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8228         implementations.
8229         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8230         multiarch stpcpy implementation for POWER8.
8231         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8232         multiarch strcpy implementation for POWER8.
8233         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8234         __strcpy_power8 function.
8235         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8236         stpcpy for POWER8.
8237         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8238         strcpy for POWER8.
8239         * NEWS: Update.
8241 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8243         [BZ #16009]
8244         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8245         weights and rules. Use do_xfrm_cached if data fits in cache,
8246         do_xfrm otherwise.  Moved former main loop to...
8247         * (do_xfrm_cached): New function.
8248         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8249         find_idx, find_position and stack_push.
8250         * (find_idx): New function.
8251         * (find_position): Likewise.
8252         * localedata/sort-test.sh: Added test run for do_xfrm.
8253         * localedata/xfrm-test.c (main): Added command line option
8254         -nocache to run the test with strings that are too large for
8255         the STRXFRM cache.
8257 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8259         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8260         variable to lll_futex_wake call, not the value itself.
8262 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8264         [BZ #17803]
8265         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8266         twom64.  Adjust value to 0x1p-64L.
8267         (__scalblnl): Only return standard underflowing result for K <=
8268         -64 not K <= -63; adjust exponent for underflowing result by 64
8269         not 63.
8270         * math/libm-test.inc (scalbn_test_data): Add more tests.
8271         (scalbln_test_data): Likewise.
8273         [BZ #17834]
8274         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8275         0x1p63L.
8276         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8277         not HX.
8278         * math/libm-test.inc (scalbn_test_data): Add more tests.
8279         (scalbln_test_data): Likewise.
8281 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8282             Stefani Seibold  <stefani@seibold.net>
8284         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8285         (sysdep_routines): Add dl-vdso here, ...
8286         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8287         (sysdep_routines): ... not here.
8288         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8289         fallback when vDSO is not presented.
8290         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8291         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8292         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8293         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8294         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8295         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8296         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8297         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8298         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8299         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8300         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8301         fallback configurable symbol when vDSO is not available.
8302         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8303         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8304         be able to redefine fallback symbol when vDSO is not available.
8305         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8306         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8308 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8310         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8311         (TLS_INIT_TP): Add tm_capable initialization.
8312         (TLS_DEFINE_INIT_TP): Likewise.
8313         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8314         TCB.
8315         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8316         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8317         calculation.
8318         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8319         transactoion is lock elision is built and TCB tm_capable is set.
8320         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8322         (INTERNAL_SYSCALL_NCS): Likewise.
8323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8324         (INTERNAL_SYSCALL_NCS): Likewise.
8325         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8327         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8328         for powerpc.
8329         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8330         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8331         and remove it for 32 bits case.
8332         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8333         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8334         initialization.
8335         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8336         Disable lock elision with rdlocks if elision is not available.
8338         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8339         (sysdep_routines): Add lock elision objects.
8340         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8341         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8342         [pthread_mutex_t] (__elision): Add field.
8343         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8344         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8345         elision definitions for powerpc.
8346         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8347         implementation of lock elision for powerpc.
8348         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8349         implementation of timed lock elision for powerpc.
8350         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8351         implementation of trylock with lock elision for powerpc.
8352         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8353         implementaion of unlock for lock elision for powerpc.
8354         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8355         automatic enable lock elision for mutexes.
8356         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8357         transaction execution definitions for powerpc.
8358         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8359         definitions.
8360         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8361         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8362         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8363         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8364         * NEWS: Update.
8366 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8368         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8369         for #include of <shm-directory.h>.
8371 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8373         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8374         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8376 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8378         [BZ #17791]
8379         * NEWS: Mention bug fix.
8380         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8381         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8382         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8384 2015-01-09  Torvald Riegel <triegel@redhat.com>
8386         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8388 2015-01-09  Torvald Riegel <triegel@redhat.com>
8390         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8392 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8394         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8395         pointer and cast to uintptr_t.
8397 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8399         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8400         removed.
8401         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8403 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8405         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8406         of 0.
8408 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8410         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8411         <nptl/pthreadP.h> instead.
8412         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8414         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8415         already defined.
8416         [__SIGRTMIN] (init): Function removed.
8417         [__SIGRTMIN] (initialized): Variable removed.
8418         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8419         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8420         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8421         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8422         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8423         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8424         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8425         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8426         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8427         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8428         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8429         * sysdeps/nptl/allocrtsig.c: New file.
8430         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8431         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8432         * sysdeps/generic/testrtsig.h: File removed.
8434         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8435         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8437         * nptl/nptl-init.c (pthread_functions): Conditionalize
8438         .ptr__nptl_setxid initialization on [SIGSETXID].
8440         * sysdeps/nptl/sys/procfs.h: New file.
8441         * nptl_db/Makefile (headers): Add it.
8442         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8444         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8445         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8446         * nptl/pthread_attr_setaffinity.c: Include it.
8447         * nptl/pthread_setattr_default_np.c: Likewise.
8448         * nptl/check-cpuset.h: New file.
8450 2015-01-08  Richard Henderson  <rth@redhat.com>
8452         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8453         (CFLAGS-tst-execstack-prog.c): Likewise.
8454         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8456 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8457             Sandra Loosemore  <sandra@codesourcery.com>
8458             Andrew Jenner  <andrew@codesourcery.com>
8459             Joseph Myers  <joseph@codesourcery.com>
8460             Nathan Sidwell  <nathan@codesourcery.com>
8462         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8463         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8464         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8465         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8466         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8467         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8468         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8469         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8470         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8471         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8472         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8473         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8474         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8475         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8476         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8477         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8478         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8480 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8482         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8483         timespec struct member in syscall macro.
8484         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8485         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8486         first timeval struct member in syscall macro.
8487         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8489 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8491         [BZ #17748]
8492         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8493         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8494         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8495         __feupdateenv and define as weak alias of __feupdateenv.  Use
8496         libm_hidden_weak.
8497         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8498         libm_hidden_def.
8499         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8500         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8501         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8502         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8503         libm_hidden_def.
8504         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8505         __feupdateenv and define as weak alias of __feupdateenv.  Use
8506         libm_hidden_weak.
8507         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8508         libm_hidden_def.
8509         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8510         __feupdateenv and define as weak alias of __feupdateenv.  Use
8511         libm_hidden_weak.
8512         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8513         libm_hidden_def.
8514         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8515         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8516         (__feupdateenv): Likewise.
8517         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8518         __feupdateenv and define as weak alias of __feupdateenv.  Use
8519         libm_hidden_weak.
8520         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8521         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8522         libm_hidden_def.
8523         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8524         function.
8525         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8526         libm_hidden_def.
8527         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8528         __feupdateenv instead of feupdateenv.
8529         (default_libc_feupdateenv_test): Likewise.
8530         (libc_feresetround_ctx): Likewise.
8532 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8534         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8535         prototype.
8537 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8539         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8540         COLL_SYM in a couple of places to avoid uninitialized variable
8541         wanings on tilegx gcc 4.8.2.
8543 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8545         * sysdeps/aarch64/strcpy.S: New file.
8546         * sysdeps/aarch64/stpcpy.S: New file.
8547         * NEWS: Updated.
8549 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8551         * sysdeps/aarch64/strrchr.S: New file.
8552         * NEWS: Updated.
8554 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8556         [BZ #17658]
8557         * stdlib/setenv.c: Fix memory leak when setting large,
8558         duplicate string.
8560 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8562         [BZ #17273]
8563         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8564         and tabs from buffer before parsing fstab entry.
8565         * misc/tst-mntent.c (main): Add test for mount entry with
8566         trailing spaces and tabs.
8568 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8570         [BZ #17748]
8571         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8572         * math/fesetround.c (fesetround): Rename to __fesetround and
8573         define as weak alias of __fesetround.  Use libm_hidden_weak.
8574         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8575         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8576         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8577         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8578         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8579         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8580         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8581         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8582         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8583         __fesetround_inline.
8584         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8585         __fesetround_inline instead of __fesetround.
8586         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8587         __fesetround and define as weak alias of __fesetround.  Use
8588         libm_hidden_weak.  Call __fesetround_inline instead of
8589         __fesetround.
8590         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8591         __fesetround and define as weak alias of __fesetround.  Use
8592         libm_hidden_weak.
8593         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8594         Likewise.
8595         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8596         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8597         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8598         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8599         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8600         __fesetround and define as weak alias of __fesetround.  Use
8601         libm_hidden_weak.
8602         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8603         __fesetround instead of fesetround.
8604         (default_libc_feholdexcept_setround): Likewise.
8605         (libc_feholdsetround_ctx): Likewise.
8606         (libc_feholdsetround_noex_ctx): Likewise.
8608         [BZ #17748]
8609         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8610         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8611         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8612         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8613         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8614         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8615         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8616         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8617         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8618         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8619         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8620         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8621         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8622         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8623         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8624         libm_hidden_def.
8625         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8626         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8627         Likewise.
8628         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8629         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8630         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8631         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8632         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8633         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8634         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8635         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8636         __fesetenv instead of fesetenv.
8637         (libc_feresetround_noex_ctx): Likewise.
8638         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8639         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8640         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8641         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8642         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8643         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8644         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8645         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8646         (__feupdateenv): Likewise.
8647         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8648         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8649         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8650         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8652 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8654         [BZ #17806]
8655         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8656         addresses have been freed.
8658 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8660         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8661         and nservall.
8663 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8665         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8666         Clean up check_pf allocation pattern. addresses
8668 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8670         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8671         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8672         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8673         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8674         * nptl/pthread_join.c (pthread_join): Likewise.
8675         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8676         * sysdeps/posix/waitid.c (__waitid): Likewise.
8677         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8678         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8679         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8680         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8681         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8682         Likewise.
8683         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8684         (__libc_pread64): Likewise.
8685         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8686         (__libc_pwrite): Likewise.
8687         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8688         (__libc_pwrite64): Likewsie.
8689         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8690         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8691         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8692         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8693         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8694         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8695         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8697         Likewise.
8698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8699         (__libc_pread64): Likewise.
8700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8701         Likewise.
8702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8703         (__libc_pwrite64): Likewise.
8704         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8705         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8706         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8707         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8708         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8709         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8710         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8711         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8712         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8713         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8714         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8715         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8716         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8717         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8718         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8719         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8720         Likewise.
8722 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8724         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8725         (CFLAGS-test-double.c): Likewise.
8726         (CFLAGS-test-ldouble.c): Likewise.
8727         (CPPFLAGS-test-ifloat.c): Likewise.
8728         (CPPFLAGS-test-idouble.c): Likewise.
8729         (CPPFLAGS-test-ildoubl.c): Likewise.
8730         (CFLAGS-test-test-fenv.c): Remove variable.
8731         (CFLAGS-test-misc.c): Likewise.
8733 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8735         [BZ #17797]
8736         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8737         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8738         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8739         CLOCKS_PER_SEC == 1000000.
8740         * time/clocktest.c (main): Replace %ld with %jd and cast to
8741         intmax_t.
8743 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8745         * sysdeps/generic/unwind-resume.h: New file.
8746         * sysdeps/gnu/unwind-resume.c: Include it.
8747         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8748         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8749         argument list.
8750         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8751         global rather than static.
8752         (_Unwind_Resume): Update user.
8753         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8754         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8755         rather than static.  Add __attribute__ ((cold)).
8756         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8757         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8758         * sysdeps/arm/arm-unwind-resume.S: New file.
8759         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8760         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8761         * sysdeps/arm/Makefile [$(subdir) = csu]
8762         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8763         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8764         Add rt-arm-unwind-resume.
8765         [$(subdir) = nptl]
8766         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8767         Add pt-arm-unwind-resume.
8768         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8769         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8771 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8773         [BZ #17748]
8774         * include/fenv.h (__feholdexcept): Declare.  Use
8775         libm_hidden_proto.
8776         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8777         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8778         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8779         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8780         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8781         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8782         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8783         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8784         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8785         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8786         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8787         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8788         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8789         (feholdexcept): Likewise.
8790         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8791         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8792         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8793         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8794         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8795         __feholdexcept instead of feholdexcept.
8796         (default_libc_feholdexcept_setround): Likewise.
8798 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8800         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8801         to avoid using stl/str to align destination.
8803 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8805         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8807 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8809         [BZ #17796]
8810         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8811         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8812         Define as weak alias not strong alias.
8814 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8816         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8817         bltzal with addiupc.
8818         (RTLD_START): Ditto.
8820 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8822         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8823         for __vdso_* functions in declarations.
8824         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8825         definitions.
8826         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8827         INTERNAL_VSYSCALL): Use struct return types to check for error.
8829         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8830         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8831         function with cast from llround().
8832         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8833         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8834         Define.
8836 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8838         [BZ #17793]
8839         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8840         Define as weak alias not strong alias.
8842         [BZ #17635]
8843         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8844         ...
8845         * ctype/ctype-extn.c: ... here.
8846         (__isblank_l): Move to ...
8847         * ctype/ctype-c99_l.c: ... here.  New file.
8848         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8849         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8850         Remove variable.
8851         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8852         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8853         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8854         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8855         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8857         [BZ #17777]
8858         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8859         (posix_fadvise64): Define as weak alias not strong alias.
8860         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8861         (posix_fallocate64): Likewise.
8862         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8863         Remove variable.
8864         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8865         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8866         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8867         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8868         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8870 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8872         [BZ #16191]
8873         * NEWS: Mention bug fix.
8874         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8875         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8876         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8877         (HOST_STACK_END_ADDR): Likewise.
8879 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8881         [BZ #17748]
8882         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8883         * math/fegetround.c (fegetround): Rename to __fegetround and
8884         define as weak alias of __fegetround.  Use libm_hidden_weak.
8885         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8886         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8887         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8888         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8889         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8890         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8891         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8892         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8893         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8894         Undefine after rather than before function definition; use
8895         parentheses around function name in definition.
8896         (__fegetround): Also undefine macro after function definition.
8897         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8898         __fegetround and define as weak alias of __fegetround.  Use
8899         libm_hidden_weak.  Do not undefine as macro.
8900         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8901         Likewise.
8902         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8903         __fegetround and define as weak alias of __fegetround.  Use
8904         libm_hidden_weak.
8905         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8906         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8907         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8908         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8909         __fegetround and define as weak alias of __fegetround.  Use
8910         libm_hidden_weak.
8911         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8912         __fegetround instead of fegetround.
8914         [BZ #17782]
8915         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8916         Condition macro definition on [__USE_MISC].
8918         [BZ #17781]
8919         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8920         (struct sigaction): Change type of sa_flags field to int.
8922         [BZ #17780]
8923         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8924         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8925         __glibc_reserved0.
8927         * nptl/version.c (banner): Use single year in copyright notice.
8929         * NEWS: Update copyright dates.
8930         * catgets/gencat.c (print_version): Likewise.
8931         * csu/version.c (banner): Likewise.
8932         * debug/catchsegv.sh: Likewise.
8933         * debug/pcprofiledump.c (print_version): Likewise.
8934         * debug/xtrace.sh (do_version): Likewise.
8935         * elf/ldconfig.c (print_version): Likewise.
8936         * elf/ldd.bash.in: Likewise.
8937         * elf/pldd.c (print_version): Likewise.
8938         * elf/sotruss.sh: Likewise.
8939         * elf/sprof.c (print_version): Likewise.
8940         * iconv/iconv_prog.c (print_version): Likewise.
8941         * iconv/iconvconfig.c (print_version): Likewise.
8942         * locale/programs/locale.c (print_version): Likewise.
8943         * locale/programs/localedef.c (print_version): Likewise.
8944         * login/programs/pt_chown.c (print_version): Likewise.
8945         * malloc/memusage.sh (do_version): Likewise.
8946         * malloc/memusagestat.c (print_version): Likewise.
8947         * malloc/mtrace.pl: Likewise.
8948         * manual/libc.texinfo: Likewise.
8949         * nptl/version.c (banner): Likewise.
8950         * nscd/nscd.c (print_version): Likewise.
8951         * nss/getent.c (print_version): Likewise.
8952         * nss/makedb.c (print_version): Likewise.
8953         * posix/getconf.c (main): Likewise.
8954         * scripts/test-installation.pl: Likewise.
8955         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8957 2015-01-02  Will Newton  <will.newton@linaro.org>
8959         * sysdeps/arm/armv7/configure: Removed.
8960         * sysdeps/arm/armv7/configure.ac: Likewise.
8962 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8964         * All files with FSF copyright notices: Update copyright dates
8965         using scripts/update-copyrights.
8966         * intl/plural.c: Regenerated.
8967         * locale/programs/charmap-kw.h: Likewise.
8968         * locale/programs/locfile-kw.h: Likewise.
8970 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8972         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8974 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8976         [BZ #17748]
8977         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8978         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8979         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8980         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8981         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8982         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8983         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8984         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8985         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8986         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8987         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8988         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8989         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8990         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8991         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8992         libm_hidden_def.
8993         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8994         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8995         Likewise.
8996         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8997         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8998         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8999         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9000         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9001         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9002         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9003         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9004         __fegetenv instead of fegetenv.
9005         (libc_feholdsetround_noex_ctx): Likewise.
9007 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9009         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9010         (Elf_MIPS_ABIFlags_v0): New structure.
9011         (EF_MIPS_FP64): Define.
9012         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9013         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9014         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9015         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9016         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9017         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9018         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9019         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9020         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9021         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9022         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9023         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9024         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9025         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9026         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9027         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9028         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9029         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9030         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9031         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9032         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9033         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9034         field.
9035         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9036         EF_MIPS_FP64.
9037         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9038         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9039         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9040         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9041         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9042         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9043         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9044         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9045         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9046         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9047         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9048         record the current FP ABI extension.
9049         (mips-mode-switch): Define to show if kernel headers support mode
9050         switching.
9051         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9052         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9053         supported SYSV ABI version to 3.
9054         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9055         feature.
9057 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9058             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9060         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9061         path.
9062         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9064 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9066         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9067         __fegetround and redefine to call __fegetround.  Remove condition
9068         on [!__NO_MATH_INLINES].
9069         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9070         function.
9071         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9072         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9073         Remove macro.
9074         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9075         instead of <fenv_libc.h>.
9076         (__llrintl): Call fegetround instead of __fegetround.
9077         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9078         instead of <fenv_libc.h>.
9079         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9080         (__lrintl): Call fegetround instead of __fegetround.
9081         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9082         instead of <fenv_libc.h>.
9083         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9084         (__rintl): Call fegetround instead of __fegetround.
9086 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9088         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9089         arrays.
9091 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9093         [BZ #17775]
9094         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9095         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9096         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9098 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9100         * sysdeps/i386/tls-macros.h: Include <features.h>.
9101         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9102         (TLS_IE): Likewise.
9103         (TLS_LD): Likewise.
9104         (TLS_GD): Likewise.
9105         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9106         define for GCC >= 5.0.
9108 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9110         * math/test-fenv.c (test_single_exception, set_single_exc,
9111         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9112         feexcp_mask_test, feenable_test, fe_single_test): Add
9113         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9114         case where they are not used.
9115         * math/libm-test.inc: Likewise.
9116         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9117         unused in the absence of FP rounding/exception support.
9118         * stdio-common/tst-printf-round.c: Likewise.
9119         * stdlib/tst-strtod-round.c: Likewise.
9120         * stdlib/tst-strtod-underflow.c: Likewise.
9122 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9124         [BZ #17723]
9125         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9126         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9127         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9128         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9129         libm_hidden_weak.
9130         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9131         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9132         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9133         libm_hidden_def.
9134         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9135         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9136         libm_hidden_weak.
9137         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9138         Likewise.
9139         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9140         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9141         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9142         libm_hidden_weak.
9143         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9144         libm_hidden_def.
9145         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9146         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9147         (__feraiseexcept): Likewise.
9148         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9149         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9150         libm_hidden_weak.
9151         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9152         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9153         libm_hidden_def.
9154         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9155         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9156         Use libm_hidden_def.
9157         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9158         libm_hidden_def.
9159         (feraiseexcept): Define as weak not strong alias.  Use
9160         libm_hidden_weak.
9161         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9162         New inline function.  Factored out of ...
9163         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9164         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9165         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9166         feraiseexcept.
9167         * math/w_acos.c (__acos): Likewise.
9168         * math/w_asin.c (__asin): Likewise.
9169         * math/w_ilogb.c (__ilogb): Likewise.
9170         * math/w_j0.c (y0): Likewise.
9171         * math/w_j1.c (y1): Likewise.
9172         * math/w_jn.c (yn): Likewise.
9173         * math/w_log.c (__log): Likewise.
9174         * math/w_log10.c (__log10): Likewise.
9175         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9176         * sysdeps/aarch64/fpu/math_private.h
9177         (libc_feupdateenv_test_aarch64): Likewise.
9178         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9179         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9180         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9181         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9182         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9183         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9184         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9185         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9186         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9187         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9189 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9191         [BZ #17732]
9192         * io/test-utime.c (main): Replace %ld with %jd and cast to
9193         intmax_t.
9194         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9195         * nptl/tst-mutex5.c: Include <stdint.h>.
9196         (do_test): Replace %ld with %jd and cast to intmax_t.
9197         * posix/tst-regex.c (run_test): Likewise.
9198         (run_test_backwards): Likewise.
9199         * rt/tst-clock.c: Include <stdint.h>.
9200         (clock_test): Replace %ld with %jd and cast to intmax_t.
9201         * rt/tst-cpuclock1.c: Include <stdint.h>.
9202         (do_test): Replace %lu with %ju and cast to uintmax_t.
9203         * rt/tst-cpuclock2.c: Include <stdint.h>.
9204         (do_test): Replace %lu with %ju and cast to uintmax_t.
9205         * rt/tst-mqueue1.c: Include <stdint.h>.
9206         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9207         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9208         intmax_t.
9209         * rt/tst-mqueue4.c (do_test): Likewise.
9210         * rt/tst-timer4.c: Include <stdint.h>.
9211         (check_ts): Replace %ld with %jd and cast to intmax_t.
9212         (do_test): Likewise.
9213         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9214         and cast to intmax_t.
9215         * sysdeps/pthread/tst-timer.c (main): Likewise.
9216         * time/clocktest.c (main): Likewise.
9217         * time/tst-posixtz.c (do_test): Likewise.
9218         * timezone/tst-timezone.c (main): Likewise.
9220 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9221             H.J. Lu  <hongjiu.lu@intel.com>
9223         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9224         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9225         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9226         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9227         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9228         version if bit_Fast_Unaligned_Load is set.
9229         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9230         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9231         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9232         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9233         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9234         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9235         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9236         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9237         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9238         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9239         to 4.
9240         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9241         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9242         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9243         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9245 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9247         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9248         instead of #if to avoid a Wundef warning.
9249         * stdlib/tst-limits.c (do_test): Likewise.
9251         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9252         parallel other exception macros.
9253         (fegetenv): Convert from macro to extern inline so that it applies
9254         retroactively to inline functions already seen by the compiler.
9255         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9257         * posix/Makefile (before-compile): Use $(objpfx) for
9258         posix-conf-vars-def.h.
9260 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9262         * posix/getconf.c (main): Use size_t for type of I.
9263         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9264         NSPEC.
9266         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9267         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9268         * posix/posix-envs.def: Likewise.
9269         * sysdeps/posix/sysconf.c: Likewise.
9270         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9271         (specs): Remove array.
9272         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9273         array.
9275         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9276         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9277         (__sysconf): Use CONF_IS_* macros.
9279         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9280         ($(objpfx)posix-conf-vars-def.h): New target.
9281         * posix/posix-conf-vars.list: New file.
9282         * posix/posix-conf-vars.h: New file.
9283         * posix/confstr.c: Include posix-conf-vars.h.
9284         (confstr): Use CONF_IS_* macros.
9285         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9286         CONF_IS_* macros.
9287         * scripts/gen-posix-conf-vars.awk: New file.
9289 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9291         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9292         fegetround): Add no-op macros to avoid linknamespace issues.
9294         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9295         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9297         * sysdeps/unix/sysv/linux/tile/sysdep.h
9298         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9299         assembly-specific section to avoid a redefinition warning.
9301         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9302         long before casting to pointer to avoid a cast warning.
9304 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9306         * sysdeps/tile/tilegx/Implies: New file.
9308 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9310         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9312 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9314         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9316 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9318         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9319         not define.
9320         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9321         <kernel-features.h>.
9322         (__utimes) [__NR_utimes]: Make code unconditional.
9323         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9324         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9325         (__ASSUME_UTIMES): Do not undefine.
9326         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9327         (__ASSUME_UTIMES): Likewise.
9328         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9329         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9330         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9331         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9333 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9335         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9337 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9339         [BZ #17747]
9340         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9341         alias to weak alias for j0l, y0l.
9342         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9343         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9345         [BZ #17746]
9346         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9347         conversion.
9349 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9351         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9352         to zero if not already defined.
9354 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9356         [BZ #17724]
9357         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9358         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9359         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9360         (char *) casts added.
9361         * sysdeps/ieee754/k_standardf.c: New file.
9362         * sysdeps/ieee754/k_standardl.c: Likewise.
9363         * math/Makefile (libm-support): Remove k_standard.
9364         (libm-calls): Add k_standard.
9366 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9368         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9369         Optimize to avoid an unnecessary FPCR read.
9371 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9373         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9374         Optimize to reduce FPCR/FPSR accesses.
9376 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9378         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9379         Call libc_fetestexcept_aarch64.
9381 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9383         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9384         Call libc_fesetround_aarch64.
9386 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9388         [BZ #17733]
9389         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9390         (__bind): Do not define as weak alias.
9391         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9392         define.
9393         (__getsockname): Do not define as weak alias.
9395 2014-12-22  Will Newton  <will.newton@linaro.org>
9397         * manual/install.texi: Document that we require bison 2.7
9398         or above.
9399         * INSTALL: Regenerate.
9400         * configure.ac: Use AC_CHECK_PROG_VER instead of
9401         AC_PATH_PROG when checking for bison and check for
9402         version 2.7 or above.
9403         * configure: Regenerate.
9405 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9407         [BZ #17745]
9408         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9409         * sysdeps/tile/ffsll.c (ffsll): To here.
9411         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9413 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9415         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9416         if not defined.
9417         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9418         definition.
9419         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9420         hidden ___tls_get_addr.
9421         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9422         hidden __tls_get_addr.
9423         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9424         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9425         Likewise.
9427 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9429         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9430         _dl_init call.
9432 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9434         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9435         from "call _dl_init@PLT".
9436         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9438 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9440         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9441         guarantees.
9443 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9445         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9447 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9449         [BZ #17744]
9450         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9451         strnlen.
9453 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9455         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9456         of multu on MIPSr6.
9457         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9458         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9459         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9460         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9461         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9463 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9465         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9466         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9467         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9468         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9469         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9470         mips32r6/mips64r6.
9471         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9473 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9475         * string/strncat.c (STRNCAT): Simplify implementation.
9477 2014-12-19  David S. Miller  <davem@davemloft.net>
9479         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9480         access the quad as both a long double and as a series of 4 words.
9482         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9483         link_map->l_info array access.
9485 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9487         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9489         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9490         * math/atest-exp2.c (TIMEOUT): Likewise.
9491         * math/atest-sincos.c (TIMEOUT): Likewise.
9493 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9495         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9496         -Wno-error with -fno-builtin-lround.
9498 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9500         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9501         Contains futex constants and functions moved over from ...
9502         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9503         <lowlevellock-futex.h>.
9504         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9505         (lll_timedwait_tid): Add comments and parentheses around macro
9506         arguments.
9508 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9510         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9511         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9512         (__lll_private_flag): Remove.
9513         (lll_futex_wait): Likewise.
9514         (lll_futex_timed_wait): Likewise.
9515         (lll_futex_wake): Likewise.
9516         (lll_futex_requeue): Likewise.
9517         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9518         (__lll_timedwait_tid): Spell out argument names.
9519         (lll_timedwait_tid): Add comments and parentheses around macro
9520         arguments.
9521         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9522         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9524 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9526         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9527         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9528         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9529         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9530         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9531         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9532         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9533         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9534         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9535         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9536         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9537         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9538         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9539         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9540         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9541         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9542         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9543         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9544         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9546 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9548         * sysdeps/x86_64/x32/Makefile: New file.
9550 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9552         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9553         1L with (mp_limb_t) 1.
9555 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9557         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9558         * nptl/libc_pthread_init.c: ... here.
9559         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9560         * nptl/register-atfork.c: ... here.
9562         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9563         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9564         Use assert_perror to check its return value.
9565         (__gai_create_helper_thread): Likewise.
9567         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9569         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9571 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9573         [BZ #17725]
9574         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9575         __profil_counter.
9576         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9577         Likewise.
9578         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9579         Likewise.
9580         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9581         Likewise.
9582         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9583         (profil_counter): Likewise.
9584         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9585         (profil_counter): Likewise.
9586         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9587         Likewise.
9588         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9589         Likewise.
9590         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9591         (profil_counter): Likewise.
9592         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9593         Likewise.
9594         [!__profil_counter] (profil_counter): Define as weak alias of
9595         __profil_counter.
9596         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9597         (profil_counter): Rename to __profil_counter.
9598         [!__profil_counter] (profil_counter): Define as weak alias of
9599         __profil_counter.
9600         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9601         (profil_counter): Rename to __profil_counter.
9602         [!__profil_counter] (profil_counter): Define as weak alias of
9603         __profil_counter.
9604         * sysdeps/posix/profil.c: Update comment referring to
9605         profil_counter.
9606         (__profil): Use __profil_counter instead of profil_counter.
9607         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9608         __profil_counter.  Use __profil_counter_ushort and
9609         __profil_counter_uint in definitions.
9610         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9611         instead of profil_counter_uint and profil_counter_ushort.
9613         [BZ #17722]
9614         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9615         define as weak alias of __inet_makeaddr.
9616         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9617         as weak alias of __inet_addr.
9618         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9619         as weak alias of __inet_pton.  Use libc_hidden_weak.
9620         * include/arpa/inet.h (__inet_pton): Declare.  Use
9621         libc_hidden_proto.
9622         (inet_makeaddr): Don't use libc_hidden_proto.
9623         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9624         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9625         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9626         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9627         Remove variable.
9628         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9629         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9631 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9633         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9635 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9637         * stdio-common/bug-vfprintf-nargs.c (do_test):
9638         Cast value to intptr_t to avoid format warning
9639         for usage with PRIdPTR printing macro.
9641 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9643         * libio/tst-widetext.c (do_test):
9644         Use format type %td instead of %Zd for ptrdiff_t
9645         in order to avoid format warning.
9647 2014-12-17  Andreas Schwab  <schwab@suse.de>
9649         * nscd/mem.c (gc): Add size_t cast to match printf format.
9651 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9653         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9654         (init): Apply PTR_MANGLE to pointers before storing them.
9655         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9656         before using them.
9658 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9660         [BZ #17719]
9661         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9662         define as weak alias of __memrchr.
9663         (__memrchr): Do not define as strong alias of memrchr.
9664         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9665         Remove variable.
9666         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9667         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9668         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9670         [BZ #17717]
9671         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9672         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9673         (if_indextoname): Rename to __if_indextoname and define as weak
9674         alias of __if_indextoname.  Use libc_hidden_weak.
9675         (if_freenameindex): Rename to __if_freenameindex and define as
9676         weak alias of __if_freenameindex.
9677         (if_nameindex): Rename to __if_nameindex and define as weak alias
9678         of __if_nameindex.
9679         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9680         __if_nametoindex and define as weak alias of __if_nametoindex.
9681         Use libc_hidden_weak.
9682         (if_freenameindex): Rename to __if_freenameindex and define as
9683         weak alias of __if_freenameindex.
9684         (if_nameindex): Rename to __if_nameindex and define as weak alias
9685         of __if_nameindex.
9686         (if_indextoname): Rename to __if_indextoname and define as weak
9687         alias of __if_indextoname.  Use libc_hidden_weak.
9688         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9689         __if_nametoindex and define as weak alias of __if_nametoindex.
9690         Use libc_hidden_weak.
9691         (if_freenameindex): Rename to __if_freenameindex and define as
9692         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9693         (if_nameindex_netlink): Use __if_freenameindex instead of
9694         if_freenameindex.
9695         (if_nameindex): Rename to __if_nameindex and define as weak alias
9696         of __if_nameindex.  Use libc_hidden_weak.
9697         (if_indextoname): Rename to __if_indextoname and define as weak
9698         alias of __if_indextoname.  Use libc_hidden_weak.
9699         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9700         libc_hidden_proto.
9701         [!_ISOMAC] (__if_freenameindex): Likewise.
9702         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9703         if_nametoindex.
9704         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9705         variable.
9706         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9707         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9708         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9709         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9710         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9711         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9712         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9714         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9715         Remove variable.
9716         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9717         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9719 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9721         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9722         subscript above bounds'
9724         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9725         bounds.
9727 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9729         * libio/tst-fopenloc.c: Use test-skeleton.c.
9731         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9732         (entry): Rename to ITEM.
9733         (do_test, comp): Adjust.
9735         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9737 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9739         * string/tester.c: Include <libc-internal.h>.
9740         (test_memset): Ignore -Wmemset-transposed-args.
9742 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9744         * misc/tst-mntent2.c (do_test): Fix warning.
9746 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9748         * elf/tst-unique4lib.cc(a): Mark as used.
9750 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9752         [BZ #17630]
9753         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9754         names.
9756 2014-12-16  Allan McRae  <allan@archlinux.org>
9758         * stdio-common/Makefile (tests): Re-add bug26.
9760 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9762         [BZ #17657]
9763         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9764         static array.
9766 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9768         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9769         (__lll_lock_wait): Likewise.
9770         (__lll_timedlock_wait): Likewise.
9771         (__lll_timedwait_tid): Likewise.
9772         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9773         (__lll_robust_timedlock_wait): Likewise.
9774         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9775         (lll_cond_trylock): Likewise.
9776         (__lll_lock): Likewise.
9777         (__lll_robust_lock): Likewise.
9778         (__lll_cond_lock): Likewise.
9779         (lll_robust_cond_lock): Likewise.
9780         (__lll_timedlock): Likewise.
9781         (__lll_robust_timedlock): Likewise.
9782         (__lll_unlock): Likewise.
9783         (__lll_robust_unlock): Likewise.
9784         (lll_wait_tid): Likewise.
9785         (lll_timedwait_tid): Likewise.
9787 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9789         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9791 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9793         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9795 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9797         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9798         * stdio-common/tst-sprintf.c: Likewise.
9800 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9802         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9804 2014-12-15  Jeff Law  <law@redhat.com>
9806         [BZ #16617]
9807         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9808         on the heap.  (CVE-2012-3406)
9809         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9810         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9811         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9813 2014-12-15  Will Newton  <will.newton@linaro.org>
9815         * manual/install.texi: Bump required version of texinfo
9816         to 4.7 from 4.5.
9817         * INSTALL: Regenerated.
9818         * configure.ac: Check for makeinfo version 4.7 and above.
9819         * configure: Regenerated.
9821 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9823         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9824         PREFIX, string constant to insert between directory and name.
9825         * sysdeps/posix/shm_open.c: Update caller.
9826         * sysdeps/posix/shm_unlink.c: Likewise.
9827         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9828         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9829         (SEM_SHM_PREFIX): New macro.
9830         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9831         [$(have-thread-library) = no].
9832         * nptl/Makefile (libpthread-routines): Add shm-directory.
9833         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9834         * sysdeps/nptl/shm-directory.h: New file.
9835         * sysdeps/posix/shm-directory.c
9836         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9837         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9838         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9839         INTERNAL_SYSCALL.
9840         (__where_is_shmfs): Function removed.
9841         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9842         Variables removed.
9843         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9844         Use SHM_GET_NAME.
9845         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9847         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9848         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9849         unconditional for use inside libpthread.
9850         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9852 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9854         * nptl/pthread_getaffinity.c: New file.
9855         * nptl/pthread_setaffinity.c: New file.
9856         * nptl/pthread_getname.c: New file.
9857         * nptl/pthread_setname.c: New file.
9859         * nptl/pthread_create.c (START_THREAD_DEFN)
9860         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9862 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9863             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9865         * resolv/res_send.c (send_vc): Disable warning resplen may
9866         be used uninitialized.
9868 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9870         * nptl/tst-mutex6.c
9871         (ATTR_NULL): New define checks ATTR against NULL.
9872         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9873         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9875 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9877         [BZ #17581]
9878         * malloc/hooks.c
9879         (mem2mem_check): Revert my previous change.
9880         (malloc_check_get_size): Revert my previous change.
9881         (mem2chunk_check): Revert my previous change.
9883 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9885         * sysdeps/posix/shm-directory.c: New file.
9886         * sysdeps/posix/shm-directory.h: New file.
9887         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9888         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9889         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9890         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9891         Transmute EPERM to EACCES.
9892         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9893         from ...
9894         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9895         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9897 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9899         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9900         pointer and cast to uintptr_t.
9901         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9902         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9903         Add cast to avoid warning.
9904         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9906 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9908         * nptl/semaphore.h: Move to ...
9909         * sysdeps/pthread/semaphore.h: ... here.
9910         * Makefile (installed-headers): Change nptl/semaphore.h to
9911         sysdeps/pthread/semaphore.h.
9913 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9915         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9916         generated error format strings.
9918         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9919         -Wformat-extra-args warnings for scanf formats.
9920         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9921         test of zero-length format (duh).
9922         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9923         corner-case scanf format test.
9924         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9925         generated fprintf format string.
9926         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9927         corner-case sprintf format tests.
9928         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9929         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9930         -Wformat-extra-args warnings throughout.
9931         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9932         (CFLAGS-scanf4.c): Likewise.
9933         (CFLAGS-scanf7.c): Likewise.
9934         (CFLAGS-tst-sprintf.c): Likewise.
9935         (CFLAGS-tst-printf.c): Likewise.
9936         (CFLAGS-tst-printfsz.c): Likewise.
9938 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9940         * include/cpio.h: New file.
9941         * include/fmtmsg.h: Likewise.
9943         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9944         corresponding format argument to size_t.
9945         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9946         arguments.
9947         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9948         corresponding format argument to size_t.
9949         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9950         arguments.
9951         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9952         corresponding format argument to size_t.
9953         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9954         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9955         (CFLAGS-tst-mbswcs2.c): Likewise.
9956         (CFLAGS-tst-mbswcs3.c): Likewise.
9957         (CFLAGS-tst-mbswcs4.c): Likewise.
9958         (CFLAGS-tst-mbswcs5.c): Likewise.
9959         (CFLAGS-tst-trans.c): Likewise
9961 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9963         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9964         rather than assuming they won't contain any '%'s.
9966 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9968         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9969         inhibit_loop_to_libcall to avoid recursive calls.
9970         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9971         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9973 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9975         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9976         prototype.
9978 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9980         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9981         integer value instead of boolean.
9983 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9985         * malloc/malloc.c: Fix powerof2 check.
9987 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9989         * locale/programs/locfile.h (maybe_swap_uint32):
9990         Remove inline and add unused attribute.
9992 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9994         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9995         Truncating assembler expression to a .long expression.
9997 2014-12-11  Andreas Schwab  <schwab@suse.de>
9999         * elf/rtld.c (struct map_args): Constify str member.
10000         (do_preload): Constify fname argument.
10002 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10004         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10005         constants definition.
10007 2014-12-11  Andreas Schwab  <schwab@suse.de>
10009         [BZ #16657]
10010         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10011         FORCE_ELISION instead of DO_ELISION.
10012         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10013         Remove.
10014         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10015         Likewise.
10017         * iconvdata/gconv-modules: Remove duplicate entry.
10019 2014-12-11  Will Newton  <will.newton@linaro.org>
10021         Merge gettext 0.19.3 into intl/.
10023         This involves a number of cosmetic changes to comments
10024         and ANSI function definitions and prototypes throughout
10025         all the files. The gettext copyright header is used but
10026         with the date ranges taken from the glibc copy.
10028         * NEWS: Add gettext merge to 2.21.
10029         * intl/bindtextdom.c: Switch to gettext copyright.
10030         Use ANSI definitions and prototypes.
10031         Use gl_* locking primitives rather than __libc_* ones.
10032         Use __builtin_expect rather than __glibc_likely/unlikely.
10033         * intl/dcgettext.c: Switch to gettext copyright.
10034         Use ANSI definitions and prototypes.
10035         * intl/dcigettext.c: Switch to gettext copyright.
10036         Use ANSI definitions and prototypes.
10037         (INTDIV0_RAISES_SIGFPE): New define.
10038         Use gl_* locking primitives rather than __libc_* ones.
10039         Include eval-plural.h instead of plural-eval.c.
10040         Use __builtin_expect rather than __glibc_likely/unlikely.
10041         * intl/dcngettext.c: Switch to gettext copyright.
10042         Use ANSI definitions and prototypes.
10043         * intl/dgettext.c: Likewise.
10044         * intl/dngettext.c: Likewise.
10045         * intl/plural-eval.c: Renamed to...
10046         * intl/eval-plural.h: ...this.
10047         * intl/explodename.c: Switch to gettext copyright.
10048         Use ANSI definitions and prototypes.
10049         (_nl_explode_name): Use strchr instead of __rawmemchr.
10050         * intl/finddomain.c: Switch to gettext copyright.
10051         Use ANSI definitions and prototypes.
10052         Use gl_* locking primitives rather than __libc_* ones.
10053         (_nl_find_domain): Use malloc rather than alloca for
10054         allocation of temporary locale name.
10055         * intl/gettext.c: Switch to gettext copyright.
10056         Use ANSI definitions and prototypes.
10057         * intl/gettextP.h: Switch to gettext copyright.
10058         Use ANSI definitions and prototypes.
10059         Use gl_* locking primitives rather than __libc_* ones.
10060         * intl/gmo.h: Switch to gettext copyright.
10061         (struct sysdep_string): Move struct segment_pair outside of
10062         struct definition.
10063         * intl/hash-string.c: Use ANSI definitions and prototypes.
10064         * intl/hash-string.h: Switch to gettext copyright.
10065         Use ANSI definitions and prototypes.
10066         * intl/l10nflist.c: Switch to gettext copyright.
10067         Use ANSI definitions and prototypes.
10068         (_nl_normalize_codeset): Avoid integer overflow.
10069         * intl/loadinfo.h: Switch to gettext copyright.
10070         Use ANSI definitions and prototypes.
10071         (LIBINTL_DLL_EXPORTED): New define.
10072         (PATH_SEPARATOR): New define.
10073         * intl/loadmsgcat.c: Switch to gettext copyright.
10074         * intl/localealias.c: Switch to gettext copyright.
10075         Use ANSI definitions and prototypes.
10076         (_nl_expand_alias): Use PATH_SEPARATOR.
10077         * intl/ngettext.c: Switch to gettext copyright.
10078         Use ANSI definitions and prototypes.
10079         * intl/plural-exp.c: Likewise.
10080         * intl/plural-exp.h: Switch to gettext copyright.
10081         Use ANSI definitions and prototypes.
10082         (struct expression): Move definition of enum operator outside
10083         of struct definition.
10084         * intl/plural.c: Regenerate.
10085         * intl/plural.y: Switch to gettext copyright.
10086         Use ANSI definitions and prototypes.
10087         Port to bison 3.0.
10088         * intl/textdomain.c: Switch to gettext copyright.
10089         Use ANSI definitions and prototypes.
10090         Use gl_* locking primitives rather than __libc_* ones.
10092 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10094         * debug/warning-nop.c: Add used atrribute.
10096 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10098         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10100         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10101         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10102         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10104 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10105             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10107         [BZ #17634]
10108         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10109         Undefine after defining function.  Define as weak alias of
10110         __wcschr.  Use libc_hidden_weak.
10111         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10112         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10113         (libc_hidden_def): Also define __GI___wcschr alias.
10114         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10115         __wcschr and define as weak alias of __wcschr.
10116         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10117         __wcschr.
10118         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10119         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10120         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10121         libc_hidden_weak.  Do not use libc_hidden_def.
10122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10123         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10124         __GI___wcschr alias.
10125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10126         [IS_IN (libc)] (wcschr): Define as macro expanding to
10127         __redirect_wcschr.
10128         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10129         [IS_IN (libc)] (__wcschr_power6): Likewise.
10130         [IS_IN (libc)] (__wcschr_power7): Likewise.
10131         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10132         instead of wcschr.
10133         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10134         __libc_wcschr.
10135         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10136         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10137         __wcschr and define as weak alias of __wcschr.  Use
10138         libc_hidden_builtin_def.
10139         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10140         as weak alias of __wcschr.  Use libc_hidden_weak.
10141         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10142         wcschr.
10143         * time/era.c (_nl_init_era_entries): Likewise.
10144         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10145         variable.
10146         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10147         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10149 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10151         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10152         format for long int variable.
10154 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10156         [BZ #10672]
10157         * manual/search.texi: (Array Sort Function): Remove claim how to make
10158         qsort stable.
10160 2014-12-10  Andreas Schwab  <schwab@suse.de>
10162         [BZ #12847]
10163         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10164         user-controlled locks.
10166 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10168         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10169         register.
10171 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10173         * configure.ac (--disable-werror): New configure option.
10174         (enable_werror): New AC_SUBST.
10175         * configure: Regenerated.
10176         * config.make.in (enable-werror): New variable.
10177         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10178         -Wno-error=undef.
10179         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10180         * manual/install.texi (Configuring and compiling): Document
10181         --disable-werror.
10182         * INSTALL: Regenerated.
10183         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10184         (CFLAGS-tst-chk2.c): Likewise.
10185         (CFLAGS-tst-chk3.c): Likewise.
10186         (CFLAGS-tst-chk4.cc): Likewise.
10187         (CFLAGS-tst-chk5.cc): Likewise.
10188         (CFLAGS-tst-chk6.cc): Likewise.
10189         (CFLAGS-tst-lfschk1.c): Likewise.
10190         (CFLAGS-tst-lfschk2.c): Likewise.
10191         (CFLAGS-tst-lfschk3.c): Likewise.
10192         (CFLAGS-tst-lfschk4.cc): Likewise.
10193         (CFLAGS-tst-lfschk5.cc): Likewise.
10194         (CFLAGS-tst-lfschk6.cc): Likewise.
10196         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10197         (main): Disable -Wdeprecated-declarations around calls to
10198         register_printf_function.
10200         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10201         (do_test): Disable -Wdiv-by-zero around some calls to
10202         fwrite_unlocked and fread_unlocked.
10204         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10205         (DIAG_POP_NEEDS_COMMENT): Likewise.
10206         (_DIAG_STR1): Likewise.
10207         (_DIAG_STR): Likewise.
10208         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10209         * stdio-common/bug21.c: Include <libc-internal.h>.
10210         (do_test): Disable -Wformat around call to sscanf.
10211         * stdio-common/scanf14.c: Include <libc-internal.h>.
10212         (main): Disable -Wformat around some calls to scanf functions.
10214 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10216         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10218 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10220         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10221         stack variable alignment.
10223 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10225         [BZ #17682]
10226         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10227         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10228         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10229         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10230         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10231         __getrlimit instead of getrlimit.
10232         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10233         __gettimeofday instead of gettimeofday.
10234         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10235         Likewise.
10236         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10237         Likewise.
10238         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10239         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10240         Remove variable.
10241         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10242         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10244 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10246         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10247         for wide-character tests.
10249 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10251         * io/openat64.c: #include <libc-internal.h>
10252         (__openat64): Prototypify.  Use ignore_value on MODE.
10253         * io/openat.c: Likewise.
10254         * misc/reboot.c: #include <libc-internal.h>
10255         (reboot): Prototypify.  Use ignore_value on HOWTO.
10256         * misc/ptrace.c: #include <libc-internal.h>
10257         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10259 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10261         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10262         XPG4, UNIX98 and XOPEN2K.
10263         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10264         Remove variable.
10265         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10267 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10269         * libio/fileops.c: Use ISO C style for function definitions.
10270         * libio/iofopen.c: Likewise.
10271         * libio/wfileops.c: Likewise.
10273         [BZ #17653]
10274         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10275         offset on EOF.
10276         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10277         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10278         (fgets_func): Function pointer to fgets and fgetws.
10279         (do_ftell_test): Add test to verify ftell value after read
10280         EOF.
10281         (do_test): Set fgets_func.
10283         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10284         O_TRUNC flag for w and w+ modes.
10285         (do_rewind_test): Likewise.
10286         (do_ftell_test): Likewise.
10287         (do_write_test): Likewise.
10289         [BZ #17647]
10290         * libio/fileops.c (do_ftell): Seek only when there are
10291         unflushed writes.
10292         * libio/wfileops.c (do_ftell_wide): Likewise.
10293         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10294         test case.
10295         (do_one_test): Call it.
10297 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10299         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10300         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10301         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10302         Remove variable.
10303         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10304         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10305         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10307 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10309         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10310         Remove variable.
10311         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10313         [BZ #17668]
10314         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10315         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10316         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10317         __freeifaddrs.  Use libc_hidden_weak.
10318         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10319         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10320         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10321         __freeifaddrs.  Use libc_hidden_weak.
10322         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10323         __getifaddrs and define as weak alias of __getifaddrs.  Use
10324         libc_hidden_weak.
10325         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10326         __freeifaddrs.  Use libc_hidden_weak.
10327         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10328         Remove variable.
10329         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10330         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10332 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10334         [BZ #17601]
10335         * sysdeps/mips/start.S (__start): Use indirect jump to call
10336         __libc_start_main.
10338 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10340         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10342         * nptl/tst-mutex1.c: Include <stdbool.h>.
10343         [!ATTR] (ATTR_NULL): New macro.
10344         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10345         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10346         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10348         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10349         to char *.
10351         [BZ #17665]
10352         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10353         Change conditional to [__USE_MISC].
10355         [BZ #17664]
10356         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10357         fgets_unlocked.
10358         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10359         __fgets_unlocked.
10360         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10361         fgets_unlocked.
10362         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10363         Remove variable.
10364         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10365         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10366         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10367         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10368         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10369         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10370         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10371         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10372         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10374         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10376 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10378         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10379         Remove strpbrk objects.
10380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10381         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10382         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10383         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10384         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10385         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10387         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10388         Remove strcspn objects.
10389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10390         (__libc_ifunc_impl_list): Remove strcspn implementation.
10391         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10392         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10393         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10394         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10396         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10397         Remove strspn objetcs.
10398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10399         (__libc_ifunc_impl_list): Remove strspn implementation.
10400         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10401         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10402         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10403         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10405 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10407         [BZ #17581]
10408         * malloc/hooks.c
10409         (mem2mem_check): Add a terminator to the chain of checking blocks.
10410         (malloc_check_get_size): Use it here.
10411         (mem2chunk_check): Ditto.
10413 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10415         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10416         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10418 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10420         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10422         * nptl/nptl-init.c: Include libc-internal.h.
10423         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10425         * elf/ldconfig.c (search_dir): Expand comment.
10427 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10429         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10430         variable.
10431         (linknamespace-symlist-stdlibs-tests): Likewise.
10432         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10433         instead of $(objpfx)symlist-stdlibs.
10434         (linknamespace-libs-isoc): New variable.
10435         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10436         (linknamespace-libs-ISO): New variable.
10437         (linknamespace-libs-ISO99): Likewise.
10438         (linknamespace-libs-ISO11): Likewise.
10439         (linknamespace-libs-XPG3): Likewise.
10440         (linknamespace-libs-XPG4): Likewise.
10441         (linknamespace-libs-POSIX): Likewise.
10442         (linknamespace-libs-UNIX98): Likewise.
10443         (linknamespace-libs-XOPEN2K): Likewise.
10444         (linknamespace-libs-POSIX2008): Likewise.
10445         (linknamespace-libs-XOPEN2K8): Likewise.
10446         ($(objpfx)symlist-stdlibs): Replace by
10447         $(linknamespace-symlist-stdlibs-tests).  Use
10448         $(linknamespace-libs-$*) as set of libraries.
10449         ($(linknamespace-header-tests)): Update dependencies.  Use
10450         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10451         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10452         * conform/linknamespace.pl: Remove comment about considering
10453         definitions of symbols from irrelevant libraries.
10455 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10457         [BZ #13862]
10458         * elf/dl-tls.c: Include <atomic.h>.
10459         (oom): Remove #ifdef SHARED/#endif.
10460         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10461         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10462         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10463         big enough.
10464         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10465         * nptl/Makefile (tests): Add tst-stack4.
10466         (modules-names): Add tst-stack4mod.
10467         ($(objpfx)tst-stack4): New.
10468         (tst-stack4mod.sos): Likewise.
10469         ($(objpfx)tst-stack4.out): Likewise.
10470         ($(tst-stack4mod.sos)): Likewise.
10471         (clean): Likewise.
10472         * nptl/tst-stack4.c: New file.
10473         * nptl/tst-stack4mod.c: Likewise.
10475 2014-11-27  J. Brown  <jb999@gmx.de>
10477         * sysdeps/x86/bits/string.h: Add recent CPUs.
10479 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10481         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10482         sigblock.
10484         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10485         feof.
10487         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10488         variable.
10490 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10492         * nscd/connections.c: Include libc-internal.h because of macro
10493         usage ignore_value.
10495 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10497         * string/bits/string3.h (__warn_memset_zero_len): Don't
10498         declare for gcc newer than 5.0.
10499         (memset): Don't test for zero-length __LEN for gcc newer than
10500         5.0.
10502 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10504         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10505         size_t for %zu format.
10507         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10508         difference, not %ju.
10510 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10512         * include/libc-internal.h (ignore_value): New macro.
10513         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10514         with ignore_value.
10516         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10517         definition.
10519         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10520         pthread_cleanup_push to void *.
10522         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10523         Undefine.
10525         [BZ #16619]
10526         [BZ #16740]
10527         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10528         instead of 1L << 52.
10530         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10531         * libio/bug-rewind2.c (do_test): Likewise.
10533         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10534         * debug/test-strcpy_chk-ifunc.c: Likewise.
10535         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10536         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10537         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10538         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10539         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10540         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10541         * Rules [$(multi-arch) = no] (tests): Do not filter out
10542         $(tests-ifunc).
10543         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10544         * debug/Makefile (tests-ifunc): Remove variable.
10545         (tests): Do not add $(tests-ifunc).
10546         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10547         (tests): Do not add $(tests-ifunc).
10548         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10549         [TEST_IFUNC]: Remove conditionals.
10550         * string/test-string.h (TEST_IFUNC): Remove macro.
10551         [TEST_IFUNC]: Remove conditionals.
10553         * string/test-strchr.c [!WIDE] (L): New macro.
10554         [WIDE] (L): Likewise.
10555         (check1): Use CHAR instead of char.  Use L on string and character
10556         constants.
10558 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10560         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10561         tests.
10562         * sysdeps/powerpc/bits/atomic.h
10563         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10564         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10565         (atomic_exchange_and_add_acq): Likewise.
10566         (atomic_exchange_and_add_rel): Likewise.
10567         * sysdeps/powerpc/powerpc32/bits/atomic.h
10568         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10569         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10570         * sysdeps/powerpc/powerpc64/bits/atomic.h
10571         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10572         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10574 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10576         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10577         Change synchronization of __sched_fifo_min_prio and
10578         __sched_fifo_max_prio.
10579         * nptl/pthread_mutexattr_getprioceiling.c
10580         (pthread_mutexattr_getprioceiling): Likewise.
10581         * nptl/pthread_mutexattr_setprioceiling.c
10582         (pthread_mutexattr_setprioceiling): Likewise.
10583         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10584         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10585         Likewise.
10587 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10589         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10590         void.
10592 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10594         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10595         third argument const.
10597 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10599         fnmatch: work around GCC compiler warning bug with uninit var
10600         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10601         This works around a bug with x86-64 GCC 4.9.2 and earlier
10602         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10603         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10604         used uninitialized in this function [-Wmaybe-uninitialized]".
10606 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10608         * posix/bug-regex31.c (main): Return RES not 0.
10610 2014-11-25  Anton Blanchard <anton@samba.org>
10612         * sysdeps/powerpc/bits/atomic.h
10613         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10615 2014-11-24  Sterling Augustine  <saugustine@google.com>
10617         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10619 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10621         [BZ #17608]
10622         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10624 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10626         [BZ #17633]
10627         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10628         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10629         variable.
10630         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10631         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10633 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10635         * string/strncpy.c (strncpy): Improve performance by using memset.
10637 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10639         * string/strcpy.c (strcpy):
10640         Improve performance by using strlen and memcpy.
10642 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10644         * string/strcoll_l.c (get_next_seq): __always_inline.
10645         * string/strcoll_l.c (do_compare): __always_inline.
10647 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10649         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10650         defined.
10651         * include/mqueue.h: Likewise.
10652         * include/stdlib.h: Likewise.
10654         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10655         (get_null_defines): Adjust.
10656         * sunrpc/Makefile: Adjust comment.
10657         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10658         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10659         (CFLAGS-interp.c): Likewise.
10660         (CFLAGS-ldconfig.c): Likewise.
10661         (CPPFLAGS-.os): Likewise.
10662         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10663         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10664         * extra-modules.mk (extra-modules.mk): Likewise.
10665         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10666         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10667         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10668         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10669         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10670         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10671         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10672         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10673         * iconvdata/Makefile (CPPFLAGS): Likewise.
10674         (cpp-srcs-left): Add libof for all iconvdata routines.
10675         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10676         * include/assert.h: Likewise.
10677         * include/ctype.h: Likewise.
10678         * include/errno.h: Likewise.
10679         * include/libc-symbols.h: Likewise.
10680         * include/math.h: Likewise.
10681         * include/netdb.h: Likewise.
10682         * include/resolv.h: Likewise.
10683         * include/stdio.h: Likewise.
10684         * include/stdlib.h: Likewise.
10685         * include/string.h: Likewise.
10686         * include/sys/stat.h: Likewise.
10687         * include/wctype.h: Likewise.
10688         * intl/l10nflist.c: Likewise.
10689         * libidn/idn-stub.c: Likewise.
10690         * libio/libioP.h: Likewise.
10691         * nptl/libc_multiple_threads.c: Likewise.
10692         * nptl/pthreadP.h: Likewise.
10693         * posix/regex_internal.h: Likewise.
10694         * resolv/res_hconf.c: Likewise.
10695         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10696         * sysdeps/arm/memmove.S: Likewise.
10697         * sysdeps/arm/sysdep.h: Likewise.
10698         * sysdeps/generic/_itoa.h: Likewise.
10699         * sysdeps/generic/symbol-hacks.h: Likewise.
10700         * sysdeps/gnu/errlist.awk: Likewise.
10701         * sysdeps/gnu/errlist.c: Likewise.
10702         * sysdeps/i386/i586/memcpy.S: Likewise.
10703         * sysdeps/i386/i586/memset.S: Likewise.
10704         * sysdeps/i386/i686/memcpy.S: Likewise.
10705         * sysdeps/i386/i686/memmove.S: Likewise.
10706         * sysdeps/i386/i686/mempcpy.S: Likewise.
10707         * sysdeps/i386/i686/memset.S: Likewise.
10708         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10709         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10710         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10711         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10712         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10713         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10714         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10715         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10716         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10717         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10718         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10719         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10720         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10721         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10722         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10723         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10724         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10725         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10726         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10727         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10728         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10729         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10730         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10731         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10732         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10733         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10734         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10735         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10736         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10737         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10738         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10739         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10740         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10741         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10742         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10743         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10744         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10745         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10746         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10747         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10748         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10749         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10750         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10751         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10752         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10753         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10754         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10755         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10756         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10757         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10758         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10759         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10760         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10761         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10762         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10763         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10764         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10765         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10766         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10767         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10768         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10769         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10770         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10771         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10772         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10773         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10774         * sysdeps/posix/closedir.c: Likewise.
10775         * sysdeps/posix/opendir.c: Likewise.
10776         * sysdeps/posix/readdir.c: Likewise.
10777         * sysdeps/posix/rewinddir.c: Likewise.
10778         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10779         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10780         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10781         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10782         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10783         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10784         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10785         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10786         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10787         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10788         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10789         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10790         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10791         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10792         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10793         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10794         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10795         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10796         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10797         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10798         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10799         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10800         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10801         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10802         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10803         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10804         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10805         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10806         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10809         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10813         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10814         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10815         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10816         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10817         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10818         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10819         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10820         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10821         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10822         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10823         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10824         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10825         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10826         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10827         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10828         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10829         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10830         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10831         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10832         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10833         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10834         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10835         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10836         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10837         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10838         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10839         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10840         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10841         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10842         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10843         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10844         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10845         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10846         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10847         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10848         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10849         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10850         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10851         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10852         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10853         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10854         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10855         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10856         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10857         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10858         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10859         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10860         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10861         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10862         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10863         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10864         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10865         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10866         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10867         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10868         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10869         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10870         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10871         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10872         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10873         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10874         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10875         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10876         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10877         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10878         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10879         * sysdeps/unix/alpha/sysdep.S: Likewise.
10880         * sysdeps/unix/alpha/sysdep.h: Likewise.
10881         * sysdeps/unix/make-syscalls.sh: Likewise.
10882         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10883         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10884         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10885         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10886         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10887         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10888         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10889         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10890         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10891         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10892         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10893         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10894         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10895         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10896         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10897         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10898         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10899         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10900         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10901         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10902         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10903         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10904         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10905         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10906         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10907         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10908         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10911         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10912         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10913         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10914         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10915         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10916         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10917         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10918         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10920         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10921         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10922         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10923         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10924         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10925         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10926         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10927         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10928         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10929         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10930         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10931         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10932         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10933         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10934         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10935         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10936         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10937         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10938         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10939         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10940         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10941         * sysdeps/x86_64/memcpy.S: Likewise.
10942         * sysdeps/x86_64/memmove.c: Likewise.
10943         * sysdeps/x86_64/memset.S: Likewise.
10944         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10945         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10946         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10947         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10948         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10949         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10950         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10951         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10952         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10953         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10954         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10955         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10956         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10957         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10958         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10959         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10960         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10961         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10962         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10963         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10964         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10965         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10966         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10967         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10968         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10969         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10970         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10971         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10972         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10973         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10974         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10975         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10976         * sysdeps/x86_64/strcmp.S: Likewise.
10978         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10980         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10981         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10982         * elf/rtld-Rules: Likewise.
10983         * elf/setup-vdso.h: Likewise.
10984         * include/assert.h: Likewise.
10985         * include/bits/stdlib-float.h: Likewise.
10986         * include/errno.h: Likewise.
10987         * include/sys/stat.h: Likewise.
10988         * include/unistd.h: Likewise.
10989         * sysdeps/aarch64/setjmp.S: Likewise.
10990         * sysdeps/alpha/setjmp.S: Likewise.
10991         * sysdeps/arm/__longjmp.S: Likewise.
10992         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10993         * sysdeps/arm/setjmp.S: Likewise.
10994         * sysdeps/arm/sysdep.h: Likewise.
10995         * sysdeps/generic/_itoa.h: Likewise.
10996         * sysdeps/generic/dl-sysdep.h: Likewise.
10997         * sysdeps/generic/ldsodefs.h: Likewise.
10998         * sysdeps/i386/dl-tls.h: Likewise.
10999         * sysdeps/i386/setjmp.S: Likewise.
11000         * sysdeps/m68k/setjmp.c: Likewise.
11001         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11002         * sysdeps/mach/hurd/opendir.c: Likewise.
11003         * sysdeps/posix/getcwd.c: Likewise.
11004         * sysdeps/posix/opendir.c: Likewise.
11005         * sysdeps/posix/profil.c: Likewise.
11006         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11007         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11008         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11009         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11010         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11011         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11012         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11013         * sysdeps/s390/dl-tls.h: Likewise.
11014         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11015         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11016         * sysdeps/sh/sh3/setjmp.S: Likewise.
11017         * sysdeps/sh/sh4/setjmp.S: Likewise.
11018         * sysdeps/unix/alpha/sysdep.h: Likewise.
11019         * sysdeps/unix/arm/sysdep.S: Likewise.
11020         * sysdeps/unix/i386/sysdep.S: Likewise.
11021         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11022         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11023         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11024         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11025         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11026         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11027         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11028         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11029         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11030         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11031         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11032         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11033         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11036         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11037         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11038         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11039         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11040         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11041         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11043         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11044         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11045         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11046         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11047         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11048         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11049         * sysdeps/x86_64/setjmp.S: Likewise.
11051         * include/math.h: Use IS_IN instead of IS_IN_libm.
11052         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11053         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11054         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11055         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11056         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11057         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11058         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11059         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11060         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11061         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11062         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11063         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11064         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11065         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11066         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11067         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11068         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11069         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11070         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11071         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11072         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11073         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11074         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11075         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11076         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11077         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11078         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11079         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11080         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11081         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11082         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11083         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11084         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11086         Likewise.
11087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11088         Likewise.
11089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11090         Likewise.
11091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11092         Likewise.
11093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11094         Likewise.
11095         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11096         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11097         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11098         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11099         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11100         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11106         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11107         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11108         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11109         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11110         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11111         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11112         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11113         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11114         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11115         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11116         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11117         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11118         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11119         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11121         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11123         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11124         * nptl/pthreadP.h: Likewise.
11125         * nptl_db/structs.def: Likewise.
11126         * sysdeps/arm/sysdep.h: Likewise.
11127         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11128         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11129         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11130         * sysdeps/unix/alpha/sysdep.h: Likewise.
11131         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11133         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11134         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11135         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11136         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11137         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11138         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11139         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11140         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11141         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11142         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11143         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11144         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11147         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11148         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11149         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11150         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11151         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11152         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11153         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11154         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11155         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11156         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11158         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11159         * nptl/pthreadP.h: Likewise.
11160         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11161         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11162         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11163         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11164         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11165         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11166         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11167         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11168         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11169         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11170         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11171         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11173         Likewise.
11174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11175         Likewise.
11176         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11177         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11178         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11179         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11180         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11181         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11182         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11183         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11185         * dlfcn/dladdr.c: Use IS_IN.
11186         * dlfcn/dladdr1.c: Likewise.
11187         * dlfcn/dlclose.c: Likewise.
11188         * dlfcn/dlerror.c: Likewise.
11189         * dlfcn/dlinfo.c: Likewise.
11190         * dlfcn/dlmopen.c: Likewise.
11191         * dlfcn/dlopen.c: Likewise.
11192         * dlfcn/dlsym.c: Likewise.
11193         * dlfcn/dlvsym.c: Likewise.
11195         * include/ifaddrs.h: Use IS_IN.
11196         * inet/check_pf.c: Likewise.
11197         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11198         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11200         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11201         IS_IN_ldconfig.
11202         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11203         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11205         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11206         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11207         IS_IN (libc).
11209         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11211         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11212         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11213         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11214         * include/libc-symbols.h (IS_IN_LIB): New macro.
11215         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11216         * include/netdb.h: Likewise.
11217         * include/stap-probe.h: Remove all uses of IN_LIB.
11219         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11220         instead of IN_MODULE.
11221         * include/libc-symbols.h (IN_MODULE): Define using
11222         MODULE_NAME.
11223         (PASTE_NAME, PASTE_NAME1): New macros.
11224         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11225         of IN_LIB.
11226         (STAP_PROBE_ASM): Likewise.
11228 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11230         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11231         __mach_init in dlopened libc.
11233 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11235         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11236         * sysdeps/arm/preconfigure: Regenerate.
11238 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11240         * nptl/pthread_create.c (__pthread_create_2_1): Set
11241         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11242         when copying values from IATTR into PD.
11244 2014-11-21  Will Newton  <will.newton@linaro.org>
11245             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11247         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11248         Refactor inline-asm.  Also add comment.
11250         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11251         ElfW macro instead of hardcoded Elf64 types.
11252         (la_aarch64_gnu_pltenter): Likewise.
11253         * sysdeps/aarch64/dl-machine.h
11254         (elf_machine_runtime_setup): Use ElfW(Addr).
11256         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11257         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11258         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11259         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11260         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11261         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11262         (R_AARCH64_TLS_DTPMOD): This.
11263         (R_AARCH64_TLS_DTPREL64): Rename to ...
11264         (R_AARCH64_TLS_DTPREL): This.
11265         (R_AARCH64_TLS_TPREL64): Rename to ...
11266         (R_AARCH64_TLS_TPREL): This.
11267         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11268         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11269         R_AARCH64_TLS_TPREL64.
11270         (elf_machine_rela): Likewise.
11272 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11274         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11275         by setting it to 0.  64b atomics are not supported currently.
11277 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11279         [BZ #16469]
11280         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11281         search domain names.
11283 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11285         [BZ #16469]
11286         * NEWS: Update.
11287         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11288         trailing dot.
11289         * posix/tst-getaddrinfo5.c: New.
11290         * posix/Makefile (tests): Add it.
11292 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11294         [BZ #14498]
11295         * NEWS: Fixed.
11296         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11297         after parsing line but before break_if_match.
11298         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11299         if there is a protocol mismatch.
11301 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11303         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11304         because the potential race is on the user-supplied stream.
11306 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11308         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11309         string literal if not passed a buffer.
11310         * manual/job.texi (ctermid): Update reasoning, note deviation
11311         from posix, suggest mtasurace when not passed a buffer, for
11312         future non-preliminary safety notes.
11314 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11316         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11317         of not passing it a buffer.
11318         Reported by Peng Haitao.
11320 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11322         * manual/Makefile ($(objpfx)stamp-summary): Require
11323         check-safety.sh to pass.
11324         * manual/check-safety.sh: Wish for verification that every
11325         @deftypefn and @deftypefun is followed by a @safety remark.
11327 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11329         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11331         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11332         PTHREAD_CANCEL_ASYNCHRONOUS.
11333         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11334         send SIGCANCEL.
11336         * nptl/default-sched.h: New file.
11337         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11338         * nptl/pthread_create.c: Include it.
11339         (__pthread_create_2_1): Use collect_default_sched instead of making
11340         Linux syscalls here directly.
11342 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11344         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11345         __pthread_once): Use C11 atomics.
11347 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11349         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11351 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11353         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11354         atomic_thread_fence_acquire, atomic_thread_fence_release,
11355         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11356         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11357         atomic_compare_exchange_weak_relaxed,
11358         atomic_compare_exchange_weak_acquire,
11359         atomic_compare_exchange_weak_release,
11360         atomic_exchange_acquire, atomic_exchange_release,
11361         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11362         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11363         atomic_fetch_and_acquire,
11364         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11366 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11368         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11369         USE_ATOMIC_COMPILER_BUILTINS): Define.
11370         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11371         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11372         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11373         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11374         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11375         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11376         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11377         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11378         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11379         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11380         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11381         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11382         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11383         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11384         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11385         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11386         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11387         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11388         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11389         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11390         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11391         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11392         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11393         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11394         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11395         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11396         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11397         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11398         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11399         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11400         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11401         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11402         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11403         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11404         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11405         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11406         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11407         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11408         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11409         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11411 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11413         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11414         the sched_priority value here.  It was already checked when the user
11415         called pthread_attr_setschedparam.
11417         * nptl/tst-bad-schedattr.c: New file.
11418         * nptl/Makefile (tests): Add it.
11420 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11421             Florian Weimer  <fweimer@redhat.com>
11422             Joseph Myers  <joseph@codesourcery.com>
11423             Adam Conrad  <adconrad@0c3.net>
11424             Andreas Schwab  <schwab@suse.de>
11425             Brooks  <bmoses@google.com>
11427         [BZ #17625]
11428         * wordexp-test.c (__dso_handle): Add prototype.
11429         (__register_atfork): Likewise.
11430         (__app_register_atfork): New function.
11431         (registered_forks): New global.
11432         (register_fork): New function.
11433         (test_case): Add 3 new tests for WRDE_CMDSUB.
11434         (main): Call __app_register_atfork.
11435         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11436         fork count is non-zero fail the test.
11437         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11438         is set.
11439         (parse_dollars): Remove check for WRDE_NOCMD.
11440         (parse_dquote): Likewise.
11442 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11444         * Makeconfig (built-modules): List non-library modules to be
11445         built.
11446         (module-cppflags): Include libc-modules.h for
11447         everything except shlib-versions.v.i.
11448         (CPPFLAGS): Use it.
11449         (before-compile): Add libc-modules.h.
11450         ($(common-objpfx)libc-modules.h,
11451         $(common-objpfx)libc-modules.stmp): New targets.
11452         (common-generated): Add libc-modules.h and libc-modules.stmp.
11453         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11454         * include/libc-symbols.h: Don't include libc-modules.h.
11455         * include/libc-modules.h: Remove file.
11456         * scripts/gen-libc-modules.awk: New script to generate
11457         libc-modules.h.
11458         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11459         Depend on libc-modules.stmp.
11461         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11463         * Makeconfig (in-module): Get value of libof set for the
11464         translation unit.
11465         (CPPFLAGS): Use $(in-module).
11466         * Makerules: Don't suffix routine names for nonlib.
11467         * include/libc-modules.h: New file.
11468         * include/libc-symbols.h: Include libc-modules.h
11469         (IS_IN): New macro to replace IS_IN_* macros.
11470         * elf/Makefile: Set libof-* for each routine.
11471         * elf/rtld-Rules: Likewise.
11472         * extra-modules.mk: Likewise.
11473         * iconv/Makefile: Likewise.
11474         * iconvdata/Makefile: Likewise.
11475         * locale/Makefile: Likewise.
11476         * malloc/Makefile: Likewise.
11477         * nss/Makefile: Likewise.
11478         * sysdeps/gnu/Makefile: Likewise.
11479         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11480         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11481         * sysdeps/s390/s390-64/Makefile: Likewise.
11482         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11483         CPPFLAGS for nscd instead of nonlib.
11485 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11487         * nptl/createthread.c: New file.
11489         * nptl/createthread.c: Moved ...
11490         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11492         * nptl/createthread.c: Add proper top-line comment.
11493         (do_clone): Folded into ...
11494         (create_thread): ... here.  Take new arguments STOPPED_START and
11495         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11496         increment __nptl_threads, do event-reporting logic, do
11497         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11498         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11499         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11500         just send SIGCANCEL.
11501         * nptl/pthread_create.c: Forward-declare create_thread before
11502         including createthread.c.
11503         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11504         declaration, and new macro START_THREAD_SELF to replace argument.
11505         Remove return statement.
11506         (report_thread_creation): New function.
11507         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11508         synchronization logic, and __nptl_nthreads increment here, around
11509         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11510         PD->parent_cancelhandling here, before create_thread.  When
11511         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11512         __deallocate_stack, and ENOMEM translation here.
11514 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11516         [BZ #17616]
11517         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11518         (mptwo): Rename to __mptwo.
11519         (__inv): Use __mptwo instead of mptwo.
11520         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11521         (mptwo): Rename to __mptwo.
11522         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11523         of mpone and __mptwo instead of mptwo.
11524         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11525         instead of mpone.
11526         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11527         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11528         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11529         of mpone and __mptwo instead of mptwo.
11530         (__mpranred): Use __mpone instead of mpone.
11531         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11532         variable.
11533         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11534         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11535         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11536         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11537         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11538         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11539         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11540         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11541         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11542         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11543         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11544         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11545         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11546         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11547         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11548         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11549         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11550         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11551         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11553 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11555         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11556         replace BSD Handler xref with BSD Signal Handling.
11558 2014-11-17  Richard Henderson  <rth@redhat.com>
11560         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11561         (_FP_PACK_RAW_2): Remove.
11562         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11563         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11564         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11565         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11566         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11567         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11568         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11569         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11570         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11571         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11572         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11573         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11574         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11575         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11576         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11577         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11579 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11581         * signal/signal.h [__USE_MISC]
11582         (struct sigvec): Remove type.
11583         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11584         (sigvec): Remove declaration.
11585         * sysdeps/posix/sigvec.c: Moved ...
11586         * signal/sigvec.c: ... here, replacing old file.
11587         (struct sigvec): New type, copied from old signal.h definition.
11588         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11589         (__sigvec): Convert definition to prototype.
11590         (sigvec): Replace weak_alias with compat_symbol.
11591         * signal/Versions (libc: GLIBC_2.21): New version set.
11592         * include/signal.h: Remove __sigvec declaration.
11593         * sysdeps/unix/bsd/sigvec.c: Remove file.
11594         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11595         * manual/signal.texi (BSD Handler): Remove subsection.
11596         Move siginterrupt up to ...
11597         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11598         (Blocking in BSD): Fold subsection into its parent.
11599         * NEWS: Mention sigvec removal.
11601 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11603         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11604         (DLA_FMS): Make definition conditional only on [__FMA4__].
11605         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11606         definition.
11608         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11609         Make definition conditional only on [PROF].
11610         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11611         definition.
11612         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11613         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11615         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11616         !__GNUC__].
11617         * include/signal.h (__sigpause): Move declaration above call to
11618         libc_hidden_proto.
11619         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11620         variable.
11621         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11622         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11624 2014-11-14  David S. Miller  <davem@davemloft.net>
11626         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11627         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11629 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11631         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11632         * configure: Regenerated.
11633         * manual/install.texi (Tools for Compilation): Document a
11634         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11635         compiler verified to work.
11636         * INSTALL: Regenerated.
11638         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11639         redeclare with asm name.
11640         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11641         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11642         including <string.h>.
11643         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11644         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11645         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11646         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11647         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11648         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11649         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11651 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11653         * stdlib/strtol.c (__strtol): Use prototype definition.
11655         [BZ #17594]
11656         * stdlib/strtol.c (SYM__): New macro.
11657         (SYM__1): Likewise.
11658         (__strtol): Likewise.
11659         (strtol): Rename to __strtol and define as weak alias of
11660         __strtol.  Use libc_hidden_weak.
11662 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11664         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11665         Use numbered labels in inline assembly.
11667 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11669         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11670         Add setjmp LIBC_PROBE.
11671         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11672         Likewise.
11673         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11674         Add longjmp, longjmp_target LIBC_PROBE.
11675         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11676         Likewise.
11678 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11680         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11681         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11682         to get rid of unused variable warning.
11684 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11686         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11687         Check for unwind_backtrace ==  NULL only in SHARED case.
11688         (__backchain_backtrace): Compile only in SHARED case.
11689         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11690         Likewise.
11691         (__backchain_backtrace): Declare as static.
11693 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11695         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11696         (__libc_multiple_threads_ptr): Variable moved ...
11697         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11699 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11701         * conform/GlibcConform.pm: New file.
11702         * conform/conformtest.pl: Use GlibcConform module.
11703         * conform/linknamespace.pl: New file.
11704         * conform/list-header-symbols.pl: Likewise.
11705         * conform/Makefile (linknamespace-symlists-base): New variable.
11706         (linknamespace-symlists-tests): Likewise.
11707         (linknamespace-header-base): Likewise.
11708         (linknamespace-header-tests): Likewise.
11709         (tests-special): Add new tests.
11710         ($(linknamespace-symlists-tests)): New rule.
11711         (linknamespace-libs): New variable.
11712         ($(objpfx)symlist-stdlibs): New rule.
11713         ($(linknamespace-header-tests)): Likewise.
11714         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11715         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11716         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11717         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11718         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11719         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11720         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11721         (test-xfail-ISO/math.h/linknamespace): Likewise.
11722         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11723         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11724         (test-xfail-ISO/time.h/linknamespace): Likewise.
11725         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11726         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11727         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11728         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11729         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11730         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11731         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11732         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11733         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11734         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11735         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11736         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11737         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11738         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11739         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11740         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11741         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11742         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11743         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11744         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11745         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11746         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11747         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11748         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11749         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11750         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11751         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11752         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11753         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11754         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11755         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11756         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11757         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11758         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11759         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11760         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11761         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11762         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11763         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11764         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11765         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11766         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11767         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11768         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11769         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11770         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11771         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11772         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11773         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11774         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11775         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11776         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11777         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11778         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11779         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11780         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11781         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11782         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11783         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11784         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11785         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11786         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11787         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11788         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11789         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11790         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11791         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11792         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11793         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11794         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11795         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11796         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11797         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11798         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11799         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11800         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11801         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11802         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11803         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11804         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11805         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11806         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11807         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11808         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11809         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11810         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11811         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11812         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11813         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11814         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11815         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11816         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11817         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11818         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11819         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11820         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11821         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11822         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11823         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11824         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11825         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11826         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11827         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11828         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11829         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11830         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11831         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11832         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11833         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11834         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11835         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11836         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11837         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11838         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11839         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11840         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11841         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11842         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11843         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11844         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11845         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11846         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11847         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11848         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11849         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11850         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11851         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11852         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11853         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11854         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11855         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11856         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11857         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11858         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11859         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11860         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11861         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11862         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11863         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11864         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11865         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11866         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11867         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11868         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11869         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11870         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11871         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11872         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11873         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11874         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11876         [BZ #17589]
11877         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11878         of fgets_unlocked.
11880         [BZ #17585]
11881         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11882         (memmem): Rename to __memmem and define as weak alias of
11883         __memmem.  Use libc_hidden_weak.
11884         (__memmem): Use libc_hidden_def.
11885         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11886         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11887         memmem.
11889         [BZ #17582]
11890         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11891         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11892         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11893         and define as weak alias of __fgets_unlocked.  Use
11894         libc_hidden_weak.
11895         (__fgets_unlocked): Use libc_hidden_def.
11896         * include/stdio.h (__fgets_unlocked): Declare.  Use
11897         libc_hidden_proto.
11898         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11899         __fgets_unlocked instead of fgets_unlocked.
11900         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11901         (GET_NPROCS_CONF_PARSER): Likewise.
11902         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11903         (GET_NPROCS_CONF_PARSER): Likewise.
11905         [BZ #17574]
11906         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11907         weak alias of __wmemset.  Use libc_hidden_weak.
11908         (__wmemset): Use libc_hidden_def.
11909         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11910         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11911         of wmemset.
11913         [BZ #17573]
11914         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11915         with asm name __mempcpy.
11916         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11918         [BZ #17572]
11919         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11920         and define as weak alias of __rawmemchr.
11921         (__rawmemchr): Do not define as strong alias of rawmemchr.
11923         [BZ #17571]
11924         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11925         alias of __qsort_r.
11926         (qsort): Call __qsort_r instead of qsort_r.
11927         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11928         (__qsort_r): Declare.  Call libc_hidden_proto.
11929         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11930         instead of qsort_r.
11931         * nscd/gai.c (__qsort_r): Define to qsort_r.
11932         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11933         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11934         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11936         [BZ #17570]
11937         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11938         define as weak alias of __malloc_info.
11940         [BZ #17584]
11941         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11942         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11943         (__rewinddir): Use libc_hidden_def.
11944         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11945         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11946         (__rewinddir): Use libc_hidden_def.
11947         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11948         weak alias of __rewinddir.  Don't use libc_hidden_def.
11949         (__rewinddir): Use libc_hidden_def.
11950         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11951         (__rewinddir): Use libc_hidden_proto.
11952         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11953         rewinddir.
11954         (__getcwd): Use __rewinddir instead of rewinddir.
11956         [BZ #17583]
11957         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11958         alias of __fileno.  Use libc_hidden_weak.
11959         (__fileno): Use libc_hidden_def.
11960         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11961         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11962         alias of __ftello.
11963         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11964         __ftello.
11965         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11966         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11967         libc_hidden_def.
11968         (fread_unlocked): Don't use libc_hidden_ver.
11969         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11970         and define as weak alias of __fread_unlocked.  Don't use
11971         libc_hidden_def.
11972         (__fread_unlocked): Use libc_hidden_def.
11973         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11974         (ftello): Don't use libc_hidden_proto.
11975         (__ftello): Declare.  Use libc_hidden_proto.
11976         (fread_unlocked): Don't use libc_hidden_proto.
11977         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11978         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11979         and __ftello instead of fileno, fread_unlocked and ftello.
11981 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11983         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11984         GOT12.
11985         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11986         Likewise.
11987         (_dl_start_user): Likewise.
11988         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11990 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11991             Siddhesh Poyarekar  <siddhesh@redhat.com>
11993         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11994         Move argv and envp down instead of moving argc up.
11995         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11997 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11999         [BZ #17506]
12000         * test-skeleton.c (main): Return successful if one of
12001         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12002         * string/tst-strcoll-overflow.c: Define expected status.
12004 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12006         [BZ #17475]
12007         * locale/iso-639.def: Define Bhili and Tulu language codes.
12009 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12011         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12013 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12015         [BZ #17555]
12016         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12018 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12020         * configure.ac: Updated check of minimal required version to
12021         2.22.
12022         * manual/install.texi (Tools for Compilation): Updated version
12023         number.
12024         * configure: Regenerated.
12025         * INSTALL: Likewise.
12027 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12029         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12030         __tls_get_addr.
12032 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12034         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12035         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12036         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12037         libc_hidden_weak.
12038         (waitpid): Define as alias of __waitpid.
12039         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12040         __waitpid.
12041         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12042         libc_hidden_weak.
12043         (waitpid): Define as alias of __waitpid.
12044         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12045         __libc_waitpid alias.
12046         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12047         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12048         Likewise.
12049         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12050         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12051         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12052         alias.
12053         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12054         __waitpid.
12055         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12056         libc_hidden_weak.
12057         (waitpid): Define as alias of __waitpid.
12059 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12061         * manual/llio.texi: Add comment that write safety has been
12062         fixed in Linux.
12064         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12065         (localplt-build-dso): Add elf/ld.so.
12066         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12067         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12068         and free for ld.so.
12069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12070         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12072         Likewise.
12073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12074         Likewise.
12075         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12076         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12077         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12078         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12079         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12080         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12081         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12082         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12083         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12084         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12085         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12087 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12089         [BZ #14132]
12090         * include/libc-symbols.h (INTUSE): Remove macro.
12091         (INTDEF): Likewise.
12092         (INTVARDEF): Likewise.
12093         (_INTVARDEF): Likewise.
12094         (INTDEF2): Likewise.
12095         (INTVARDEF2): Likewise.
12096         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12097         rtld_hidden_def instead of INTVARDEF.
12098         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12099         (_dl_starting_up_internal): Remove declaration.
12100         (_dl_starting_up): Use rtld_hidden_proto.
12101         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12102         declaration.
12103         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12104         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12105         _dl_starting_up.
12106         * elf/dl-writev.h (_dl_writev): Likewise.
12107         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12108         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12109         _dl_starting_up_internal.
12111 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12113         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12114         test-skeleton.c.
12116 2014-11-05  Will Newton  <will.newton@linaro.org>
12118         * benchtests/Makefile: (bench-malloc): Add malloc thread
12119         scalability benchmark.
12120         * benchtests/bench-malloc-threads.c: New file.
12122 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12124         * sysdeps/aarch64/strchrnul.S: New file.
12126 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12128         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12129         definition.
12130         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12131         Likwise.
12132         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12133         Likewise.
12134         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12135         Likewise.
12136         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12137         Likewise.
12138         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12139         Likewise.
12141 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12143         * catgets/test-gencat.c: Use test-skeleton.c.
12144         * catgets/tst-catgets.c: Likewise.
12145         * csu/tst-empty.c: Likewise.
12146         * elf/tst-audit2.c: Likewise.
12147         * elf/tst-global1.c: Likewise.
12148         * elf/tst-pathopt.c: Likewise.
12149         * elf/tst-piemod1.c: Likewise.
12150         * elf/tst-tls10.c: Likewise.
12151         * elf/tst-tls11.c: Likewise.
12152         * elf/tst-tls12.c: Likewise.
12153         * gnulib/tst-gcc.c: Likewise.
12154         * iconvdata/tst-e2big.c: Likewise.
12155         * iconvdata/tst-loading.c: Likewise.
12156         * iconv/tst-iconv1.c: Likewise.
12157         * iconv/tst-iconv2.c: Likewise.
12158         * inet/test-inet6_opt.c: Likewise.
12159         * inet/tst-gethnm.c: Likewise.
12160         * inet/tst-network.c: Likewise.
12161         * inet/tst-ntoa.c: Likewise.
12162         * intl/tst-codeset.c: Likewise.
12163         * intl/tst-gettext2.c: Likewise.
12164         * intl/tst-gettext3.c: Likewise.
12165         * intl/tst-ngettext.c: Likewise.
12166         * intl/tst-translit.c: Likewise.
12167         * io/test-stat.c: Likewise.
12168         * libio/test-fmemopen.c: Likewise.
12169         * libio/tst-freopen.c: Likewise.
12170         * libio/tst-sscanf.c: Likewise.
12171         * libio/tst-ungetwc1.c: Likewise.
12172         * libio/tst-ungetwc2.c: Likewise.
12173         * libio/tst-widetext.c: Likewise.
12174         * localedata/tst-ctype.c: Likewise.
12175         * localedata/tst-digits.c: Likewise.
12176         * localedata/tst-leaks.c: Likewise.
12177         * localedata/tst-mbswcs1.c: Likewise.
12178         * localedata/tst-mbswcs2.c: Likewise.
12179         * localedata/tst-mbswcs3.c: Likewise.
12180         * localedata/tst-mbswcs4.c: Likewise.
12181         * localedata/tst-mbswcs5.c: Likewise.
12182         * localedata/tst-setlocale.c: Likewise.
12183         * localedata/tst-trans.c: Likewise.
12184         * localedata/tst-wctype.c: Likewise.
12185         * localedata/tst-xlocale1.c: Likewise.
12186         * login/tst-grantpt.c: Likewise.
12187         * malloc/tst-calloc.c: Likewise.
12188         * malloc/tst-malloc.c: Likewise.
12189         * malloc/tst-mallocstate.c: Likewise.
12190         * malloc/tst-mcheck.c: Likewise.
12191         * malloc/tst-mtrace.c: Likewise.
12192         * malloc/tst-obstack.c: Likewise.
12193         * math/atest-exp2.c: Likewise.
12194         * math/atest-exp.c: Likewise.
12195         * math/atest-sincos.c: Likewise.
12196         * math/test-matherr.c: Likewise.
12197         * math/test-misc.c: Likewise.
12198         * math/test-powl.c: Likewise.
12199         * math/tst-definitions.c: Likewise.
12200         * misc/tst-dirname.c: Likewise.
12201         * misc/tst-efgcvt.c: Likewise.
12202         * misc/tst-fdset.c: Likewise.
12203         * misc/tst-hsearch.c: Likewise.
12204         * misc/tst-mntent2.c: Likewise.
12205         * nptl/tst-sem7.c: Likewise.
12206         * nptl/tst-sem8.c: Likewise.
12207         * nptl/tst-sem9.c: Likewise.
12208         * nss/test-netdb.c: Likewise.
12209         * posix/tst-fnmatch.c: Likewise.
12210         * posix/tst-getlogin.c: Likewise.
12211         * posix/tst-gnuglob.c: Likewise.
12212         * posix/tst-mmap.c: Likewise.
12213         * pwd/tst-getpw.c: Likewise.
12214         * resolv/tst-inet_ntop.c: Likewise.
12215         * rt/tst-timer.c: Likewise.
12216         * stdio-common/test-fseek.c: Likewise.
12217         * stdio-common/test-popen.c: Likewise.
12218         * stdio-common/test-vfprintf.c: Likewise.
12219         * stdio-common/tst-cookie.c: Likewise.
12220         * stdio-common/tst-fileno.c: Likewise.
12221         * stdio-common/tst-gets.c: Likewise.
12222         * stdio-common/tst-obprintf.c: Likewise.
12223         * stdio-common/tst-perror.c: Likewise.
12224         * stdio-common/tst-sprintf2.c: Likewise.
12225         * stdio-common/tst-sprintf3.c: Likewise.
12226         * stdio-common/tst-sprintf.c: Likewise.
12227         * stdio-common/tst-swprintf.c: Likewise.
12228         * stdio-common/tst-tmpnam.c: Likewise.
12229         * stdio-common/tst-unbputc.c: Likewise.
12230         * stdio-common/tst-wc-printf.c: Likewise.
12231         * stdlib/tst-environ.c: Likewise.
12232         * stdlib/tst-fmtmsg.c: Likewise.
12233         * stdlib/tst-limits.c: Likewise.
12234         * stdlib/tst-rand48-2.c: Likewise.
12235         * stdlib/tst-rand48.c: Likewise.
12236         * stdlib/tst-random2.c: Likewise.
12237         * stdlib/tst-random.c: Likewise.
12238         * stdlib/tst-strtol.c: Likewise.
12239         * stdlib/tst-strtoll.c: Likewise.
12240         * stdlib/tst-tls-atexit.c: Likewise.
12241         * stdlib/tst-xpg-basename.c: Likewise.
12242         * string/test-ffs.c: Likewise.
12243         * string/tst-bswap.c: Likewise.
12244         * string/tst-inlcall.c: Likewise.
12245         * string/tst-strtok.c: Likewise.
12246         * string/tst-strxfrm.c: Likewise.
12247         * sysdeps/x86_64/tst-audit10.c: Likewise.
12248         * sysdeps/x86_64/tst-audit3.c: Likewise.
12249         * sysdeps/x86_64/tst-audit4.c: Likewise.
12250         * sysdeps/x86_64/tst-audit5.c: Likewise.
12251         * time/tst-ftime_l.c: Likewise.
12252         * time/tst-getdate.c: Likewise.
12253         * time/tst-mktime3.c: Likewise.
12254         * time/tst-mktime.c: Likewise.
12255         * time/tst-posixtz.c: Likewise.
12256         * time/tst-strptime2.c: Likewise.
12257         * time/tst-strptime3.c: Likewise.
12258         * wcsmbs/tst-btowc.c: Likewise.
12259         * wcsmbs/tst-mbrtowc.c: Likewise.
12260         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12261         * wcsmbs/tst-wchar-h.c: Likewise.
12262         * wcsmbs/tst-wcpncpy.c: Likewise.
12263         * wcsmbs/tst-wcrtomb.c: Likewise.
12264         * wcsmbs/tst-wcsnlen.c: Likewise.
12265         * wcsmbs/tst-wcstof.c: Likewise.
12267 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12269         [BZ #14132]
12270         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12271         INTDEF.
12272         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12273         declaration.
12274         (_dl_mcount): Use rtld_hidden_proto.
12275         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12276         _dl_mcount.
12277         * elf/rtld.c (_rtld_global_ro): Likewise.
12279         [BZ #14132]
12280         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12281         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12282         of _dl_init_internal.
12283         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12284         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12285         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12286         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12287         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12288         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12289         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12290         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12291         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12292         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12293         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12294         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12295         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12296         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12297         * sysdeps/tile/dl-start.S (_start): Likewise.
12298         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12299         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12301         [BZ #14132]
12302         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12303         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12304         (rtld_progname): Make macro definition unconditional.
12305         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12306         INTDEF.
12307         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12308         (dl_main): Likewise.
12309         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12310         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12311         instead of _dl_argv_internal.
12312         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12313         __GI__dl_argv instead of INTUSE(_dl_argv).
12314         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12315         __GI__dl_argv instead of _dl_argv_internal.
12317         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12318         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12319         macro.
12320         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12321         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12322         New macro.
12323         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12324         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12325         macro.
12326         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12327         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12329 2014-11-04  Andreas Schwab  <schwab@suse.de>
12331         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12333 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12335         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12336         mtvsrd instruction in binary form.
12338 2014-11-03  Andreas Schwab  <schwab@suse.de>
12340         [BZ #17522]
12341         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12342         for less than MB_LEN_MAX use a local buffer of that size.
12343         * libio/tst-fputws.c: New file.
12344         * libio/Makefile (tests): Add tst-fputws.
12346 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12348         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12349         the size of the fpu_fr.fpu_dregs[] array.
12351 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12353         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12354         (__nanosleep): Do not define as alias.
12355         (nanosleep): Define as alias of __nanosleep.
12356         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12357         __libc_nanosleep name.
12359 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12361         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12362         install.texi in comment.
12364 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12366         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12367         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12368         ... add here and use lwsync or sync ...
12369         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12370         ... and add here using lwsync.
12372 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12374         * elf/dl-machine-reject-phdr.h: New file.
12375         * elf/dl-load.c: #include that.
12376         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12377         if that returned true.
12379 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12381         [BZ #17496]
12382         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12383         gen-as-const-headers chunk.  Add a big scare comment after the last
12384         safe place to touch before-compile.
12386 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12388         * manual/install.texi (Tools for Compilation): Update autoconf
12389         version requirements.
12390         * INSTALL: Regenerated.
12392         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12393         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12394         (__libc_pselect): Likewise.
12396         [BZ #14138]
12397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12402 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12404         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12405         correct barrier instruction.
12406         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12407         Likewise.
12408         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12409         Likewise.
12411 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12413         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12414         after defining inlines.  Instead, just use parens to defeat macro
12415         expansion of __isctype in its declaration.
12417 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12419         * include/sys/uio.h (__libc_readv): Remove declaration.
12420         (__libc_writev): Likewise.
12421         * misc/readv.c (__libc_readv): Rename to __readv.
12422         (__readv): Do not define as alias.
12423         (readv): Define as alias of __readv.
12424         * misc/writev.c (__libc_writev): Rename to __writev.
12425         (__writev): Do not define as alias.
12426         (writev): Define as alias of __writev.
12427         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12428         (__readv): Do not define as alias.
12429         (readv): Define unconditionally as alias of __readv.
12430         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12431         (__writev): Do not define as alias.
12432         (writev): Define unconditionally as alias of __writev.
12433         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12434         name.
12435         (writev): Do not define __libc_writev name.
12437 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12439         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12440         (convert_charseq): New function, broken out of ...
12441         (use_from_charmap): ... here.  Call it.
12442         (use_to_charmap): Use convert_charseq and free instead of duplicating
12443         its code with a variable-length stack struct.
12445 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12447         * include/fcntl.h (__libc_creat): Remove declaration.
12448         * io/creat.c (__libc_creat): Rename to creat.
12449         (creat): Do not define as alias.
12450         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12451         of creat instead of __libc_creat.
12452         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12453         to creat.
12454         (creat): Do not define as alias.
12455         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12456         __libc_creat.
12457         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12458         __libc_creat name.
12459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12460         Likewise.
12462 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12464         * manual/llio.texi: Add comments discussing why write() may be
12465         considered MT-unsafe on Linux.
12467 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12469         * dl-load.c (local_strdup): Remove.
12470         (expand_dynamic_string_token): Use __strdup.
12471         (decompose_rpath): Likewise.
12472         (_dl_map_object): Likewise.
12474 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12476         [BZ #14132]
12477         * sysdeps/generic/unwind-dw2-fde.c
12478         (__register_frame_info_bases_internal): Do not declare.
12479         (__register_frame_info_table_bases_internal): Likewise.
12480         (__deregister_frame_info_bases_internal): Likewise.
12481         (__register_frame_info_bases): Declare and use hidden_proto before
12482         definition.  Use hidden_def instead of INTDEF.
12483         (__register_frame_info_table_bases): Likewise.
12484         (__deregister_frame_info_bases): Likewise.
12485         (__register_frame_info): Do not use INTUSE.
12486         (__register_frame): Likewise.
12487         (__register_frame_info_table): Likewise.
12488         (__register_frame_table): Likewise.
12489         (__deregister_frame_info): Likewise.
12490         (__deregister_frame): Likewise.
12492 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12494         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12495         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12496         not undefine.
12497         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12498         Likewise.
12499         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12500         Likewise.
12502 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12504         [BZ #14138]
12505         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12506         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12507         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12508         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12509         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12510         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12511         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12512         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12513         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12514         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12515         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12516         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12517         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12518         syscall.
12519         (setfsuid): Likewise.
12520         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12521         (setfsuid): Likewise.
12522         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12523         (setfsuid): Likewise.
12524         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12525         Likewise.
12526         (setfsuid): Likewise.
12527         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12528         (setfsuid): Likewise.
12529         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12530         Likewise.
12531         (setfsuid): Likewise.
12533 2014-10-27  Andreas Schwab  <schwab@suse.de>
12535         [BZ #17501]
12536         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12537         check for Slow_SSE4_2 feature bit.
12538         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12539         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12540         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12541         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12543 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12545         * configure.ac: Validate compiler version with a empirical test of
12546         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12547         $CC -v output.
12548         * configure: Regenerated.
12550         * inet/htons.c (htons): Prototypify.
12551         * inet/htonl.c (htonl): Likewise.
12553 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12555         * string/strncat.c (strncat): Improve performance by using strlen.
12557 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12559         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12561 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12563         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12564         Call libc_fetestexcept_aarch64.
12566 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12568         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12569         Call libc_feholdexcept_aarch64.
12571 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12573         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12574         Call get_rounding_mode.
12576 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12578         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12579         Simplify logic.
12581 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12583         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12584         Simplify logic.
12586 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12588         [BZ #14138]
12589         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12590         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12591         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12592         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12593         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12594         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12595         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12596         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12597         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12598         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12599         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12600         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12601         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12602         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12603         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12604         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12605         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12606         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12607         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12608         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12609         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12610         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12611         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12612         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12613         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12614         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12615         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12616         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12617         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12618         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12619         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12620         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12621         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12622         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12623         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12624         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12625         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12626         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12627         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12628         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12629         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12630         syscall.
12631         (geteuid): Likewise.
12632         (getgid): Likewise.
12633         (getuid): Likewise.
12634         (getresgid): Likewise.
12635         (getresuid): Likewise.
12636         (getgroups): Likewise.
12637         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12638         (geteuid): Likewise.
12639         (getgid): Likewise.
12640         (getuid): Likewise.
12641         (getresgid): Likewise.
12642         (getresuid): Likewise.
12643         (getgroups): Likewise.
12644         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12645         (geteuid): Likewise.
12646         (getgid): Likewise.
12647         (getuid): Likewise.
12648         (getresgid): Likewise.
12649         (getresuid): Likewise.
12650         (getgroups): Likewise.
12651         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12652         Likewise.
12653         (geteuid): Likewise.
12654         (getgid): Likewise.
12655         (getuid): Likewise.
12656         (getresgid): Likewise.
12657         (getresuid): Likewise.
12658         (getgroups): Likewise.
12659         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12660         (geteuid): Likewise.
12661         (getgid): Likewise.
12662         (getuid): Likewise.
12663         (getresgid): Likewise.
12664         (getresuid): Likewise.
12665         (getgroups): Likewise.
12666         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12667         Likewise.
12668         (geteuid): Likewise.
12669         (getgid): Likewise.
12670         (getuid): Likewise.
12671         (getgroups): Likewise.
12673         [BZ #14138]
12674         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12675         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12676         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12677         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12678         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12679         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12680         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12681         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12682         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12683         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12684         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12685         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12686         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12687         __chown.
12688         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12689         (lchown): Likewise.
12690         (fchown): Likewise.
12691         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12692         Likewise.
12693         (lchown): Likewise.
12694         (fchown): Likewise.
12695         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12696         (lchown): Likewise.
12697         (fchown): Likewise.
12698         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12699         Likewise.
12700         (lchown): Likewise.
12701         (fchown): Likewise.
12703 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12705         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12706         Simplify logic.
12708 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12710         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12711         Cleanup logic.
12713 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12715         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12716         Remove unused include.
12718 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12720         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12721         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12722         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12723         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12725 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12726             Helge Deller <deller@gmx.de>
12728         [BZ #17508]
12729         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12730         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12731         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12733 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12735         [BZ #14132]
12736         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12737         Remove macro definition.
12738         (__ashrdi3_v_glibc20): Likewise.
12739         (__lshrdi3_v_glibc20): Likewise.
12740         (__cmpdi2_v_glibc20): Likewise.
12741         (__ucmpdi2_v_glibc20): Likewise.
12742         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12743         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12744         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12745         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12746         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12747         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12749 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12751         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12752         old GNU extension [0] syntax.
12753         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12754         alloca rather than an array member with variable length.
12755         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12756         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12757         (parse_opt): ... here.  Likewise use alloca there.
12758         Validate the -i argument before checking for rootness.
12759         (send_shutdown): New function, broken out of ...
12760         (parse_opt): ... here.
12762 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12764         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12765         macro to get at the _rt_local_ro field.
12766         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12767         ([PIC] case) or _dl_hwcap ([!PIC] case).
12768         * sysdeps/arm/setjmp.S: Likewise.
12770         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12771         * sysdeps/arm/configure.ac: New check to define it.
12772         * sysdeps/arm/configure: Regenerated.
12773         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12774         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12775         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12776         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12777         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12778         Use move/movt pair instead of a load.
12779         (LDST_GLOBAL): Macro removed.
12780         (LDR_GLOBAL): New macro replaces it.
12781         (LDR_HIDDEN): New macro.
12782         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12783         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12785         * setjmp/tst-setjmp-static.c: New file.
12786         * setjmp/Makefile (tests): Add it.
12787         (tests-static): New variable.
12789 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12791         [BZ #17485]
12792         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12794 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12796         [BZ #14132]
12797         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12799 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12801         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12803 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12805         * io/fts.c (dirent_not_directory): New function.
12806         (fts_build): Call it.
12808 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12810         * nptl/version.c (__nptl_main): Use normal __write rather than
12811         INTERNAL_SYSCALL.
12812         (banner): Update copyright years.
12814         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12815         gettimeofday.
12816         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12817         * nptl/pthread_cond_timedwait.c: Likewise.
12818         * nptl/pthread_mutex_timedlock.c: Likewise.
12819         * nptl/sem_timedwait.c: Likewise.
12821         * sysdeps/nptl/bits/libc-lock.h
12822         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12823         (__libc_lock_init_recursive): Return void, not 0.
12824         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12825         (__libc_rwlock_init): Likewise.
12826         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12828 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12830         [BZ #15215]
12831         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12832         (__pthread_once_slow): ... here.
12833         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12834         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12836 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12838         [BZ #15215]
12839         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12840         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12841         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12842         * nptl/pthread_once.c (__pthread_once): Likewise.
12843         Update comments.
12845 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12847         [BZ #14138]
12848         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12849         name.
12850         (writev): Use __libc_writev as strong name.
12851         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12852         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12854 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12856         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12858         * sysdeps/i386/nptl/tls.h
12859         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12860         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12861         New macros.
12862         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12863         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12864         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12865         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12866         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12867         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12869         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12870         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12871         on [__NR_futex].
12872         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12873         broken out of ...
12874         (__pthread_mutex_init): ... here.  Call it.
12875         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12876         Conditionalize PI cases on [__NR_futex].
12877         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12878         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12879         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12881         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12882         conditional on [SIGSETXID].
12883         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12884         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12885         is defined.  Likewise for SIGSETXID.
12886         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12887         Conditionalize definitions on [SIGSETXID].
12888         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12889         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12890         unblocking on [SIGCANCEL].
12892         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12893         [__NR_set_robust_list].
12895 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12897         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12898         (do_compare): Likewise.
12900 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12902         [BZ #15884]
12903         * string/strcoll_l.c: Don't include stdio.h.
12904         (coll_seq): Remove members idxarr and rulearr.
12905         (get_next_seq_cached): Remove function.
12906         (get_next_seq): Likewise.
12907         (get_next_seq_nocache): Rename to get_next_seq.
12908         (do_compare): Remove function.
12909         (do_compare_nocache): Rename to do_compare.
12910         (STRCOLL): Remove weight and rules cache.
12912 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12914         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12915         * sysdeps/arm/sfp-machine.h: ... to here.
12916         * sysdeps/arm/Implies: Remove arm/soft-fp.
12918 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12920         * conform/data/sys/utsname.h-data (*_t): Allow.
12921         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12922         [POSIX] (WEXITED): Do not expect constant.
12923         [POSIX] (WSTOPPED): Likewise.
12924         [POSIX] (WNOHANG): Likewise.
12925         [POSIX] (WNOWAIT): Likewise.
12926         [POSIX] (siginfo_t): Do not expect type or elements.
12927         [POSIX] (pid_t): Do not expect type.
12928         [POSIX] (signal.h): Do not allow header.
12929         [POSIX] (sys/resource.h): Likewise.
12930         [POSIX] (si_*): Do not allow pattern.
12931         [POSIX] (W*): Likewise.
12932         [POSIX] (P_*): Likewise.
12933         [POSIX] (BUS_*): Likewise.
12934         [POSIX] (CLD_*): Likewise.
12935         [POSIX] (FPE_*): Likewise.
12936         [POSIX] (ILL_*): Likewise.
12937         [POSIX] (POLL_*): Likewise.
12938         [POSIX] (SEGV_*): Likewise.
12939         [POSIX] (SI_*): Likewise.
12940         [POSIX] (TRAP_*): Likewise.
12941         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12942         variable.
12944 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12946         [BZ #12926]
12947         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12948         infinite loop when __recvmsg returns 0.
12950 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12952         * CANCEL-FCT-WAIVE: Remove file.
12953         * CANCEL-FILE-WAIVE: Likewise.
12955         [BZ #14132]
12956         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12957         instead of INTVARDEF.
12958         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12959         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12960         rtld_hidden_data_def instead of INTVARDEF.
12961         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12962         * elf/dl-deps.c (expand_dst): Likewise.
12963         * elf/dl-load.c (_dl_dst_count): Likewise.
12964         (_dl_dst_substitute): Likewise.
12965         (decompose_rpath): Likewise.
12966         (_dl_init_paths): Likewise.
12967         (open_path): Likewise.
12968         (_dl_map_object): Likewise.
12969         * elf/rtld.c (dl_main): Likewise.
12970         (process_dl_audit): Likewise.
12971         (process_envvars): Likewise.
12972         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12973         Remove declaration.
12974         (__libc_enable_secure): Use rtld_hidden_proto.
12976 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12978         * elf/dl-load.c
12979         (add_path): New function broken out of _dl_rtld_di_serinfo.
12980         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12982 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12984         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12985         parentheses around macro arguments.
12986         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12987         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12988         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12989         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12990         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12991         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12992         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12993         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12994         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12995         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12996         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12997         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12998         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12999         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13000         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13001         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13002         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13003         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13004         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13005         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13006         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13007         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13008         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13009         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13010         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13011         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13012         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13013         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13014         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13015         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13016         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13017         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13018         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13019         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13020         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13021         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13022         Likewise.
13023         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13024         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13025         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13026         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13027         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13028         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13029         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13030         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13031         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13032         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13033         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13034         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13035         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13036         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13037         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13038         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13039         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13040         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13041         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13042         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13043         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13044         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13045         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13046         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13047         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13048         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13049         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13050         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13051         (_FP_FRAC_SRS_1): Likewise.
13052         (_FP_FRAC_CLZ_1): Likewise.
13053         (_FP_MUL_MEAT_1_imm): Likewise.
13054         (_FP_MUL_MEAT_1_wide): Likewise.
13055         (_FP_MUL_MEAT_1_hard): Likewise.
13056         (_FP_SQRT_MEAT_1): Likewise.
13057         (_FP_FRAC_ASSEMBLE_1): Likewise.
13058         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13059         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13060         (__FP_CLZ_2): Likewise.
13061         (_FP_MUL_MEAT_2_wide): Likewise.
13062         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13063         (_FP_MUL_MEAT_2_gmp): Likewise.
13064         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13065         (_FP_SQRT_MEAT_2): Likewise.
13066         (_FP_FRAC_ASSEMBLE_2): Likewise.
13067         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13068         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13069         (_FP_FRAC_CLZ_4): Likewise.
13070         (_FP_MUL_MEAT_4_wide): Likewise.
13071         (_FP_MUL_MEAT_4_gmp): Likewise.
13072         (_FP_SQRT_MEAT_4): Likewise.
13073         (_FP_FRAC_ASSEMBLE_4): Likewise.
13074         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13075         * soft-fp/op-common.h (_FP_CMP): Likewise.
13076         (_FP_CMP_EQ): Likewise.
13077         (_FP_CMP_UNORD): Likewise.
13078         (_FP_TO_INT): Likewise.
13079         (_FP_FROM_INT): Likewise.
13080         [!__FP_CLZ] (__FP_CLZ): Likewise.
13081         (_FP_DIV_HELP_imm): Likewise.
13082         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13083         Likewise.
13084         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13085         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13086         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13087         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13088         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13089         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13090         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13091         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13092         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13093         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13094         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13095         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13096         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13097         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13098         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13099         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13100         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13101         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13102         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13103         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13104         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13105         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13106         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13107         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13108         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13109         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13110         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13111         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13112         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13113         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13114         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13115         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13116         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13117         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13118         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13119         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13120         (FP_UNPACK_RAW_SP): Likewise.
13121         (FP_PACK_RAW_S): Likewise.
13122         (FP_PACK_RAW_SP): Likewise.
13123         (FP_UNPACK_S): Likewise.
13124         (FP_UNPACK_SP): Likewise.
13125         (FP_UNPACK_SEMIRAW_S): Likewise.
13126         (FP_UNPACK_SEMIRAW_SP): Likewise.
13127         (FP_PACK_S): Likewise.
13128         (FP_PACK_SP): Likewise.
13129         (FP_PACK_SEMIRAW_S): Likewise.
13130         (FP_PACK_SEMIRAW_SP): Likewise.
13131         (_FP_SQRT_MEAT_S): Likewise.
13132         (FP_CMP_S): Likewise.
13133         (FP_CMP_EQ_S): Likewise.
13134         (FP_CMP_UNORD_S): Likewise.
13135         (FP_TO_INT_S): Likewise.
13136         (FP_FROM_INT_S): Likewise.
13138         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13140         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13141         (FP_EX_INVALID_IMZ): Likewise.
13142         (FP_EX_INVALID_IMZ_FMA): Likewise.
13143         (FP_EX_INVALID_ISI): Likewise.
13144         (FP_EX_INVALID_ZDZ): Likewise.
13145         (FP_EX_INVALID_IDI): Likewise.
13146         (FP_EX_INVALID_SQRT): Likewise.
13147         (FP_EX_INVALID_CVI): Likewise.
13148         (FP_EX_INVALID_VC): Likewise.
13149         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13150         "invalid" exceptions.
13151         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13152         (_FP_ADD_INTERNAL): Likewise.
13153         (_FP_MUL): Likewise.
13154         (_FP_FMA): Likewise.
13155         (_FP_DIV): Likewise.
13156         (_FP_CMP_CHECK_NAN): Likewise.
13157         (_FP_SQRT): Likewise.
13158         (_FP_TO_INT): Likewise.
13159         (FP_EXTEND): Likewise.
13161 2014-10-09  Allan McRae  <allan@archlinux.org>
13163         * po/fr.po: Update French translation from translation project.
13165 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13167         [BZ #14132]
13168         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13169         of INTDEF.
13170         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13171         (__cxa_atexit): Use libc_hidden_proto.
13172         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13174         [BZ #14132]
13175         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13176         declaration.
13177         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13178         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13179         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13180         [!_ISOMAC] (__iswctype_internal): Likewise.
13181         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13182         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13183         alias.
13184         (fcntl): Remove __fcntl_internal alias.
13185         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13186         __connect_internal alias.
13187         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13188         Likewise.
13190         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13191         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13192         FP_DENORM_ZERO.
13193         (_FP_CHECK_FLUSH_ZERO): New macro.
13194         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13195         (_FP_CMP): Likewise.
13196         (_FP_CMP_EQ): Likewise.
13197         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13198         FP_DENORM_ZERO.
13199         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13200         (FP_TRUNC): Likewise.
13202         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13203         treated as invalid conversion, not as normal exponent.
13205         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13206         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13207         (_FP_CMP_EQ): Likewise.
13208         (_FP_CMP_UNORD): Likewise.
13209         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13210         (FP_CMP_EQ_D): Likewise.
13211         (FP_CMP_UNORD_D): Likewise.
13212         * soft-fp/extended.h (FP_CMP_E): Likewise.
13213         (FP_CMP_EQ_E): Likewise.
13214         (FP_CMP_UNORD_E): Likewise.
13215         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13216         (FP_CMP_EQ_Q): Likewise.
13217         (FP_CMP_UNORD_Q): Likewise.
13218         * soft-fp/single.h (FP_CMP_S): Likewise.
13219         (FP_CMP_EQ_S): Likewise.
13220         (FP_CMP_UNORD_S): Likewise.
13221         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13222         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13223         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13224         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13225         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13226         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13227         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13228         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13229         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13230         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13231         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13232         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13233         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13234         to FP_CMP_Q.
13235         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13236         FP_CMP_Q.
13237         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13238         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13239         FP_CMP_EQ_Q.
13240         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13241         FP_CMP_Q.
13242         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13243         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13244         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13245         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13246         FP_CMP_EQ_Q.
13247         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13248         FP_CMP_Q.
13249         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13250         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13251         FP_CMP_EQ_Q.
13252         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13253         FP_CMP_Q.
13254         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13255         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13256         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13257         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13258         FP_CMP_EQ_Q.
13260         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13261         a subnormal result, set the underflow exception if trapping on
13262         underflow is enabled.
13263         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13264         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13265         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13266         redefine to 0.
13267         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13268         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13269         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13270         * soft-fp/extendxftf2.c (__extendxftf2): Use
13271         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13273         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13274         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13275         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13276         FP_HANDLE_EXCEPTIONS.
13277         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13278         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13279         FP_HANDLE_EXCEPTIONS.
13280         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13281         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13282         FP_HANDLE_EXCEPTIONS.
13283         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13284         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13285         FP_HANDLE_EXCEPTIONS.
13287 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13289         [BZ #14132]
13290         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13291         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13292         use INTUSE.
13293         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13294         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13295         Remove alias.
13296         (__adjtimex): Define using libc_hidden_ver.
13297         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13298         Remove declaration.
13299         (ntp_gettime): Call __adjtimex directly.
13300         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13301         Remove declaration.
13302         (ntp_gettimex): Call __adjtimex directly.
13303         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13304         __adjtimex_internal alias.
13306 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13308         [BZ #17460]
13309         * nscd/nscd.c (more_help): Rewrite list of tables collection
13310         using xstrdup and asprintf.
13312         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13314 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13315             Roland McGrath  <roland@hack.frob.com>
13317         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13318         (do_lookup_unique): ... local function 'enter' here; update callers.
13320 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13322         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13323         compat_symbol calls on [SHARED].
13324         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13325         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13326         Remove.
13327         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13328         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13329         (oldsetrlimit): Remove.
13330         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13332         (lchown): New syscall entry.
13333         (oldsetrlimit): Remove.
13334         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13335         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13336         (oldsetrlimit): Remove.
13337         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13339         [BZ #14138]
13340         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13341         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13342         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13343         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13344         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13345         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13346         (fchown): Likewise.
13347         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13348         (fchown): Likewise.
13349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13350         Likewise.
13352 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13354         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13355         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13356         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13357         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13358         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13359         Likewise.
13360         (__old_sem_post): Likewise.
13362 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13364         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13365         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13366         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13367         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13368         Use INLINE_VSYSCALL macro.
13369         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13370         __vdso_clock_gettime.
13371         * sysdeps/unix/sysv/linux/tile/init-first.c
13372         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13373         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13374         __vdso_clock_gettime.
13376         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13377         to set up frame more cleanly.
13379         * sysdeps/tile/memcmp.c: New file.
13381         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13383         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13384         * sysdeps/tile/tilegx/strcasestr.c: New file.
13385         * sysdeps/tile/tilegx/strnlen.c: New file.
13386         * sysdeps/tile/tilegx/strstr.c: New file.
13388         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13390 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13392         * nptl/tst-setuid3.c: Write errors to stdout.
13394 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13396         * elf/dl-deps.c
13397         (preload): New functions broken out of _dl_map_object_deps.
13398         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13400 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13402         [BZ #14138]
13403         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13404         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13406 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13408         * sysdeps/mips/strcmp.S: New.
13410 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13412         [BZ #14138]
13413         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13414         (linkat): Likewise.
13415         (mkdirat): Likewise.
13416         (readlinkat): Likewise.
13417         (renameat): Likewise.
13418         (symlinkat): Likewise.
13419         (unlinkat): Likewise.
13420         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13421         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13422         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13423         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13424         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13425         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13426         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13428 2014-09-30  Will Newton  <will.newton@linaro.org>
13430         * math/math.h: Define long double math functions if
13431         _LIBC_TEST is defined.
13432         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13434         * localedata/Makefile: Move assignment to tests-special
13435         into an ifdef testing run-built-tests.
13436         * timezone/Makefile: Likewise.
13438 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13440         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13441         with $(BASH) not $(SHELL).
13443 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13444             Matthew LeGendre  <legendre1@llnl.gov>
13446         [BZ #17411]
13447         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13448         l_reloc_result.
13450 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13452         * stdio-common/printf_fp.c
13453         (hack_digit): New function, broken out of ...
13454         (__printf_fp): ... local function here.  Update call sites.
13455         hack_digit now takes an additional parameter that is a pointer
13456         to a struct of the referenced locals.  Those locals moved inside
13457         the struct and references updated.
13459 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13461         * aclocal.m4: Require autoconf 2.69.
13462         * configure: Regenerated.
13463         * sysdeps/aarch64/configure: Likewise.
13464         * sysdeps/alpha/configure: Likewise.
13465         * sysdeps/arm/armv7/configure: Likewise.
13466         * sysdeps/arm/configure: Likewise.
13467         * sysdeps/ia64/configure: Likewise.
13468         * sysdeps/mach/configure: Likewise.
13469         * sysdeps/mips/configure: Likewise.
13470         * sysdeps/s390/configure: Likewise.
13471         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13474         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13475         file.
13476         * sysdeps/ia64/configure.ac: Likewise.
13478 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13481         specify symbol version for ld.so.  Do not include entry for
13482         libpthread.
13483         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13484         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13485         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13487         [BZ #14171]
13488         * Makeconfig [$(build-shared) = yes]
13489         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13490         makefiles.
13491         [$(build-shared) = yes && $(soversions.mk-done) = t]
13492         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13493         [$(build-shared) = yes && $(soversions.mk-done) = t]
13494         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13495         to Makerules.
13496         [$(build-shared) = yes && $(soversions.mk-done) = t]
13497         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13498         here.
13499         [$(build-shared) = yes && $(soversions.mk-done) = t]
13500         (common-generated): Don't append gnu/lib-names.h and
13501         gnu/lib-names.stmp here.
13502         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13503         (lib-names-h-abi): New variable.
13504         [$(build-shared) = yes && $(soversions.mk-done) = t]
13505         (lib-names-stmp-abi): Likewise.
13506         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13507         abi-variants] (before-compile): Append
13508         $(common-objpfx)$(lib-names-h-abi).
13509         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13510         abi-variants] (common-generated): Append gnu/lib-names.h.
13511         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13512         abi-variants] (install-others-nosubdir): Depend on
13513         $(inst_includedir)/$(lib-names-h-abi).
13514         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13515         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13516         [$(build-shared) = yes && $(soversions.mk-done) = t]
13517         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13518         [$(build-shared) = yes && $(soversions.mk-done) = t]
13519         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13520         [$(build-shared) = yes && $(soversions.mk-done) = t]
13521         (common-generated): Append $(lib-names-h-abi) and
13522         $(lib-names-stmp-abi).
13523         * scripts/lib-names.awk: Do not handle multi being set.
13524         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13525         Remove variable.
13526         (abi-lp64_be-ld-soname): Likewise.
13527         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13528         Likewise.
13529         (abi-hard-ld-soname): Likewise.
13530         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13531         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13532         Remove variable.
13533         (abi-o32_hard-ld-soname): Likewise.
13534         (abi-o32_soft_2008-ld-soname): Likewise.
13535         (abi-o32_hard_2008-ld-soname): Likewise.
13536         (abi-n32_soft-ld-soname): Likewise.
13537         (abi-n32_hard-ld-soname): Likewise.
13538         (abi-n32_soft_2008-ld-soname): Likewise.
13539         (abi-n32_hard_2008-ld-soname): Likewise.
13540         (abi-n64_soft-ld-soname): Likewise.
13541         (abi-n64_hard-ld-soname): Likewise.
13542         (abi-n64_soft_2008-ld-soname): Likewise.
13543         (abi-n64_hard_2008-ld-soname): Likewise.
13544         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13545         Likewise.
13546         (abi-64-v2-ld-soname): Likewise.
13547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13548         ld.so entries.
13549         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13550         variable.
13551         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13552         entry.
13553         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13554         variable.
13555         (abi-64-ld-soname): Likewise.
13556         (abi-x32-ld-soname): Likewise.
13557         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13558         entry.
13559         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13561 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13563         [BZ #14138]
13564         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13565         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13566         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13567         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13568         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13569         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13570         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13571         syscall entry for GLIBC_2.2 symbol version.
13572         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13573         Likewise.
13574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13575         (setrlimit): Likewise.
13576         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13577         Likewise.
13579 2014-09-23  Will Newton  <will.newton@linaro.org>
13581         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13582         _LINUX_ARM_SYSDEP_H include guard too.
13583         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13584         define.
13586 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13588         * sysdeps/unix/sysv/linux/eventfd.c:
13589         Make first argument unsigned.
13590         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13591         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13593 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13595         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13596         * socket/sys/socket.h: Likewise
13597         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13599 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13601         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13603 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13605         * time/tst-ftime.c: New test.
13606         * time/Makefile (tests): Add tst-ftime.
13608 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13610         * soft-fp/extended.h: Fix comment formatting.
13611         * soft-fp/op-1.h: Likewise.
13612         * soft-fp/op-2.h: Likewise.
13613         * soft-fp/op-4.h: Likewise.
13614         * soft-fp/op-8.h: Likewise.
13615         * soft-fp/op-common.h: Likewise.
13616         * soft-fp/soft-fp.h: Likewise.
13618         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13620 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13622         [BZ #6652]
13623         * Makeconfig (soversions-default-setname): Remove variable.
13624         ($(common-objpfx)soversions.i): Don't pass default_setname to
13625         soversions.awk.
13626         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13627         oldest_abi to abi-versions.awk.
13628         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13629         * config.make.in (oldest-abi): Remove variable.
13630         * configure.ac (--enable-oldest-abi): Remove configure option.
13631         * configure: Regenerated.
13632         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13633         text.
13634         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13635         * scripts/soversions.awk: Do not handle default_setname variable.
13636         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13637         variable.
13638         * sysdeps/mach/hurd/configure: Regenerated.
13639         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13640         variable.
13641         * sysdeps/unix/sysv/linux/configure: Regenerated.
13643 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13645         * elf/Makefile (CFLAGS-interp.c): Remove.
13646         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13647         path string.
13648         * elf/interp.c: Include generated runtime-linker.h
13650         * Makerules (lib%.so): Don't include $(+interp) in
13651         prerequisites.
13652         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13653         * dlfcn/eval.c: Remove file.
13655         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13656         macros.
13658         [BZ #17266]
13659         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13660         4.2 and newer.
13662         [BZ #17370]
13663         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13665 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13666             Jakub Jelinek  <jakub@redhat.com>
13668         [BZ #17266]
13669         * libio/stdio.h: Check definition of __fortify_function
13670         instead of __extern_always_inline to include bits/stdio2.h.
13671         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13672         check if __extern_always_inline is defined.
13673         [__USE_MISC || __USE_XOPEN]: Likewise.
13674         [__USE_ISOC99] Likewise.
13675         * misc/sys/cdefs.h (__fortify_function): Define only if
13676         __extern_always_inline is defined.
13677         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13678         __extern_always_inline and __extern_inline only for g++-4.3
13679         and newer or a compatible gcc.
13681 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13683         [BZ #17371]
13684         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13685         last change to handle zero prefix length.
13687 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13689         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13690         _SC_REGEX_VERSION.
13692         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13693         _POSIX_RAW_SOCKETS.
13695 2014-09-13  Allan McRae  <allan@archlinux.org>
13697         * po/ru.po: Update Russian translation from translation project.
13699 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13701         * locale/programs/locale.c (show_locale_vars): Inline local function
13702         into its sole call site.  Clean up some style nits.
13703         (print_item): New function, broken out of ...
13704         (show_info): ... local function here.  Clean up style nits.
13706         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13707         out of ...
13708         (set_class_defaults): ... local function set_default here.
13709         Define set_default as a macro locally to pass constant parameters.
13710         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13711         rather than a shared local.
13713         * stdlib/rpmatch.c (try): New function, broken out of ...
13714         (rpmatch): ... local function here.  Also, prototypify definition.
13716 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13718         * scripts/soversions.awk: Do not handle configuration names.
13719         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13720         vendor and os variables to soversions.awk.
13721         * configure.ac: Do not modify gnu-* host_os.
13722         * configure: Regenerated
13723         * shlib-versions: Remove first column with configuration names.
13724         * nptl/shlib-versions: Likewise.
13725         * nptl_db/shlib-versions: Likewise.
13726         * sysdeps/hppa/shlib-versions: Likewise.
13727         * sysdeps/m68k/shlib-versions: Likewise.
13728         * sysdeps/mach/hurd/shlib-versions: Likewise.
13729         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13730         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13731         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13732         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13733         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13734         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13735         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13736         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13738         Likewise.
13739         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13740         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13741         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13742         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13743         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13744         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13745         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13746         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13749         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13751         Regenerated.
13752         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13754         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13756         * shlib-versions: Remove OS-specific entries.  Moved to files in
13757         sysdeps.
13758         * sysdeps/mach/hurd/shlib-versions: New file.
13759         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13761         * nptl/shlib-versions: Remove architecture-specific entries.
13762         Moved to files in sysdeps.
13763         * shlib-versions: Likewise.
13764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13765         file.
13766         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13767         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13768         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13769         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13771         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13772         (UDP_NO_CHECK6_RX): Likewise.
13774 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13776         * sysdeps/posix/sysconf.c (__sysconf): Spell
13777         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13779 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13781         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13782         loading.
13783         * iconv/Versions (__gconv_transliterate): Export for use from
13784         gconv modules.
13785         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13786         (struct __gconv_trans_data, __gconv_trans_fct,
13787         __gconv_trans_context_fct, __gconv_trans_query_fct,
13788         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13789         definitions.
13790         (struct __gconv_step_data): Remove __trans member.
13791         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13792         longer hidden.  Remove unused trans_data argument.
13793         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13794         (__gconv_translit_find): Remove declaration.
13795         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13796         prototype.
13797         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13798         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13799         trans_data argument.  Add hidden definition.
13800         (__gconv_translit_find): Remove.
13801         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13802         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13803         * iconv/skeleton.c: Remove transliteration initialization.
13804         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13805         __gconv_step_data initialization.
13806         * libio/iofwide.c (__libio_translit_): Remove.
13807         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13808         * wcsmbs/btowc.c (__btowc): Likewise.
13809         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13810         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13811         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13812         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13813         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13814         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13815         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13816         * wcsmbs/wctob.c (wctob): Likewise.
13818 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13820         [BZ #16194]
13821         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13822         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13823         register usage.
13824         * sysdeps/x86/Makefile: Adjust.
13826 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13827             Roland McGrath  <roland@hack.frob.com>
13829         * locale/weight.h: Add include guard.
13830         (findidx): Make static rather than auto; take new parameters
13831         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13832         * locale/weightwc.h: Likewise.
13833         * posix/fnmatch_loop.c
13834         (FCT): Change type of EXTRA from int32_t to wint_t.
13835         Don't include either header inside the function.
13836         Call FINDIDX rather than findidx, and pass new arguments.
13837         #undef FINDIDX at the end of the file.
13838         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13839         FINDIDX before including fnmatch_loop.c for the non-wide version.
13840         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13841         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13842         for the wide version.
13843         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13844         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13845         Pass new arguments to findidx.
13846         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13847         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13848         Don't #include it inside the function.  Pass new arguments to findidx.
13849         * posix/regex_internal.h
13850         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13851         (re_string_elem_size_at): Don't #include it inside the function.
13852         Pass new arguments to findidx.
13853         * string/strcoll_l.c: #include WEIGHT_H at top level.
13854         (get_next_seq): Don't #include it inside the function.
13855         Pass new arguments to findidx.
13856         (get_next_seq_nocache): Likewise.
13857         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13858         (STRXFRM): Don't #include it inside the function.
13859         Pass new arguments to findidx.
13861 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13863         [BZ #17344]
13864         * malloc/malloc.c (unlink): Turn asserts into a call to
13865         malloc_printerr.
13867 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13869         [BZ #17370]
13870         * libio/wfileops (do_ftell_wide): Free OUT.
13872 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13874         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13876 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13878         [BZ #17363]
13879         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13880         group if the current group is empty.
13882 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13884         * benchtests/bench-memset.c (test_main): Add more test from size
13885         from 32 to 512 bytes.
13886         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13887         Add POWER8 memset object.
13888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13889         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13890         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13891         implementation.
13892         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13893         Likewise.
13894         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13895         multiarch POWER8 memset optimization.
13896         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13897         POWER8 memset optimization.
13899         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13900         Remove bzero multiarch objects.
13901         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13902         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13903         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13904         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13905         Remove define.
13906         [__bzero]: Redefine to specific name.
13907         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13908         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13909         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13910         define.
13911         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13912         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13914 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13916         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13917         warnings into errors.
13919         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13920         __cxa_thread_atexit_impl prototype.
13922 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13924         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13925         Fix capitalization of error message.
13927 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13929         * sysdeps/mips/preconfigure: Modify ABI tests.
13931 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13933         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13935 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13936             Carlos O'Donell  <carlos@systemhalted.org>
13938         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13939         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13940         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13941         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13942         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13943         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13944         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13945         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13946         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13947         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13948         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13949         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13950         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13951         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13952         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13953         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13954         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13955         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13956         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13957         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13958         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13959         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13960         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13961         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13962         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13963         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13964         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13965         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13966         Deconditionalize the code that was previously under [RESET_PID].
13967         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13968         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13969         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13970         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13971         include sysdep.h.
13973 2014-09-08  Allan McRae  <allan@archlinux.org>
13975         * version.h (RELEASE): Set to "development".
13976         (VERSION): Set to "2.20.90"
13978 2014-09-07  Allan McRae  <allan@archlinux.org
13980         * version.h (RELEASE): Set to "stable".
13981         (VERSION): Set to "2.20"
13982         * include/features.h (__GLIBC_MINOR__): Set to 20.
13984         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13985         Liebler.
13987         * po/ko.po: Update Korean translation from translation project.
13989 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13991         [BZ #17354]
13992         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13993         macro for handling signed relocations.
13995 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13997         [BZ #17325]
13998         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13999         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14000         assert.
14001         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14002         * iconvdata/ibm935.c (BODY): Likewise.
14003         * iconvdata/ibm937.c (BODY): Likewise.
14004         * iconvdata/ibm939.c (BODY): Likewise.
14005         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14006         assert.
14007         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14008         script.
14009         * iconvdata/run-iconv-test.sh: New test loop for checking for
14010         decoder crashers.
14012 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14014         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14015         libm_hidden_ver.
14017 2014-09-01  Allan McRae  <allan@archlinux.org>
14019         * po/eo.po: Update Esperanto translation from translation project.
14021         * po/ca.po: Update Catalan translation from translation project.
14023 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14025         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14026         __proc_dostop call.
14028 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14030         [BZ #17319]
14031         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14032         to call set_thread_area instead of hand written asm.
14033         (__NR_set_thread_area): Removed define.
14034         (TLS_FLAG_WRITABLE): Likewise.
14035         (__ASSUME_SET_THREAD_AREA): Remove check.
14036         (TLS_EBX_ARG): Remove define.
14037         (TLS_LOAD_EBX): Likewise.
14039 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14041         Simplify atomicity of socket creation in bind.
14043         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14044         looking up the name after linking the file.
14046 2014-08-27  Allan McRae  <allan@archlinux.org>
14048         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14050 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14052         [BZ #17187]
14053         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14054         trans_compare, open_translit, __gconv_translit_find):
14055         Remove module loading code.
14057 2014-08-26  Allan McRae  <allan@archlinux.org>
14059         * po/vi.po: Update Vietnamese translation from translation project.
14061         * po/uk.po: Update Ukrainian translation from translation project.
14063         * po/fr.po: Update French translation from translation project.
14065         * po/ru.po: Update Russian translation from translation project.
14067         * po/pl.po: Update Polish translation from translation project.
14069         * po/cs.po: Update Czech translation from translation project.
14071         * po/de.po: Update German translation from translation project.
14073         * po/bg.po: Update Bulgarian translation from translation project.
14075         * po/sv.po: Update Sweedish translation from translation project.
14077         * po/nl.po: Update Dutch translation from translation project.
14079         * po/es.po: Update Spanish translation from translation project.
14081 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14083         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14085         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14086         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14087         (CPPFLAGS-iconvconfig): Likewise.
14088         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14090         * include/libc-symbols.h: Remove unnecessary check for
14091         NOT_IN_libc.
14092         * nptl/pthreadP.h: Likewise.
14093         * sysdeps/aarch64/setjmp.S: Likewise.
14094         * sysdeps/alpha/setjmp.S: Likewise.
14095         * sysdeps/arm/sysdep.h: Likewise.
14096         * sysdeps/i386/setjmp.S: Likewise.
14097         * sysdeps/m68k/setjmp.c: Likewise.
14098         * sysdeps/posix/getcwd.c: Likewise.
14099         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14100         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14101         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14102         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14103         * sysdeps/sh/sh3/setjmp.S: Likewise.
14104         * sysdeps/sh/sh4/setjmp.S: Likewise.
14105         * sysdeps/unix/alpha/sysdep.h: Likewise.
14106         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14107         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14108         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14109         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14112         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14113         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14114         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14115         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14116         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14117         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14119         * sysdeps/x86_64/setjmp.S: Likewise.
14121 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14123         [BZ #17263]
14124         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14125         <stdint.h>.
14126         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14127         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14129 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14131         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14133         [BZ #17262]
14134         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14135         and __x86_64__ when disabling x87 inline functions.
14137 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14139         [BZ #17259]
14140         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14141         asm statement with __cpuid_count.
14143 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14145         * configure.ac: Change __ehdr_start code to dereference the struct.
14146         Run readelf on the output to look for relocations.
14147         * configure: Regenerated.
14149 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14151         [BZ #17261]
14152         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14153         value to 0.
14154         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14156 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14158         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14160 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14162         [BZ #16892]
14163         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14164         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14166 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14168         * malloc/malloc.c: Fix typo in comment.
14170 2014-08-09  Allan McRae  <allan@archlinux.org>
14172         * Regenerate libc.po.
14174 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14176         * intl/tst-gettext2.sh: Check every lang file for creation.
14178 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14180         * sysdeps/aarch64/fpu/math_private.h
14181         (libc_feholdsetround_noex_aarch64_ctx): New function.
14183 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14185         * sysdeps/arm/armv6/strcpy.S (strcpy):
14186         Fix performance issue in misaligned cases.
14188 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14190         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14191         Move definition from termios.h.
14192         (struct termio): Likewise.
14193         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14194         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14195         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14196         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14197         Likewise.
14198         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14199         Move definition to ioctl-types.h
14200         (struct termio): Likewise.
14201         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14202         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14203         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14204         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14205         Likewise.
14207 2014-08-05  Richard Henderson  <rth@redhat.com>
14209         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14210         exceptions.
14211         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14212         Add fraiseexcpt.
14213         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14214         Use __feraiseexcept.
14215         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14216         Protect libm symbols with IS_IN_libm.
14218         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14220 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14222         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14224 2014-08-04  Will Newton  <will.newton@linaro.org>
14226         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14227         file.
14229 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14231         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14232         variants for each function.
14234 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14236         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14237         appended ...
14238         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14239         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14240         appended ...
14241         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14242         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14243         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14244         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14245         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14246         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14247         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14248         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14249         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14250         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14251         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14252         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14253         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14254         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14255         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14256         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14257         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14258         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14259         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14260         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14261         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14262         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14263         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14264         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14265         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14266         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14267         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14268         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14269         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14270         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14271         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14272         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14273         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14274         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14275         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14276         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14277         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14278         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14279         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14280         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14281         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14282         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14283         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14284         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14285         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14286         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14287         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14288         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14289         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14290         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14291         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14292         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14293         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14294         Update #include.
14295         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14296         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14298 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14300         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14301         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14302         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14303         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14304         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14305         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14307 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14309         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14310         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14311         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14312         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14314 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14316         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14317         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14318         (__libc_vfork): Define function under this name.
14319         (__vfork): Define as an alias.
14320         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14321         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14323 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14325         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14326         that was previously under [RESET_PID].
14327         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14329 2014-08-04  Andreas Schwab  <schwab@suse.de>
14331         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14333 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14335         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14336         (main): Likewise.
14338 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14340         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14342 2014-08-01  Richard Henderon  <rth@redhat.com>
14344         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14345         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14346         typo in exact zero test.
14347         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14348         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14349         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14351 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14353         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14354         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14355         * sysdeps/arm/sysdep.h: ... here.
14356         [!__ASSEMBLER__]: Include <stdint.h>.
14358 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14360         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14361         (HAVE_WCTYPE_H): Likewise.
14362         (HAVE_ISWCTYPE): Likewise.
14363         (ENABLE_NLS): Likewise.
14364         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14365         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14367         * posix/regex_internal.c: Check if DEBUG is defined and is
14368         set.
14370         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14371         (HAVE_MBSRTOWCS): Likewise.
14372         * posix/fnmatch.c: Include string.h unconditionally.
14374 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14376         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14377         reversal.
14379 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14381         * sysdeps/generic/safe-fatal.h: New file.
14382         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14383         * nptl/forward.c: Include it.
14384         (__pthread_unwind): Use __safe_fatal as default action, rather
14385         than a bogus use of INTERNAL_SYSCALL that could never work.
14387         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14388         * configure.ac (libc_cv_builtin_trap): New test.
14389         * configure: Regenerated.
14390         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14391         (ABORT_INSTRUCTION): Define using __builtin_trap.
14393         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14394         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14395         * sysdeps/nptl/nptl-signals.h: New file.
14396         * nptl/pthreadP.h: Include <nptl-signals.h>.
14398 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14400         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14401         (ONE_DIRECTION): Define.
14402         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14403         (ONE_DIRECTION): Define.
14404         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14405         (ONE_DIRECTION): Define.
14407 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14409         * sysdeps/s390/Makefile: Delete file.
14410         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14411         * sysdeps/s390/__longjmp.c: Delete file.
14412         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14413         Remove fields __flags and __reserved.
14414         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14415         and add versioning.
14416         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14417         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14418         * sysdeps/s390/rtld-setjmp.S: Likewise.
14419         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14420         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14421         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14422         * sysdeps/s390/s390-32/setjmp.S: ... here.
14423         Add versioning.
14424         (__sigsetjmp): Remove setting __flags field.
14425         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14426         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14427         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14428         * sysdeps/s390/s390-64/setjmp.S: ... here.
14429         Add versioning.
14430         (__sigsetjmp): Remove setting __flags field.
14431         * sysdeps/s390/setjmp.S: Delete file.
14432         * sysdeps/s390/sigjmp.c: Likewise.
14433         * sysdeps/s390/v1-longjmp.c: Likewise.
14434         * sysdeps/s390/v1-setjmp.h: Likewise.
14435         * sysdeps/s390/v1-sigjmp.c: Likewise.
14436         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14437         Remove v1-longjmp_chk.
14438         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14439         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14440         Include debug/longjmp_chk.c and add versioning.
14441         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14442         Include nptl/pt-longjmp.c and add versioning.
14443         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14444         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14445         Include __longjmp.c.
14446         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14447         Move to ...
14448         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14449         (__getcontext): Remove setting __flags field.
14450         Add versioning.
14451         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14452         Don't restore upper high grps.
14453         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14454         Likewise.
14455         (__swapcontext): Remove setting uc_flags field.
14456         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14457         Delete file.
14458         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14459         Include __longjmp.c.
14460         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14461         Move to ...
14462         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14463         (__getcontext): Remove setting __flags field.
14464         Add versioning.
14465         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14466         (__swapcontext): Remove setting uc_flags field.
14467         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14468         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14469         Remove fields uc_high_gprs and __reserved.
14470         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14471         New file with reverted content.
14472         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14473         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14474         Regenerated.
14475         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14476         Regenerated.
14478 2014-07-31  Andreas Schwab  <schwab@suse.de>
14480         * config.h.in (HAVE_IFUNC): Define to 0.
14481         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14482         definedness.
14484 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14486         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14487         memmove-avx-unaligned, memcpy-avx-unaligned and
14488         mempcpy-avx-unaligned.
14489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14490         Add tests for AVX memcpy functions.
14491         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14492         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14493         memcpy_chk.
14494         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14495         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14496         memmove_chk.
14497         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14498         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14499         mempcpy_chk.
14500         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14501         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14502         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14504 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14506         [BZ #17213]
14507         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14508         powerpc64le.
14510 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14512         [BZ #16839]
14513         * manual/llio.texi: Add section about open file description locks.
14514         * manual/examples/ofdlocks.c: Example of open file description
14515         lock usage.
14516         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14517         F_OFD_SETLK, and F_OFD_SETLKW.
14519 2014-07-23  Allan McRae  <allan@archlinux.org>
14521         * po/es.po: Update Spanish translation from translation project.
14523 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14525         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14527 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14529         [BZ #17078]
14530         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14531         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14532         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14534 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14536         [BZ #17088]
14537         * math/fesetenv.c (__fesetenv)
14538         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14539         * math/feupdateenv.c (__feupdateenv)
14540         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14542         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14543         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14544         (__ASSUME_SOCKETCALL): Do not define.
14546         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14547         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14548         (__ASSUME_SOCKETCALL): Do not define.
14549         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14550         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14551         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14552         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14553         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14554         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14555         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14556         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14558         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14559         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14560         (__ASSUME_SOCKETCALL): Do not define.
14561         (__ASSUME_IPC64): Define unconditionally.
14562         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14563         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14564         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14565         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14566         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14567         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14568         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14569         Likewise.
14571         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14572         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14573         (__ASSUME_SOCKETCALL): Do not define.
14574         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14575         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14576         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14577         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14578         (__ASSUME_REQUEUE_PI): Define unconditionally.
14579         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14580         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14581         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14582         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14583         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14584         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14586         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14587         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14588         (__ASSUME_SOCKETCALL): Do not define.
14589         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14590         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14591         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14592         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14593         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14594         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14596         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14597         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14598         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14599         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14600         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14601         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14602         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14603         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14604         (__ASSUME_GETCPU_SYSCALL): Likewise.
14606         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14607         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14608         cases for individual architectures.
14609         * sysdeps/gnu/configure: Regenerated.
14610         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14611         LIBC_SLIBDIR_RTLDDIR.
14612         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14613         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14614         LIBC_SLIBDIR_RTLDDIR.
14615         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14617         LIBC_SLIBDIR_RTLDDIR.
14618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14619         Regenerated.
14620         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14621         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14622         file.
14623         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14624         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14625         file.
14626         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14627         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14628         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14629         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14631         * sysdeps/aarch64/shlib-versions: Move to ...
14632         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14633         * sysdeps/alpha/shlib-versions: Move to ...
14634         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14635         * sysdeps/arm/shlib-versions: Move to ...
14636         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14637         * sysdeps/hppa/shlib-versions: Move all contents except for
14638         libgcc_s entry to ...
14639         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14640         entry from ...
14641         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14642         * sysdeps/ia64/shlib-versions: Move to ...
14643         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14644         entry from ...
14645         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14646         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14647         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14648         * sysdeps/microblaze/shlib-versions: Move to ...
14649         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14650         * sysdeps/mips/shlib-versions: Move to ...
14651         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14652         entry from ...
14653         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14654         * sysdeps/tile/shlib-versions: Move to ...
14655         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14656         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14657         from ...
14658         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14659         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14660         entry from ...
14661         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14663 2014-07-17  Will Newton  <will.newton@linaro.org>
14665         * sysdeps/arm/bits/atomic.h
14666         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14667         (__arch_compare_and_exchange_bool_16_int): Likewise.
14668         (__arch_compare_and_exchange_bool_64_int): Likewise.
14670         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14671         into an #else block.
14673 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14675         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14676         just Linux configurations.  Test empirically that the compiler sets
14677         __ARM_EABI__, rather than using the tuple to decide.
14678         * sysdeps/arm/preconfigure: Regenerated.
14679         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14680         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14681         contents appended ...
14682         * sysdeps/arm/configure.ac: ... here.
14683         * sysdeps/arm/configure: Regenerated.
14685 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14687         * nptl/pthread_kill.c: New file.
14688         * nptl/pthread_sigmask.c: New file.
14689         * nptl/pthread_sigqueue.c: New file.
14691         * sysdeps/nptl/lowlevellock.h: New file.
14692         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14693         * sysdeps/nptl/lowlevellock-futex.h: New file.
14695         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14696         Remove dead declarations.
14698 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14700         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14701         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14702         config-cflags-avx2.
14703         * sysdeps/x86_64/configure.ac: Likewise.
14704         * sysdeps/i386/configure: Regenerated.
14705         * sysdeps/x86_64/configure: Likewise.
14706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14707         memset-avx2 only if config-cflags-avx2 is yes.
14708         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14709         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14710         defined.
14711         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14712         only if HAVE_AVX2_SUPPORT is defined.
14713         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14715 2014-07-14  Alan Modra  <amodra@gmail.com>
14717         [BZ #17153]
14718         * elf/elf.h (DT_PPC64_NUM): Correct value.
14719         * NEWS: Add to fixed bug list.
14721 2014-07-13  Jim Meyering  <meyering@fb.com>
14723         [BZ 17150]
14724         regex: don't deref NULL upon heap allocation failure
14725         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14726         failure in one more place.
14727         To trigger the segfault, configure grep -with-included-regex,
14728         build it, and run these commands:
14729         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14731 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14733         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14735 2014-07-11  Richard Henderson  <rth@redhat.com>
14737         * sysdeps/aarch64/libm-test-ulps: Update.
14739 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14741         [BZ #17135]
14742         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14743         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14744         (__nptl_setxid): Initialize error member.  Call
14745         __nptl_setxid_error.
14746         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14747         * nptl/descr.h (struct xid_command): Add error member.
14748         * nptl/tst-setuid3.c: New file.
14749         * nptl/Makefile (tests): Add it.
14751 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14753         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14754         New define.
14755         (__lll_trylock): Use __lll_base_trylock.
14756         (__lll_cond_trylock): Likewise.
14758 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14760         * nptl/pthread_create.c (start_thread): Use atomic_or and
14761         lll_futex_wake directly rather than lll_robust_dead.
14762         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14763         (lll_robust_dead): Macro removed.
14764         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14765         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14766         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14767         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14768         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14769         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14770         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14771         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14772         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14773         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14774         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14775         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14776         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14777         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14778         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14780         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14781         Use atomic_compare_and_exchange_val_acq directly rather than
14782         lll_robust_trylock.
14783         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14784         (__lll_robust_trylock, lll_robust_trylock): Removed.
14785         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14786         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14787         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14788         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14789         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14790         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14791         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14792         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14793         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14794         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14795         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14796         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14797         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14798         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14800 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14802         * manual/locale.texi (Locale Names): New section documenting
14803         locale name syntax.  Adjust menu and node chaining accordingly.
14804         (Choosing Locale): Reference Locale Names, Locale Categories.
14805         Mention setting LC_ALL=C.  Reflect that name syntax is now
14806         documented.
14807         (Locale Categories): New section title.  Reference Locale Names.
14808         LC_ALL is an environment variable, but not a category.
14809         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14810         description, now in Locale Name.  Reference that section.  Locale
14811         name syntax is now documented.
14813 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14815         [BZ #17137]
14816         * locale/findlocale.c (name_present, valid_locale_name): New
14817         functions.
14818         (_nl_find_locale): Use the loc_name variable to store name
14819         candidates.  Call name_present and valid_locale_name to check and
14820         validate locale names.  Return an error if the locale is invalid.
14822 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14824         * locale/setlocale.c (setlocale): Use strdup for allocating
14825         composite name copy.
14827 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14829         Sync up with gnulib.
14830         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14831         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14832         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14833         and _GL_ARG_NONNULL.
14834         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14835         [!_LIBC]: Include code for Windows and Cygwin.
14836         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14837         Include prototype for int strerror_r.
14838         [!_LIBC] (is_open): New function.
14839         (flush_stdout): New function.
14840         (print_errno_message): Use it.
14841         (error): Likewise.
14842         (error_at_line): Likewise.
14843         (error_tail) Add function attribute macros.  Use
14844         __builtin_expect.
14846         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14848         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14850         * io/ftw.c: Include sys/param.h unconditionally.
14852         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14854         [BZ #17125]
14855         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14856         libc_freeres_ptr.
14857         (freecache): New function to free CACHE on exit.
14859         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14860         initialization.
14862 2014-07-09  David S. Miller  <davem@davemloft.net>
14864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14866         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14867         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14868         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14869         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14870         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14871         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14872         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14873         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14874         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14875         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14876         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14877         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14878         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14880 2014-07-09  Andreas Schwab  <schwab@suse.de>
14882         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14883         output.
14884         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14885         (do_test): Likewise.
14887         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14889 2014-07-09  Will Newton  <will.newton@linaro.org>
14891         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14892         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14893         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14894         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14895         * sysdeps/hppa/start.S (_start): Likewise.
14897 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14899         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14901         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14902         defined.
14904 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14906         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14907         after checking that it is non-NULL.
14909         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14911 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14913         * sysdeps/powerpc/memmove.c: Remove file.
14914         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14915         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14916         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14917         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14918         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14919         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14920         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14921         string memmove instead of removed powerpc one.
14923         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14924         [weak_alias]: Fix compiler warning due trailing data.
14925         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14926         [weak_alias]: Likewise.
14927         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14928         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14931         (__libc_ifunc_impl_list): Add memmove functions.
14933 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14935         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14936         Remove code.
14937         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14938         Likewise
14939         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14940         Likewise
14941         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14942         Likewise
14943         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14944         Likewise
14945         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14946         Likewise
14947         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14948         Likewise
14949         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14950         Likewise
14951         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14952         Likewise
14953         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14954         Likewise
14955         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14956         Likewise
14957         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14958         Likewise
14959         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14960         Likewise
14961         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14962         Likewise
14963         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14964         Likewise
14965         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14966         Likewise
14967         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14968         Likewise
14970 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14972         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14973         to avoid alignment traps in non-cacheable memory.
14974         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14977         multiarch objects.
14978         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14979         file: multiarch power7 memmove.
14980         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14981         multiarch default memmove.
14982         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14983         multiarch memove for powerpc32/power4.
14985         * string/bcopy.c: Use full path to include memmove.c.
14986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14987         multiarch objects.
14988         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14989         bcopy for powerpc64.
14990         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14991         bcopy for powerpc64.
14992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14993         and memmove implementations.
14994         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14995         optimized multiarch memmove for POWER7/powerpc64.
14996         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14997         default multiarch memmove for powerpc64.
14998         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14999         multiarch for powerpc64.
15000         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15001         for POWER7/powerpc64.
15002         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15003         memmove for POWER7/powerpc64.
15005         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15006         glibc default one.
15008         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15009         __ELF_NATIVE_CLASS equal to 64.
15011 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15013         * sysdeps/nptl/lowlevellock.h: File removed.
15015         * NEWS: NPTL is no longer an add-on!
15016         * nptl/internaltypes.h: Moved ...
15017         * sysdeps/nptl/internaltypes.h: ... here.
15018         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15019         * sysdeps/nptl/fork.c: Likewise.
15020         * sysdeps/nptl/gai_misc.h: Likewise.
15021         * sysdeps/nptl/librt-cancellation.c: Likewise.
15022         * sysdeps/nptl/jmp-unwind.c: Likewise.
15023         * sysdeps/nptl/setxid.h: Likewise.
15024         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15025         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15026         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15027         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15028         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15029         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15030         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15031         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15032         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15033         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15034         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15035         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15036         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15037         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15038         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15039         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15040         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15041         * nptl/Makeconfig: Moved ...
15042         * sysdeps/nptl/Makeconfig: ... here.
15043         * nptl/configure: File removed.
15044         * nptl/ANNOUNCE: File removed.
15045         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15046         * sysdeps/unix/sysv/linux/configure: Regenerated.
15048         * nptl/Makefile (routines): Add libc_pthread_init,
15049         libc_multiple_threads, register-atfork and unregister-atfork.
15050         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15051         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15052         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15053         pthread-pi-defines.sym, structsem.sym.
15054         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15055         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15056         [$(subdir) = nptl] (tests): Add tst-setgetname.
15057         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15058         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15059         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15060         [!LIBC_SIGACTION]: Remove aliases.
15061         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15062         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15063         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15064         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15065         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15066         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15067         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15068         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15069         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15070         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15071         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15072         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15073         __libc_allocate_rtsig_private.
15074         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15075         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15076         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15077         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15078         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15079         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15080         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15081         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15082         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15083         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15084         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15085         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15086         * nptl/internaltypes.h: ... here.
15087         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15088         * sysdeps/nptl/jmp-unwind.c: ... here.
15089         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15090         * nptl/libc-lowlevellock.c: ... here.
15091         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15092         * nptl/libc_multiple_threads.c: ... here.
15093         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15094         * nptl/libc_pthread_init.c: ... here.
15095         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15096         * nptl/lowlevelbarrier.sym: ... here.
15097         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15098         * nptl/lowlevelcond.sym: ... here.
15099         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15100         * nptl/lowlevellock.c: ... here.
15101         * nptl/lowlevellock.h: Moved ...
15102         * sysdeps/nptl/lowlevellock.h: ... here.
15103         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15104         * nptl/lowlevelrobustlock.c: ... here.
15105         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15106         * nptl/lowlevelrobustlock.sym: ... here.
15107         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15108         * nptl/lowlevelrwlock.sym: ... here.
15109         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15110         * nptl/pt-fork.c: ... here.
15111         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15112         * nptl/pthread-pi-defines.sym: ... here.
15113         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15114         * nptl/pthread_attr_getaffinity.c: ... here.
15115         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15116         * nptl/pthread_attr_setaffinity.c: ... here.
15117         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15118         * nptl/pthread_mutex_cond_lock.c: ... here.
15119         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15120         Update #include.
15121         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15122         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15123         * nptl/pthread_once.c: ... here, replacing old file.
15124         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15125         * nptl/pthread_yield.c: ... here.
15126         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15127         * nptl/register-atfork.c: ... here.
15128         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15129         * nptl/sem_post.c: ... here.
15130         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15131         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15132         * nptl/sem_timedwait.c: ... here.
15133         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15134         * nptl/sem_trywait.c: ... here.
15135         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15136         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15137         * nptl/sem_wait.c: ... here.
15138         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15139         * nptl/structsem.sym: ... here.
15140         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15141         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15142         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15143         * nptl/unregister-atfork.c: ... here.
15144         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15145         * nptl/unwindbuf.sym: ... here.
15146         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15147         * sysdeps/nptl/fork.c: ... here.
15148         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15149         * sysdeps/nptl/fork.h: ... here.
15150         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15151         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15152         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15153         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15154         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15155         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15156         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15157         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15158         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15159         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15160         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15161         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15162         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15163         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15164         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15165         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15166         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15167         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15168         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15169         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15170         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15171         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15172         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15173         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15174         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15175         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15176         * sysdeps/unix/sysv/linux/raise.c: ... here.
15177         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15178         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15179         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15180         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15181         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15182         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15183         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15184         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15185         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15186         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15187         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15188         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15189         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15190         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15191         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15193 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15195         * sysdeps/generic/memcopy.h: Add comment for
15196         MEMCPY_OK_FOR_FWD_MEMMOVE.
15198 2014-07-04  Will Newton  <will.newton@linaro.org>
15200         * string/memchr.c: Merge from gnulib.
15201         [_LIBC]: Remove conditionals.
15202         (__ptr_t): Remove define.
15203         (LONG_MAX_32_BITS): Likewise.
15204         (LONG_MAX): Likewise.
15205         (MEMCHR): Use ANSI prototype and optimize algorithm.
15207         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15209 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15211         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15212         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15214         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15215         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15216         in a bare environment with no <stdlib.h> installed.
15217         * sysdeps/nptl/configure: Regenerated.
15219         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15221         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15222         AC_EGREP_CPP for kernel header checks, so they only succeed if
15223         including <linux/version.h> actually works right.
15224         * sysdeps/unix/sysv/linux/configure: Regenerated.
15226         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15227         value so it's not diagnosed as unused.
15229         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15230         thing) with "ifeq ($(subdir),rt)".
15232 2014-07-03  Richard Henderson  <rth@redhat.com>
15234         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15235         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15236         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15238         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15239         (math_force_eval): New.
15241         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15242         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15244         * sysdeps/alpha/fpu/s_round.c: Remove file.
15245         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15247         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15248         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15249         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15250         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15251         (_dl_start, print_statistics): Likewise.
15252         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15253         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15255         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15256         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15257         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15258         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15259         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15260         (HP_SMALL_TIMING_AVAIL): Define.
15261         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15262         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15263         (HP_SMALL_TIMING_AVAIL): Define.
15264         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15265         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15267         * sysdeps/aarch64/hp-timing.h: New file.
15269         * sysdeps/generic/hp-timing.h: Remove dead comment.
15270         * sysdeps/generic/hp-timing-common.h: New file.
15271         * sysdeps/alpha/hp-timing.h: Include it.
15272         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15273         * sysdeps/i386/i686/hp-timing.h: Likewise.
15274         * sysdeps/ia64/hp-timing.h: Likewise.
15275         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15276         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15277         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15278         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15279         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15280         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15281         (hp_timing_t): New.
15283         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15284         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15285         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15286         * elf/rtld.c (_dl_start_final): Likewise.
15287         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15288         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15289         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15290         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15291         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15292         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15293         (HP_TIMING_DIFF_INIT): Remove.
15294         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15295         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15296         (HP_TIMING_DIFF_INIT): Remove.
15297         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15298         * sysdeps/i386/i686/hp-timing.c: Remove file.
15299         * sysdeps/x86_64/hp-timing.c: Remove file.
15300         * sysdeps/ia64/hp-timing.c: Remove file.
15301         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15302         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15303         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15304         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15306         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15307         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15308         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15309         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15310         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15311         (HP_TIMING_ACCUM): Remove.
15312         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15313         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15314         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15316         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15317         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15318         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15319         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15320         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15321         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15322         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15323         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15325         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15327 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15329         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15331 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15333         Sync up with gettext.
15334         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15335         [_MSC_VER]: Include malloc.h
15336         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15337         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15338         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15339         TEMP_FAILURE_RETRY.  Cast return of alloca.
15340         [!_LIBC] Call gl_rwlock_init.
15341         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15343 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15345         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15346         before checking its value.
15348 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15350         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15352         * debug/memcpy_chk.c: Don't include pagecopy.h.
15353         * debug/mempcpy_chk.c: Likewise.
15354         * string/memcpy.c: Likewise.
15355         * string/memmove.c: Likewise.
15356         * sysdeps/powerpc/memmove.c: Likewise.
15357         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15358         definition of PAGE_COPY_FWD_MAYBE here...
15359         * sysdeps/generic/pagecopy.h: ... from here.
15360         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15362 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15363             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15365         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15367         optimizations.
15368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15369         (__libc_ifunc_impl_list): Likewise.
15370         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15371         multiarch strcat for PPC64.
15372         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15373         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15375 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15377         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15379 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15381         * intl/loadmsgcat.c: Remove declaration of
15382         get_sysdep_segment_value.
15383         (get_sysdep_segment_value): Use ISO C style.
15384         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15385         semicolon.  Fix typo and formatting in comment.
15386         (_nl_unload_domain): Use ISO C style.
15388         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15390 2014-07-02  Will Newton  <will.newton@linaro.org>
15392         * malloc/obstack.c: Merge from gnulib master.
15393         [HAVE_CONFIG_H]: Remove conditional code.
15394         [!_LIBC]: Include config.h.
15395         [!ELIDE_CODE]: Don't include inttypes.h, include
15396         stdint.h unconditionally.
15397         (print_and_abort): Mark as _Noreturn.
15398         (_obstack_allocated_p): Mark as __attribute_pure__.
15399         (obstack_free): Rename to __obstack_free.
15400         [!__attribute__]: Remove conditional code.
15401         * malloc/obstack.h: Merge from gnulib master.
15402         [__cplusplus]: Move conditional down.
15403         [!__attribute_pure__]: Define __attribute_pure__ here
15404         if it is not already defined.
15405         (_obstack_memory_used): Mark as __attribute_pure__.
15406         [!__obstack_free]: Define as obstack_free.
15407         [__GNUC__]: Remove check for ancient NeXT gcc.
15409 2014-07-02  Will Newton  <will.newton@linaro.org>
15410             Paul Eggert  <eggert@cs.ucla.edu>
15412         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15414 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15416         * resolv/gethnamaddr.c: Add comment warning that the file is
15417         not maintained.
15419 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15421         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15422         entries.
15424         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15425         entry for aio_cancel and aio_cancel64.
15426         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15427         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15428         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15429         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15430         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15431         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15432         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15433         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15434         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15435         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15436         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15437         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15438         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15440 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15442         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15443         * nptl/pthread_mutex_lock.c: Likewise.
15444         * nptl/pthread_mutex_timedlock.c: Likewise.
15445         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15447 2014-07-01  Richard henderson  <rth@redhat.com>
15449         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15450         (__isnan, __isnanl): Remove.
15451         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15453         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15455 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15457         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15459 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15461         * resolv/nss_dns/dns-host.c (getanswer_r)
15462         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15464 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15467         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15468         undefine.
15469         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15470         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15472 2014-07-01  Roland McGrath <roland@hack.frob.com>
15474         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15475         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15477         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15478         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15480         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15481         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15482         ... here.
15483         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15484         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15486         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15487         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15488         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15489         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15491         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15492         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15493         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15494         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15495         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15496         Moved ...
15497         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15498         ... here.
15499         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15500         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15501         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15502         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15503         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15504         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15505         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15506         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15507         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15508         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15509         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15510         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15511         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15512         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15513         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15514         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15515         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15516         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15517         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15518         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15519         ... here.
15520         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15521         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15522         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15523         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15524         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15525         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15526         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15527         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15529 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15531         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15532         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15533         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15534         Add sysdep.
15536 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15540 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15542         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15543         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15545         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15547         * sysdeps/arm/libm-test-ulps: Regenerated.
15549 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15550             Roland McGrath <roland@hack.frob.com>
15552         * test-skeleton.c (signal_handler): Kill the whole process group
15553         before killing the child individually.
15554         (main): Report any failure on `setpgid'.
15556 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15558         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15559         from _TLS_H to _ARM_NPTL_TLS_H.
15560         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15561         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15563 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15565         [BZ #16539]
15566         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15567         (__expm1l): Return argument unchanged when small but not
15568         subnormal.
15570         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15571         include macro name.
15572         (_FP_UNPACK_RAW_1_P): Likewise.
15573         (_FP_PACK_RAW_1): Likewise.
15574         (_FP_PACK_RAW_1_P): Likewise.
15575         (_FP_MUL_MEAT_1_wide): Likewise.
15576         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15577         (_FP_MUL_MEAT_1_hard): Likewise.
15578         (_FP_DIV_MEAT_1_imm): Likewise.
15579         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15580         (_FP_DIV_MEAT_1_udiv): Likewise.
15581         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15582         (_FP_UNPACK_RAW_2): Likewise.
15583         (_FP_UNPACK_RAW_2_P): Likewise.
15584         (_FP_PACK_RAW_2): Likewise.
15585         (_FP_PACK_RAW_2_P): Likewise.
15586         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15587         (_FP_MUL_MEAT_2_wide): Likewise.
15588         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15589         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15590         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15591         (_FP_MUL_MEAT_2_gmp): Likewise.
15592         (_FP_DIV_MEAT_2_udiv): Likewise.
15593         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15594         (_FP_FRAC_SRL_4): Likewise.
15595         (_FP_FRAC_SRST_4): Likewise.
15596         (_FP_FRAC_SRS_4): Likewise.
15597         (_FP_UNPACK_RAW_4): Likewise.
15598         (_FP_UNPACK_RAW_4_P): Likewise.
15599         (_FP_PACK_RAW_4): Likewise.
15600         (_FP_PACK_RAW_4_P): Likewise.
15601         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15602         (_FP_MUL_MEAT_4_wide): Likewise.
15603         (_FP_MUL_MEAT_4_gmp): Likewise.
15604         (umul_ppppmnnn): Likewise.
15605         (_FP_DIV_MEAT_4_udiv): Likewise.
15606         (__FP_FRAC_ADD_4): Likewise.
15607         (__FP_FRAC_SUB_3): Likewise.
15608         (__FP_FRAC_SUB_4): Likewise.
15609         (__FP_FRAC_DEC_3): Likewise.
15610         (__FP_FRAC_DEC_4): Likewise.
15611         (__FP_FRAC_ADDI_4): Likewise.
15612         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15613         (_FP_FRAC_SRL_8): Likewise.
15614         (_FP_FRAC_SRS_8): Likewise.
15616         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15617         include macro name.
15618         (FP_UNPACK_RAW_EP): Likewise.
15619         (FP_PACK_RAW_E): Likewise.
15620         (FP_PACK_RAW_EP): Likewise.
15621         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15622         (_FP_ISSIGNAN): Likewise.
15623         (_FP_ADD_INTERNAL): Likewise.
15624         (_FP_FMA): Likewise.
15625         (_FP_CMP): Likewise.
15626         (_FP_SQRT): Likewise.
15627         (_FP_TO_INT): Likewise.
15628         (_FP_FROM_INT): Likewise.
15629         (FP_EXTEND): Likewise.
15630         (_FP_DIV_MEAT_N_loop): Likewise.
15632 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15634         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15635         throughout.
15637 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15639         [BZ #17097]
15640         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15641         result with correct sign in case of exponents that produce
15642         overflow except for X very close to 1.
15644 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15646         mktime: merge #if/#ifdef usage from glibc
15647         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15648         as that works with both Glibc's and Gnulib's style.
15649         See thread starting at Siddhesh Poyarekar's bug report at:
15650         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15652 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15654         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15655         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15656         * sysdeps/tile/tilegx/memmove.c: Remove file.
15658 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15660         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15661         abi-name definition.
15662         * scripts/soversions.awk: Do not handle or generate ABI lines.
15663         * shlib-versions: Remove ABI entries.
15664         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15665         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15667 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15669         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15670         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15671         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15672         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15673         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15674         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15675         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15676         Moved ...
15677         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15678         ... here.
15679         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15680         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15681         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15682         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15683         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15684         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15685         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15686         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15687         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15688         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15689         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15690         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15691         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15692         Moved ...
15693         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15694         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15695         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15696         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15697         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15698         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15699         Moved ...
15700         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15701         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15702         Moved ...
15703         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15704         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15705         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15706         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15707         Moved ...
15708         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15709         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15710         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15711         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15712         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15713         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15714         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15715         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15716         Moved ...
15717         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15718         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15719         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15720         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15721         Moved ...
15722         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15723         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15724         Moved ...
15725         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15726         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15727         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15728         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15729         Moved ...
15730         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15731         ... here.
15732         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15733         Identical file removed.
15734         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15735         Moved ...
15736         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15737         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15738         Identical file removed.
15739         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15740         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15741         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15742         Moved ...
15743         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15744         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15745         Identical file removed.
15746         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15747         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15748         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15749         Identical file removed.
15750         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15751         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15752         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15753         Identical file removed.
15754         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15755         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15756         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15757         Identical file removed.
15758         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15759         Moved ...
15760         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15761         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15762         Identical file removed.
15763         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15764         Moved ...
15765         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15766         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15767         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15768         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15769         Identical file removed.
15770         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15771         Moved ...
15772         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15773         ... here.
15774         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15775         Identical file removed.
15776         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15777         Moved ...
15778         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15779         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15780         Identical file removed.
15781         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15782         Moved ...
15783         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15784         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15785         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15786         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15787         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15788         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15789         Moved ...
15790         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15791         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15792         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15794         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15795         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15796         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15797         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15798         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15800 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15802         [BZ #17092]
15803         * nscd/nscd.c (monitor_child): Return exit status of child
15804         instead of return value from wait syscall.
15806 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15808         * configure.ac (libc_commonpagesize): Remove variable.
15809         (libc_relro_required): Likewise.
15810         (libc_cv_z_relro): Remove configure test.
15811         * configure: Regenerated.
15812         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15813         variable.
15814         (libc_relro_required): Likewise.
15815         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15816         (libc_relro_required): Likewise.
15817         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15818         (libc_relro_required): Likewise.
15819         * sysdeps/arm/preconfigure: Regenerated.
15820         * sysdeps/ia64/preconfigure: Remove file.
15821         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15822         variable.
15823         (libc_relro_required): Likewise.
15825         [BZ #16561]
15826         [BZ #16562]
15827         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15828         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15829         recompute overflowing results in original rounding mode.
15830         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15831         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15832         recompute overflowing results in original rounding mode.
15833         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15834         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15835         recompute overflowing results in original rounding mode.
15836         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15837         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15838         recompute overflowing results in original rounding mode.
15839         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15840         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15841         recompute overflowing results in original rounding mode.
15842         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15843         (libc_feholdsetround_ctx): New macro.
15844         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15845         * sysdeps/i386/fpu/libm-test-ulps: Update.
15846         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15848 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15850         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15851         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15852         corresponding .cpsetup call.
15854 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15856         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15857         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15858         * sysdeps/arm/Makefile [$(subdir) = csu]
15859         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15860         (static-only-routines): Add aeabi_read_tp here.
15861         (shared-only-routines): Add libc-aeabi_read_tp here.
15862         (CFLAGS-libc-start.c): Add -fexceptions here.
15863         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15864         (sysdep_routines, static-only-routines, shared-only-routines):
15865         Don't add to these here.
15866         (CFLAGS-libc-start.c): Likewise.
15868         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15869         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15870         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15871         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15872         * sysdeps/arm/Makefile [$(subdir) = rt]
15873         (librt-sysdep_routines, librt-shared-only-routines):
15874         Append rt-aeabi_unwind_cpp_pr1 here.
15875         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15876         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15877         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15878         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15879         Append nptl-aeabi_unwind_cpp_pr1 here.
15880         (tests): Filter out tst-cleanupx4 here.
15881         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15882         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15883         Don't do those here.
15885 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15887         * scripts/list-sources.sh: Do not handle ports specially.
15889 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15891         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15892         * sysdeps/arm/feupdateenv.c: Likewise.
15894         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15896 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15898         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15899         trailing whitespace removed.
15900         * scripts/config.guess: Update to version 2014-03-23.
15901         * scripts/config.sub: Update to version 2014-05-01
15902         * scripts/install-sh: Update to version 2013-12-25.23.
15903         * scripts/move-if-change: Update from gnulib.
15905 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15907         * debug/memmove_chk.c: Remove pagecopy.h include.
15909 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15911         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15912         identical to gnulib mktime.
15914 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15916         * configure.ac: Do not test for machine being rs6000.  Do not test
15917         for powerpc*-*soft.
15918         * configure: Regenerated.
15920         [BZ #11505]
15921         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15922         test.
15923         * configure: Regenerated.
15924         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15925         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15926         Remove configure test.
15927         * sysdeps/arm/configure: Regenerated.
15928         * sysdeps/nptl/configure.ac: Do not check
15929         libc_cv_asm_cfi_directives.
15930         * sysdeps/nptl/configure: Regenerated.
15931         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15932         * sysdeps/x86_64/nptl/configure: Remove generated file.
15933         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15934         unconditional.
15935         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15937 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15939         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15940         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15941         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15942         it is defined.
15944         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15945         instead of whether it is defined.
15946         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15947         * sysdeps/hppa/dl-machine.h: Likewise.
15948         * sysdeps/ia64/dl-machine.h: Likewise.
15949         * sysdeps/m68k/dl-machine.h: Likewise.
15950         * sysdeps/microblaze/dl-machine.h: Likewise.
15951         * sysdeps/mips/dl-machine.: Likewise.
15952         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15953         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15954         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15955         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15956         * sysdeps/sh/dl-machine.h: Likewise.
15957         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15958         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15959         * sysdeps/tile/dl-machine.h: Likewise.
15960         * sysdeps/x86_64/dl-machine.h: Likewise.
15962         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15963         code.
15964         (verify_persistent_db): Likewise.
15966 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15969         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15971         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15973         Moved ...
15974         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15975         ... here.
15976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15977         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15979         Identical file removed.
15980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15981         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15983         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15985         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15987         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15989         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15991         Moved ...
15992         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15994         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15996         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15998         Moved ...
15999         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16001         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16003         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16005         Identical file removed.
16006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16007         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16009         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16011         Moved ...
16012         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16013         ... here.
16014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16015         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16017         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16019         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16021         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16023         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16025         Moved ...
16026         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16028         Moved ...
16029         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16031         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16033         Moved ...
16034         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16036         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16038         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16039         folded into ...
16040         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16041         * sysdeps/unix/sysv/linux/s390/Versions
16042         (libpthread: GLIBC_2.19): New version set.
16043         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16044         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16045         (librt: GLIBC_2.3.3): New version set.
16046         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16047         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16048         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16049         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16050         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16051         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16052         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16053         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16054         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16055         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16056         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16057         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16058         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16059         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16060         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16061         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16062         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16063         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16064         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16065         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16066         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16067         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16068         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16069         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16070         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16071         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16072         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16073         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16074         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16075         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16076         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16077         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16078         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16079         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16080         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16081         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16082         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16083         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16084         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16085         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16086         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16087         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16088         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16089         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16090         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16092         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16093         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16094         (__libc_vfork): Define the function under this name.
16095         [!NOT_IN_libc] (__vfork): Make this an alias.
16096         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16097         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16098         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16099         (__libc_vfork): Define the function under this name.
16100         [!NOT_IN_libc] (__vfork): Make this an alias.
16101         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16102         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16103         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16104         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16105         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16106         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16108         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16109         code that was previously under [RESET_PID].
16110         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16111         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16112         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16114         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16115         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16116         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16117         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16118         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16119         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16120         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16121         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16122         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16123         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16124         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16125         Moved ...
16126         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16127         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16128         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16129         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16130         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16131         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16132         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16133         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16134         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16135         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16136         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16137         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16138         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16139         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16140         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16141         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16142         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16143         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16144         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16145         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16146         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16147         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16148         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16149         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16150         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16151         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16152         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16153         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16154         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16156 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16158         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16159         that was previously under [RESET_PID].
16160         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16162 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16164         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16165         not undefine and redefine.
16166         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16167         [O_CLOEXEC]: Make code unconditional.
16168         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16169         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16170         <kernel-features.h>.
16171         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16172         conditional variable definition.
16173         (shm_open) [O_CLOEXEC]: Make code unconditional.
16174         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16175         code.
16177         * configure.ac (USE_REGPARMS): Don't define here.
16178         * configure: Regenerated.
16179         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16180         * sysdeps/i386/configure: Regenerated.
16182         * nptl/createthread.c: Don't include kernel-features.h.
16183         * nptl/pthread_cancel.c: Likewise.
16184         * nptl/pthread_condattr_setclock.c: Likewise.
16185         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16186         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16187         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16188         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16189         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16190         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16191         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16193         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16194         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16195         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16196         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16197         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16198         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16199         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16200         * nscd/gai.c: Likewise.
16201         * nss/nss_db/db-open.c: Likewise.
16202         * sysdeps/generic/ldsodefs.h: Likewise.
16203         * sysdeps/sh/nptl/tls.h: Likewise.
16204         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16205         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16206         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16207         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16208         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16209         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16210         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16211         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16212         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16213         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16214         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16215         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16216         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16217         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16218         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16219         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16220         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16221         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16222         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16223         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16224         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16225         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16226         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16227         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16228         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16229         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16230         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16231         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16232         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16233         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16234         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16235         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16236         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16237         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16238         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16239         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16240         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16241         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16242         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16243         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16244         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16245         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16246         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16247         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16248         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16249         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16250         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16251         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16252         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16253         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16254         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16255         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16256         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16257         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16258         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16259         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16260         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16261         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16284         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16285         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16286         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16287         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16288         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16289         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16290         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16291         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16292         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16293         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16294         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16295         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16296         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16297         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16298         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16299         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16300         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16301         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16302         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16303         * sysdeps/unix/sysv/linux/system.c: Likewise.
16304         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16305         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16306         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16307         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16308         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16309         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16310         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16312         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16313         * configure: Regenerated.
16314         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16316         * configure.ac (base_machine): Do not set specially for particular
16317         machines here.
16318         * configure: Regenerated.
16319         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16320         settings from configure.ac.
16321         * sysdeps/i386/preconfigure: New file.
16322         * sysdeps/s390/preconfigure: Likewise.
16323         * sysdeps/sh/preconfigure: Likewise.
16324         * sysdeps/sparc/preconfigure: Likewise.
16326 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16328         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16329         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16330         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16331         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16332         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16333         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16334         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16335         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16336         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16337         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16338         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16339         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16340         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16341         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16342         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16343         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16344         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16345         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16346         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16348         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16349         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16350         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16351         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16352         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16353         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16354         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16355         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16356         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16357         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16358         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16359         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16360         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16361         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16362         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16363         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16364         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16365         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16366         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16367         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16368         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16369         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16370         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16371         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16372         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16373         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16374         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16375         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16376         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16377         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16378         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16379         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16380         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16381         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16382         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16383         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16384         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16385         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16388         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16390         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16392         Moved ...
16393         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16394         ... here.
16395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16396         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16398         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16400         Moved ...
16401         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16403         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16405         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16407         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16409         Moved ...
16410         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16412         Moved ...
16413         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16415         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16417         Moved ...
16418         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16420         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16422         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16424         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16426         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16428         Moved ...
16429         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16430         ... here.
16431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16432         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16434         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16436         Moved ...
16437         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16439         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16441         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16443         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16445         Moved ...
16446         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16448         Moved ...
16449         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16451         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16453         Moved ...
16454         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16456         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16458         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16460 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16462         * timezone/checktab.awk: Update from tzcode 2014e.
16463         * timezone/private.h: Likewise.
16464         * timezone/tzfile.h: Likewise.
16465         * timezone/zdump.c: Likewise.
16466         * timezone/zic.c: Likewise.
16468         * sysdeps/unix/sysv/linux/kernel-features.h
16469         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16470         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16471         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16472         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16473         Remove conditional code.
16475 2014-06-25  Will Newton  <will.newton@linaro.org>
16477         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16478         (_dl_arm_cap_flags): Add HWCAP2 values.
16479         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16480         (_DL_HWCAP_COUNT): Increase to 37.
16481         (_DL_HWCAP_LAST): New define.
16482         (_DL_HWCAP2_LAST): New define.
16483         (_dl_procinfo): Add support for printing
16484         AT_HWCAP2 entries.
16485         (_dl_string_hwcap): Use _dl_hwcap_string.
16487 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16491 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16493         * README: Do not mention ports directory.
16495         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16496         Remove macro.
16497         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16498         <kernel-features.h>.
16499         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16500         conditional variable definition.
16501         (__futimes): Update comment.
16502         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16503         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16505         [BZ #16560]
16506         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16507         arguments close to 0.
16508         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16509         Likewise.
16510         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16511         Likewise.
16512         * math/auto-libm-test-in: Add more tests of exp10.
16513         * math/auto-libm-test-out: Regenerated.
16514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16516         * sysdeps/unix/sysv/linux/kernel-features.h
16517         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16518         * sysdeps/unix/sysv/linux/readv.c: Do not include
16519         <kernel-features.h>.
16520         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16521         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16522         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16523         unconditional.
16524         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16525         conditional code.
16526         * sysdeps/unix/sysv/linux/writev.c: Do not include
16527         <kernel-features.h>.
16528         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16529         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16530         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16531         unconditional.
16532         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16533         conditional code.
16535 2014-06-25  Will Newton  <will.newton@linaro.org>
16537         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16538         comment changes throughout the file.  Remove checks
16539         for HAVE_*_H definitions that are not required.
16540         (__gen_tempname): Call abort if an unknown kind value is
16541         passed.
16543 2014-06-25  Andreas Schwab  <schwab@suse.de>
16545         [BZ #17086]
16546         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16547         scalbln, scalblnf, scalblnl in libc.
16549 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16551         [BZ #17086]
16552         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16553         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16554         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16556 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16558         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16559         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16560         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16561         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16562         Update #include.
16563         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16564         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16565         Update #include.
16566         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16567         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16568         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16569         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16570         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16571         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16572         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16573         * sysdeps/x86/bits/semaphore.h: ... here.
16574         * sysdeps/x86/nptl/elide.h: Moved ...
16575         * sysdeps/x86/elide.h: ... here.
16576         * sysdeps/x86_64/nptl/Implies: File removed.
16577         * sysdeps/i386/nptl/Implies: File removed.
16579 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16581         [BZ #16539]
16582         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16583         return the argument for normal arguments with exponent below -64.
16584         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16585         Likewise.
16586         * math/auto-libm-test-in: Add another test of expm1.
16587         * math/auto-libm-test-out: Regenerated.
16589         [BZ #16287]
16590         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16591         calling __erfcl for arguments at least 16.
16592         * math/auto-libm-test-in: Add more tests of erf.
16593         * math/auto-libm-test-out: Regenerated.
16595         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16596         individual architectures.
16597         * sysdeps/unix/sysv/linux/configure: Regenerated.
16598         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16599         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16600         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16601         (ldd_rewrite_script): Define variable.
16602         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16604         file.
16605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16606         generated file.
16607         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16608         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16609         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16610         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16611         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16612         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16613         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16614         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16616 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16618         [BZ #17084]
16619         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16620         Rename member __data.d to __data.__elision_data.
16622 2014-06-24  Wilco  <wdijkstr@arm.com>
16624         * NEWS: Add 16918 to fixed bug list.
16626 2014-06-24  Wilco  <wdijkstr@arm.com>
16628         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16630 2014-06-24  Wilco  <wdijkstr@arm.com>
16632         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16633         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16634         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16635         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16636         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16637         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16638         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16639         Use _FPU_MASK_RM.
16641 2014-06-24  Wilco  <wdijkstr@arm.com>
16643         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16645 2014-06-24  Wilco  <wdijkstr@arm.com>
16647         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16648         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16649         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16650         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16652 2014-06-24  Wilco  <wdijkstr@arm.com>
16654         [BZ #16918]
16655         * sysdeps/arm/feupdateenv.c (feupdateenv):
16656         Rewrite to reduce FPSCR accesses and fix return value.
16658 2014-06-24  Wilco  <wdijkstr@arm.com>
16660         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16661         Optimize to avoid unnecessary FPSCR writes.
16662         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16663         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16664         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16665         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16667 2014-06-24  Wilco  <wdijkstr@arm.com>
16669         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16670         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16671         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16672         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16673         Call libc_fetestexcept_vfp.
16674         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16675         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16676         __SOFTFP__ ifdef so that they can be built for softfp.
16678 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16680         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16681         argument type signed char.
16683         * Makerules (check-abi): Dump diff of symlist if the test
16684         fails.
16686 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16688         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16689         using abort.
16691         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16692         Remove unused variable ST.
16694 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16696         [BZ #16354]
16697         [BZ #17061]
16698         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16699         small arguments before calling __expm1.
16700         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16701         small arguments before calling __expm1f.
16702         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16703         small arguments before calling __expm1l.
16704         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16705         Likewise.
16706         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16707         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16708         spurious underflow for some cosh tests.
16709         * math/auto-libm-test-out: Regenerated.
16710         * sysdeps/i386/fpu/libm-test-ulps: Update.
16712         [BZ #17050]
16713         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16714         (__ieee754_y1): Set errno if return value overflows.
16715         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16716         (__ieee754_y1f): Set errno if return value overflows.
16717         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16718         (__ieee754_y1l): Set errno if return value overflows.
16719         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16720         (__ieee754_y1l): Set errno if return value overflows.
16721         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16722         * math/auto-libm-test-out: Regenerated.
16724         * math/gen-auto-libm-tests.c: Document use of
16725         ignore-zero-inf-sign.
16726         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16727         (input_flags): Add ignore-zero-inf-sign.
16728         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16729         * math/gen-libm-test.pl (generate_testfile): Handle
16730         ignore-zero-inf-sign.
16731         * math/auto-libm-test-in: Mark some cpow tests with
16732         ignore-zero-inf-sign and some with xfail-rounding.
16733         * math/auto-libm-test-out: Regenerated.
16734         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16735         * sysdeps/i386/fpu/libm-test-ulps: Update.
16736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16738         [BZ #16315]
16739         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16740         overflowing or underflowing operations take place with sign of
16741         result.
16742         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16743         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16744         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16745         (__ieee754_pow): Recompute overflowing and underflowing results in
16746         original rounding mode.
16747         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16748         (__powl_helper): Allow negative argument X and scale negated value
16749         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16750         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16751         overflowing or underflowing operations take place with sign of
16752         result.
16753         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16754         Include <math.h>.
16755         * math/auto-libm-test-in: Add more tests of pow.
16756         * math/auto-libm-test-out: Regenerated.
16757         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16758         (pow_tonearest_test_data): Remove.
16759         (pow_test_tonearest): Likewise.
16760         (pow_towardzero_test_data): Likewise.
16761         (pow_test_towardzero): Likewise.
16762         (pow_downward_test_data): Likewise.
16763         (pow_test_downward): Likewise.
16764         (pow_upward_test_data): Likewise.
16765         (pow_test_upward): Likewise.
16766         (main): Don't call removed functions.
16767         * sysdeps/i386/fpu/libm-test-ulps: Update.
16768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16770 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16773         Moved ...
16774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16776         Moved ...
16777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16779         Moved ...
16780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16782         Moved ...
16783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16785         File removed.
16786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16787         File removed.
16788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16789         File removed.
16790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16791         File removed.
16792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16793         File removed.
16794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16795         File removed.
16796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16797         File removed.
16798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16799         File removed.
16800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16801         File removed.
16802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16803         File removed.
16804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16805         File removed.
16806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16807         File removed.
16808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16809         Moved ...
16810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16812         Moved ...
16813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16814         ... here.
16815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16816         Moved ...
16817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16819         Moved ...
16820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16822         Moved ...
16823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16825         Moved ...
16826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16828         Moved ...
16829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16831         Moved ...
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16834         Moved ...
16835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16838         ... here.
16839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16840         Moved ...
16841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16843         Moved ...
16844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16845         ... here.
16846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16847         Moved ...
16848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16849         ... here.
16850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16851         Moved ...
16852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16853         ... here.
16854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16855         Moved ...
16856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16858         Moved ...
16859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16863         Moved ...
16864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16865         ... here.
16866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16867         Moved ...
16868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16869         ... here.
16870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16871         Moved ...
16872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16874         Moved ...
16875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16877         Moved ...
16878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16880         Moved ...
16881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16883         Moved ...
16884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16885         ... here.
16886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16887         Moved ...
16888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16890         Moved ...
16891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16893         Moved ...
16894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16896         Moved ...
16897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16901         Moved ...
16902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16904         Moved ...
16905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16907         Moved ...
16908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16909         ... here.
16910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16911         Moved ...
16912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16913         ... here.
16914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16915         Moved ...
16916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16917         ... here.
16918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16919         Moved ...
16920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16922         Moved ...
16923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16925         Moved ...
16926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16928         Moved ...
16929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16930         ... here.
16931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16932         Moved ...
16933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16934         ... here.
16935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16936         Moved ...
16937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16938         ... here.
16939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16940         Moved ...
16941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16943         Moved ...
16944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16946 2014-06-23  Will Newton  <will.newton@linaro.org>
16947             Wilco  <wdijkstr@arm.com>
16949         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16950         implementation.  Include get-rounding-mode.h.
16951         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16952         [!libc_feholdsetround_noex_ctx]: Define
16953         libc_feholdsetround_noex_ctx.
16954         [!libc_feholdsetround_noexf_ctx]: Define
16955         libc_feholdsetround_noexf_ctx.
16956         [!libc_feholdsetround_noexl_ctx]: Define
16957         libc_feholdsetround_noexl_ctx.
16958         (libc_feholdsetround_ctx): New function.
16959         (libc_feresetround_ctx): New function.
16960         (libc_feholdsetround_noex_ctx): New function.
16961         (libc_feresetround_noex_ctx): New function.
16963 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16965         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16966         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16967         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16968         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16969         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16970         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16972         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16973         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16974         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16975         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16976         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16977         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16978         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16979         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16980         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16981         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16982         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16983         Moved ...
16984         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16985         ... here.
16986         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16987         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16988         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16989         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16990         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16991         Moved ...
16992         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16993         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16994         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16995         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16996         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16997         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16998         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16999         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17000         Moved ...
17001         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17002         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17003         Moved ...
17004         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17005         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17006         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17007         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17008         Moved ...
17009         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17010         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17011         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17012         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17013         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17014         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17015         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17016         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17017         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17018         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17019         Moved ...
17020         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17021         ... here.
17022         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17023         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17024         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17025         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17026         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17027         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17028         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17029         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17030         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17031         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17032         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17033         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17034         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17035         Moved ...
17036         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17037         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17038         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17039         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17040         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17041         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17042         Moved ...
17043         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17044         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17045         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17046         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17047         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17049         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17050         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17051         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17052         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17053         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17054         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17055         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17056         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17057         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17058         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17059         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17060         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17061         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17062         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17063         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17064         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17065         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17066         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17067         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17068         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17069         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17070         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17071         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17072         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17073         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17074         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17075         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17076         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17078 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17080         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17081         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17082         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17083         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17084         (IPV6_PMTUDISC_INTERFACE): Likewise.
17085         (IPV6_PMTUDISC_OMIT): Likewise.
17087 2014-06-23  Andreas Schwab  <schwab@suse.de>
17089         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17090         Remove unused errout label.
17092 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17094         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17095         macro: hardware supports Vector Crypto instructions.
17097 2014-06-23  Will Newton  <will.newton@linaro.org>
17099         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17100         rather than __builtin_expect.
17102         * elf/dl-lookup.c (undefined_msg): Remove variable.
17103         (_dl_lookup_symbol_x): Replace undefined_msg with string
17104         literal.
17106         * elf/dl-lookup.c (do_lookup_unique): New function.
17107         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17108         to a separate function.
17110 2014-06-23  Andreas Schwab  <schwab@suse.de>
17112         [BZ #17079]
17113         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17114         before reading the next line.
17116 2014-06-23  Will Newton  <will.newton@linaro.org>
17118         * test-skeleton.c (signal_handler): Use printf and %m
17119         rather than perror.  Use printf rather than fprintf to
17120         stderr.  Use puts rather than fputs to stderr.
17121         (main): Likewise.
17123 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17125         * nscd/nscd.c (thread_info_t): Remove typedef.
17126         (thread_info): Remove variable.
17128 2014-06-21  Allan McRae  <allan@archlinux.org>
17130         * NEWS: Mention CVE-2014-4043.
17132 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17134         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17135         * nptl/smp.h: ... here.
17137         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17139         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17140         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17141         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17142         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17144         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17145         * nptl/stack-aliasing.h: New file.
17146         * sysdeps/i386/i686/stack-aliasing.h: New file.
17147         * sysdeps/i386/i686/nptl/Makefile: File removed.
17148         * sysdeps/x86_64/stack-aliasing.h: New file.
17149         * sysdeps/x86_64/nptl/Makefile
17150         (CFLAGS-pthread_create.c): Variable removed.
17152         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17153         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17154         old file.
17155         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17156         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17157         old file.
17159 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17161         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17162         (__ASSUME_SIGFRAME_V2): Remove macro.
17163         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17164         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17165         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17166         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17167         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17168         Declare as function.  Remove conditional macro definitions.
17169         (__default_rt_sa_restorer): Likewise.
17170         (__default_sa_restorer_v1): Remove declaration.
17171         (__default_sa_restorer_v2): Likewise.
17172         (__default_rt_sa_restorer_v1): Likewise.
17173         (__default_rt_sa_restorer_v2): Likewise.
17174         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17175         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17176         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17178 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17180         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17181         (libpthread-routines): Add sysdep.
17182         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17183         * sysdeps/unix/sysv/linux/sparc/Versions
17184         (libpthread: GLIBC_2.3.3): New version set.
17185         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17186         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17187         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17188         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17189         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17190         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17191         Moved ...
17192         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17193         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17194         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17195         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17196         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17197         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17198         * sysdeps/sparc/nptl/sem_init.c: ... here.
17199         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17200         * sysdeps/sparc/nptl/sem_post.c: ... here.
17201         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17202         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17203         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17204         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17205         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17206         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17207         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17208         (libpthread-routines): Add cpu_relax.
17209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17210         File removed.
17211         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17212         (librt: GLIBC_2.3.3): New version set.
17213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17214         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17215         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17216         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17219         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17221         Moved ...
17222         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17224         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17226         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17228         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17230         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17232         Moved ...
17233         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17234         Update #include.
17235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17236         Moved ...
17237         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17238         Update #include.
17239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17240         Moved ...
17241         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17242         Update #include.
17243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17244         Moved ...
17245         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17246         Update #include.
17247         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17248         Moved ...
17249         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17250         Update #include.
17251         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17252         Moved ...
17253         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17254         Update #include.
17255         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17256         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17258         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17260         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17262         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17263         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17264         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17266         Moved ...
17267         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17268         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17269         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17271         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17273 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17275         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17276         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17277         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17278         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17279         * nscd/nscd.c: Likewise.
17280         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17281         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17282         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17283         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17285         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17286         <kernel-features.h>.
17287         (init_mq_netlink): Remove conditional have_sock_cloexec
17288         definitions.  Remove code conditional on have_sock_cloexec < 0.
17289         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17290         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17291         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17292         <kernel-features.h>.
17293         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17294         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17296 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17299         Add tests for memset_chk and memset.
17301         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17302         with AVX2_Usable.
17304 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17306         [BZ #16046]
17307         * elf/tst-dl-iter-static.c: New file.
17308         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17310         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17311         error.
17313 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17315         * sysdeps/unix/sysv/linux/kernel-features.h
17316         (__ASSUME_F_GETOWN_EX): Remove macro.
17317         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17318         <kernel-features.h>.
17319         (miss_F_GETOWN_EX): Remove variable or macro.
17320         (do_fcntl): Do not check miss_F_GETOWN_EX.
17321         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17323         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17324         Remove macro.
17325         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17326         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17327         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17329         * sysdeps/unix/sysv/linux/kernel-features.h
17330         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17331         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17332         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17333         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17335 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17337         [BZ #17075]
17338         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17339         Fix calculation of the symbol's value.
17340         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17341         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17342         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17343         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17344         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17345         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17346         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17347         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17348         (modules-names): Add `tst-armtlsdescmod',
17349         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17350         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17351         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17352         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17353         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17354         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17355         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17356         ($(objpfx)tst-armtlsdescloc): New dependency.
17357         ($(objpfx)tst-armtlsdescextnow): Likewise.
17358         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17359         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17360         TLS scheme support.
17361         * sysdeps/arm/configure: Regenerate.
17363 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17365         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17366         (__atfct_seterrno_2): Likewise.
17367         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17368         <kernel-features.h>.
17369         (__ASSUME_ATFCTS): Do not undefine and redefine.
17370         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17371         (__have_atfcts): Remove conditional definition.
17372         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17373         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17374         unreachable if [__ASSUME_ATFCTS].
17375         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17376         not undefine and redefine.
17377         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17378         <kernel-features.h>.
17379         (faccessat) [__NR_faccessat]: Make code unconditional.
17380         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17381         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17382         <kernel-features.h>.
17383         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17384         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17385         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17386         <kernel-features.h>.
17387         (fchownat) [__NR_fchownat]: Make code unconditional.
17388         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17389         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17390         <kernel-features.h>.
17391         (futimesat) [__NR_futimesat]: Make code unconditional.
17392         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17393         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17394         <kernel-features.h>.
17395         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17396         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17397         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17398         <kernel-features.h>.
17399         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17400         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17401         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17402         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17403         <kernel-features.h>.
17404         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17405         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17406         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17407         <kernel-features.h>.
17408         (linkat) [__NR_linkat]: Make code unconditional.
17409         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17410         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17411         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17412         <kernel-features.h>.
17413         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17414         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17415         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17416         <kernel-features.h>.
17417         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17418         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17419         * sysdeps/unix/sysv/linux/openat.c: Do not include
17420         <kernel-features.h>.
17421         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17422         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17423         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17424         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17425         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17426         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17427         <kernel-features.h>.
17428         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17429         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17430         result of INLINE_SYSCALL directly, not via int variable.
17431         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17432         <kernel-features.h>.
17433         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17434         (renameat) [__NR_renameat]: Make code unconditional.
17435         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17436         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17437         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17438         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17439         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17440         (__ASSUME_ATFCTS): Do not undefine and redefine.
17441         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17442         <kernel-features.h>.
17443         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17444         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17445         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17446         <kernel-features.h>.
17447         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17448         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17449         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17450         (__ASSUME_ATFCTS): Do not undefine and redefine.
17451         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17452         <kernel-features.h>.
17453         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17454         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17455         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17456         <kernel-features.h>.
17457         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17458         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17460 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17462         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17464 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17466         [BZ #17069]
17467         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17468         constructed tree before returning error.
17469         * posix/bug-regexp36.c: Expand test case.
17471 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17473         [BZ #6803]
17474         * math/libm-test.inc (scalbln_test_date):
17475         Add errno expectations.
17476         * math/w_scalblnf.c: New File.
17477         Add wrapper which checks for setting errno to ERANGE.
17478         Add weak_alias for corresponding scalbln function.
17479         * math/w_scalbln.c: Likewise.
17480         * math/w_scalblnl.c: Likewise.
17481         * math/Makefile (libm-calls): Add w_scalbln.
17482         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17483         Remove weak_alias for corresponding scalbln function.
17484         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17485         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17486         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17487         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17488         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17489         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17490         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17491         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17492         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17493         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17494         Remove long_double_symbol for scalblnl function in libm, libc.
17495         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17496         Add wrapper which checks for setting errno to ERANGE.
17497         Add long_double_symbol for scalblnl function in libm, libc.
17498         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17499         Remove long_double_symbol for scalblnl in libm.
17500         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17501         Add wrapper which checks for setting errno to ERANGE.
17502         Add long_double_symbol for scalblnl function in libm.
17503         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17504         Do not use wrapper because of own implementation.
17506 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17508         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17509         3 bytes for __pad1 for x32.
17510         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17512 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17513             H.J. Lu  <hongjiu.lu@intel.com>
17515         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17516         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17517         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17518         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17519         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17521 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17523         [BZ #17069]
17524         * posix/regcomp.c (parse_expression): Deallocate partially
17525         constructed tree before returning error.
17526         * posix/Makefile.c (tests): Add bug-regex36.
17527         (generated): Add bug-regex36.mtrace.
17528         (tests-special): Add $(objpfx)bug-regex36-mem.out
17529         (bug-regex36-ENV): New variable.
17530         ($(objpfx)bug-regex36-mem.out): New rule.
17531         * posix/bug-regex36.c: New file.
17533 2014-06-19  Will Newton  <will.newton@linaro.org>
17535         * malloc/malloc.c (systrim): If extra is zero then return
17536         early.
17538 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17540         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17542 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17544         * sysdeps/aarch64/strchr.S: New file.
17546 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17548         [BZ #17022]
17549         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17550         from arguments -2 or below.
17551         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17552         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17554 2014-06-18  Andreas Schwab  <schwab@suse.de>
17556         [BZ #17062]
17557         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17558         of a bracket expr not to run off the end of the string.
17559         * posix/Makefile (tests): Add tst-fnmatch3.
17560         * posix/tst-fnmatch3.c: New file.
17562 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17564         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17565         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17566         [$(cross-compiling) = no]: Likewise.
17567         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17568         [$(cross-compiling) = no]: Likewise.
17570 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17572         [BZ #17031]
17573         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17574         double, adjusted for any remainder from the high double.
17575         * math/libm-test.inc (nearbyint): Add tests.
17576         (rint): Likewise.
17578 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17580         * nptl/sysdeps/powerpc/Makefile: Moved ...
17581         * sysdeps/powerpc/nptl/Makefile: ... here.
17582         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17583         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17584         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17585         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17586         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17587         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17588         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17589         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17590         * nptl/sysdeps/powerpc/tls.h: Moved ...
17591         * sysdeps/powerpc/nptl/tls.h: ... here.
17593 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17595         [BZ #16681]
17596         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17597         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17598         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17599         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17600         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17601         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17602         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17603         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17604         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17606 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17608         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17610 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17612         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17613         defined operator.
17615         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17616         $TIMEOUTFACTOR.
17618 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17620         [BZ #17058]
17621         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17622         non-executed part of the test.
17624 2014-06-16  Andreas Schwab  <schwab@suse.de>
17626         * string/bits/string2.h (strdup, strndup): Update feature guard.
17628 2014-06-14  David S. Miller  <davem@davemloft.net>
17630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17632 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17634         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17635         that was previously under [RESET_PID].
17636         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17638         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17639         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17640         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17641         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17642         (__libc_vfork): New strong alias.
17643         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17645 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17647         * sysdeps/generic/elide.h: New file.
17649 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17651         * Makefile (installed-headers): Adjust path of pthread.h header.
17653 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17655         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17656         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17657         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17658         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17660         * nptl/sysdeps/s390/Makefile: Moved ...
17661         * sysdeps/s390/nptl/Makefile: ... here.
17662         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17663         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17664         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17665         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17666         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17667         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17668         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17669         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17670         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17671         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17672         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17673         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17674         * nptl/sysdeps/s390/tls.h: Moved ...
17675         * sysdeps/s390/nptl/tls.h: ... here.
17677         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17678         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17680 2014-06-13  David S. Miller  <davem@davemloft.net>
17682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17684         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17685         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17689         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17690         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17691         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17692         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17693         Remove RESET_PID cpp guards.
17694         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17695         Remove RESET_PID cpp guards.
17696         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17698 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17700         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17701         __sp to uintptr_t.
17703 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17705         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17706         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17707         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17708         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17709         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17710         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17711         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17712         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17713         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17714         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17715         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17716         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17717         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17718         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17719         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17720         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17721         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17722         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17723         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17724         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17726         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17727         (pthread_rwlock_rdlock): Add elision.
17728         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17729         (pthread_rwlock_wrlock): Add elision.
17730         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17731         (pthread_rwlock_trywrlock): Add elision.
17732         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17733         (pthread_rwlock_tryrdlock): Add elision.
17734         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17735         (pthread_rwlock_tryrdlock): Add elision unlock.
17736         * nptl/sysdeps/pthread/pthread.h:
17737         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17738         (PTHREAD_RWLOCK_INITIALIZER,
17739         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17740         Handle new elision field.
17741         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17742         * sysdeps/arm/nptl/bits/pthreadtypes.h
17743         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17744         * sysdeps/sh/nptl/bits/pthreadtypes.h
17745         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17746         * sysdeps/tile/nptl/bits/pthreadtypes.h
17747         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17748         * sysdeps/a/nptl/bits/pthreadtypes.h
17749         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17750         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17751         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17752         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17753         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17754         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17755         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17756         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17757         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17758         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17759         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17760         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17761         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17762         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17763         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17764         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17765         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17766         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17767         (elision_init): Set try_xbegin to zero when no RTM.
17768         * sysdeps/x86/nptl/bits/pthreadtypes.h
17769         (pthread_rwlock_t): Change __pad1 to __rwelision.
17770         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17772 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17774         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17775         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17776         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17777         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17779 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17781         [BZ #16996]
17782         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17783         that the cached result has been set before returning it.
17785 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17787         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17788         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17789         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17790         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17791         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17792         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17794         * nptl/sysdeps/sparc/Makefile: Moved ...
17795         * sysdeps/sparc/nptl/Makefile: ... here.
17796         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17797         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17798         * nptl/sysdeps/sparc/tls.h: Moved ...
17799         * sysdeps/sparc/nptl/tls.h: ... here.
17800         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17801         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17802         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17803         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17804         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17805         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17806         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17807         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17808         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17809         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17810         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17811         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17812         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17813         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17814         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17815         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17816         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17817         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17818         Update #include.
17819         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17820         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17821         Update #include.
17822         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17823         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17824         Update #include.
17825         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17826         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17827         Update #include.
17829         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17831         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17832         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17834         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17835         (struct list_links): Type removed.
17836         (struct thread_node, struct timer_node): Replace struct list_links
17837         with struct list_head.
17838         (list_unlink_ip): Likewise.
17839         * sysdeps/pthread/timer_routines.c
17840         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17841         (list_append, list_insbefore): Likewise.
17842         (list_init): Function removed.
17843         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17844         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17845         * sysdeps/pthread/Makefile: ... here, new file.
17847         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17848         * sysdeps/nptl/Implies: ... here.
17849         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17850         * nptl/sysdeps/pthread/list.h: Moved ...
17851         * include/list.h: ... here.
17852         * nptl/sysdeps/pthread/createthread.c: Moved ...
17853         * nptl/createthread.c: ... here.
17854         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17855         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17856         * nptl/pt-longjmp.c: ... here.
17857         * nptl/sysdeps/pthread/Makefile: Moved ...
17858         * sysdeps/nptl/Makefile: ... here.
17859         * nptl/sysdeps/pthread/Subdirs: Moved ...
17860         * sysdeps/nptl/Subdirs: ... here.
17861         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17862         * sysdeps/nptl/aio_misc.h: ... here.
17863         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17864         * sysdeps/nptl/bits/libc-lock.h: ... here.
17865         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17866         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17867         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17868         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17869         * nptl/sysdeps/pthread/configure: Moved ...
17870         * sysdeps/nptl/configure: ... here.
17871         * nptl/sysdeps/pthread/configure.ac: Moved ...
17872         * sysdeps/nptl/configure.ac: ... here.
17873         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17874         * sysdeps/nptl/gai_misc.h: ... here.
17875         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17876         * sysdeps/nptl/librt-cancellation.c: ... here.
17877         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17878         * sysdeps/nptl/malloc-machine.h: ... here.
17879         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17880         * sysdeps/nptl/pthread-functions.h: ... here.
17881         * nptl/sysdeps/pthread/pthread.h: Moved ...
17882         * sysdeps/nptl/pthread.h: ... here.
17883         * nptl/sysdeps/pthread/setxid.h: Moved ...
17884         * sysdeps/nptl/setxid.h: ... here.
17885         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17886         * sysdeps/nptl/sigfillset.c: ... here.
17887         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17888         * sysdeps/nptl/tcb-offsets.h: ... here.
17889         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17890         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17891         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17892         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17893         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17894         * sysdeps/pthread/allocalim.h: ... here.
17895         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17896         * sysdeps/pthread/bits/sigthread.h: ... here.
17897         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17898         * sysdeps/pthread/flockfile.c: ... here.
17899         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17900         * sysdeps/pthread/ftrylockfile.c: ... here.
17901         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17902         * sysdeps/pthread/funlockfile.c: ... here.
17903         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17904         * sysdeps/pthread/posix-timer.h: ... here.
17905         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17906         * sysdeps/pthread/timer_create.c: ... here.
17907         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17908         * sysdeps/pthread/timer_delete.c: ... here.
17909         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17910         * sysdeps/pthread/timer_getoverr.c: ... here.
17911         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17912         * sysdeps/pthread/timer_gettime.c: ... here.
17913         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17914         * sysdeps/pthread/timer_routines.c: ... here.
17915         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17916         * sysdeps/pthread/timer_settime.c: ... here.
17917         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17918         * sysdeps/pthread/tst-timer.c: ... here.
17919         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17920         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17922         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17923         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17925         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17926         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17927         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17928         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17929         Update #include target.
17930         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17931         * sysdeps/i386/i686/nptl/Makefile: ... here.
17932         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17933         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17934         Update #include target.
17935         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17936         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17937         * nptl/sysdeps/i386/Makefile: Moved ...
17938         * sysdeps/i386/nptl/Makefile: ... here.
17939         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17940         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17941         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17942         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17943         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17944         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17945         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17946         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17947         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17948         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17949         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17950         * nptl/sysdeps/i386/tls.h: Moved ...
17951         * sysdeps/i386/nptl/tls.h: ... here.
17953         * sysdeps/sh/Makefile [$(subdir) = csu]
17954         (gen-as-const-headers): Add tcb-offsets.sym.
17955         * nptl/sysdeps/sh/Makefile: File removed.
17956         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17957         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17958         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17959         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17960         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17961         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17962         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17963         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17964         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17965         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17966         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17967         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17968         * nptl/sysdeps/sh/tls.h: Moved ...
17969         * sysdeps/sh/nptl/tls.h: ... here.
17970         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17971         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17972         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17973         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17974         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17975         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17976         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17977         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17978         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17979         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17980         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17981         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17982         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17983         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17984         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17985         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17986         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17987         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17988         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17989         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17990         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17991         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17992         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17993         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17994         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17995         Moved ...
17996         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17997         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17998         Moved ...
17999         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18000         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18001         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18002         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18003         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18004         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18005         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18006         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18007         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18008         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18009         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18010         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18011         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18012         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18013         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18014         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18015         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18016         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18017         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18019 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18021         * posix/spawn_faction_addopen.c: Include string.h.
18023 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18025         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18026         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18027         * nptl/sysdeps/x86_64/Makefile: Moved ...
18028         * sysdeps/x86_64/nptl/Makefile: ... here.
18029         * nptl/sysdeps/x86_64/configure: Moved ...
18030         * sysdeps/x86_64/nptl/configure: ... here.
18031         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18032         * sysdeps/x86_64/nptl/configure.ac: ... here.
18033         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18034         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18035         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18036         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18037         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18038         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18039         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18040         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18041         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18042         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18043         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18044         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18045         * nptl/sysdeps/x86_64/tls.h: Moved ...
18046         * sysdeps/x86_64/nptl/tls.h: ... here.
18047         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18048         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18049         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18050         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18052         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18054 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18058 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18060         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18061         type.
18062         [POSIX] (off_t): Likewise.
18063         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18064         [POSIX] (S_ISBLK): Require macro.
18065         [POSIX] (S_ISCHR): Likewise.
18066         [POSIX] (S_ISDIR): Likewise.
18067         [POSIX] (S_ISFIFO): Likewise.
18068         [POSIX] (S_ISREG): Likewise.
18069         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18070         optional-macro.
18071         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18072         type.
18073         [POSIX] (time_t): Likewise.
18074         [POSIX] (timer_t): Likewise.
18076 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18078         [BZ #17048]
18079         * posix/spawn_int.h (struct __spawn_action): Make the path string
18080         non-const to support deallocation.
18081         * posix/spawn_faction_addopen.c
18082         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18083         * posix/spawn_faction_destroy.c
18084         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18085         path in all spawn_do_open actions.
18086         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18087         posix_spawn_file_actions_addopen.
18089 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18091         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18092         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18093         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18094         conditional code always true.
18095         (__libc_vfork): New alias.
18097 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18099         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18100         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18102         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18104         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18105         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18107         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18108         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18110         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18111         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18113 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18115         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18116         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18117         multiarch strcmp for PPC64.
18118         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18119         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18121         multiarch optimizations.
18122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18123         (__libc_ifunc_impl_list): Likewise.
18125 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18127         * benchtests/scripts/validate_benchout.py: New script.
18128         * benchtests/Makefile (bench-func): Call it.
18129         * benchtests/scripts/benchout.schema.json: New file.
18131 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18133         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18134         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18135         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18136         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18137         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18138         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18139         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18140         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18141         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18142         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18143         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18144         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18145         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18146         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18147         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18148         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18150         Moved ...
18151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18152         ... here.
18153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18154         Moved ...
18155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18157         Moved ...
18158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18159         ... here.
18160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18161         Moved ...
18162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18163         ... here.
18164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18165         Moved ...
18166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18168         Moved ...
18169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18170         ... here.
18171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18172         Moved ...
18173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18174         ... here.
18175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18176         Moved ...
18177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18179         Moved ...
18180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18181         ... here.
18182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18183         Moved ...
18184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18185         ... here.
18186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18187         Moved ...
18188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18189         ... here.
18190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18191         Moved ...
18192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18194         Moved ...
18195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18196         ... here.
18197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18198         Moved ...
18199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18200         ... here.
18201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18202         Moved ...
18203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18204         ... here.
18205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18206         Moved ...
18207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18209         Moved ...
18210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18211         ... here.
18212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18213         Moved ...
18214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18215         ... here.
18216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18217         Moved ...
18218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18220         Moved ...
18221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18222         ... here.
18223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18224         Moved ...
18225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18227         Moved ...
18228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18230         Moved ...
18231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18232         ... here.
18233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18234         Moved ...
18235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18236         ... here.
18237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18238         Moved ...
18239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18240         ... here.
18241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18242         Moved ...
18243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18245         Moved ...
18246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18247         ... here.
18248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18249         Moved ...
18250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18251         ... here.
18252         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18253         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18254         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18255         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18256         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18257         Moved ...
18258         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18259         ... here.
18260         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18261         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18262         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18263         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18264         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18265         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18266         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18267         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18268         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18269         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18270         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18271         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18272         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18273         Moved ...
18274         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18275         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18276         Moved ...
18277         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18278         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18279         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18280         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18281         Moved ...
18282         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18283         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18284         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18285         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18286         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18287         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18288         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18290 2014-06-10  Wilco  <wdijkstr@arm.com>
18292         * math/test-fenv-return.c: New file.
18293         * math/Makefile: Add new test test-fenv-return.
18295 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18297         [BZ #17042]
18298         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18299         when x - 1 is zero.
18300         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18301         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18302         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18303         0.0L for an argument of 1.0L.
18304         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18305         Likewise.
18306         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18307         value when x - 1 is zero.
18308         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18309         * sysdeps/i386/fpu/libm-test-ulps: Update.
18310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18312 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18314         [BZ #15119]
18315         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18317 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18319         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18320         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18322 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18324         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18325         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18327         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18328         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18330         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18331         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18333         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18334         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18336         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18337         if not already defined.
18338         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18339         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18340         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18341         (TLS_INIT_TP): Use it.
18342         (TLS_DEFINE_INIT_TP): New macro.
18343         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18345 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18347         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18348         constant.
18349         [POSIX] (IXANY): Likewise.
18350         [POSIX] (OLCUC): Likewise.
18351         [POSIX || POSIX2008] (CBAUD): Do not allow.
18352         [POSIX || POSIX2008] (DEFECHO): Likewise.
18353         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18354         [POSIX || POSIX2008] (ECHOKE): Likewise.
18355         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18356         [POSIX || POSIX2008] (EXTA): Likewise.
18357         [POSIX || POSIX2008] (EXTB): Likewise.
18358         [POSIX || POSIX2008] (FLUSHO): Likewise.
18359         [POSIX || POSIX2008] (LOBLK): Likewise.
18360         [POSIX || POSIX2008] (PENDIN): Likewise.
18361         [POSIX || POSIX2008] (SWTCH): Likewise.
18362         [POSIX || POSIX2008] (VDISCARD): Likewise.
18363         [POSIX || POSIX2008] (VDSUSP): Likewise.
18364         [POSIX || POSIX2008] (VLNEXT): Likewise.
18365         [POSIX || POSIX2008] (VREPRINT): Likewise.
18366         [POSIX || POSIX2008] (VSTATUS): Likewise.
18367         [POSIX || POSIX2008] (VWERASE): Likewise.
18368         (B*): Change to B[0123456789]*.
18369         * conform/data/time.h-data [POSIX || UNIX98]
18370         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18371         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18372         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18373         [POSIX] (tm_*): Do not allow.
18375 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18377         * Makefile (install): Don't set LANGUAGE.
18378         * Makefile.in (install): Likewise.
18379         * assert/Makefile (test-assert-ENV): Remove variable.
18380         (test-assert-perr-ENV): Likewise.
18381         * elf/Makefile (neededtest4-ENV): Likewise.
18382         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18383         [$(cross-compiling) = no]: Don't set LANGUAGE.
18384         * io/ftwtest-sh (LANG): Remove variable.
18385         * libio/Makefile (tst-widetext-ENV): Likewise.
18386         * manual/install.texi (Running make install): Don't refer to
18387         environment settings for make install.
18388         * INSTALL: Regenerated.
18389         * nptl/tst-tls6.sh: Don't set LANG.
18390         * posix/globtest.sh (LANG): Remove variable.
18391         * string/Makefile (tester-ENV): Likewise.
18392         (inl-tester-ENV): Likewise.
18393         (noinl-tester-ENV): Likewise.
18394         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18395         [$(cross-compiling) = no]: Don't set LANGUAGE.
18396         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18397         without explicit environment settings.
18399 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18401         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18402         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18403         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18404         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18406 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18408         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18409         other files in the crypt directory.
18410         * crypt/crypt.c: Remove duplicate includes.
18411         * crypt/crypt-entry.c: Likewise.
18412         * crypt/crypt_util.c: Likewise.
18414 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18416         * Makeconfig (run-program-env): New variable.
18417         (run-program-prefix-before-env): Likewise.
18418         (run-program-prefix-after-env): Likewise.
18419         (run-program-prefix): Define in terms of new variables.
18420         (built-program-cmd-before-env): New variable.
18421         (built-program-cmd-after-env): Likewise.
18422         (built-program-cmd): Define in terms of new variables.
18423         (test-program-prefix-before-env): New variable.
18424         (test-program-prefix-after-env): Likewise.
18425         (test-program-prefix): Define in terms of new variables.
18426         (test-program-cmd-before-env): New variable.
18427         (test-program-cmd-after-env): Likewise.
18428         (test-program-cmd): Define in terms of new variables.
18429         * Rules (make-test-out): Use $(run-program-env).
18430         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18431         (help): Do not mention environment variables.  Mention
18432         --timeoutfactor option.
18433         (timeoutfactor): New variable.
18434         (blacklist_exports): Remove function.
18435         (exports): Remove variable.
18436         (command): Do not include ${exports}.
18437         * manual/install.texi (Configuring and compiling): Do not mention
18438         test wrappers preserving environment variables.  Mention that last
18439         assignment to a variable must take precedence.
18440         * INSTALL: Regenerated.
18441         * benchtests/Makefile (run-bench): Use $(run-program-env).
18442         * catgets/Makefile ($(objpfx)test1.cat): Use
18443         $(built-program-cmd-before-env), $(run-program-env) and
18444         $(built-program-cmd-after-env).
18445         ($(objpfx)test2.cat): Do not specify environment variables
18446         explicitly.
18447         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18448         $(run-program-env) and $(built-program-cmd-after-env).
18449         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18450         $(run-program-env) and $(test-program-cmd-after-env).
18451         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18452         explicitly.
18453         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18454         run_program_env and test_program_cmd_after_env arguments.
18455         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18456         * elf/tst-pathopt.sh: Use run_program_env argument.
18457         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18458         $(test-wrapper-env) and $(run-program-env).
18459         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18460         run_program_env arguments.
18461         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18462         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18463         $(test-program-prefix-before-env), $(run-program-env) and
18464         $(test-program-prefix-after-env).
18465         ($(objpfx)tst-gettext2.out): Likewise.
18466         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18467         run_program_env and test_program_prefix_after_env arguments.
18468         * intl/tst-gettext2.sh: Likewise.
18469         * intl/tst-gettext4.sh: Do not set environment variables
18470         explicitly.
18471         * intl/tst-gettext6.sh: Likewise.
18472         * intl/tst-translit.sh: Likewise.
18473         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18474         $(test-program-prefix-before-env), $(run-program-env) and
18475         $(test-program-prefix-after-env).
18476         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18477         run_program_env and test_program_prefix_after_env arguments.
18478         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18479         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18480         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18481         explicitly with each use of ${test_wrapper_env}.
18482         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18483         $(test-program-prefix-before-env), $(run-program-env) and
18484         $(test-program-prefix-after-env).
18485         * posix/tst-getconf.sh: Do not set environment variables
18486         explicitly.
18487         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18488         run_program_env and test_program_prefix_after_env arguments.
18489         * stdio-common/tst-printf.sh: Do not set environment variables
18490         explicitly.
18491         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18492         $(test-program-prefix-before-env), $(run-program-env) and
18493         $(test-program-prefix-after-env).
18494         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18495         run_program_env and test_program_prefix_after_env arguments.
18496         Split $test calls into $test_pre and $test.
18497         * timezone/Makefile (build-testdata): Use
18498         $(built-program-cmd-before-env), $(run-program-env) and
18499         $(built-program-cmd-after-env).
18501 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18503         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18504         strlen for non SHARED builds.
18506 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18508         * nptl/allocatestack.c (check_list): Inlined function...
18509         (__reclaim_stacks): ... here.
18511 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18513         [BZ #15698]
18514         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18515         memory overrun.
18517 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18519         * Rules (make-test-out): Include
18520         LOCPATH=$(common-objpfx)localedata in default environment.
18521         * debug/Makefile (tst-chk1-ENV): Remove variable.
18522         (tst-chk2-ENV): Likewise.
18523         (tst-chk3-ENV): Likewise.
18524         (tst-chk4-ENV): Likewise.
18525         (tst-chk5-ENV): Likewise.
18526         (tst-chk6-ENV): Likewise.
18527         (tst-lfschk1-ENV): Likewise.
18528         (tst-lfschk2-ENV): Likewise.
18529         (tst-lfschk3-ENV): Likewise.
18530         (tst-lfschk4-ENV): Likewise.
18531         (tst-lfschk5-ENV): Likewise.
18532         (tst-lfschk6-ENV): Likewise.
18533         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18534         (tst-iconv7-ENV): Likewise.
18535         * intl/Makefile (LOCPATH-ENV): Likewise.
18536         (tst-codeset-ENV): Likewise.
18537         (tst-gettext3-ENV): Likewise.
18538         (tst-gettext5-ENV): Likewise.
18539         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18540         (tst-fopenloc-ENV): Likewise.
18541         (tst-fgetws-ENV): Remove variable.
18542         (tst-ungetwc1-ENV): Likewise.
18543         (tst-ungetwc2-ENV): Likewise.
18544         (bug-ungetwc2-ENV): Likewise.
18545         (tst-swscanf-ENV): Likewise.
18546         (bug-ftell-ENV): Likewise.
18547         (tst-fgetwc-ENV): Likewise.
18548         (tst-fseek-ENV): Likewise.
18549         (tst-ftell-partial-wide-ENV): Likewise.
18550         (tst-ftell-active-handler-ENV): Likewise.
18551         (tst-ftell-append-ENV): Likewise.
18552         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18553         (tst-regexloc-ENV): Likewise.
18554         (bug-regex1-ENV): Likewise.
18555         (tst-regex-ENV): Likewise.
18556         (tst-regex2-ENV): Likewise.
18557         (bug-regex5-ENV): Likewise.
18558         (bug-regex6-ENV): Likewise.
18559         (bug-regex17-ENV): Likewise.
18560         (bug-regex18-ENV): Likewise.
18561         (bug-regex19-ENV): Likewise.
18562         (bug-regex20-ENV): Likewise.
18563         (bug-regex22-ENV): Likewise.
18564         (bug-regex23-ENV): Likewise.
18565         (bug-regex25-ENV): Likewise.
18566         (bug-regex26-ENV): Likewise.
18567         (bug-regex30-ENV): Likewise.
18568         (bug-regex32-ENV): Likewise.
18569         (bug-regex33-ENV): Likewise.
18570         (bug-regex34-ENV): Likewise.
18571         (bug-regex35-ENV): Likewise.
18572         (tst-rxspencer-ENV): Likewise.
18573         (tst-rxspencer-no-utf8-ENV): Likewise.
18574         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18575         (tst-sscanf-ENV): Likewise.
18576         (tst-swprintf-ENV): Likewise.
18577         (tst-swscanf-ENV): Likewise.
18578         (test-vfprintf-ENV): Likewise.
18579         (scanf13-ENV): Likewise.
18580         (bug14-ENV): Likewise.
18581         (tst-grouping-ENV): Likewise.
18582         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18583         (tst-strtod3-ENV): Likewise.
18584         (tst-strtod4-ENV): Likewise.
18585         (tst-strtod5-ENV): Likewise.
18586         (testmb2-ENV): Likewise./
18587         * string/Makefile (tst-strxfrm-ENV): Likewise.
18588         (tst-strxfrm2-ENV): Likewise.
18589         (bug-strcoll1-ENV): Likewise.
18590         (test-strcasecmp-ENV): Likewise.
18591         (test-strncasecmp-ENV): Likewise.
18592         * time/Makefile (tst-strptime-ENV): Likewise.
18593         (tst-ftime_l-ENV): Likewise.
18594         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18595         (tst-mbrtowc-ENV): Likewise.
18596         (tst-wcrtomb-ENV): Likewise.
18597         (tst-mbrtowc2-ENV): Likewise.
18598         (tst-c16c32-1-ENV): Likewise.
18599         (tst-mbsnrtowcs-ENV): Likewise.
18601 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18603         * manual/resource.texi (How to get information about the memory
18604         subsystem?): Fix typo.
18605         Reported by Peon de la Parra Ivan <peon@keba.com>
18607 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18609         [BZ #16882]
18610         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18611         (pthread_spin_lock): Branch out of spin loop to proper location.
18612         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18613         (pthread_spin_lock): Likewise.
18615         * nptl/tst-spin4.c: New test.
18616         * nptl/Makefile (tests): Add tst-spin4.
18618 2014-06-03  Andreas Schwab  <schwab@suse.de>
18620         [BZ #15946]
18621         * resolv/res_send.c (send_dg): Reload file descriptor after
18622         calling reopen.
18624 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18626         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18628 2014-06-03  Richard Henderson  <rth@redhat.com>
18630         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18631         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18632         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18633         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18634         in the SAVE_PID block.
18635         (__libc_vfork): New alias.
18636         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18638         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18639         child in registers, not on the stack.  Remove RESET_PID conditionals.
18640         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18642 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18644         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18646 2014-06-03  Wilco  <wdijkstr@arm.com>
18648         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18649         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18650         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18651         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18652         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18653         Likewise.
18655 2014-06-03  Wilco  <wdijkstr@arm.com>
18657         * sysdeps/aarch64/fpu/math_private.h
18658         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18659         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18660         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18661         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18662         Fix declarations.
18664 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18666         * crypt/crypt-private.h: Include ufc-crypt.h.
18667         (__b64_from_24bit): Declare extern.
18668         * crypt/crypt_util.c(__b64_from_24bit): New function.
18669         (b64t): New static const variable.
18670         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18671         (b64t): Remove variable.
18672         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18673         * crypt/sha256-crypt.c: Include crypt-private.h.
18674         (b64t): Remove variable.
18675         (__sha256_crypt_r): Remove b64_from_24bit and replace
18676         with __b64_from_24bit.
18677         * crypt/sha512-crypt.c: Likewise.
18679 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18681         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18682         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18683         Label the code __libc_vfork rather than __vfork.
18684         [!NOT_IN_libc] (vfork): Define as weak alias.
18685         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18686         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18687         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18689 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18691         * malloc/malloc.c (malloc_info): Fix format specifier for
18692         n_mmaps.
18694 2014-06-02  Wilco  <wdijkstr@arm.com>
18696         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18697         FPCR write.
18699 2014-06-02  Wilco  <wdijkstr@arm.com>
18701         [BZ #17009]
18702         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18703         Rewrite to reduce FPCR/FPSR accesses.
18705 2014-06-01  David S. Miller  <davem@davemloft.net>
18707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18709 2014-05-31  David S. Miller  <davem@davemloft.net>
18711         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18712         to occur in round to nearest mode when |x| >= 2.0
18714 2014-05-30  Richard Henderson  <rth@twiddle.net>
18716         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18717         (PSEUDO_RET_NOERRNO): Remove.
18718         (ret): Don't redefine.
18719         (ret_NOERRNO): Define in terms of ret.
18720         (ret_ERRVAL): Likewise.
18722         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18723         use of PSEUDO_RET; perform the error check directly.
18725 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18727         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18728         with __int128_t.
18730 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18732         * malloc/malloc (malloc_info): Fix formatting.
18734 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18735             Roland McGrath  <roland@hack.frob.com>
18737         * malloc/malloc (malloc_info): Also print mmapped statistics.
18739 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18741         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18742         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18744 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18746         * malloc/malloc.c (malloc_info): Inline mi_arena.
18748 2014-05-29  Richard Henderson  <rth@twiddle.net>
18750         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18751         Remove comma before expanding ASM_ARGS_##nr.
18752         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18753         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18754         of ASM_ARGS_##nr.
18755         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18756         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18757         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18758         (ASM_ARGS_1): Add leading comma.
18760         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18761         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18762         to __errno_location.
18763         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18764         Remove the expected plt for __errno_location.
18766         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18767         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18768         call to __read_tp.
18770         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18771         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18772         it and break it down.
18773         (DOCARGS_0, DOCARGS_1): Do nothing.
18774         (DOCARGS_2): Update to store into the new stack frame.
18775         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18776         (UNDOCARGS_1): Update to restore from the new stack frame.
18777         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18778         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18780         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18781         (SINGLE_THREAD_P): New parameter for result regno.
18782         (PSEUDO): Update to match; use cbz instead of beq.
18784         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18785         Use ENTRY to define the _nocancel entry point.  Share the syscall
18786         and syscall error check paths with the cancel path.
18787         (PSEUDO_END): New.
18789         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18790         whitespace; tabs before and after asm mnemonics.
18792 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18794         [BZ #15132]
18795         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18796         Call fstat64 or stat64 internally, depending on arguments passed.
18797         Replace stat buffer argument with file descriptor argument.
18798         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18799         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18800         Pass fd to __internal_statvfs instead of calling fstat64.
18801         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18802         Pass fd to __internal_statvfs64 instead of calling fstat64.
18803         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18804         Pass -1 to __internal_statvfs instead of calling stat64.
18805         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18806         Pass -1 to __internal_statvfs64 instead of calling stat64.
18808 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18810         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18811         that was previously under [RESET_PID].
18812         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18814         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18815         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18817 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18819         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18821         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18822         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18824 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18826         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18828 2014-05-27  Andreas Schwab  <schwab@suse.de>
18830         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18831         TLS_INIT_TP macro.
18832         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18833         * elf/rtld.c (init_tls, dl_main): Likewise.
18834         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18835         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18836         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18837         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18838         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18839         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18840         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18841         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18842         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18843         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18844         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18845         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18846         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18847         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18848         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18849         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18850         * sysdeps/generic/tls.h: Update description.
18852 2014-05-27  Will Newton  <will.newton@linaro.org>
18854         [BZ #16990]
18855         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18856         and restore r2 rather than just restoring.
18858 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18860         [BZ #16724]
18861         * libio/tst-ftell-append.c: New test case.
18862         * libio/Makefile (tests): Add test case.
18863         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18864         append mode.
18865         * libio/wfileops.c (do_ftell_wide): Likewise.
18867 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18871         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18872         ...
18873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18875         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18876         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18877         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18878         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18879         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18880         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18881         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18882         Moved ...
18883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18884         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18885         Moved ...
18886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18887         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18888         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18889         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18890         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18891         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18892         ...
18893         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18894         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18895         Moved ...
18896         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18897         here.
18898         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18899         ...
18900         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18901         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18902         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18904         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18905         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18906         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18907         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18909         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18910         merge into ...
18911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18912         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18913         ...
18914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18915         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18916         ...
18917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18918         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18919         Moved ...
18920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18921         here.
18922         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18923         Moved ...
18924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18925         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18926         Moved ...
18927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18930         conditional [RESET_PID].
18931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18932         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18933         removed.
18934         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18935         removed.
18937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18938         <tcb-offsets.h>.
18939         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18940         (__libc_vfork): New strong alias.
18941         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18942         removed.
18943         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18944         Removed.
18946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18947         <tcb-offsets.h>.
18948         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18949         (__libc_vfork): New strong alias.
18950         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18951         removed.
18952         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18953         removed.
18955 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18957         * malloc/malloc.c (mi_arena): New function.
18958         (malloc_info): Remove nested function mi_arena. Call non-nosted
18959         function mi_arena.
18961 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18963         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18964         by insrwi.
18965         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18966         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18967         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18968         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18969         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18970         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18971         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18973 2014-05-26  Andreas Schwab  <schwab@suse.de>
18975         [BZ #16984]
18976         * locale/programs/repertoire.c (repertoire_read): Add slash
18977         between I18NPATH element and file name.
18978         * locale/programs/locfile.c (locfile_read): Likewise.
18980 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18982         * nptl/pthread_mutexattr_settype.c
18983         (__pthread_mutexattr_settype):
18984         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18986 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18988         * nptl/tst-mutex5 (do_test):
18989         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18991 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18993         * benchtests/README: Document 'init' directive.
18994         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18995         BENCH_INIT.
18996         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18997         (parse_file): Recognize 'init' directive.
18999 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19001         [BZ #16796]
19002         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19003         alignment of struct pthread.
19005 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19007         [BZ #16878]
19008         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19009         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19010         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19011         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19013 2014-05-25  Richard Henderson  <rth@twiddle.net>
19015         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19016         (SINGLE_THREAD_P_PIC): Remove.
19017         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19018         (SINGLE_THREAD_P_PIC): Remove.
19020         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19021         branch to syscall error ...
19022         (PSEUDO): ... here.
19023         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19024         from __local_syscall_error to .Lsyscall_error.
19025         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19026         (SYSCALL_ERROR): Update label name.
19028         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19029         Do not use DOARGS/UNDOARGS.
19030         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19031         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19032         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19033         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19034         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19036         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19037         block comment.
19039         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19040         define if !NOT_IN_libc.
19041         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19042         define with non-default symbol versions.
19044 2014-05-23  Richard Henderson  <rth@twiddle.net>
19046         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19047         (vfork, __vfork): Define via compat_symbol.
19049         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19050         [!HAVE_IFUNC] (vfork_compat): Remove.
19051         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19053 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19055         [BZ #16978]
19056         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19057         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19058         variable.
19060 2014-05-23  Richard Henderson  <rth@twiddle.net>
19062         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19063         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19064         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19065         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19067         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19068         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19069         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19070         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19071         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19072         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19073         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19074         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19075         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19076         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19077         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19078         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19079         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19080         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19081         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19082         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19083         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19084         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19085         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19086         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19087         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19088         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19089         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19090         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19091         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19092         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19093         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19094         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19095         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19096         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19097         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19098         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19099         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19100         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19101         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19102         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19103         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19104         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19105         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19106         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19107         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19108         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19109         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19110         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19111         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19112         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19113         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19114         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19115         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19116         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19117         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19118         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19119         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19120         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19121         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19122         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19124         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19125         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19126         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19127         before exiting on error.
19128         (__libc_vfork): New strong alias.
19129         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19130         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19132         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19133         that was previously under [RESET_PID].
19134         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19136         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19138 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19140         [BZ #16977]
19141         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19142         value when x - 1 is zero.
19143         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19144         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19145         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19146         0.0L for an argument of 1.0L.
19147         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19148         Likewise.
19149         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19150         value when x - 1 is zero.
19151         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19152         * sysdeps/i386/fpu/libm-test-ulps: Update.
19153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19155 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19157         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19158         alphasort and versionsort.
19160 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19162         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19163         macro.
19164         [copysignf]: Likewise.
19166 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19168         * crypt/md5-crypt.c: Fix formatting.
19170 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19172         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19173         (b64_from_24bit): New function.
19175 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19177         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19178         libc_hidden_builtin_def to ifunc.
19179         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19180         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19182 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19184         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19185         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19187 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19189         * nscd/Depend (linuxthreads): Remove.
19190         (nptl): Add.
19191         * resolv/Depend (linuxthreads): Remove.
19192         * rt/Depend (linuxthreads): Remove.
19194         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19195         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19196         $(common-objpfx)elf/.
19197         (link-libc-before-gnulib): Likewise.
19198         (elfobjdir): Remove variable.
19199         * Makefile (install): Use $(elf-objpfx) instead of
19200         $(common-objpfx)elf/.
19201         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19202         $(elfobjdir)/.
19203         (link-libc-deps): Likewise.
19204         ($(common-objpfx)libc.so): Likewise.
19205         ($(common-objpfx)linkobj/libc.so): Likewise.
19206         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19207         instead of $(common-objpfx)elf/.
19208         (symbolic-link-list): Likewise.
19209         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19210         [$(cross-compiling) = no]: Likewise.
19211         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19212         $(elfobjdir)/.
19213         (static-gnulib-arch): Likewise.
19214         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19215         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19216         $(common-objpfx)elf/.
19218 2014-05-21  Richard Henderson  <rth@redhat.com>
19220         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19221         (SINGLE_THREAD_P): Use the correct width load.  Fold
19222         into the ldr offset.
19224         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19225         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19227 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19229         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19230         (libgcc_s_resume): Use __attribute_used__.
19231         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19232         Likewise.
19234 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19236         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19237         optimization when used with float constants.
19239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19241 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19243         [BZ #16915]
19244         * locale/nl_langinfo_l.c: Make direct reference to every
19245         _nl_current_CATEGORY symbol.
19246         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19247         (tests-static): Add tst-langinfo-static.
19248         (tests-special): Add tst-langinfo-static.out.
19249         ($(objpfx)tst-langinfo.out): Redirect output.
19250         ($(objpfx)tst-langinfo-static.out): New.
19251         * localedata/tst-langinfo.sh: Send output to stdout.
19252         * localedata/tst-langinfo-static.c: New file.
19254         [BZ #16965]
19255         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19256         when the shift amount is modulo the limb size.
19258 2014-05-20  Richard Henderson  <rth@redhat.com>
19260         [BZ #16967]
19261         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19262         Change type of sa_flags from unsigned int to int.
19264         [BZ #16966]
19265         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19267         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19269 2014-05-20  Will Newton  <will.newton@linaro.org>
19271         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19272         Test the return value of the system call in the nocancel case.
19274 2014-05-20  Will Newton  <will.newton@linaro.org>
19275             Yvan Roux  <yvan.roux@linaro.org>
19277         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19278         #include of asm/ptrace.h.
19279         (PTRACE_GET_THREAD_AREA): Remove #undef.
19280         (PTRACE_GETHBPREGS): Likewise.
19281         (PTRACE_SETHBPREGS): Likewise.
19282         (struct user_regs_struct): New structure.
19283         (struct user_fpsimd_struct): New structure.
19284         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19285         #include of asm/ptrace.h and second #include of sys/user.h.
19286         (PTRACE_GET_THREAD_AREA): Remove #undef.
19287         (PTRACE_GETHBPREGS): Likewise.
19288         (PTRACE_SETHBPREGS): Likewise.
19289         (ELF_NGREG): Use new struct user_regs_struct.
19290         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19292 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19294         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19295         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19297 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19299         [BZ #16958]
19300         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19301         membar to avoid block loads/stores to overlap previous stores.
19303 2014-05-17  Richard Henderson  <rth@redhat.com>
19305         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19306         Create the __##syscall_name##_nocancel entry point.
19307         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19308         Remove; let the sysdep-cancel.h code create it.
19310 2014-05-17  David S. Miller  <davem@davemloft.net>
19312         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19313         Protect with __USE_GNU.
19314         (TIOCSET_TEMPT): Likewise.
19315         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19316         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19317         these are already provided in bits/ioctl-types.h
19319 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19321         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19322         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19324         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19325         Use wait4 regardless of [__NR_waitpid].
19327 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19329         PR libgcc/60166
19330         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19331         (_FP_NANSIGN_Q): Set the quiet bit.
19333 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19335         * benchtests/Makefile
19336         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19337         not $(common-objpfx)math/libm.so.
19338         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19339         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19340         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19341         $(common-objpfx)dlfcn/libdl.so.
19342         ($(objpfx)tst-audit8): Depend on $(libm), not
19343         $(common-objpfx)math/libm.so.
19344         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19345         not $(common-objpfx)dlfcn/libdl.so.
19346         * math/Makefile
19347         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19348         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19349         [$(build-shared) = yes].
19350         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19351         $(common-objpfx)nptl/libpthread.so.
19352         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19353         $(common-objpfx)math/libm.so$(libm.so-version) or
19354         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19355         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19356         $(common-objpfx)dlfcn/libdl.so.
19357         * setjmp/Makefile (link-libm): Remove variable.
19358         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19359         * stdio-common/Makefile (link-libm): Remove variable.
19360         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19361         * stdlib/Makefile (link-libm): Remove variable.
19362         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19363         ($(objpfx)tst-strtod-round): Likewise.
19364         ($(objpfx)tst-tininess): Likewise.
19365         ($(objpfx)tst-strtod-underflow): Likewise.
19366         ($(objpfx)tst-strtod6): Likewise.
19367         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19368         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19369         $(common-objpfx)dlfcn/libdl.so.
19371 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19373         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19374         BSD terminal modes definitions.
19376 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19378         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19379         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19381         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19382         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19383         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19384         Don't do #include_next.
19385         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19386         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19387         Don't do #include_next.
19388         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19389         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19390         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19391         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19393 2014-05-16  Allan McRae  <allan@archlinux.org>
19395         * po/sv.po: Update Swedish translation from translation project.
19397         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19398         in sed expression.
19400 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19402         [BZ #16917]
19403         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19404         errno if the TIOCGPTN ioctl fails with an error different than
19405         EINVAL.
19406         * login/tst-ptsname.c: New file.
19407         * login/Makefile (tests): Add tst-ptsname.
19409         [BZ #16943]
19410         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19411         and prlimit64.
19413 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19415         [BZ #16849]
19416         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19417         herrno to return EAI_AGAIN.
19419 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19421         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19422         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19423         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19424         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19425         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19426         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19427         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19428         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19429         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19430         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19431         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19432         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19433         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19434         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19435         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19436         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19437         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19438         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19439         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19440         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19441         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19442         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19443         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19444         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19445         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19446         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19447         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19448         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19449         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19450         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19452         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19454         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19456         Moved ...
19457         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19459         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19461         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19463         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19465         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19467         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19469         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19471         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19472         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19473         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19475         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19477         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19479         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19481         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19483         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19485         Moved ...
19486         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19488         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19490         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19492         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19493         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19494         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19496         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19497         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19498         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19499         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19500         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19501         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19502         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19503         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19504         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19506         Moved ...
19507         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19509         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19511         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19512         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19513         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19514         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19515         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19516         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19517         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19518         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19519         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19520         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19521         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19522         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19523         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19524         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19525         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19526         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19527         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19528         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19529         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19530         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19531         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19532         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19533         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19534         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19535         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19536         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19537         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19538         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19539         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19540         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19541         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19543         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19544         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19546         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19547         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19548         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19549         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19550         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19551         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19552         Moved ...
19553         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19554         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19555         Moved ...
19556         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19557         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19558         Moved ...
19559         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19560         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19561         Moved ...
19562         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19563         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19564         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19565         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19566         Moved ...
19567         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19568         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19569         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19570         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19571         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19572         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19573         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19574         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19575         Moved ...
19576         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19577         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19578         Moved ...
19579         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19580         ... here.
19581         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19582         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19583         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19584         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19585         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19586         Moved ...
19587         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19588         ... here.
19589         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19590         Moved ...
19591         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19592         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19593         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19594         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19595         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19596         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19597         Moved ...
19598         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19599         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19600         Moved ...
19601         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19602         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19603         Moved ...
19604         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19605         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19606         Moved ...
19607         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19608         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19609         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19610         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19611         Moved ...
19612         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19613         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19614         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19615         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19616         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19617         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19618         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19619         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19620         Moved ...
19621         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19622         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19623         Moved ...
19624         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19625         ... here.
19626         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19627         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19628         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19629         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19630         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19631         Moved ...
19632         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19633         ... here.
19634         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19635         Moved ...
19636         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19637         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19638         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19639         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19640         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19641         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19642         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19643         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19644         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19645         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19646         Moved ...
19647         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19648         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19649         Moved ...
19650         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19651         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19652         Moved ...
19653         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19654         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19655         Moved ...
19656         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19657         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19658         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19659         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19660         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19661         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19662         Moved ...
19663         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19664         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19665         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19666         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19667         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19668         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19669         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19670         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19671         Moved ...
19672         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19673         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19674         Moved ...
19675         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19676         ... here.
19677         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19678         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19679         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19680         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19681         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19682         Moved ...
19683         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19684         ... here.
19685         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19686         Moved ...
19687         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19688         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19689         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19690         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19691         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19692         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19693         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19694         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19695         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19696         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19697         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19699         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19700         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19702         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19703         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19705         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19706         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19707         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19708         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19709         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19710         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19711         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19712         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19713         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19714         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19715         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19716         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19717         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19718         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19719         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19720         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19721         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19722         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19723         Moved ...
19724         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19725         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19726         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19727         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19728         Moved ...
19729         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19730         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19731         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19732         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19733         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19734         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19735         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19736         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19737         Moved ...
19738         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19739         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19740         Moved ...
19741         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19742         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19743         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19744         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19745         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19746         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19747         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19748         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19749         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19750         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19751         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19752         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19753         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19754         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19755         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19756         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19757         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19759         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19760         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19761         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19762         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19763         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19765         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19766         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19767         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19768         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19769         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19770         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19771         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19772         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19773         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19774         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19776         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19777         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19779         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19780         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19781         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19782         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19783         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19784         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19785         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19786         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19787         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19788         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19789         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19790         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19791         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19792         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19793         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19794         Update #include.
19795         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19796         Likewise.
19797         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19798         Likewise.
19799         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19800         Likewise.
19801         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19802         Likewise.
19803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19804         Likewise.
19805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19806         Likewise.
19807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19808         Likewise.
19809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19810         Likewise.
19811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19812         Likewise.
19813         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19814         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19815         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19816         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19817         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19818         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19819         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19820         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19821         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19822         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19823         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19824         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19825         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19826         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19827         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19829         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19830         that was previously under [RESET_PID].
19831         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19832         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19833         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19835         * sysdeps/i386/nptl/Implies: New file.
19836         * sysdeps/x86_64/nptl/Implies: New file.
19837         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19838         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19839         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19840         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19842         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19843         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19844         (__libc_vfork): New strong alias.
19845         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19846         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19848         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19849         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19850         (__libc_vfork): New strong alias.
19851         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19852         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19854         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19855         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19856         (__libc_vfork): New strong alias.
19857         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19858         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19859         * nptl/pt-vfork.c: New file.
19860         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19861         (libpthread: GLIBC_2.20): New version set (empty).
19863 2014-05-14  Will Newton  <will.newton@linaro.org>
19865         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19866         rather than #if.
19868 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19870         [BZ #16564]
19871         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19872         arguments with exponent 65 or above.
19873         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19874         arguments 0x1p113L or above.
19875         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19876         to arguments 0x1p107L or above.
19877         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19878         positive arguments with exponent 65 or above.
19879         * math/auto-libm-test-in: Add more tests of log1p.
19880         * math/auto-libm-test-out: Regenerated.
19882         [BZ #16928]
19883         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19884         non-finite arguments is +0.
19885         * math/s_cacosf.c (__cacosf): Likewise.
19886         * math/s_cacosl.c (__cacosl): Likewise.
19887         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19888         * sysdeps/i386/fpu/libm-test-ulps: Update.
19889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19891         [BZ #16927]
19892         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19893         value.
19894         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19895         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19896         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19897         for explicit high bit of mantissa when testing for argument equal
19898         to 1.
19899         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19900         * sysdeps/i386/fpu/libm-test-ulps: Update.
19901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19903         [BZ #16516]
19904         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19905         (__erf): Scale by 16 instead of 8 in potentially underflowing
19906         case.  Ensure exception if result actually underflows.
19907         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19908         (__erff): Scale by 16 instead of 8 in potentially underflowing
19909         case.  Ensure exception if result actually underflows.
19910         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19911         (efx8): Remove variable.
19912         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19913         case.  Ensure exception if result actually underflows.
19914         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19915         (efx8): Remove variable.
19916         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19917         case.  Ensure exception if result actually underflows.
19918         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19919         (efx8): Remove variable.
19920         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19921         case.  Ensure exception if result actually underflows.
19922         * math/auto-libm-test-in: Add more tests of erf.
19923         * math/auto-libm-test-out: Regenerated.
19925 2014-05-14  Andreas Schwab  <schwab@suse.de>
19927         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19928         Remove code conditionalized on USE___THREAD.
19930         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19931         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19932         not definedness.
19934 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19936         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19937         Define unconditionally.
19938         (__ASSUME_O_CLOEXEC): Likewise.
19939         (__ASSUME_SOCK_CLOEXEC): Likewise.
19940         (__ASSUME_IN_NONBLOCK): Likewise.
19941         (__ASSUME_PIPE2): Likewise.
19942         (__ASSUME_EVENTFD2): Likewise.
19943         (__ASSUME_SIGNALFD4): Likewise.
19944         (__ASSUME_DUP3): Likewise.
19945         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19946         (__ASSUME_DUP3): Do not define.
19947         (__ASSUME_EVENTFD2): Likewise.
19948         (__ASSUME_IN_NONBLOCK): Likewise.
19949         (__ASSUME_O_CLOEXEC): Likewise.
19950         (__ASSUME_PIPE2): Likewise.
19951         (__ASSUME_SIGNALFD4): Likewise.
19952         (__ASSUME_SOCK_CLOEXEC): Likewise.
19953         (__ASSUME_UTIMES): Undefine.
19954         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19955         (__ASSUME_UTIMES): Do not define.
19956         (__ASSUME_O_CLOEXEC): Likewise.
19957         (__ASSUME_SOCK_CLOEXEC): Likewise.
19958         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19959         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19960         0x020621].
19961         (__ASSUME_PIPE2): Likewise.
19962         (__ASSUME_EVENTFD2): Likewise.
19963         (__ASSUME_SIGNALFD4): Likewise.
19964         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19965         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19966         Do not define.
19967         (__ASSUME_EVENTFD2): Likewise.
19968         (__ASSUME_SIGNALFD4): Likewise.
19969         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19970         (__ASSUME_32BITUIDS): Likewise.
19971         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19972         (__ASSUME_IPC64): Likewise.
19973         (__ASSUME_ST_INO_64_BIT): Likewise.
19974         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19975         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19976         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19977         (__ASSUME_UTIMES): Do not define.
19978         (__ASSUME_PSELECT): Likewise.
19979         (__ASSUME_PPOLL): Likewise.
19980         (__ASSUME_O_CLOEXEC): Likewise.
19981         (__ASSUME_SOCK_CLOEXEC): Likewise.
19982         (__ASSUME_IN_NONBLOCK): Likewise.
19983         (__ASSUME_PIPE2): Likewise.
19984         (__ASSUME_EVENTFD2): Likewise.
19985         (__ASSUME_SIGNALFD4): Likewise.
19986         (__ASSUME_DUP3): Likewise.
19987         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19988         (__ASSUME_UTIMES): Likewise.
19989         (__ASSUME_O_CLOEXEC): Likewise.
19990         (__ASSUME_SOCK_CLOEXEC): Likewise.
19991         (__ASSUME_IN_NONBLOCK): Likewise.
19992         (__ASSUME_PIPE2): Likewise.
19993         (__ASSUME_EVENTFD2): Likewise.
19994         (__ASSUME_SIGNALFD4): Likewise.
19995         (__ASSUME_DUP3): Likewise.
19996         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19997         (__ASSUME_UTIMES): Likewise.
19998         (__ASSUME_O_CLOEXEC): Likewise.
19999         (__ASSUME_SOCK_CLOEXEC): Likewise.
20000         (__ASSUME_IN_NONBLOCK): Likewise.
20001         (__ASSUME_PIPE2): Likewise.
20002         (__ASSUME_EVENTFD2): Likewise.
20003         (__ASSUME_SIGNALFD4): Likewise.
20004         (__ASSUME_DUP3): Likewise.
20005         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20006         Likewise.
20007         (__ASSUME_UTIMES): Likewise.
20008         (__ASSUME_EVENTFD2): Likewise.
20009         (__ASSUME_SIGNALFD4): Likewise.
20010         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20011         (__ASSUME_O_CLOEXEC): Likewise.
20012         (__ASSUME_SOCK_CLOEXEC): Likewise.
20013         (__ASSUME_IN_NONBLOCK): Likewise.
20014         (__ASSUME_PIPE2): Likewise.
20015         (__ASSUME_EVENTFD2): Likewise.
20016         (__ASSUME_SIGNALFD4): Likewise.
20017         (__ASSUME_DUP3): Likewise.
20018         (__ASSUME_UTIMES): Undefine.
20020         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20021         feclearexcept.  Remove symbol versioning code.
20022         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20023         symbol versioning code.
20024         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20025         symbol versioning code.
20026         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20027         feupdateenv.  Remove symbol versioning code.
20028         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20029         fegetexceptflag.  Remove symbol versioning code.
20030         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20031         fesetexceptflag.  Remove symbol versioning code.
20032         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20033         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20034         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20035         (__posix_fadvise64_l32): Remove prototype.
20036         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20037         code.
20039 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20041         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20042         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20043         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20044         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20046 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20048         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20049         current working directory
20051 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20053         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20054         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20055         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20056         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20057         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20058         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20059         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20060         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20061         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20062         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20063         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20064         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20065         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20066         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20067         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20068         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20069         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20070         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20071         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20072         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20073         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20074         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20075         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20076         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20077         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20078         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20079         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20080         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20081         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20082         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20083         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20084         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20085         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20086         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20087         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20088         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20089         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20090         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20091         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20092         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20093         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20094         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20096         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20097         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20099         * sysdeps/unix/sysv/linux/arm/Makefile
20100         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20101         Add rt-aeabi_unwind_cpp_pr1.
20102         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20103         Add nptl-aeabi_unwind_cpp_pr1.
20104         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20105         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20106         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20107         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20108         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20109         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20111         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20112         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20113         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20114         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20116         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20117         Deconditionalize the code that was previously under [RESET_PID].
20118         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20120         * sysdeps/generic/exit-thread.h: New file.
20121         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20122         * include/unistd.h (__exit_thread): Remove declaration.
20123         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20124         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20125         * csu/libc-start.c: Include <exit-thread.h>.
20126         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20127         * nptl/pthread_create.c: Include <exit-thread.h>.
20128         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20129         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20130         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20131         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20132         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20133         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20134         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20135         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20136         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20137         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20138         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20139         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20140         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20141         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20142         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20143         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20144         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20146 2014-05-13  Andreas Schwab  <schwab@suse.de>
20148         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20150 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20152         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20153         (__ASSUME_UTIMES): Do not condition on kernel version.
20154         (__ASSUME_PSELECT): Define unconditionally.
20155         (__ASSUME_PPOLL): Likewise.
20156         (__ASSUME_ATFCTS): Likewise.
20157         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20158         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20159         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20160         (__ASSUME_UTIMENSAT): Define unconditionally.
20161         (__ASSUME_PRIVATE_FUTEX): Likewise.
20162         (__ASSUME_FALLOCATE): Likewise.
20163         (__ASSUME_O_CLOEXEC): Likewise.
20164         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20165         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20166         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20167         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20168         (__ASSUME_IN_NONBLOCK): Likewise.
20169         (__ASSUME_PIPE2): Likewise.
20170         (__ASSUME_EVENTFD2): Likewise.
20171         (__ASSUME_SIGNALFD4): Likewise.
20172         (__ASSUME_DUP3): Likewise.
20173         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20174         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20175         (__ASSUME_AT_RANDOM): Likewise.
20176         (__ASSUME_PREADV): Likewise.
20177         (__ASSUME_PWRITEV): Likewise.
20178         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20179         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20180         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20181         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20182         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20183         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20184         (__ASSUME_O_CLOEXEC): Define unconditionally.
20185         (__ASSUME_PSELECT): Do not undefine conditionally.
20186         (__ASSUME_PPOLL): Likewise.
20187         (__ASSUME_ATFCTS): Likewise.
20188         (__ASSUME_SET_ROBUST_LIST): Likewise.
20189         (__ASSUME_UTIMENSAT): Likewise.
20190         (__ASSUME_FDATASYNC): Define unconditionally.
20191         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20192         (__ASSUME_SIGFRAME_V2): Likewise.
20193         )__ASSUME_EVENTFD2): Likewise.
20194         (__ASSUME_SIGNALFD4): Likewise.
20195         (__ASSUME_PSELECT): Do not undefine conditionally.
20196         (__ASSUME_PPOLL): Likewise.
20197         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20198         (__ASSUME_PSELECT): Define unconditionally.
20199         (__ASSUME_PPOLL): Likewise.
20200         (__ASSUME_O_CLOEXEC): Likewise.
20201         (__ASSUME_SOCK_CLOEXEC): Likewise.
20202         (__ASSUME_IN_NONBLOCK): Likewise.
20203         (__ASSUME_PIPE2): Likewise.
20204         (__ASSUME_EVENTFD2): Likewise.
20205         (__ASSUME_SIGNALFD4): Likewise.
20206         (__ASSUME_DUP3): Likewise.
20207         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20208         (__ASSUME_O_CLOEXEC): Likewise.
20209         (__ASSUME_SOCK_CLOEXEC): Likewise.
20210         (__ASSUME_IN_NONBLOCK): Likewise.
20211         (__ASSUME_PIPE2): Likewise.
20212         (__ASSUME_EVENTFD2): Likewise.
20213         (__ASSUME_SIGNALFD4): Likewise.
20214         (__ASSUME_DUP3): Likewise.
20215         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20216         (__ASSUME_EVENTFD2): Likewise.
20217         (__ASSUME_SIGNALFD4): Likewise.
20218         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20220 2014-05-12  Andreas Schwab  <schwab@suse.de>
20222         [BZ #16932]
20223         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20224         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20225         than maximum RPC packet size.
20226         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20227         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20228         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20229         (_nss_nis_getservbyport_r): Likewise.
20231 2014-05-12  Will Newton  <will.newton@linaro.org>
20233         * malloc/Makefile (tests): Add tst-mallopt.
20234         * malloc/tst-mallopt.c: New file.
20236 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20238         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20239         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20241 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20243         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20244         (tst-tlsmod6.so): Likewise.
20246 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20248         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20250 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20252         [BZ #16064]
20253         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20254         and <dl-procinfo.h>.
20255         (__fegetenv): Save SSE state in envp->__eip if supported.
20256         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20257         envp->__eip if supported.
20258         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20259         and <dl-procinfo.h>.
20260         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20261         __data_offset and __data_selector in environment to 0.  Set SSE
20262         state if supported.
20263         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20264         test-fenv-sse.
20265         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20266         -mfpmath=sse.
20267         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20269 2014-05-09  Will Newton  <will.newton@linaro.org>
20271         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20272         and libc_relro_required for ARM.
20273         * sysdeps/arm/preconfigure: Regenerate.
20275 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20276             Stefan Liebler  <stli@linux.vnet.ibm.com>
20278         * config.make.in (enable-lock-elision): New Makefile variable.
20279         * configure.ac: Likewise.
20280         * configure: Regenerate.
20281         * sysdeps/s390/configure.ac:
20282         Add check for gcc transactions support.
20283         * sysdeps/s390/configure: Regenerate.
20284         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20285         Build elision files if enabled.
20286         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20287         Add lock elision support for s390.
20288         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20289         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20290         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20291         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20292         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20293         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20294         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20295         Likewise.
20296         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20297         Likewise.
20298         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20299         Likewise.
20300         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20301         Likewise.
20302         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20303         (__lll_timedlock_elision, __lll_lock_elision)
20304         (__lll_unlock_elision, __lll_trylock_elision)
20305         (lll_timedlock_elision, lll_lock_elision)
20306         (lll_unlock_elision, lll_trylock_elision): Add.
20307         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20308         (pthread_mutex_t): Add lock elision support for s390.
20310 2014-05-14  Wilco  <wdijkstr@arm.com>
20312         * sysdeps/arm/fclrexcpt.c: Cleanup.
20313         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20314         * sysdeps/arm/feenablxcpt.c: Cleanup.
20315         * sysdeps/arm/fegetenv.c: Cleanup.
20316         * sysdeps/arm/fegetexcept.c: Cleanup.
20317         * sysdeps/arm/fegetround.c: Cleanup.
20318         * sysdeps/arm/feholdexcpt.c: Cleanup.
20319         * sysdeps/arm/fesetenv.c: Cleanup.
20320         * sysdeps/arm/fesetround.c: Cleanup.
20321         * sysdeps/arm/feupdateenv.c: Cleanup.
20322         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20323         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20324         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20325         * sysdeps/arm/ftestexcept.c: Cleanup.
20326         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20327         * sysdeps/arm/setfpucw.c: Cleanup.
20329 2014-05-09  Will Newton  <will.newton@linaro.org>
20331         * sysdeps/arm/armv7/strcmp.S: New file.
20332         * NEWS: Mention addition of ARMv7 optimized strcmp.
20334 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20336         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20337         look for %.ac rather than %.in.
20339         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20340         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20341         * sysdeps/mach/hurd/configure: Regenerated.
20342         * sysdeps/unix/sysv/linux/configure: Regenerated.
20344         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20346 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20348         [BZ# 16922]
20349         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20350         (LONG_SUB): Ditto.
20351         (PTR_SUB): Ditto.
20353 2014-05-07  Andreas Schwab  <schwab@suse.de>
20355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20356         when skipping over non-matching result from nscd.
20358 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20360         [BZ #16876]
20361         * nptl/sockperf.c (client): Check socket return value.
20363         [BZ #16877]
20364         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20365         nscd security class.
20367 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20369         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20370         * sysdeps/arm/unwind.h: ... here.
20372 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20374         [BZ# 16916]
20375         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20376         Define.
20378 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20380         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20381         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20382         multiarch strncpy for PPC64.
20383         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20384         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20386         multiarch optimizations.
20387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20388         (__libc_ifunc_impl_list): Likewise.
20389         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20390         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20391         multiarch stpncpy for PPC64.
20392         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20393         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20395 2014-05-06  Andreas Schwab  <schwab@suse.de>
20397         [BZ #16912]
20398         * gmon/mcount.c (_MCOUNT_DECL): Use
20399         atomic_compare_and_exchange_bool_acq instead of
20400         catomic_compare_and_exchange_bool_acq.
20402 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20404         * elf/Makefile (others, install-bin): Remove pldd.
20405         (pldd-modules): Variable removed.
20406         ($(objpfx)pldd): Target removed.
20407         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20408         (others, install-bin): Append pldd here.
20409         ($(objpfx)pldd): New target.
20411         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20412         to 0, so the first #if test emitted later doesn't see it undefined.
20413         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20414         * sysdeps/gnu/errlist.c: Regenerated.
20416 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20418         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20419         [libc_hidden_builtin_def]: Define to empty value.
20420         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20421         [libc_hidden_builtin_def]: Likewise.
20422         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20423         [libc_hidden_builtin_def]: Likewise.
20424         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20425         [libc_hidden_builtin_def]: Likewise.
20426         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20427         __redirect_memcpy and define ifunc as default hidden symbol.
20428         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20429         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20431 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20433         * locale/iso-4217.def: Reintroduce XDR currency.
20435 2014-05-04  Allan McRae  <allan@archlinux.org>
20437         * po/eo.po: Update Esperanto translation from translation project.
20439 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20441         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20442         and FEATURE_INDEX_MAX to 1.
20443         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20445 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20447         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20448         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20449         * iconvdata/big5.c (ONE_DIRECTION): Define.
20450         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20451         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20452         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20453         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20454         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20455         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20456         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20457         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20458         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20459         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20460         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20461         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20462         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20463         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20464         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20465         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20466         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20467         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20468         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20469         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20470         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20471         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20472         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20473         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20474         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20475         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20476         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20477         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20478         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20479         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20480         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20481         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20482         * iconvdata/johab.c (ONE_DIRECTION): Define.
20483         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20484         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20485         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20486         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20487         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20488         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20489         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20490         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20491         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20492         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20494 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20496         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20497         (_IO_JUMPS_OFFSET): Define to 0.
20499         * nptl/sysdeps/pthread/bits/libc-lock.h
20500         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20501         (__libc_lock_define_initialized_recursive): Always define using
20502         initializer.  Modern compilers treat uninitialized (implicit zero) and
20503         explicit zero initializers the same (i.e. put the datum in bss).
20505 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20507         * nscd/nscd-client.h: Include <string.h>.
20509 2014-05-01  David S. Miller  <davem@davemloft.net>
20511         [BZ #16885]
20512         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20513         multiple zero bytes exist at the end of a string.
20514         Reported by Aurelien Jarno <aurelien@aurel32.net>
20516         * string/test-strcmp.c (check): Add explicit test for situations where
20517         there are multiple zero bytes after the first.
20519 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20521         [BZ #16890]
20522         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20523         when compiling wprintf.
20524         * stdio-common/tstdiomisc.c (t3): New function.
20525         (main): Call it.
20527 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20529         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20530         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20531         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20532         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20534 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20536         * stdlib/longlong.h: Updated from GCC.
20538 2014-05-01  Will Newton  <will.newton@linaro.org>
20539             Bernard Ogden  <bernie.ogden@linaro.org>
20541         * NEWS: Update fixed bug list.
20543         [BZ #15119]
20544         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20546 2014-04-30  David S. Miller  <davem@davemloft.net>
20548         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20549         (libc_feholdexcept_setround_sparc_ctx): New function.
20550         (libc_fesetenv_sparc_ctx): Likewise.
20551         (libc_feupdateenv_sparc_ctx): Likewise.
20552         (libc_feholdsetround_sparc_ctx): Likewise.
20553         (libc_feholdexcept_setround_ctx): Define.
20554         (libc_feholdexcept_setroundf_ctx): Likewise.
20555         (libc_feholdexcept_setroundl_ctx): Likewise.
20556         (libc_fesetenv_ctx): Likewise.
20557         (libc_fesetenvf_ctx): Likewise.
20558         (libc_fesetenvl_ctx): Likewise.
20559         (libc_feupdateenv_ctx): Likewise.
20560         (libc_feupdateenvf_ctx): Likewise.
20561         (libc_feupdateenvl_ctx): Likewise.
20562         (libc_feresetround_ctx): Likewise.
20563         (libc_feresetroundf_ctx): Likewise.
20564         (libc_feresetroundl_ctx): Likewise.
20565         (libc_feholdsetround_ctx): Likewise.
20566         (libc_feholdsetroundf_ctx): Likewise.
20567         (libc_feholdsetroundl_ctx): Likewise.
20569         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20570         with __USE_GNU instead of XOPEN cpp guards.
20572         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20573         0.
20575         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20576         with XOPEN cpp guards.
20578 2014-04-30  Julian Brown  <julian@codesourcery.com>
20580         [BZ #16888]
20581         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20582         handling.
20584 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20586         [BZ #9894]
20587         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20588         Change to 2.6.32.
20589         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20590         * sysdeps/unix/sysv/linux/configure: Regenerated.
20591         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20592         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20593         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20594         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20595         * README: Update reference to required Linux kernel version.
20596         * manual/install.texi (Linux): Update reference to required Linux
20597         kernel headers version.
20598         * INSTALL: Regenerated.
20600         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20601         header inclusion.
20602         [POSIX] (limits.h): Likewise.
20603         [POSIX] (math.h): Likewise.
20604         [POSIX] (sys/wait.h): Likewise.
20605         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20606         function.
20607         [POSIX] (stddef.h): Do not allow header inclusion.
20609 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20611         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20613 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20615         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20616         Return immediately after lll_futex_wake.
20618 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20620         [BZ #16791]
20621         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20622         structure.
20623         (datahead_init_pos): Call datahead_init_common early.
20624         (datahead_init_neg): Likewise.
20626         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20627         datahead_init_neg): New functions.
20628         * nscd/aicache.c (addhstaiX): Use them.
20629         * nscd/grpcache.c (cache_addgr): Likewise.
20630         * nscd/hstcache.c (cache_addhst): Likewise.
20631         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20632         * nscd/netgroupcache.c (do_notfound): Likewise.
20633         (addgetnetgrentX): Likewise.
20634         (addinnetgrX): Likewise.
20635         * nscd/pwdcache.c (cache_addpw): Likewise.
20636         * nscd/servicescache.c (cache_addserv): Likewise.
20638 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20639             Atsushi Onoe  <atsushi@onoe.org>
20641         [BZ #14308]
20642         [BZ #12994]
20643         [BZ #13651]
20644         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20645         one response is valid.
20646         * resolv/res_send.c (send_dg): Check for validity of other
20647         response if the current response is a referral.
20649 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20651         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20653 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20655         [BZ #16823]
20656         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20657         Always divide by positive zero when computing -Inf result.
20658         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20659         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20661 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20663         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20664         FPSCR if value do not change.
20665         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20666         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20667         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20668         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20669         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20670         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20671         function.
20673 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20675         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20676         * sysdeps/unix/sysv/linux/hppa: Move directory from
20677         ports/systeps/unix/sysv/linux/hppa.
20678         * README: Update listing for hppa-*-linux-gnu.
20680 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20682         [BZ #16754]
20683         * manual/stdio.texi (Hook functions): Fix types of stream hook
20684         functions.
20685         [BZ #16854]
20686         * socket/sys/socket.h: Fix typo in comment.
20688 2014-04-28  Wilco  <wdijkstr@arm.com>
20690         * sysdeps/arm/fenv_private.h: New file.
20691         * sysdeps/arm/math_private.h: New file.
20692         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20694 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20696         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20697         with __int128_t.
20698         (La_x86_64_retval): Likewise.
20700 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20702         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20703         fpsr if value didn't change.
20704         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20705         to fpcr if value didn't change.
20706         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20707         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20708         fpsr or fpcr if value didn't change.
20709         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20710         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20711         fpcr if value didn't change.
20712         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20713         to fpsr if value didn't change.
20715 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20717         * nptl/tst-sem3.c: Use test-skeleton.c
20718         (main): Rename to do_test.  Use return instead of
20719         exit.
20720         * nptl/tst-sem4.c: Use test-skeleton.c
20721         (main): Rename to do_test.
20723 2014-04-22  David S. Miller  <davem@davemloft.net>
20725         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20726         (struct sigaction): New struct member __glibc_reserved0, change
20727         type of sa_flags to int.
20729 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20731         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20732         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20734 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20736         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20737         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20739 2014-04-22  Will Newton  <will.newton@linaro.org>
20740             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20742         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20743         (__longjmp): Add longjmp and longjmp_target SystemTap
20744         probes.
20745         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20746         (__sigsetjmp): Add setjmp SystemTap probe.
20748 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20750         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20751         match manual order.
20753 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20755         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20757         * sysdeps/powerpc/fpu/fenv_private.h
20758         (libc_feholdexcept_setroundl_ctx): Define to
20759         libc_feholdexcept_setround_ppc_ctx.
20760         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20761         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20762         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20763         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20765 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20767         * sysdeps/aarch64/math-tests.h: New file.
20769 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20771         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20772         New.
20773         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20774         Check and set bit_AVX2_Usable.
20775         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20776         macro.
20777         (bit_AVX2): Likewise.
20778         (index_AVX2_Usable): Likewise.
20779         (CPUID_AVX2): Likewise.
20780         (HAS_AVX2): Likewise.
20782 2014-04-17  Will Newton  <will.newton@linaro.org>
20784         * manual/setjmp.texi (System V contexts): Add note that
20785         calling setcontext on a context created by a call to a
20786         signal handler is undefined.  Update text to note that
20787         setcontext from a signal handler is possible but not
20788         recommended.
20790         [BZ #16629]
20791         * stdlib/tst-setcontext.c: Include signal.h.
20792         (main): Check that the signal stack before and
20793         after swapcontext is the same.
20795         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20796         Re-implement to restore registers in user code and avoid
20797         rt_sigreturn system call.
20799 2014-04-17  Wilco  <wdijkstr@arm.com>
20801         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20802         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20803         * math/test-fenv.c: Skip exception trap tests on targets which only
20804         support non-stop mode.
20806 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20807             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20809         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20810         (libc_feholdsetround_aarch64_ctx)
20811         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20812         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20813         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20814         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20815         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20816         (libc_feresetround_noexl_ctx): Define.
20818 2014-04-16  Richard Henderson  <rth@redhat.com>
20820         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20822         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20823         unwind tables.
20825         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20826         const from the non-libc, non-ldso copy.
20828         * sysdeps/alpha/libm-test-ulps: Regenerate.
20830 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20831             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20833         * sysdeps/aarch64/fpu/math_private.h: New file.
20835 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20837         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20839 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20841         [BZ #16275]
20842         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20843         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20844         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20845         Intel MPX bound registers before _dl_profile_fixup.
20846         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20847         registers after _dl_profile_fixup.  Save and restore bound
20848         registers bnd0/bnd1 when calling _dl_call_pltexit.
20849         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20850         (LR_BND_OFFSET): Likewise.
20851         (LRV_BND0_OFFSET): Likewise.
20852         (LRV_BND1_OFFSET): Likewise.
20854 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20856         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20857         to...
20858         * sysdeps/mach/hurd/i386/tls.h: ... here.
20859         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20860         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20861         fields.
20863 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20865         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20867 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20869         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20871 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20873         [BZ #14770]
20874         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20875         * sysdeps/s390/configure: Regenerate.
20877         [BZ #16824]
20878         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20879         Set round-to-nearest internally to reduce error accumulation.
20881 2014-04-16  Alan Modra  <amodra@gmail.com>
20883         [BZ #16740]
20884         [BZ #16619]
20885         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20886         * math/libm-test.inc (frexp_test_data): Add tests.
20887         * NEWS: Update fixed bug list.
20889 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20891         * benchtests/Makefile: Depend on libraries in build directory.
20892         (bench-math): Separate out math tests.
20893         (bench-pthread): Separate out pthread tests.
20894         (bench): Include math and pthread tests.
20896 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20898         [BZ #16831]
20899         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20900         _dl_debug_initialize.
20902         * configure.ac: Remove SELinux header check.
20903         * configure: Regenerate.
20904         * nscd/selinux.c (perms): Array of const char* to permission names.
20905         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20906         default policy. Call string_to_security_class and string_to_av_perm to
20907         translate strings. Enforce default policy and call avs_has_perm with
20908         results of translated strings.
20910 2014-04-13  David S. Miller  <davem@davemloft.net>
20912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20914 2014-04-12  Allan McRae  <allan@archlinux.org>
20916         [BZ #16838]
20917         * manual/string.texi (Collation Functions): Fix qsort argument
20918         order in example.
20919         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20921 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20923         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20924         Make the test a no-op if there are no exceptions defined.
20926 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20928         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20929         enable-hardcoded-path-in-tests
20931 2014-04-11  Will Newton  <will.newton@linaro.org>
20933         * benchtests/Makefile (extra-objs): Add json-lib.o.
20934         (bench-func): Tidy up JSON output.
20935         * benchtests/bench-skeleton.c: Include json-lib.h.
20936         (main): Use JSON library functions to do output of
20937         benchmark results.
20938         * benchtests/bench-timing-type.c (main): Output the
20939         timing type simply, leaving formatting to the user.
20940         * benchtests/json-lib.c: New file.
20941         * benchtests/json-lib.h: Likewise.
20943 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20945         [BZ #15215]
20946         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20947         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20948         memory barriers.  Add comments.
20949         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20950         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20951         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20952         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20953         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20954         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20956 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20958         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20959         * sysdeps/s390/s390-64/configure.ac: ... this ...
20960         * sysdeps/s390/configure.ac: ... to here.
20961         * sysdeps/s390/s390-32/configure: Delete file.
20962         * sysdeps/s390/s390-64/configure: Delete file.
20963         * sysdeps/s390/configure: Regenerate.
20965 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20967         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20969 2014-04-11  Will Newton  <will.newton@linaro.org>
20971         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20972         to zero if it is not defined elsewhere.  (mtrim): Test
20973         the value of MALLOC_DEBUG with #if rather than #ifdef.
20975 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20977         * benchtests/pthread_once-inputs: New file.
20978         * benchtests/pthread_once-source.c: New file.
20979         * benchtests/README: Update documentation.
20981 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20982             H.J. Lu  <hongjiu.lu@intel.com>
20984         [BZ #16275]
20985         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20986         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20987         * sysdeps/x86_64/configure: Regenerated.
20988         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20989         macro.
20990         (REGISTER_SAVE_RAX): Likewise.
20991         (REGISTER_SAVE_RCX): Likewise.
20992         (REGISTER_SAVE_RDX): Likewise.
20993         (REGISTER_SAVE_RSI): Likewise.
20994         (REGISTER_SAVE_RDI): Likewise.
20995         (REGISTER_SAVE_R8): Likewise.
20996         (REGISTER_SAVE_R9): Likewise.
20997         (REGISTER_SAVE_BND0): Likewise.
20998         (REGISTER_SAVE_BND1): Likewise.
20999         (REGISTER_SAVE_BND2): Likewise.
21000         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21001         bound registers when calling _dl_fixup.
21003 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21005         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21006         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21007         of its definition.
21008         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21009         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21010         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21011         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21012         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21013         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21014         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21016 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21018         [BZ #15514]
21019         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21020         pathconf(_PC_NAME_MAX).
21022 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21024         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21025         Remove macro usage.
21026         (__PTHREAD_SPINS): Move definition to ...
21027         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21028         (__PTHREAD_SPINS): ... here.
21029         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21030         (__PTHREAD_SPIN): Likewise.
21031         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21032         (__PTHREAD_SPIN): Likewise.
21033         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21034         (__PTHREAD_SPIN): Likewise.
21035         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21036         (__PTHREAD_SPIN): Likewise.
21037         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21038         (__PTHREAD_SPIN): Likewise.
21039         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21040         (__PTHREAD_SPIN): Likewise.
21041         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21042         (__PTHREAD_SPIN): Likewise.
21043         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21044         (__PTHREAD_SPIN): Likewise.
21045         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21046         (__PTHREAD_SPIN): Likewise.
21047         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21048         (__PTHREAD_SPIN): Likewise.
21049         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21050         (__PTHREAD_SPIN): Likewise.
21051         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21052         (__PTHREAD_SPIN): Likewise.
21054         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21055         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21056         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21057         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21058         imply folder.
21059         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21060         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21061         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21062         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21063         correct imply path.
21064         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21065         strlen symbol for non multi-arch builds.
21066         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21067         missing hidden_def and weak_alias.
21069 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21071         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21073 2014-04-07  Will Newton  <will.newton@linaro.org>
21075         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21076         and contents.  [!_LIBC] Remove #ifndef and contents.
21077         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21078         * string/memccpy.c (__memccpy): Use ANSI prototype.
21079         * string/memfrob.c (memfrob): Likewise.
21080         * string/strcoll.c (STRCOLL): Likewise.
21081         * string/strlen.c (strlen): Likewise.
21082         * string/strtok.c (STRTOK): Likewise.
21083         * string/strcat.c: Remove unused #include of memcopy.h.
21084         (strcat): Use ANSI prototype.
21085         * string/strchr.c: Remove unused #include of memcopy.h.
21086         (strchr): Use ANSI prototype.
21087         * string/strcmp.c: Remove unused #include of memcopy.h.
21088         (strcmp): Use ANSI prototype.
21089         * string/strcpy.c: Remove unused #include of memcopy.h.
21090         (strcpy): Use ANSI prototype.
21092 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21094         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21095         * config.make.in (config-extra-cppflags): Set it from
21096         libc_extra_cppflags.
21097         * configure.ac (libc_extra_cflags): Make it accumulate over
21098         configure fragments.
21099         (libc_extra_cppflags): New flag.
21100         * configure. Regenerate.
21101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21102         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21103         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21106         [BZ #16815]
21107         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21108         result for FE_DOWNWARD rounding mode.
21109         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21110         Likewise.
21111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21113 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21115         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21116         in function argument name.
21118 2014-04-03  David Svoboda  <svoboda@cert.org>
21120         [BZ #5666]
21121         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21122         explicitly.
21124 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21126         * elf/dl-unmap-segments.h: New file.
21127         * sysdeps/generic/ldsodefs.h
21128         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21129         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21130         * elf/dl-fptr.c: Likewise.
21131         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21132         * sysdeps/aarch64/tlsdesc.c: Likewise.
21133         * sysdeps/arm/tlsdesc.c: Likewise.
21134         * sysdeps/i386/tlsdesc.c: Likewise.
21135         * sysdeps/tile/dl-runtime.c: Likewise.
21136         * sysdeps/x86_64/tlsdesc.c: Likewise.
21137         * elf/dl-load.h: New file.
21138         * elf/dl-load.c: Include it.
21139         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21140         Macros moved to dl-load.h.
21141         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21142         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21143         Use _dl_unmap_segments in place of __munmap.
21144         Break out segment-mapping loop into ...
21145         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21147 2014-04-03  Will Newton  <will.newton@linaro.org>
21149         * elf/dl-lookup.c (do_lookup_x): Remove comment
21150         referring to nested function and move variable
21151         declarations down to before first use.
21153 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21155         [BZ #16799]
21156         [BZ #16800]
21157         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21158         with 0 numerator.
21159         * math/s_catanf.c (__catanf): Likewise.
21160         * math/s_catanh.c (__catanh): Likewise.
21161         * math/s_catanhf.c (__catanhf): Likewise.
21162         * math/s_catanhl.c (__catanhl): Likewise.
21163         * math/s_catanl.c (__catanl): Likewise.
21164         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21165         by positive zero when computing -Inf result.
21166         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21167         (catanh_test): Likewise.
21168         * sysdeps/i386/fpu/libm-test-ulps: Update.
21169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21171         [BZ #16789]
21172         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21173         instead of using underflowing value in computing result.
21174         * math/s_clog10.c (__clog10): Likewise.
21175         * math/s_clog10f.c (__clog10f): Likewise.
21176         * math/s_clog10l.c (__clog10l): Likewise.
21177         * math/s_clogf.c (__clogf): Likewise.
21178         * math/s_clogl.c (__clogl): Likewise.
21179         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21180         (clog10_test): Likewise.
21181         * sysdeps/i386/fpu/libm-test-ulps: Update.
21182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21184 2014-04-02  Alan Modra  <amodra@gmail.com>
21186         [BZ #16739]
21187         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21188         output when value is near a power of two.  Use int64_t for lx and
21189         remove casts.  Use decimal rather than hex exponent constants.
21190         Don't use long double multiplication when double will suffice.
21191         * math/libm-test.inc (nextafter_test_data): Add tests.
21192         * NEWS: Add 16739 and 16786 to bug list.
21194         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21196         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21198 2014-04-01  Will Newton  <will.newton@linaro.org>
21200         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21201         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21203 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21205         [BZ #13347]
21206         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21207         * nptl/tst-setuid2.c: New file.
21208         * nptl/Makefile (xtests): Add tst-setuid2.
21210 2014-04-01  Alan Modra  <amodra@gmail.com>
21212         [BZ #16786]
21213         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21215 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21217         [BZ #6803]
21218         [BZ #6804]
21219         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21220         set errno as appropriate.
21221         * math/w_scalbf.c (__scalbf): Likewise.
21222         * math/w_scalbl.c (__scalbl): Likewise.
21223         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21224         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21225         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21226         Add more NaN tests.
21228         [BZ #16349]
21229         * math/w_atan2.c: Include <errno.h>.
21230         (__atan2): Set errno for result underflowing to zero.
21231         * math/w_atan2f.c: Include <errno.h>.
21232         (__atan2f): Set errno for result underflowing to zero.
21233         * math/w_atan2l.c: Include <errno.h>.
21234         (__atan2l): Set errno for result underflowing to zero.
21235         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21236         tests.
21237         * math/auto-libm-test-out: Regenerated.
21239 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21241         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21242         Encode instruction correctly in little endian.
21243         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21244         Likewise.
21245         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21246         Likewise.
21247         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21248         Likewise.
21249         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21250         Likewise.
21252 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21254         [BZ #9894]
21255         * sysdeps/unix/sysv/linux/kernel-features.h
21256         [__sparc__ && !__arch64__ && !__sparc_v9__]
21257         (__ASSUME_SET_ROBUST_LIST): Do not define.
21258         [__sparc__ && !__arch64__ && !__sparc_v9__]
21259         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21260         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21261         Likewise.
21262         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21263         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21264         (__ASSUME_REQUEUE_PI): Likewise.
21265         (__ASSUME_SET_ROBUST_LIST): Likewise.
21266         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21267         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21268         Undefine.
21269         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21270         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21271         Likewise.
21272         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21273         Likewise.
21274         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21275         Likewise.
21276         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21277         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21278         Undefine.
21279         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21280         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21281         Likewise.
21283         [BZ #16648]
21284         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21285         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21286         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21288 2014-03-31  Will Newton  <will.newton@linaro.org>
21290         * benchtests/Makefile (bench): Add ffs and ffsll to list
21291         of tests.
21292         * benchtests/ffs-inputs: New file.
21293         * benchtests/ffsll-inputs: Likewise.
21295 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21297         [BZ #16770]
21298         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21299         too large before casting to int.
21300         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21301         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21302         * math/libm-test.inc (scalb_test_data): Add more tests.
21304 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21306         * benchtests/Makefile (DETAILED_OPT): New make option.
21307         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21308         set.
21309         * benchtests/bench-skeleton.c: Include stdbool.h.
21310         (main): Store and print timings per input.
21311         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21312         member to each argument value.
21313         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21314         (_print_arg_data): Initialize per-input timing to 0.
21316         * benchtests/Makefile (timing-type): New binary.
21317         (bench-clean): Also remove bench-timing-type.
21318         (bench): New target for timing-type.
21319         (bench-func): Print output in JSON format.
21320         * benchtests/bench-skeleton.c (main): Print output in JSON
21321         format.
21322         * benchtests/bench-timing-type.c: New file.
21323         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21324         (TIMING_PRINT_STATS): Remove.
21325         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21326         name separately.
21328         * benchtests/bench-modf.c: Remove.
21329         * benchtests/modf-inputs: New inputs file.
21331 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21333         [BZ #16362]
21334         * math/s_clog10.c (M_PI_LOG10E): New macro.
21335         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21336         imaginary parts are 0.
21337         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21338         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21339         imaginary parts are 0.
21340         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21341         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21342         imaginary parts are 0.
21343         * math/libm-test.inc (clog10_test_data): Update expected results
21344         for when real and imaginary parts are 0.
21346 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21348         * elf/dl-load.c: Finish conversion of __builtin_expect into
21349         __glibc_{un}likely.
21351 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21353         [BZ #16348]
21354         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21355         1+x for argument with exponent below -67.
21356         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21357         Likewise.
21358         * math/auto-libm-test-in: Add more tests of exp.
21359         * math/auto-libm-test-out: Regenerated.
21361 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21363         [BZ #16759]
21364         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21365         (nscd_getnetgrent): Use it.
21367         [BZ #16760]
21368         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21369         of stpcpy.
21371 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21373         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21374         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21375         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21376         (lll_robust_unlock): Remove out of line section. Use cfi
21377         intrinsics.
21378         (LLL_STUB_UNWIND_INFO*): Remove.
21379         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21380         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21381         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21382         (lll_robust_unlock): Remove out of line section. Use cfi
21383         intrinsics.
21384         (LLL_STUB_UNWIND_INFO*): Remove.
21386 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21388         [BZ #16758]
21389         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21390         blank values.
21392 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21394         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21396 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21398         [BZ #16198]
21399         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21400         fnstenv.
21401         * math/test-fenv-preserve.c: New file.
21402         * math/Makefile (tests): Add test-fenv-preserve.
21404 2014-03-26  Will Newton <will.newton@linaro.org>
21406         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21408 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21410         * scripts/versionlist.awk: Partition the version sets and emit all
21411         GLIBC_* (sorted) before all others (sorted).
21413 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21415         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21416         GLIBC_2.2.5 version.
21418 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21420         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21421         calls.
21423         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21424         previous change.
21426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21428 2014-03-25  Andreas Schwab  <schwab@suse.de>
21430         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21431         label to be used after in6ailist is initialized.
21433 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21435         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21436         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21438 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21440         [BZ #16357]
21441         [BZ #16599]
21442         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21443         min_plus_half.
21444         (fp_formats): Update initializers.
21445         (init_fp_formats): Initialize new field.
21446         (output_for_one_input_case): Allow underflow for results up to
21447         min_plus_half.
21448         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21449         * math/auto-libm-test-in: Don't mark some underflows from asin and
21450         atanh as spurious.
21451         * math/auto-libm-test-out: Regenerated.
21452         * sysdeps/i386/fpu/libm-test-ulps: Update.
21453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21455 2014-03-25  Andreas Schwab  <schwab@suse.de>
21457         * libio/Makefile (tst-ftell-partial-wide-ENV)
21458         (tst-ftell-active-handler-ENV): Define.
21460 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21462         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21464 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21466         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21468 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21470         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21471         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21472         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21474 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21476         [BZ #16634]
21477         * elf/dl-load.c (open_verify): Add mode parameter.
21478         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21479         (open_path): Change from boolean 'secure' to complete flag 'mode'
21480         (_dl_map_object): Adjust.
21481         * elf/Makefile (tests): Add tst-dlopen-aout.
21482         * elf/tst-dlopen-aout.c: New test.
21484 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21486         [BZ #16714]
21487         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21488         (struct stat): Rename member pad0 to __glibc_reserved0.
21490         [BZ #16712]
21491         * sysdeps/s390/s390-32/bits/wordsize.h
21492         (__WORDSIZE32_SIZE_ULONG): New define.
21493         * sysdeps/s390/s390-64/bits/wordsize.h
21494         (__WORDSIZE32_SIZE_ULONG): Likewise.
21495         * sysdeps/generic/stdint.h (SIZE_MAX):
21496         Define as UL if __WORDSIZE32_SIZE_ULONG.
21498         [BZ #16713]
21499         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21500         (__glibc_reserved0): New variable.
21501         (sa_flags): Change type to int.
21503         * posix/Makefile (before-compile): Use += before-compile instead
21504         of a :=.
21506         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21507         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21509 2014-03-20  Andreas Schwab  <schwab@suse.de>
21511         [BZ #16743]
21512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21513         non-matching result from nscd.
21515 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21517         * scripts/bench.py: Moved to ...
21518         * benchtests/scripts/bench.py: ... here.
21519         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21521 2014-03-24  Andreas Schwab  <schwab@suse.de>
21523         [BZ #16002]
21524         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21525         alloca_account and account alloca use for struct in6ailist.
21527 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21529         [BZ #16284]
21530         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21531         rounding mode to recompute results that overflow to infinity or
21532         underflow to zero.
21533         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21534         bug 16284.
21535         * math/auto-libm-test-out: Regenerated.
21536         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21537         (ccosh_test): Likewise.
21538         (csin_test_data): Use plus_oflow.
21539         (csin_test): Use ALL_RM_TEST.
21540         (csinh_test_data): Use plus_oflow.
21541         (csinh_test): Use ALL_RM_TEST.
21542         * sysdeps/i386/fpu/libm-test-ulps: Update.
21543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21545 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21547         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21548         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21549         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21551         [BZ #16731]
21552         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21553         when x - 1 is zero.
21554         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21555         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21556         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21557         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21558         argument is 1.
21559         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21560         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21561         zero.
21562         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21563         * sysdeps/i386/fpu/libm-test-ulps: Update.
21564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21566 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21568         * scripts/bench.pl: Remove file.
21569         * scripts/bench.py: New benchmark script.
21570         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21571         * benchtests/README: Mention python dependency.
21572         * scripts/pylintrc: New file.
21573         * scripts/pylint: New file.
21575         * bits/mathdef.h: Use #ifdef instead of #if.
21576         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21577         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21578         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21579         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21580         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21581         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21583 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21584             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21586         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21588         and strpbrk-ppc64 objects.
21589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21590         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21591         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21592         multiarch strpbrk for POWER7.
21593         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21594         multiarch strpbrk for PPC64.
21595         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21596         ifunc selector.
21597         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21598         strpbrk for POWER7.
21600 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21602         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21603         (atan_test): Likewise.
21604         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21605         (atanh_test): Use ALL_RM_TEST.
21606         (atan2_test_data): Likewise.
21607         (cabs_test): Likewise.
21608         (cacosh_test): Likewise.
21609         (carg_test): Likewise.
21610         (casin_test): Likewise.
21611         (casinh_test): Likewise.
21612         (cbrt_test): Likewise.
21613         (csqrt_test): Likewise.
21614         (erf_test): Likewise.
21615         (erfc_test): Likewise.
21616         (pow10_test): Likewise.
21617         (exp2_test): Likewise.
21618         (hypot_test): Likewise.
21619         (j0_test): Likewise.
21620         (j1_test): Likewise.
21621         (lgamma_test): Likewise.
21622         (gamma_test): Likewise.
21623         (sincos_test): Likewise.
21624         (tanh_test): Likewise.
21625         (y0_test): Likewise.
21626         (y1_test): Likewise.
21627         * sysdeps/i386/fpu/libm-test-ulps: Update.
21628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21630 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21632         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21634         and strcspn-ppc64 objects.
21635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21636         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21637         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21638         multiarch strcspn for POWER7.
21639         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21640         multiarch strcspn for PPC64.
21641         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21642         ifunc selector.
21643         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21644         strcspn for POWER7.
21646 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21648         * math/gen-libm-test.pl (generate_testfile): Expect only function
21649         name as argument to AUTO_TESTS_* and pass results for all rounding
21650         modes to parse_args.
21651         (parse_auto_input): Separate inputs of automatic tests from
21652         outputs before storing in %auto_tests.
21653         * math/libm-test.inc (acos_test_data): Update call to
21654         AUTO_TESTS_f_f.
21655         (acos_test): Use ALL_RM_TEST.
21656         (acos_tonearest_test_data): Remove.
21657         (acos_test_tonearest): Likewise.
21658         (acos_towardzero_test_data): Likewise.
21659         (acos_test_towardzero): Likewise.
21660         (acos_downward_test_data): Likewise.
21661         (acos_test_downward): Likewise.
21662         (acos_upward_test_data): Likewise.
21663         (acos_test_upward): Likewise.
21664         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21665         (asin_test_data): Likewise.
21666         (asin_test): Use ALL_RM_TEST.
21667         (asin_tonearest_test_data): Remove.
21668         (asin_test_tonearest): Likewise.
21669         (asin_towardzero_test_data): Likewise.
21670         (asin_test_towardzero): Likewise.
21671         (asin_downward_test_data): Likewise.
21672         (asin_test_downward): Likewise.
21673         (asin_upward_test_data): Likewise.
21674         (asin_test_upward): Likewise.
21675         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21676         (atan_test_data): Likewise.
21677         (atanh_test_data): Likewise.
21678         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21679         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21680         (carg_test_data): Likewise.
21681         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21682         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21683         (ccosh_test_data): Likewise.
21684         (cexp_test_data): Likewise.
21685         (clog_test_data): Likewise.
21686         (clog10_test_data): Likewise.
21687         (cos_test_data): Update call to AUTO_TESTS_f_f.
21688         (cos_test): Use ALL_RM_TEST.
21689         (cos_tonearest_test_data): Remove.
21690         (cos_test_tonearest): Likewise.
21691         (cos_towardzero_test_data): Likewise.
21692         (cos_test_towardzero): Likewise.
21693         (cos_downward_test_data): Likewise.
21694         (cos_test_downward): Likewise.
21695         (cos_upward_test_data): Likewise.
21696         (cos_test_upward): Likewise.
21697         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21698         (cosh_test): Use ALL_RM_TEST.
21699         (cosh_tonearest_test_data): Remove.
21700         (cosh_test_tonearest): Likewise.
21701         (cosh_towardzero_test_data): Likewise.
21702         (cosh_test_towardzero): Likewise.
21703         (cosh_downward_test_data): Likewise.
21704         (cosh_test_downward): Likewise.
21705         (cosh_upward_test_data): Likewise.
21706         (cosh_test_upward): Likewise.
21707         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21708         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21709         (ctan_test_data): Likewise.
21710         (ctan_test): Use ALL_RM_TEST.
21711         (ctan_tonearest_test_data): Remove.
21712         (ctan_test_tonearest): Likewise.
21713         (ctan_towardzero_test_data): Likewise.
21714         (ctan_test_towardzero): Likewise.
21715         (ctan_downward_test_data): Likewise.
21716         (ctan_test_downward): Likewise.
21717         (ctan_upward_test_data): Likewise.
21718         (ctan_test_upward): Likewise.
21719         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21720         (ctanh_test): Use ALL_RM_TEST.
21721         (ctanh_tonearest_test_data): Remove.
21722         (ctanh_test_tonearest): Likewise.
21723         (ctanh_towardzero_test_data): Likewise.
21724         (ctanh_test_towardzero): Likewise.
21725         (ctanh_downward_test_data): Likewise.
21726         (ctanh_test_downward): Likewise.
21727         (ctanh_upward_test_data): Likewise.
21728         (ctanh_test_upward): Likewise.
21729         (erf_test_data): Update call to AUTO_TESTS_f_f.
21730         (erfc_test_data): Likewise.
21731         (exp_test_data): Likewise.
21732         (exp_test): Use ALL_RM_TEST.
21733         (exp_tonearest_test_data): Remove.
21734         (exp_test_tonearest): Likewise.
21735         (exp_towardzero_test_data): Likewise.
21736         (exp_test_towardzero): Likewise.
21737         (exp_downward_test_data): Likewise.
21738         (exp_test_downward): Likewise.
21739         (exp_upward_test_data): Likewise.
21740         (exp_test_upward): Likewise.
21741         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21742         (exp10_test): Use ALL_RM_TEST.
21743         (exp10_tonearest_test_data): Remove.
21744         (exp10_test_tonearest): Likewise.
21745         (exp10_towardzero_test_data): Likewise.
21746         (exp10_test_towardzero): Likewise.
21747         (exp10_downward_test_data): Likewise.
21748         (exp10_test_downward): Likewise.
21749         (exp10_upward_test_data): Likewise.
21750         (exp10_test_upward): Likewise.
21751         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21752         (expm1_test_data): Likewise.
21753         (expm1_test): Use ALL_RM_TEST.
21754         (expm1_tonearest_test_data): Remove.
21755         (expm1_test_tonearest): Likewise.
21756         (expm1_towardzero_test_data): Likewise.
21757         (expm1_test_towardzero): Likewise.
21758         (expm1_downward_test_data): Likewise.
21759         (expm1_test_downward): Likewise.
21760         (expm1_upward_test_data): Likewise.
21761         (expm1_test_upward): Likewise.
21762         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21763         (fma_test): Use ALL_RM_TEST.
21764         (fma_towardzero_test_data): Remove.
21765         (fma_test_towardzero): Likewise.
21766         (fma_downward_test_data): Likewise.
21767         (fma_test_downward): Likewise.
21768         (fma_upward_test_data): Likewise.
21769         (fma_test_upward): Likewise.
21770         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21771         (j0_test_data): Update call to AUTO_TESTS_f_f.
21772         (j1_test_data): Likewise.
21773         (jn_test_data): Update call to AUTO_TESTS_if_f.
21774         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21775         (log_test_data): Update call to AUTO_TESTS_f_f.
21776         (log10_test_data): Likewise.
21777         (log1p_test_data): Likewise.
21778         (log2_test_data): Likewise.
21779         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21780         (pow_tonearest_test_data): Likewise.
21781         (sin_test_data): Update call to AUTO_TESTS_f_f.
21782         (sin_test): Use ALL_RM_TEST.
21783         (sin_tonearest_test_data): Remove.
21784         (sin_test_tonearest): Likewise.
21785         (sin_towardzero_test_data): Likewise.
21786         (sin_test_towardzero): Likewise.
21787         (sin_downward_test_data): Likewise.
21788         (sin_test_downward): Likewise.
21789         (sin_upward_test_data): Likewise.
21790         (sin_test_upward): Likewise.
21791         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21792         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21793         (sinh_test): Use ALL_RM_TEST.
21794         (sinh_tonearest_test_data): Remove.
21795         (sinh_test_tonearest): Likewise.
21796         (sinh_towardzero_test_data): Likewise.
21797         (sinh_test_towardzero): Likewise.
21798         (sinh_downward_test_data): Likewise.
21799         (sinh_test_downward): Likewise.
21800         (sinh_upward_test_data): Likewise.
21801         (sinh_test_upward): Likewise.
21802         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21803         (sqrt_test): Use ALL_RM_TEST.
21804         (sqrt_tonearest_test_data): Remove.
21805         (sqrt_test_tonearest): Likewise.
21806         (sqrt_towardzero_test_data): Likewise.
21807         (sqrt_test_towardzero): Likewise.
21808         (sqrt_downward_test_data): Likewise.
21809         (sqrt_test_downward): Likewise.
21810         (sqrt_upward_test_data): Likewise.
21811         (sqrt_test_upward): Likewise.
21812         (tan_test_data): Update call to AUTO_TESTS_f_f.
21813         (tan_test): Use ALL_RM_TEST.
21814         (tan_tonearest_test_data): Remove.
21815         (tan_test_tonearest): Likewise.
21816         (tan_towardzero_test_data): Likewise.
21817         (tan_test_towardzero): Likewise.
21818         (tan_downward_test_data): Likewise.
21819         (tan_test_downward): Likewise.
21820         (tan_upward_test_data): Likewise.
21821         (tan_test_upward): Likewise.
21822         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21823         (tgamma_test_data): Likewise.
21824         (y0_test_data): Likewise.
21825         (y1_test_data): Likewise.
21826         (yn_test_data): Update call to AUTO_TESTS_if_f.
21827         (main): Do not call removed functions.
21829 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21831         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21832         (ldexp_test_data): Remove.
21833         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21834         scalbn_test_data.
21835         (scalb_test): Use ALL_RM_TEST.
21837 2014-03-19  Andreas Schwab  <schwab@suse.de>
21839         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21841 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21843         [BZ #16649]
21844         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21845         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21846         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21847         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21848         (__ASSUME_PREADV): Undefine.
21849         (__ASSUME_PWRITEV): Likewise.
21851 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21853         * bits/mman-linux.h: Add comment about non-Linux use.
21854         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21855         bits/mman-linux.h resting place.
21857         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21858         * bits/mman-linux.h: ... here.
21860 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21862         * conform/conformtest.pl: Add standard definition when calling C
21863         preprocessor on data files.
21864         (checknamespace): Remove unused variable.
21866 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21868         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21869         minus_oflow, plus_uflow and minus_uflow in expected results.
21870         * math/libm-test.inc (scalbn_test_data): Add more tests of
21871         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21872         minus_uflow.
21873         (scalbn_test): Use ALL_RM_TEST.
21874         (scalbln_test_data): Add more tests of negative arguments.  Use
21875         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21876         (scalbln_test): Use ALL_RM_TEST.
21878 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21880         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21882 2014-03-18  Will Newton  <will.newton@linaro.org>
21884         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21885         inaccurate comment.
21887 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21889         * Makerules [!subdir] (check-abi): Exit with error status if a
21890         test failed.
21892 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21894         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21895         for rint.  Include results for all rounding modes.
21896         (nearbyint_test): Use ALL_RM_TEST.
21897         (rint_test_data): Include all tests used for nearbyint.
21899 2014-03-17  Will Newton  <will.newton@linaro.org>
21901         * nptl/sysdeps/pthread/pthread.h: Revert previous
21902         change.
21904         * sysdeps/generic/ldsodefs.h: Revert previous
21905         change.
21907         * libio/genops.c: Revert previous change.
21908         * libio/libioP.h: Likewise.
21909         * stdio-common/vfprintf.c: Likewise.
21911         * sysdeps/generic/math_private.h: Revert previous
21912         change.
21914         * sysdeps/generic/math_private.h: Check whether
21915         HAVE_RM_CTX is defined with #ifdef rather
21916         than #if.
21918         * argp/argp-fmtstream.h: Check whether
21919         __STRICT_ANSI__ is defined with #ifdef rather
21920         than #if.
21921         * argp/argp.h: Likewise.
21923         * libio/genops.c: Check whether
21924         _IO_JUMPS_OFFSET is defined with #ifdef rather
21925         than #if.
21926         * libio/libioP.h: Likewise.
21927         * stdio-common/vfprintf.c: Likewise.
21929         * sysdeps/generic/ldsodefs.h: Check whether
21930         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21931         than #if.
21933         * nptl/sysdeps/pthread/pthread.h: Check
21934         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21935         its value.
21937 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21939         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21940         setting O_APPEND.
21941         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21942         test case.
21944         [BZ #16680]
21945         * libio/fileops.c (_IO_file_open): Seek to end of file but
21946         don't cache the offset.
21947         (get_file_offset): Remove function.
21948         (do_ftell): Use cached offset when available.
21949         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21950         don't cache the offset.
21951         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21952         case.
21953         (do_one_test): Call it.
21954         (do_ftell_test): Fix up expected old offset for a+ mode.
21955         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21956         available.
21958         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21959         up test status with function return status.
21960         (do_write_test): Likewise.
21961         (do_append_test): Likewise.
21963         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21964         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21965         Remove.
21967 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21969         * math/gen-libm-test.pl (parse_args): Handle results specified for
21970         each rounding mode separately.
21971         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21972         tests and results from lrint_tonearest_test_data,
21973         lrint_towardzero_test_data, lrint_downward_test_data and
21974         lrint_upward_test_data.
21975         (lrint_test): Use ALL_RM_TEST.
21976         (lrint_tonearest_test_data): Remove.
21977         (lrint_test_tonearest): Likewise.
21978         (lrint_towardzero_test_data): Likewise.
21979         (lrint_test_towardzero): Likewise.
21980         (lrint_downward_test_data): Likewise.
21981         (lrint_test_downward): Likewise.
21982         (lrint_upward_test_data): Likewise.
21983         (lrint_test_upward): Likewise.
21984         (llrint_test_data): Merge in per-rounding-mode tests and results
21985         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21986         llrint_downward_test_data and llrint_upward_test_data.
21987         (llrint_test): Use ALL_RM_TEST.
21988         (llrint_tonearest_test_data): Remove.
21989         (llrint_test_tonearest): Likewise.
21990         (llrint_towardzero_test_data): Likewise.
21991         (llrint_test_towardzero): Likewise.
21992         (llrint_downward_test_data): Likewise.
21993         (llrint_test_downward): Likewise.
21994         (llrint_upward_test_data): Likewise.
21995         (llrint_test_upward): Likewise.
21996         (rint_test_data): Merge in per-rounding-mode tests and results
21997         from rint_tonearest_test_data, rint_towardzero_test_data,
21998         rint_downward_test_data and rint_upward_test_data.  Add
21999         per-rounding-mode results for tests not in those arrays.
22000         (rint_test): Use ALL_RM_TEST.
22001         (rint_tonearest_test_data): Remove.
22002         (rint_test_tonearest): Likewise.
22003         (rint_towardzero_test_data): Likewise.
22004         (rint_test_towardzero): Likewise.
22005         (rint_downward_test_data): Likewise.
22006         (rint_test_downward): Likewise.
22007         (rint_upward_test_data): Likewise.
22008         (rint_test_upward): Likewise.
22009         (main): Don't call removed functions.
22011 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22013         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22014         "Compiled on ..." crapola.  It is anti-useful.
22016 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22018         * scripts/evaluate-test.sh: Handle fourth argument to determine
22019         whether test run should stop on failure.
22020         * Makeconfig (stop-on-test-failure): New variable.
22021         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22022         $(stop-on-test-failure).
22023         * Makefile (tests): Give a summary of results from testing and
22024         exit with failure status if they include an ERROR or FAIL.
22025         (xtests): Likewise.
22026         * manual/install.texi (Configuring and compiling): Mention
22027         stop-on-test-failure=y.
22028         * INSTALL: Regenerated.
22030 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22032         * scripts/versionlist.awk: New file.
22033         * Makerules [$(build-shared) = yes]
22034         (postclean-generated): Add Versions.def, not Versions.def.v and
22035         Versions.def.v.i.
22036         ($(common-objpfx)Versions.def.v.i): Target removed.
22037         ($(common-objpfx)Versions.def): New target.
22038         ($(common-objpfx)Versions.all): Depend on that rather that
22039         $(common-objpfx)Versions.def.v.
22040         * Versions.def: File removed.
22042         * Makeconfig (+gccwarn): Add -Wundef.
22043         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22044         a dl-sysdep.h breaking its contract.
22045         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22046         * include/stackinfo.h: New file.
22047         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22048         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22049         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22050         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22051         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22052         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22053         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22054         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22055         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22056         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22057         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22058         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22059         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22060         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22061         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22063 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22065         [BZ #16707]
22066         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22067         implementation.
22068         * math/libm-test.inc (round_test_data): Add more tests.
22070         [BZ #16706]
22071         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22072         implementation.
22073         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22075         [BZ #16701]
22076         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22077         implementation.
22078         * math/libm-test.inc (ceil_test_data): Add more tests.
22080         * math/libm-test.inc (trunc_test_data): Add more tests related to
22081         BZ#16414.
22083 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22085         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22086         with #if rather than #ifdef.
22087         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22089 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22091         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22092         first.  Disable AVX-512 GCC support if assembler doesn't support
22093         it.
22094         * sysdeps/x86_64/configure: Regenerated.
22096 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22098         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22099         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22100         (__old_pthread_attr_setstack): Likewise.
22101         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22102         [!_STACK_GROWS_DOWN]: Likewise.
22104 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22106         * config.make.in (have-bash2): Delete.
22107         * configure.ac (libc_cv_have_bash2): Delete.
22108         * configure: Regenerate.
22109         * elf/Makefile (common-ldd-rewrite): Rename to ...
22110         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22111         (sh-ldd-rewrite): Delete.
22112         (bash-ldd-rewrite): Delete.
22113         (have-bash2): Delete checks.
22114         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22115         ldd-rewrite.
22117         * config.make.in (have-ksh): Delete.
22118         (KSH): Delete.
22119         * configure.ac (libc_cv_have_ksh): Delete.
22120         * configure: Regenerate.
22122         * elf/Makefile: Delete $(have-ksh) check.
22123         ($(objpfx)sotruss): Change KSH to BASH.
22124         * elf/sotruss.ksh: Rename to ...
22125         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22126         function style to match POSIX.  Drop ksh vim mode setting.
22128         * manual/time.texi (Specifying the Time Zone with TZ): Change
22129         Tuesday to Thursday.
22131         * debug/tst-longjmp_chk2.c: Update header comment.
22132         (stackoverflow_handler): Add comment.  Call assert on pass value.
22134 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22136         [BZ #16194]
22137         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22138         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22139         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22140         (La_x86_64_vector): Add zmm.
22141         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22142         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22143         ($(objpfx)tst-audit10): New target.
22144         ($(objpfx)tst-audit10.out): Likewise.
22145         (tst-audit10-ENV): New.
22146         (AVX512-CFLAGS): Likewise.
22147         (CFLAGS-tst-audit10.c): Likewise.
22148         (CFLAGS-tst-auditmod10a.c): Likewise.
22149         (CFLAGS-tst-auditmod10b.c): Likewise.
22150         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22151         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22152         * sysdeps/x86_64/configure: Regenerated.
22153         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22154         AVX-512 zmm register support.
22155         (_dl_x86_64_save_sse): Likewise.
22156         (_dl_x86_64_restore_sse): Likewise.
22157         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22158         size vector registers.
22159         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22160         (ZMM_SIZE): Likewise.
22161         * sysdeps/x86_64/tst-audit10.c: New file.
22162         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22163         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22165 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22167         * configure.ac (HAVE_EHDR_START): New check.
22168         * configure: Regenerated.
22169         * config.h.in (HAVE_EHDR_START): New #undef.
22170         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22171         assuming the lowest-addressed segment maps the start of the file.
22173 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22175         * INSTALL: Regenerated.
22177 2014-03-13  Will Newton  <will.newton@linaro.org>
22179         * manual/setjmp.texi (System V contexts): Improve
22180         clarity and grammar of documentation.
22182 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22184         [BZ #16381]
22185         * elf/Makefile (tests): Add tst-pie2.
22186         (tests-pie): Add tst-pie2.
22187         * elf/tst-pie2.c: New file.
22188         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22189         for ET_EXEC.
22190         * elf/rtld.c (map_doit): Load executable as lt_executable.
22191         (dl_main): Likewise.
22193 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22195         [BZ #16642]
22196         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22197         (__ASSUME_PSELECT): Undefine.
22199 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22201         [BZ #16689]
22202         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22203         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22204         static build.
22205         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22206         selector for static builds.
22208 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22210         [BZ #16695]
22211         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22212         key in the buffer.
22214 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22216         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22217         IFUNC selector for static builds.
22219 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22221         * sysdeps/mips/math_private.h [__mips_hard_float]
22222         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22223         libc_feresetround_mips_ctx.
22224         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22225         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22226         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22228         [BZ #16677]
22229         * math/s_nextafter.c (__nextafter): Do not return value from
22230         overflowing computation.
22231         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22232         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22233         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22234         Likewise.
22235         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22236         Likewise.
22237         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22238         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22240 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22242         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22243         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22244         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22245         the new mov targetting sp.
22247 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22249         [BZ #16683]
22250         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22251         Define it for static builds as well.
22252         (NO_BZERO_IMPL): Likewise.
22254 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22256         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22257         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22258         multiarch strspn for PPC64.
22259         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22260         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22262         (__libc_ifunc_impl_list): Likewise.
22263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22264         multiarch optimizations
22265         * string/strspn.c (strspn): Using macro to redefine symbol name.
22267 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22268             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22270         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22271         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22272         multiarch strncat for PPC64.
22273         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22274         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22276         (__libc_ifunc_impl_list): Likewise.
22277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22278         multiarch optimizations
22280 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22282         [BZ #16639]
22283         * nscd/nscd.service: Make service type forking.
22285 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22287         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22288         sign in non default rounding modes.
22289         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22291 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22293         * math/libm-test.inc (ALL_RM_TEST): New macro.
22294         (ceil_test): Use ALL_RM_TEST.
22295         (cimag_test): Likewise.
22296         (conj_test): Likewise.
22297         (copysign_test): Likewise.
22298         (cproj_test): Likewise.
22299         (creal_test): Likewise.
22300         (fabs_test): Likewise.
22301         (floor_test): Likewise.
22302         (fmax_test): Likewise.
22303         (fmin_test): Likewise.
22304         (fmod_test): Likewise.
22305         (fpclassify_test): Likewise.
22306         (frexp_test): Likewise.
22307         (ilogb_test): Likewise.
22308         (isfinite_test): Likewise.
22309         (finite_test): Likewise.
22310         (isgreater_test): Likewise.
22311         (isgreaterequal_test): Likewise.
22312         (isinf_test): Likewise.
22313         (isless_test): Likewise.
22314         (islessequal_test): Likewise.
22315         (islessgreater_test): Likewise.
22316         (isnan_test): Likewise.
22317         (isnormal_test): Likewise.
22318         (issignaling_test): Likewise.
22319         (isunordered_test): Likewise.
22320         (logb_test): Likewise.
22321         (logb_downward_test_data): Remove.
22322         (logb_test_downward): Likewise.
22323         (lround_test): Use ALL_RM_TEST.
22324         (llround_test): Likewise.
22325         (modf_test): Likewise.
22326         (nexttoward_test): Likewise.
22327         (remainder_test): Likewise.
22328         (drem_test): Likewise.
22329         (remainder_tonearest_test_data): Likewise.
22330         (remainder_test_tonearest): Likewise.
22331         (drem_test_tonearest): Likewise.
22332         (remainder_towardzero_test_data): Likewise.
22333         (remainder_test_towardzero): Likewise.
22334         (drem_test_towardzero): Likewise.
22335         (remainder_downward_test_data): Likewise.
22336         (remainder_test_downward): Likewise.
22337         (drem_test_downward): Likewise.
22338         (remainder_upward_test_data): Likewise.
22339         (remainder_test_upward): Likewise.
22340         (drem_test_upward): Likewise.
22341         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22342         (round_test): Use ALL_RM_TEST.
22343         (signbit_test): Likewise.
22344         (trunc_test): Likewise.
22345         (significand_test): Likewise.
22346         (main): Don't call removed functions.
22348 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22350         [BZ #16674]
22351         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22352         || __USE_XOPEN2K8].
22353         (ILL_ILLOPN): Likewise.
22354         (ILL_ILLADR): Likewise.
22355         (ILL_ILLTRP): Likewise.
22356         (ILL_PRVOPC): Likewise.
22357         (ILL_PRVREG): Likewise.
22358         (ILL_COPROC): Likewise.
22359         (ILL_BADSTK): Likewise.
22360         (FPE_INTDIV): Likewise.
22361         (FPE_INTOVF): Likewise.
22362         (FPE_FLTDIV): Likewise.
22363         (FPE_FLTOVF): Likewise.
22364         (FPE_FLTUND): Likewise.
22365         (FPE_FLTRES): Likewise.
22366         (FPE_FLTINV): Likewise.
22367         (FPE_FLTSUB): Likewise.
22368         (SEGV_MAPERR): Likewise.
22369         (SEGV_ACCERR): Likewise.
22370         (BUS_ADRALN): Likewise.
22371         (BUS_ADRERR): Likewise.
22372         (BUS_OBJERR): Likewise.
22373         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22374         (TRAP_TRACE): Likewise.
22375         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22376         __USE_XOPEN2K8].
22377         (CLD_KILLED): Likewise.
22378         (CLD_DUMPED): Likewise.
22379         (CLD_TRAPPED): Likewise.
22380         (CLD_STOPPED): Likewise.
22381         (CLD_CONTINUED): Likewise.
22382         (POLL_IN): Likewise.
22383         (POLL_OUT): Likewise.
22384         (POLL_MSG): Likewise.
22385         (POLL_ERR): Likewise.
22386         (POLL_PRI): Likewise.
22387         (POLL_HUP): Likewise.
22388         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22389         Likewise.
22390         (ILL_ILLOPN): Likewise.
22391         (ILL_ILLADR): Likewise.
22392         (ILL_ILLTRP): Likewise.
22393         (ILL_PRVOPC): Likewise.
22394         (ILL_PRVREG): Likewise.
22395         (ILL_COPROC): Likewise.
22396         (ILL_BADSTK): Likewise.
22397         (FPE_INTDIV): Likewise.
22398         (FPE_INTOVF): Likewise.
22399         (FPE_FLTDIV): Likewise.
22400         (FPE_FLTOVF): Likewise.
22401         (FPE_FLTUND): Likewise.
22402         (FPE_FLTRES): Likewise.
22403         (FPE_FLTINV): Likewise.
22404         (FPE_FLTSUB): Likewise.
22405         (SEGV_MAPERR): Likewise.
22406         (SEGV_ACCERR): Likewise.
22407         (BUS_ADRALN): Likewise.
22408         (BUS_ADRERR): Likewise.
22409         (BUS_OBJERR): Likewise.
22410         (BUS_MCEERR_AR): Likewise.
22411         (BUS_MCEERR_AO): Likewise.
22412         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22413         (TRAP_TRACE): Likewise.
22414         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22415         __USE_XOPEN2K8].
22416         (CLD_KILLED): Likewise.
22417         (CLD_DUMPED): Likewise.
22418         (CLD_TRAPPED): Likewise.
22419         (CLD_STOPPED): Likewise.
22420         (CLD_CONTINUED): Likewise.
22421         (POLL_IN): Likewise.
22422         (POLL_OUT): Likewise.
22423         (POLL_MSG): Likewise.
22424         (POLL_ERR): Likewise.
22425         (POLL_PRI): Likewise.
22426         (POLL_HUP): Likewise.
22427         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22428         (ILL_ILLOPN): Likewise.
22429         (ILL_ILLADR): Likewise.
22430         (ILL_ILLTRP): Likewise.
22431         (ILL_PRVOPC): Likewise.
22432         (ILL_PRVREG): Likewise.
22433         (ILL_COPROC): Likewise.
22434         (ILL_BADSTK): Likewise.
22435         (FPE_INTDIV): Likewise.
22436         (FPE_INTOVF): Likewise.
22437         (FPE_FLTDIV): Likewise.
22438         (FPE_FLTOVF): Likewise.
22439         (FPE_FLTUND): Likewise.
22440         (FPE_FLTRES): Likewise.
22441         (FPE_FLTINV): Likewise.
22442         (FPE_FLTSUB): Likewise.
22443         (SEGV_MAPERR): Likewise.
22444         (SEGV_ACCERR): Likewise.
22445         (BUS_ADRALN): Likewise.
22446         (BUS_ADRERR): Likewise.
22447         (BUS_OBJERR): Likewise.
22448         (BUS_MCEERR_AR): Likewise.
22449         (BUS_MCEERR_AO): Likewise.
22450         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22451         (TRAP_TRACE): Likewise.
22452         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22453         __USE_XOPEN2K8].
22454         (CLD_KILLED): Likewise.
22455         (CLD_DUMPED): Likewise.
22456         (CLD_TRAPPED): Likewise.
22457         (CLD_STOPPED): Likewise.
22458         (CLD_CONTINUED): Likewise.
22459         (POLL_IN): Likewise.
22460         (POLL_OUT): Likewise.
22461         (POLL_MSG): Likewise.
22462         (POLL_ERR): Likewise.
22463         (POLL_PRI): Likewise.
22464         (POLL_HUP): Likewise.
22465         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22466         Likewise.
22467         (ILL_ILLOPN): Likewise.
22468         (ILL_ILLADR): Likewise.
22469         (ILL_ILLTRP): Likewise.
22470         (ILL_PRVOPC): Likewise.
22471         (ILL_PRVREG): Likewise.
22472         (ILL_COPROC): Likewise.
22473         (ILL_BADSTK): Likewise.
22474         (ILL_BADIADDR): Likewise.
22475         (ILL_BREAK): Likewise.
22476         (FPE_INTDIV): Likewise.
22477         (FPE_INTOVF): Likewise.
22478         (FPE_FLTDIV): Likewise.
22479         (FPE_FLTOVF): Likewise.
22480         (FPE_FLTUND): Likewise.
22481         (FPE_FLTRES): Likewise.
22482         (FPE_FLTINV): Likewise.
22483         (FPE_FLTSUB): Likewise.
22484         (FPE_DECOVF): Likewise.
22485         (FPE_DECDIV): Likewise.
22486         (FPE_DECERR): Likewise.
22487         (FPE_INVASC): Likewise.
22488         (FPE_INVDEC): Likewise.
22489         (SEGV_MAPERR): Likewise.
22490         (SEGV_ACCERR): Likewise.
22491         (SEGV_PSTKOVF): Likewise.
22492         (BUS_ADRALN): Likewise.
22493         (BUS_ADRERR): Likewise.
22494         (BUS_OBJERR): Likewise.
22495         (BUS_MCEERR_AR): Likewise.
22496         (BUS_MCEERR_AO): Likewise.
22497         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22498         (TRAP_TRACE): Likewise.
22499         (TRAP_BRANCH): Likewise.
22500         (TRAP_HWBKPT): Likewise.
22501         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22502         __USE_XOPEN2K8].
22503         (CLD_KILLED): Likewise.
22504         (CLD_DUMPED): Likewise.
22505         (CLD_TRAPPED): Likewise.
22506         (CLD_STOPPED): Likewise.
22507         (CLD_CONTINUED): Likewise.
22508         (POLL_IN): Likewise.
22509         (POLL_OUT): Likewise.
22510         (POLL_MSG): Likewise.
22511         (POLL_ERR): Likewise.
22512         (POLL_PRI): Likewise.
22513         (POLL_HUP): Likewise.
22514         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22515         (ILL_ILLOPN): Likewise.
22516         (ILL_ILLADR): Likewise.
22517         (ILL_ILLTRP): Likewise.
22518         (ILL_PRVOPC): Likewise.
22519         (ILL_PRVREG): Likewise.
22520         (ILL_COPROC): Likewise.
22521         (ILL_BADSTK): Likewise.
22522         (FPE_INTDIV): Likewise.
22523         (FPE_INTOVF): Likewise.
22524         (FPE_FLTDIV): Likewise.
22525         (FPE_FLTOVF): Likewise.
22526         (FPE_FLTUND): Likewise.
22527         (FPE_FLTRES): Likewise.
22528         (FPE_FLTINV): Likewise.
22529         (FPE_FLTSUB): Likewise.
22530         (SEGV_MAPERR): Likewise.
22531         (SEGV_ACCERR): Likewise.
22532         (BUS_ADRALN): Likewise.
22533         (BUS_ADRERR): Likewise.
22534         (BUS_OBJERR): Likewise.
22535         (BUS_MCEERR_AR): Likewise.
22536         (BUS_MCEERR_AO): Likewise.
22537         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22538         (TRAP_TRACE): Likewise.
22539         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22540         __USE_XOPEN2K8].
22541         (CLD_KILLED): Likewise.
22542         (CLD_DUMPED): Likewise.
22543         (CLD_TRAPPED): Likewise.
22544         (CLD_STOPPED): Likewise.
22545         (CLD_CONTINUED): Likewise.
22546         (POLL_IN): Likewise.
22547         (POLL_OUT): Likewise.
22548         (POLL_MSG): Likewise.
22549         (POLL_ERR): Likewise.
22550         (POLL_PRI): Likewise.
22551         (POLL_HUP): Likewise.
22552         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22553         (ILL_ILLOPN): Likewise.
22554         (ILL_ILLADR): Likewise.
22555         (ILL_ILLTRP): Likewise.
22556         (ILL_PRVOPC): Likewise.
22557         (ILL_PRVREG): Likewise.
22558         (ILL_COPROC): Likewise.
22559         (ILL_BADSTK): Likewise.
22560         (FPE_INTDIV): Likewise.
22561         (FPE_INTOVF): Likewise.
22562         (FPE_FLTDIV): Likewise.
22563         (FPE_FLTOVF): Likewise.
22564         (FPE_FLTUND): Likewise.
22565         (FPE_FLTRES): Likewise.
22566         (FPE_FLTINV): Likewise.
22567         (FPE_FLTSUB): Likewise.
22568         (SEGV_MAPERR): Likewise.
22569         (SEGV_ACCERR): Likewise.
22570         (BUS_ADRALN): Likewise.
22571         (BUS_ADRERR): Likewise.
22572         (BUS_OBJERR): Likewise.
22573         (BUS_MCEERR_AR): Likewise.
22574         (BUS_MCEERR_AO): Likewise.
22575         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22576         (TRAP_TRACE): Likewise.
22577         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22578         __USE_XOPEN2K8].
22579         (CLD_KILLED): Likewise.
22580         (CLD_DUMPED): Likewise.
22581         (CLD_TRAPPED): Likewise.
22582         (CLD_STOPPED): Likewise.
22583         (CLD_CONTINUED): Likewise.
22584         (POLL_IN): Likewise.
22585         (POLL_OUT): Likewise.
22586         (POLL_MSG): Likewise.
22587         (POLL_ERR): Likewise.
22588         (POLL_PRI): Likewise.
22589         (POLL_HUP): Likewise.
22590         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22591         (ILL_ILLOPN): Likewise.
22592         (ILL_ILLADR): Likewise.
22593         (ILL_ILLTRP): Likewise.
22594         (ILL_PRVOPC): Likewise.
22595         (ILL_PRVREG): Likewise.
22596         (ILL_COPROC): Likewise.
22597         (ILL_BADSTK): Likewise.
22598         (FPE_INTDIV): Likewise.
22599         (FPE_INTOVF): Likewise.
22600         (FPE_FLTDIV): Likewise.
22601         (FPE_FLTOVF): Likewise.
22602         (FPE_FLTUND): Likewise.
22603         (FPE_FLTRES): Likewise.
22604         (FPE_FLTINV): Likewise.
22605         (FPE_FLTSUB): Likewise.
22606         (SEGV_MAPERR): Likewise.
22607         (SEGV_ACCERR): Likewise.
22608         (BUS_ADRALN): Likewise.
22609         (BUS_ADRERR): Likewise.
22610         (BUS_OBJERR): Likewise.
22611         (BUS_MCEERR_AR): Likewise.
22612         (BUS_MCEERR_AO): Likewise.
22613         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22614         (TRAP_TRACE): Likewise.
22615         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22616         __USE_XOPEN2K8].
22617         (CLD_KILLED): Likewise.
22618         (CLD_DUMPED): Likewise.
22619         (CLD_TRAPPED): Likewise.
22620         (CLD_STOPPED): Likewise.
22621         (CLD_CONTINUED): Likewise.
22622         (POLL_IN): Likewise.
22623         (POLL_OUT): Likewise.
22624         (POLL_MSG): Likewise.
22625         (POLL_ERR): Likewise.
22626         (POLL_PRI): Likewise.
22627         (POLL_HUP): Likewise.
22628         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22629         (ILL_ILLOPN): Likewise.
22630         (ILL_ILLADR): Likewise.
22631         (ILL_ILLTRP): Likewise.
22632         (ILL_PRVOPC): Likewise.
22633         (ILL_PRVREG): Likewise.
22634         (ILL_COPROC): Likewise.
22635         (ILL_BADSTK): Likewise.
22636         (ILL_DBLFLT): Likewise.
22637         (ILL_HARDWALL): Likewise.
22638         (FPE_INTDIV): Likewise.
22639         (FPE_INTOVF): Likewise.
22640         (FPE_FLTDIV): Likewise.
22641         (FPE_FLTOVF): Likewise.
22642         (FPE_FLTUND): Likewise.
22643         (FPE_FLTRES): Likewise.
22644         (FPE_FLTINV): Likewise.
22645         (FPE_FLTSUB): Likewise.
22646         (SEGV_MAPERR): Likewise.
22647         (SEGV_ACCERR): 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         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22656         __USE_XOPEN2K8].
22657         (CLD_KILLED): Likewise.
22658         (CLD_DUMPED): Likewise.
22659         (CLD_TRAPPED): Likewise.
22660         (CLD_STOPPED): Likewise.
22661         (CLD_CONTINUED): Likewise.
22662         (POLL_IN): Likewise.
22663         (POLL_OUT): Likewise.
22664         (POLL_MSG): Likewise.
22665         (POLL_ERR): Likewise.
22666         (POLL_PRI): Likewise.
22667         (POLL_HUP): Likewise.
22668         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22669         (ILL_ILLOPN): Likewise.
22670         (ILL_ILLADR): Likewise.
22671         (ILL_ILLTRP): Likewise.
22672         (ILL_PRVOPC): Likewise.
22673         (ILL_PRVREG): Likewise.
22674         (ILL_COPROC): Likewise.
22675         (ILL_BADSTK): Likewise.
22676         (FPE_INTDIV): Likewise.
22677         (FPE_INTOVF): Likewise.
22678         (FPE_FLTDIV): Likewise.
22679         (FPE_FLTOVF): Likewise.
22680         (FPE_FLTUND): Likewise.
22681         (FPE_FLTRES): Likewise.
22682         (FPE_FLTINV): Likewise.
22683         (FPE_FLTSUB): Likewise.
22684         (SEGV_MAPERR): Likewise.
22685         (SEGV_ACCERR): Likewise.
22686         (BUS_ADRALN): Likewise.
22687         (BUS_ADRERR): Likewise.
22688         (BUS_OBJERR): Likewise.
22689         (BUS_MCEERR_AR): Likewise.
22690         (BUS_MCEERR_AO): Likewise.
22691         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22692         (TRAP_TRACE): Likewise.
22693         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22694         __USE_XOPEN2K8].
22695         (CLD_KILLED): Likewise.
22696         (CLD_DUMPED): Likewise.
22697         (CLD_TRAPPED): Likewise.
22698         (CLD_STOPPED): Likewise.
22699         (CLD_CONTINUED): Likewise.
22700         (POLL_IN): Likewise.
22701         (POLL_OUT): Likewise.
22702         (POLL_MSG): Likewise.
22703         (POLL_ERR): Likewise.
22704         (POLL_PRI): Likewise.
22705         (POLL_HUP): Likewise.
22706         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22707         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22709         [BZ #16670]
22710         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22711         before #include of <time.h>.
22712         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22713         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22714         (test-xfail-UNIX98/sched.h/conform): Likewise.
22716 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22718         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22719         error absence of trapping exception support.
22720         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22722 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22724         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22725         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22726         * timezone/Makefile (testdata): Move definition above include of
22727         Rules.
22728         (test-zones): New variable.
22729         (tests-special): Add zone files.
22730         (build-testdata): Use $(evaluate-test).
22732         * elf/Makefile (tests-special): Rename tests to end with .out.
22733         ($(objpfx)noload-mem): Likewise.
22734         ($(objpfx)tst-leaks1-mem): Likewise.
22735         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22736         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22737         $(objpfx)test-iconvconfig.out.
22738         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22739         set -e inside subshell and redirect output to file.
22740         * iconvdata/Makefile (generated): Rename tests to end with .out.
22741         Correct type.
22742         (tests-special): Rename tests to end with .out.
22743         ($(objpfx)mtrace-tst-loading): Likewise.
22744         * intl/Makefile (generated): Likewise.
22745         (tests-special): Likewise.
22746         ($(objpfx)mtrace-tst-gettext): Likewise.
22747         * misc/Makefile (generated): Likewise.
22748         (tests-special): Likewise.
22749         ($(objpfx)tst-error1-mem): Likewise.
22750         * nptl/Makefile (tests-special): Likewise.
22751         ($(objpfx)tst-stack3-mem): Likewise.
22752         (generated): Likewise.
22753         * posix/Makefile (generated): Likewise.
22754         (tests-special): Likewise.
22755         (xtests-special): Likewise.
22756         ($(objpfx)tst-fnmatch-mem): Likewise.
22757         ($(objpfx)bug-regex2-mem): Likewise.
22758         ($(objpfx)bug-regex14-mem): Likewise.
22759         ($(objpfx)bug-regex21-mem): Likewise.
22760         ($(objpfx)bug-regex31-mem): Likewise.
22761         ($(objpfx)tst-vfork3-mem): Likewise.
22762         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22763         ($(objpfx)tst-pcre-mem): Likewise.
22764         ($(objpfx)tst-boost-mem): Likewise.
22765         ($(objpfx)bug-ga2-mem): Likewise.
22766         ($(objpfx)bug-glob2-mem): Likewise.
22767         * resolv/Makefile (generate): Likewise.
22768         (tests-special): Likewise.
22769         (xtests-special): Likewise.
22770         (generated): Likewise.
22771         ($(objpfx)mtrace-tst-leaks): Likewise.
22772         ($(objpfx)mtrace-tst-leaks2): Likewise.
22774         * scripts/merge-test-results.sh: New file.
22775         * Makefile (tests-special-notdir): New variable.
22776         (tests): Run merge-test-results.sh.
22777         (xtests): Likewise.
22778         * Rules (tests-special-notdir): New variable.
22779         (xtests-special-notdir): Likewise.
22780         (tests): Run merge-test-results.sh
22781         (xtests): Likewise.
22783         * Makeconfig (test-xfail-name): New variable.
22784         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22785         compute variable name for expected failures.
22786         * conform/Makefile (conformtest-headers-data): New variable.
22787         (conformtest-standards): Likewise.
22788         (conformtest-headers-ISO): Likewise.
22789         (conformtest-headers-ISO99): Likewise.
22790         (conformtest-headers-ISO11): Likewise.
22791         (conformtest-headers-POSIX): Likewise.
22792         (conformtest-headers-XPG3): Likewise.
22793         (conformtest-headers-XPG4): Likewise.
22794         (conformtest-headers-UNIX98): Likewise.
22795         (conformtest-headers-XOPEN2K): Likewise.
22796         (conformtest-headers-POSIX2008): Likewise.
22797         (conformtest-headers-XOPEN2K8): Likewise.
22798         (conformtest-header-list-base): Likewise.
22799         (conformtest-header-list-tests): Likewise.
22800         (conformtest-header-base): Likewise.
22801         (conformtest-header-tests): Likewise.
22802         (tests-special): Add $(conformtest-header-list-tests).  If
22803         [$(fast-check) && !$(cross-compiling)], add
22804         $(conformtest-header-tests) instead of
22805         $(objpfx)run-conformtest.out.
22806         (generated): Add $(conformtest-header-list-base).  If
22807         [$(fast-check) && !$(cross-compiling)], add
22808         $(conformtest-header-base).  Remove previous setting.
22809         ($(conformtest-header-list-tests)): New target.
22810         (test-xfail-run-conformtest): Remove variable.
22811         ($(objpfx)run-conformtest.out): Remove target.
22812         (test-xfail-ISO11/complex.h/conform): New variable.
22813         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22814         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22815         (test-xfail-XPG3/varargs.h/conform): Likewise.
22816         (test-xfail-XPG4/varargs.h/conform): Likewise.
22817         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22818         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22819         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22820         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22821         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22822         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22823         (test-xfail-XPG3/ftw.h/conform): Likewise.
22824         (test-xfail-XPG3/grp.h/conform): Likewise.
22825         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22826         (test-xfail-XPG3/limits.h/conform): Likewise.
22827         (test-xfail-XPG3/pwd.h/conform): Likewise.
22828         (test-xfail-XPG3/search.h/conform): Likewise.
22829         (test-xfail-XPG3/signal.h/conform): Likewise.
22830         (test-xfail-XPG3/stdio.h/conform): Likewise.
22831         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22832         (test-xfail-XPG3/string.h/conform): Likewise.
22833         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22834         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22835         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22836         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22837         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22838         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22839         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22840         (test-xfail-XPG3/termios.h/conform): Likewise.
22841         (test-xfail-XPG3/time.h/conform): Likewise.
22842         (test-xfail-XPG3/unistd.h/conform): Likewise.
22843         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22844         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22845         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22846         (test-xfail-XPG4/netdb.h/conform): Likewise.
22847         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22848         (test-xfail-XPG4/signal.h/conform): Likewise.
22849         (test-xfail-XPG4/stdio.h/conform): Likewise.
22850         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22851         (test-xfail-XPG4/stropts.h/conform): Likewise.
22852         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22853         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22854         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22855         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22856         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22857         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22858         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22859         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22860         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22861         (test-xfail-XPG4/termios.h/conform): Likewise.
22862         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22863         (test-xfail-XPG4/unistd.h/conform): Likewise.
22864         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22865         (test-xfail-POSIX/sched.h/conform): Likewise.
22866         (test-xfail-POSIX/signal.h/conform): Likewise.
22867         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22868         (test-xfail-POSIX/tar.h/conform): Likewise.
22869         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22870         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22871         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22872         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22873         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22874         (test-xfail-UNIX98/sched.h/conform): Likewise.
22875         (test-xfail-UNIX98/signal.h/conform): Likewise.
22876         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22877         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22878         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22879         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22880         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22881         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22882         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22883         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22884         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22885         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22886         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22887         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22888         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22889         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22890         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22891         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22892         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22893         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22894         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22895         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22896         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22897         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22898         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22899         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22900         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22901         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22902         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22903         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22904         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22905         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22906         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22907         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22908         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22909         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22910         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22911         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22912         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22913         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22914         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22915         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22916         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22917         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22918         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22919         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22920         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22921         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22922         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22923         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22924         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22925         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22926         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22927         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22928         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22929         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22930         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22931         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22932         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22933         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22934         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22935         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22936         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22937         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22938         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22939         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22940         (conformtest-cc-flags): Likewise.
22941         ($(conformtest-header-tests): New target.
22942         * conform/check-header-lists.sh: New file.
22943         * conform/run-conformtest.sh: Remove.
22945         * conform/conformtest.pl: Allow ' and \ in values given for
22946         constants.
22947         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22948         inclusion.
22949         [POSIX] (sys/types.h): Likewise.
22950         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22951         inclusion.
22952         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22953         inclusion.
22954         * conform/data/signal.h-data (SIGIO): Remove expectation.
22955         [XPG3] (SIGBUS): Do not expect.
22956         [POSIX || XPG3] (SIGPOLL): Likewise.
22957         [POSIX || XPG3] (SIGPROF): Likewise.
22958         [POSIX || XPG3] (SIGSYS): Likewise.
22959         [XPG3] (SIGTRAP): Likewise.
22960         [POSIX || XPG3] (SIGURG): Likewise.
22961         [POSIX || XPG3] (SIGVTALRM): Likewise.
22962         [POSIX || XPG3] (SIGXCPU): Likewise.
22963         [POSIX || XPG3] (SIGXFSZ): Likewise.
22964         [POSIX] (SA_SIGINFO): Expect.
22965         [XPG3] (siginfo_t): Do not expect type or contents.
22966         [POSIX] (si_pid): Do not expect element.
22967         [POSIX] (si_uid): Likewise.
22968         [POSIX] (si_addr): Likewise.
22969         [POSIX] (si_status): Likewise.
22970         [POSIX] (si_band): Likewise.
22971         [XPG4] (si_value): Likewise.
22972         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22973         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22974         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22975         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22976         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22977         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22978         [POSIX || XPG3] (ILL_COPROC): Likewise.
22979         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22980         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22981         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22982         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22983         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22984         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22985         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22986         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22987         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22988         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22989         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22990         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22991         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22992         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22993         [POSIX || XPG3] (CLD_EXITED): Likewise.
22994         [POSIX || XPG3] (CLD_KILLED): Likewise.
22995         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22996         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22997         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22998         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22999         [POSIX || XPG3] (POLL_IN): Likewise.
23000         [POSIX || XPG3] (POLL_OUT): Likewise.
23001         [POSIX || XPG3] (POLL_MSG): Likewise.
23002         [POSIX || XPG3] (POLL_ERR): Likewise.
23003         [POSIX || XPG3] (POLL_PRI): Likewise.
23004         [POSIX || XPG3] (POLL_HUP): Likewise.
23005         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23006         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23007         (SIG*): Do not allow.
23008         [XPG3] (si_*): Likewise.
23009         [XPG3] (SI_*): Likewise.
23010         [XPG3 || XPG4] (sigev_*): Likewise.
23011         [XPG3 || XPG4] (SIGEV_*): Likewise.
23012         [XPG3 || XPG4] (sival_*): Likewise.
23013         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23014         [POSIX || XPG3] (BUS_*): Likewise.
23015         [POSIX || XPG3] (CLD_*): Likewise.
23016         [POSIX || XPG3] (FPE_*): Likewise.
23017         [POSIX || XPG3] (ILL_*): Likewise.
23018         [POSIX || XPG3] (POLL_*): Likewise.
23019         [POSIX || XPG3] (SEGV_*): Likewise.
23020         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23021         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23022         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23023         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23024         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23025         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23026         Specify type and value.
23027         (TVERSLEN): Likewise.
23028         (REGTYPE): Likewise.
23029         (AREGTYPE): Likewise.
23030         (LNKTYPE): Likewise.
23031         (SYMTYPE): Likewise.
23032         (CHRTYPE): Likewise.
23033         (BLKTYPE): Likewise.
23034         (DIRTYPE): Likewise.
23035         (FIFOTYPE): Likewise.
23036         (CONTTYPE): Likewise.
23037         (TSUID): Likewise.
23038         (TSGID): Likewise.
23039         (TSVTX): Likewise.
23040         (TUREAD): Likewise.
23041         (TUWRITE): Likewise.
23042         (TUEXEC): Likewise.
23043         (TGREAD): Likewise.
23044         (TGWRITE): Likewise.
23045         (TGEXEC): Likewise.
23046         (TOREAD): Likewise.
23047         (TOWRITE): Likewise.
23048         (TOEXEC): Likewise.
23049         [POSIX] (TSVTX): Expect constant.
23051 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23053         * Makefile (tests): Change dependencies to ....
23054         (tests-special): ... additions to this variable.
23055         (tests): Depend on $(tests-special).
23056         * Makerules (check-abi-list): New variable.
23057         (check-abi): Depend on $(check-abi-list).
23058         [$(subdir) = elf] (tests-special): Add
23059         $(objpfx)check-abi-libc.out.
23060         [$(build-shared) = yes && subdir] (tests-special): Add
23061         $(check-abi-list).
23062         [$(build-shared) = yes && subdir] (tests): Do not depend on
23063         check-abi.
23064         * Rules (tests): Depend on $(tests-special).
23065         (xtests): Depend on $(xtests-special).
23066         * catgets/Makefile (tests): Change dependencies to ....
23067         (tests-special): ... additions to this variable.
23068         * conform/Makefile (tests): Change dependencies to ....
23069         (tests-special): ... additions to this variable.
23070         * elf/Makefile (tests): Change dependencies to ....
23071         (tests-special): ... additions to this variable.
23072         * grp/Makefile (tests): Change dependencies to ....
23073         (tests-special): ... additions to this variable.
23074         * iconv/Makefile (xtests): Change dependencies to ....
23075         (xtests-special): ... additions to this variable.
23076         * iconvdata/Makefile (tests): Change dependencies to ....
23077         (tests-special): ... additions to this variable.
23078         * intl/Makefile (tests): Change dependencies to ....
23079         (tests-special): ... additions to this variable.  Also add
23080         $(objpfx)tst-gettext.out.
23081         * io/Makefile (tests): Change dependencies to ....
23082         (tests-special): ... additions to this variable.
23083         * libio/Makefile (tests): Change dependencies to ....
23084         (tests-special): ... additions to this variable.
23085         * malloc/Makefile (tests): Change dependencies to ....
23086         (tests-special): ... additions to this variable.
23087         * misc/Makefile (tests): Change dependencies to ....
23088         (tests-special): ... additions to this variable.
23089         * nptl/Makefile (tests): Change dependencies to ....
23090         (tests-special): ... additions to this variable.
23091         * nptl_db/Makefile (tests): Change dependencies to ....
23092         (tests-special): ... additions to this variable.
23093         * posix/Makefile (tests): Change dependencies to ....
23094         (tests-special): ... additions to this variable.
23095         (xtests): Change dependencies to ....
23096         (xtests-special): ... additions to this variable.
23097         * resolv/Makefile (tests): Change dependencies to ....
23098         (tests-special): ... additions to this variable.
23099         (xtests): Change dependencies to ....
23100         (xtests-special): ... additions to this variable.
23101         * stdio-common/Makefile (tests): Change dependencies to ....
23102         (tests-special): ... additions to this variable.
23103         (do-tst-unbputc): Remove target.
23104         (do-tst-printf): Likewise.
23105         * stdlib/Makefile (tests): Change dependencies to ....
23106         (tests-special): ... additions to this variable.
23107         * string/Makefile (tests): Change dependencies to ....
23108         (tests-special): ... additions to this variable.
23109         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23110         (tests-special): ... additions to this variable.
23112         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23113         whole file.
23114         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23115         whole file.
23116         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23117         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23119         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23120         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23121         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23122         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23123         * conform/data/libgen.h-data [XPG3]: Likewise.
23124         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23125         * conform/data/ndbm.h-data [XPG3]: Likewise.
23126         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23127         * conform/data/netdb.h-data [XPG3]: Likewise.
23128         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23129         * conform/data/poll.h-data [XPG3]: Likewise.
23130         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23131         * conform/data/strings.h-data [XPG3]: Likewise.
23132         * conform/data/stropts.h-data [XPG3]: Likewise.
23133         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23134         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23135         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23136         Likewise.
23137         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23138         * conform/data/sys/time.h-data [XPG3]: Likewise.
23139         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23140         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23141         * conform/data/sys/un.h-data [XPG3]: Likewise.
23142         * conform/data/syslog.h-data [XPG3]: Likewise.
23143         * conform/data/ucontext.h-data [XPG3]: Likewise.
23144         * conform/data/utmpx.h-data [XPG3]: Likewise.
23145         * conform/data/varargs.h-data [UNIX98]: Enable file.
23147         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23149         * math/libm-test.inc (struct test_f_f_data): Move expected results
23150         into structure for each rounding mode.
23151         (struct test_ff_f_data): Likewise.
23152         (struct test_ff_f_data_nexttoward): Likewise.
23153         (struct test_fi_f_data): Likewise.
23154         (struct test_fl_f_data): Likewise.
23155         (struct test_if_f_data): Likewise.
23156         (struct test_fff_f_data): Likewise.
23157         (struct test_c_f_data): Likewise.
23158         (struct test_f_f1_data): Likewise.
23159         (struct test_fF_f1_data): Likewise.
23160         (struct test_ffI_f1_data): Likewise.
23161         (struct test_c_c_data): Likewise.
23162         (struct test_cc_c_data): Likewise.
23163         (struct test_f_i_data): Likewise.
23164         (struct test_ff_i_data): Likewise.
23165         (struct test_f_l_data): Likewise.
23166         (struct test_f_L_data): Likewise.
23167         (struct test_fFF_11_data): Likewise.
23168         (RM_): New macro.
23169         (RM_FE_DOWNWARD): Likewise.
23170         (RM_FE_TONEAREST): Likewise.
23171         (RM_FE_TOWARDZERO): Likewise.
23172         (RM_FE_UPWARD): Likewise.
23173         (RUN_TEST_LOOP_f_f): Update references to expected results.
23174         (RUN_TEST_LOOP_2_f): Likewise.
23175         (RUN_TEST_LOOP_fff_f): Likewise.
23176         (RUN_TEST_LOOP_c_f): Likewise.
23177         (RUN_TEST_LOOP_f_f1): Likewise.
23178         (RUN_TEST_LOOP_fF_f1): Likewise.
23179         (RUN_TEST_LOOP_fI_f1): Likewise.
23180         (RUN_TEST_LOOP_ffI_f1): Likewise.
23181         (RUN_TEST_LOOP_c_c): Likewise.
23182         (RUN_TEST_LOOP_cc_c): Likewise.
23183         (RUN_TEST_LOOP_f_i): Likewise.
23184         (RUN_TEST_LOOP_f_i_tg): Likewise.
23185         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23186         (RUN_TEST_LOOP_f_b): Likewise.
23187         (RUN_TEST_LOOP_f_b_tg): Likewise.
23188         (RUN_TEST_LOOP_f_l): Likewise.
23189         (RUN_TEST_LOOP_f_L): Likewise.
23190         (RUN_TEST_LOOP_fFF_11): Likewise.
23191         * math/gen-libm-test.pl (parse_args): Output four copies of
23192         expected results for each test.
23194         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23195         (__ASSUME_UTIMES): Remove.
23196         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23197         (__ASSUME_UTIMES): Likewise.
23199         * math/gen-auto-libm-tests.c: Update comment on output format.
23200         (output_for_one_input_case): Generate before-rounding and
23201         after-rounding information as conditions on output flags not
23202         floating-point format.
23203         * math/auto-libm-test-out: Regenerated.
23204         * math/gen-libm-test.pl (cond_value): New function.
23205         (or_cond_value): Use cond_value.
23206         (generate_testfile): Handle conditional exceptions.
23208 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23210         * math/libm-test.inc (max_valid_error): New variable.
23211         (init_max_error): Take new argument specifying whether function
23212         results are exactly determined.  Set max_valid_error and bound
23213         other variables for errors based on this argument.
23214         (set_max_error): Do not record results above max_valid_error.
23215         (check_float_internal): Only accept errors of up to 0.5ulps if
23216         also at most max_valid_error.
23217         (START): Take new argument EXACT and pass it to init_max_error.
23218         (acos_test): Update call to START.
23219         (acos_test_tonearest): Likewise.
23220         (acos_test_towardzero): Likewise.
23221         (acos_test_downward): Likewise.
23222         (acos_test_upward): Likewise.
23223         (acosh_test): Likewise.
23224         (asin_test): Likewise.
23225         (asin_test_tonearest): Likewise.
23226         (asin_test_towardzero): Likewise.
23227         (asin_test_downward): Likewise.
23228         (asin_test_upward): Likewise.
23229         (asinh_test): Likewise.
23230         (atan_test): Likewise.
23231         (atanh_test): Likewise.
23232         (atan2_test): Likewise.
23233         (cabs_test): Likewise.
23234         (cacos_test): Likewise.
23235         (cacosh_test): Likewise.
23236         (carg_test): Likewise.
23237         (casin_test): Likewise.
23238         (casinh_test): Likewise.
23239         (catan_test): Likewise.
23240         (catanh_test): Likewise.
23241         (cbrt_test): Likewise.
23242         (ccos_test): Likewise.
23243         (ccosh_test): Likewise.
23244         (ceil_test): Likewise.
23245         (cexp_test): Likewise.
23246         (cimag_test): Likewise.
23247         (clog_test): Likewise.
23248         (clog10_test): Likewise.
23249         (conj_test): Likewise.
23250         (copysign_test): Likewise.
23251         (cos_test): Likewise.
23252         (cos_test_tonearest): Likewise.
23253         (cos_test_towardzero): Likewise.
23254         (cos_test_downward): Likewise.
23255         (cos_test_upward): Likewise.
23256         (cosh_test): Likewise.
23257         (cosh_test_tonearest): Likewise.
23258         (cosh_test_towardzero): Likewise.
23259         (cosh_test_downward): Likewise.
23260         (cosh_test_upward): Likewise.
23261         (cpow_test): Likewise.
23262         (cproj_test): Likewise.
23263         (creal_test): Likewise.
23264         (csin_test): Likewise.
23265         (csinh_test): Likewise.
23266         (csqrt_test): Likewise.
23267         (ctan_test): Likewise.
23268         (ctan_test_tonearest): Likewise.
23269         (ctan_test_towardzero): Likewise.
23270         (ctan_test_downward): Likewise.
23271         (ctan_test_upward): Likewise.
23272         (ctanh_test): Likewise.
23273         (ctanh_test_tonearest): Likewise.
23274         (ctanh_test_towardzero): Likewise.
23275         (ctanh_test_downward): Likewise.
23276         (ctanh_test_upward): Likewise.
23277         (erf_test): Likewise.
23278         (erfc_test): Likewise.
23279         (exp_test): Likewise.
23280         (exp_test_tonearest): Likewise.
23281         (exp_test_towardzero): Likewise.
23282         (exp_test_downward): Likewise.
23283         (exp_test_upward): Likewise.
23284         (exp10_test): Likewise.
23285         (exp10_test_tonearest): Likewise.
23286         (exp10_test_towardzero): Likewise.
23287         (exp10_test_downward): Likewise.
23288         (exp10_test_upward): Likewise.
23289         (pow10_test): Likewise.
23290         (exp2_test): Likewise.
23291         (expm1_test): Likewise.
23292         (expm1_test_tonearest): Likewise.
23293         (expm1_test_towardzero): Likewise.
23294         (expm1_test_downward): Likewise.
23295         (expm1_test_upward): Likewise.
23296         (fabs_test): Likewise.
23297         (fdim_test): Likewise.
23298         (floor_test): Likewise.
23299         (fma_test): Likewise.
23300         (fma_test_towardzero): Likewise.
23301         (fma_test_downward): Likewise.
23302         (fma_test_upward): Likewise.
23303         (fmax_test): Likewise.
23304         (fmin_test): Likewise.
23305         (fmod_test): Likewise.
23306         (fpclassify_test): Likewise.
23307         (frexp_test): Likewise.
23308         (hypot_test): Likewise.
23309         (ilogb_test): Likewise.
23310         (isfinite_test): Likewise.
23311         (finite_test): Likewise.
23312         (isgreater_test): Likewise.
23313         (isgreaterequal_test): Likewise.
23314         (isinf_test): Likewise.
23315         (isless_test): Likewise.
23316         (islessequal_test): Likewise.
23317         (islessgreater_test): Likewise.
23318         (isnan_test): Likewise.
23319         (isnormal_test): Likewise.
23320         (issignaling_test): Likewise.
23321         (isunordered_test): Likewise.
23322         (j0_test): Likewise.
23323         (j1_test): Likewise.
23324         (jn_test): Likewise.
23325         (ldexp_test): Likewise.
23326         (lgamma_test): Likewise.
23327         (gamma_test): Likewise.
23328         (lrint_test): Likewise.
23329         (lrint_test_tonearest): Likewise.
23330         (lrint_test_towardzero): Likewise.
23331         (lrint_test_downward): Likewise.
23332         (lrint_test_upward): Likewise.
23333         (llrint_test): Likewise.
23334         (llrint_test_tonearest): Likewise.
23335         (llrint_test_towardzero): Likewise.
23336         (llrint_test_downward): Likewise.
23337         (llrint_test_upward): Likewise.
23338         (log_test): Likewise.
23339         (log10_test): Likewise.
23340         (log1p_test): Likewise.
23341         (log2_test): Likewise.
23342         (logb_test): Likewise.
23343         (logb_test_downward): Likewise.
23344         (lround_test): Likewise.
23345         (llround_test): Likewise.
23346         (modf_test): Likewise.
23347         (nearbyint_test): Likewise.
23348         (nextafter_test): Likewise.
23349         (nexttoward_test): Likewise.
23350         (pow_test): Likewise.
23351         (pow_test_tonearest): Likewise.
23352         (pow_test_towardzero): Likewise.
23353         (pow_test_downward): Likewise.
23354         (pow_test_upward): Likewise.
23355         (remainder_test): Likewise.
23356         (drem_test): Likewise.
23357         (remainder_test_tonearest): Likewise.
23358         (drem_test_tonearest): Likewise.
23359         (remainder_test_towardzero): Likewise.
23360         (drem_test_towardzero): Likewise.
23361         (remainder_test_downward): Likewise.
23362         (drem_test_downward): Likewise.
23363         (remainder_test_upward): Likewise.
23364         (drem_test_upward): Likewise.
23365         (remquo_test): Likewise.
23366         (rint_test): Likewise.
23367         (rint_test_tonearest): Likewise.
23368         (rint_test_towardzero): Likewise.
23369         (rint_test_downward): Likewise.
23370         (rint_test_upward): Likewise.
23371         (round_test): Likewise.
23372         (scalb_test): Likewise.
23373         (scalbn_test): Likewise.
23374         (scalbln_test): Likewise.
23375         (signbit_test): Likewise.
23376         (sin_test): Likewise.
23377         (sin_test_tonearest): Likewise.
23378         (sin_test_towardzero): Likewise.
23379         (sin_test_downward): Likewise.
23380         (sin_test_upward): Likewise.
23381         (sincos_test): Likewise.
23382         (sinh_test): Likewise.
23383         (sinh_test_tonearest): Likewise.
23384         (sinh_test_towardzero): Likewise.
23385         (sinh_test_downward): Likewise.
23386         (sinh_test_upward): Likewise.
23387         (sqrt_test): Likewise.
23388         (sqrt_test_tonearest): Likewise.
23389         (sqrt_test_towardzero): Likewise.
23390         (sqrt_test_downward): Likewise.
23391         (sqrt_test_upward): Likewise.
23392         (tan_test): Likewise.
23393         (tan_test_tonearest): Likewise.
23394         (tan_test_towardzero): Likewise.
23395         (tan_test_downward): Likewise.
23396         (tan_test_upward): Likewise.
23397         (tanh_test): Likewise.
23398         (tgamma_test): Likewise.
23399         (trunc_test): Likewise.
23400         (y0_test): Likewise.
23401         (y1_test): Likewise.
23402         (yn_test): Likewise.
23403         (significand_test): Likewise.
23405         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23406         individual tests in comment.
23407         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23408         (prev_max_error): New variable.
23409         (prev_real_max_error): Likewise.
23410         (prev_imag_max_error): Likewise.
23411         (compare_ulp_data): Don't refer to test names in comment.
23412         (find_test_ulps): Remove function.
23413         (find_function_ulps): Likewise.
23414         (find_complex_function_ulps): Likewise.
23415         (init_max_error): Take function name as argument.  Look up ulps
23416         for that function.
23417         (print_ulps): Remove function.
23418         (print_max_error): Use prev_max_error instead of calling
23419         find_function_ulps.
23420         (print_complex_max_error): Use prev_real_max_error and
23421         prev_imag_max_error instead of calling find_complex_function_ulps.
23422         (check_float_internal): Take max_ulp parameter instead of calling
23423         find_test_ulps.  Don't call print_ulps.
23424         (check_float): Update call to check_float_internal.
23425         (check_complex): Update calls to check_float_internal.
23426         (START): Pass argument to init_max_error.
23427         * math/gen-libm-test.pl (%results): Don't include "kind"
23428         information.
23429         (parse_ulps): Don't handle ulps of individual tests.
23430         (print_ulps_file): Likewise.
23431         (output_ulps): Likewise.
23432         * math/README.libm-test: Update.
23433         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23434         individual tests.
23435         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23436         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23437         * sysdeps/arm/libm-test-ulps: Likewise.
23438         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23439         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23440         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23441         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23442         * sysdeps/microblaze/libm-test-ulps: Likewise.
23443         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23444         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23445         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23446         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23447         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23448         * sysdeps/sh/libm-test-ulps: Likewise.
23449         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23450         * sysdeps/tile/libm-test-ulps: Likewise.
23451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23453 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23455         * math/libm-test.inc (print_complex_max_error): Check separately
23456         whether real and imaginary errors are within allowed range and
23457         pass 0 to print_complex_function_ulps instead of value within
23458         allowed range.
23460 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23462         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23463         formatting.
23464         (get_handles_fopen): Likewise.
23465         (do_write_test): Likewise.
23467         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23469         * libio/fileops.c (do_ftell): Use cached offset when
23470         available.
23471         * libio/iofwide.c (do_ftell_wide): Likewise.
23472         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23473         _IO_file_attach.
23474         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23476         [BZ #16532]
23477         * libio/libioP.h (get_file_offset): New function.
23478         * libio/fileops.c (get_file_offset): Likewise.
23479         (do_ftell): Likewise.
23480         (_IO_new_file_seekoff): Split out ftell logic.
23481         * libio/wfileops.c (do_ftell_wide): Likewise.
23482         (_IO_wfile_seekoff): Split out ftell logic.
23483         * libio/tst-ftell-active-handler.c: New test case.
23484         * libio/Makefile (tests): Add it.
23486 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23488         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23489         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23491 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23493         [BZ #16639]
23494         * nscd/connections.c (nscd_init): Call do_exit.
23495         (start_threads): Call do_exit and notify_parent.
23496         (begin_drop_privileges): Call do_exit.
23497         (finish_drop_privileges): Likewise.
23498         * nscd/selinux.c (preserve_capabilities): Likewise.
23499         (install_real_capabilities): Likewise.
23500         (nscd_selinux_enabled): Likewise.
23501         (avc_create_thread): Likewise.
23502         (avc_alloc_lock): Likewise.
23503         (nscd_avc_init): Likewise.
23504         * nscd/nscd.c (parent_fd): New static variable.
23505         (main): Create a pipe between parent and child processes.
23506         Skip closing parent_fd.
23507         (monitor_child): New function.
23508         (do_exit): Likewise.
23509         (notify_parent): Likewise.
23510         * nscd/nscd.h (notify_parent): Likewise.
23511         (do_exit): Likewise.
23513 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23515         * malloc/malloc.c (__libc_calloc): Revert last change.
23517 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23521 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23523         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23525         implementation.
23526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23527         (__libc_ifunc_impl_list): Likewise.
23528         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23529         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23530         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23531         * string/strrchr.c: Define STRRCHR.
23533 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23535         * benchtest/bench-strtok.c (simple_strtok): Delete.
23536         (strtok_string): Use as benchmark.
23537         * string/strtok (STRTOK): New macro.
23539 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23541         * manual/threads.texi: Add header and standard comments to all
23542         functions.
23544         * elf/dl-lookup.c (check_match): New function.
23545         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23546         (do_lookup_x): Remove nested function check_match. Use non-nested
23547         function check_match.
23549 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23551         * csu/Makefile (generated, before-compile): Use += rather than =.
23552         * catgets/Makefile (generated, generated-dirs): Likewise.
23553         * debug/Makefile (generated): Likewise.
23554         * dlfcn/Makefile (generated): Likewise.
23555         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23556         * iconvdata/Makefile (before-compile, generated): Likewise.
23557         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23558         * libio/Makefile (generated): Likewise.
23559         * malloc/Makefile (generated): Likewise.
23560         * manual/Makefile (generated, generated-dirs): Likewise.
23561         * misc/Makefile (generated): Likewise.
23562         * posix/Makefile (generated): Likewise.
23563         * resolv/Makefile (generated): Likewise.
23564         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23565         * timezone/Makefile (generated, generated-dirs): Likewise.
23567         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23569 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23571         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23572         power8 implementation.
23573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23574         file: POWER8 llround ifunc implementation.
23575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23576         (__lllround): Add POWER8 implementation.
23577         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23578         POWER8 llround implementation.
23580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23581         power8 implementation.
23582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23583         file: POWER8 llrint ifunc implementation.
23584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23585         Add POWER8 implementation.
23586         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23587         POWER8 llrint implementation.
23589         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23590         power8 implementation.
23591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23592         file: POWER8 finite ifunc implementation.
23593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23594         Add POWER8 implementation.
23595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23596         Likewise.
23597         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23598         POWER8 finite implementation.
23599         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23602         power8 implementation.
23603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23604         file: POWER8 isinf ifunc implementation.
23605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23606         POWER8 implementation.
23607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23608         Likewise.
23609         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23610         isinf implementation.
23611         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23613         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23614         (INIT_ARCH): Add hwcap2 initialization.
23615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23616         power8 implementation.
23617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23618         file: POWER8 isnan ifunc implementation.
23619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23620         POWER8 implementation.
23621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23622         Likewise.
23623         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23624         isnan implementation.
23625         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23627 2014-02-27  Joey Ye  <joey.ye@arm.com>
23629         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23630         (_FP_NANFRAC_Q): Set to zero.
23632 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23634         [BZ #16623]
23635         * math/auto-libm-test-in: New test inputs.
23636         * math/auto-libm-test-out: Regenerate.
23637         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23638         and DA.
23639         (__cos): Likewise.
23640         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23642 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23644         * scripts/evaluate-test.sh: Take new argument indicating whether
23645         failure is expected.
23646         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23647         indicating whether failure is expected.
23648         * conform/Makefile (test-xfail-run-conformtest): New variable.
23649         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23650         level.
23651         * posix/Makefile (test-xfail-annexc): New variable.
23652         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23654 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23656         * argp/Makefile: Include Makeconfig immediately after defining
23657         subdir.
23658         * assert/Makefile: Likewise.
23659         * benchtests/Makefile: Likewise.
23660         * catgets/Makefile: Likewise.
23661         * conform/Makefile: Likewise.
23662         * crypt/Makefile: Likewise.
23663         * csu/Makefile: Likewise.
23664         (all): Remove target.
23665         * ctype/Makefile: Include Makeconfig immediately after defining
23666         subdir.
23667         * debug/Makefile: Likewise.
23668         * dirent/Makefile: Likewise.
23669         * dlfcn/Makefile: Likewise.
23670         * gmon/Makefile: Likewise.
23671         * gnulib/Makefile: Likewise.
23672         * grp/Makefile: Likewise.
23673         * gshadow/Makefile: Likewise.
23674         * hesiod/Makefile: Likewise.
23675         * hurd/Makefile: Likewise.
23676         (all): Remove target.
23677         * iconvdata/Makefile: Include Makeconfig immediately after
23678         defining subdir.
23679         * inet/Makefile: Likewise.
23680         * intl/Makefile: Likewise.
23681         * io/Makefile: Likewise.
23682         * libio/Makefile: Likewise.
23683         (all): Remove target.
23684         * locale/Makefile: Include Makeconfig immediately after defining
23685         subdir.
23686         * login/Makefile: Likewise.
23687         * mach/Makefile: Likewise.
23688         (all): Remove target.
23689         * malloc/Makefile: Include Makeconfig immediately after defining
23690         subdir.
23691         (all): Remove target.
23692         * manual/Makefile: Include Makeconfig immediately after defining
23693         subdir.
23694         * math/Makefile: Likewise.
23695         * misc/Makefile: Likewise.
23696         * nis/Makefile: Likewise.
23697         * nss/Makefile: Likewise.
23698         * po/Makefile: Likewise.
23699         (all): Remove target.
23700         * posix/Makefile: Include Makeconfig immediately after defining
23701         subdir.
23702         * pwd/Makefile: Likewise.
23703         * resolv/Makefile: Likewise.
23704         * resource/Makefile: Likewise.
23705         * rt/Makefile: Likewise.
23706         * setjmp/Makefile: Likewise.
23707         * shadow/Makefile: Likewise.
23708         * signal/Makefile: Likewise.
23709         * socket/Makefile: Likewise.
23710         * soft-fp/Makefile: Likewise.
23711         * stdio-common/Makefile: Likewise.
23712         * stdlib/Makefile: Likewise.
23713         * streams/Makefile: Likewise.
23714         * string/Makefile: Likewise.
23715         * sunrpc/Makefile: Likewise.
23716         (all): Remove target.
23717         * sysvipc/Makefile: Include Makeconfig immediately after defining
23718         subdir.
23719         * termios/Makefile: Likewise.
23720         * time/Makefile: Likewise.
23721         * timezone/Makefile: Likewise.
23722         (all): Remove target.
23723         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23724         subdir.
23725         * wctype/Makefile: Likewise.
23727 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23729         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23730         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23731         (libc_feholdexcept_setround_mips): Ditto.
23732         (libc_feholdsetround): New.
23733         (libc_feholdsetroundf): New.
23734         (libc_feholdsetroundl): New.
23735         (libc_feupdateenv_test_mips): New.
23736         (libc_feupdateenv_test): New.
23737         (libc_feupdateenv_testf): New.
23738         (libc_feupdateenv_testl): New.
23739         (libc_feresetround): New.
23740         (libc_feresetroundf): New.
23741         (libc_feresetroundl): New.
23742         (libc_fetestexcept_mips): New.
23743         (libc_fetestexcept): New.
23744         (libc_fetestexceptf): New.
23745         (libc_fetestexceptl): New.
23746         (HAVE_RM_CTX): New.
23747         (libc_feholdexcept_setround_mips_ctx): New.
23748         (libc_feholdexcept_setround_ctx): New.
23749         (libc_feholdexcept_setroundf_ctx): New.
23750         (libc_feholdexcept_setroundl_ctx): New.
23751         (libc_fesetenv_mips_ctx): New.
23752         (libc_fesetenv_ctx): New.
23753         (libc_fesetenv_ctxf): New.
23754         (libc_fesetenv_ctxl): New.
23755         (libc_feupdateenv_mips_ctx): New.
23756         (libc_feupdateenv_ctx): New.
23757         (libc_feupdateenvf_ctx): New.
23758         (libc_feupdateenvl_ctx): New.
23759         (libc_feholdsetround_mips_ctx): New.
23760         (libc_feholdsetround_ctx): New.
23761         (libc_feholdsetroundf_ctx): New.
23762         (libc_feholdsetroundl_ctx): New.
23763         (libc_feresetround_mips_ctx): New.
23764         (libc_feresetround_ctx): New.
23765         (libc_feresetroundf_ctx): New.
23766         (libc_feresetroundl_ctx): New.
23768 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23770         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23772         * manual/ipc.texi: New file.
23773         * manual/Makefile (chapters): Add ipc.
23774         * manual/job.texi: Add "Inter-Process Communication" to next.
23775         * manual/process.texi: Add "Inter-Process Communication" to prev.
23777 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23781 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23783         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23785         * manual/arith.texi: Fix spaces after sentences.
23786         * manual/charset.texi: Likewise.
23787         * manual/errno.texi: Likewise.
23788         * manual/install.texi: Likewise.
23789         * manual/llio.texi: Likewise.
23790         * manual/locale.texi: Likewise.
23791         * manual/maint.texi: Likewise.
23792         * manual/math.texi: Likewise.
23793         * manual/memory.texi: Likewise.
23794         * manual/message.texi: Likewise.
23795         * manual/probes.texi: Likewise.
23796         * manual/resource.texi: Likewise.
23797         * manual/signal.texi: Likewise.
23798         * manual/socket.texi: Likewise.
23799         * manual/stdio.texi: Likewise.
23800         * manual/string.texi: Likewise.
23801         * manual/time.texi: Likewise.
23802         * manual/users.texi: Likewise.
23804 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23806         [BZ #16632]
23807         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23808         _DEFAULT_SOURCE is defined.
23810 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23811             Carlos O'Donell  <carlos@redhat.com>
23813         [BZ #16613]
23814         * elf/dl-tls.c (_dl_count_modids): New function.
23815         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23816         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23817         audit library and increment generation counter.
23818         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23819         * elf/tst-audit9.c: New file.
23820         * elf/tst-auditmod9a.c: New file.
23821         * elf/tst-auditmod9b.c: New file.
23822         * elf/Makefile: Add rules to build and run tst-audit9.
23824 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23826         [BZ #15347]
23827         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23829 2014-02-25  Will Newton  <will.newton@linaro.org>
23831         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23832         (__longjmp): Restore sp and lr before restoring callee
23833         saved registers.  Add longjmp and longjmp_target
23834         SystemTap probe point.
23835         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23836         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23837         Define to zero to match jmpbuf layout.
23838         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23839         (__sigsetjmp): Save sp and lr before saving callee
23840         saved registers.  Add setjmp SystemTap probe point.
23842 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23844         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23846 2014-02-24  Andreas Schwab  <schwab@suse.de>
23848         [BZ #15804]
23849         * elf/pldd.c (wait_for_ptrace_stop): New function.
23850         (main): Call it after attaching.
23852 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23854         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23855         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23856         Versions files is now verboten.
23857         * hurd/Versions (libc: GLIBC_2.0):
23858         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23859         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23860         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23861         * mach/Versions: Likewise.
23863         * csu/Versions: Remove unused %include.
23864         * resolv/Versions: Likewise.
23866 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23868         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23869         ($(objpfx)check-local-headers.out): Likewise.
23870         ($(objpfx)begin-end-check.out): Likewise.
23871         * Makerules (check-abi-%.out): Likewise.
23872         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23873         ($(objpfx)test2.cat): Likewise.
23874         ($(objpfx)de/libc.cat): Likewise.
23875         ($(objpfx)test-gencat.out): Likewise.
23876         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23877         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23878         ($(objpfx)noload-mem): Likewise.
23879         ($(objpfx)tst-pathopt.out): Likewise.
23880         ($(objpfx)tst-rtld-load-self.out): Likewise.
23881         ($(objpfx)tst-array1-cmp.out): Likewise.
23882         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23883         ($(objpfx)tst-array2-cmp.out): Likewise.
23884         ($(objpfx)tst-array3-cmp.out): Likewise.
23885         ($(objpfx)tst-array4-cmp.out): Likewise.
23886         ($(objpfx)tst-array5-cmp.out): Likewise.
23887         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23888         ($(objpfx)check-textrel.out): Likewise.
23889         ($(objpfx)check-execstack.out): Likewise.
23890         ($(objpfx)check-localplt.out): Likewise.
23891         ($(objpfx)order2-cmp.out): Likewise.
23892         ($(objpfx)tst-leaks1-mem): Likewise.
23893         ($(objpfx)tst-leaks1-static-mem): Likewise.
23894         ($(objpfx)tst-initorder-cmp.out): Likewise.
23895         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23896         ($(objpfx)tst-unused-dep.out): Likewise.
23897         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23898         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23899         * iconv/Makefile (test-iconvconfig): Likewise.
23900         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23901         ($(objpfx)iconv-test.out): Likewise.
23902         ($(objpfx)tst-tables.out): Likewise.
23903         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23904         ($(objpfx)tst-gettext.out): Likewise.
23905         ($(objpfx)tst-translit.out): Likewise.
23906         ($(objpfx)tst-gettext2.out): Likewise.
23907         ($(objpfx)tst-gettext4.out): Likewise.
23908         ($(objpfx)tst-gettext6.out): Likewise.
23909         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23910         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23911         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23912         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23913         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23914         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23915         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23916         ($(objpfx)wordexp-tst.out): Likewise.
23917         ($(objpfx)annexc.out): Likewise.
23918         ($(objpfx)tst-fnmatch-mem): Likewise.
23919         ($(objpfx)bug-regex2-mem): Likewise.
23920         ($(objpfx)bug-regex14-mem): Likewise.
23921         ($(objpfx)bug-regex21-mem): Likewise.
23922         ($(objpfx)bug-regex31-mem): Likewise.
23923         ($(objpfx)tst-vfork3-mem): Likewise.
23924         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23925         ($(objpfx)tst-pcre-mem): Likewise.
23926         ($(objpfx)tst-boost-mem): Likewise.
23927         ($(objpfx)tst-getconf.out): Likewise.
23928         ($(objpfx)bug-ga2-mem): Likewise.
23929         ($(objpfx)bug-glob2-mem): Likewise.
23930         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23931         ($(objpfx)mtrace-tst-leaks2): Likewise.
23932         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23933         ($(objpfx)tst-printf.out): Likewise.
23934         ($(objpfx)tst-setvbuf1.out): Likewise.
23935         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23936         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23937         ($(objpfx)tst-fmtmsg.out): Likewise.
23938         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23939         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23941         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23942         * bits/sigaction.h [__USE_MISC]: Likewise.
23943         * bits/waitstatus.h: Update #endif comments.
23944         * ctype/ctype.h: Likewise.
23945         * dirent/dirent.h: Likewise.
23946         [__USE_MISC]: Remove redundant conditionals.
23947         * grp/grp.h: Update #endif comments.
23948         [__USE_GNU]: Remove redundant conditionals.
23949         [__USE_MISC]: Likewise.
23950         * inet/netinet/in.h [__USE_GNU]: Likewise.
23951         * io/sys/stat.h [__USE_MISC]: Likewise.
23952         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23953         * libio/bits/stdio.h: Update #endif comments.
23954         [__USE_MISC]: Remove redundant conditionals.
23955         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23956         * libio/stdio.h: Update #endif comments.
23957         [__USE_MISC]: Remove redundant conditionals.
23958         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23959         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23960         * math/math.h: Update #else and #endif comments.
23961         [__USE_MISC]: Remove redundant conditionals.
23962         * misc/sys/uio.h: Update #endif comments.
23963         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23964         * posix/glob.h [__USE_MISC]: Likewise.
23965         * posix/sys/types.h: Update #endif comments.
23966         [__USE_MISC]: Remove redundant conditionals.
23967         * posix/sys/wait.h: Update #endif comments.
23968         [__USE_MISC]: Remove redundant conditionals.
23969         * posix/unistd.h: Update #endif comments.
23970         [__USE_MISC]: Remove redundant conditionals.
23971         * pwd/pwd.h [__USE_GNU]: Likewise.
23972         [__USE_MISC]: Likewise.
23973         * resolv/netdb.h [__USE_GNU]: Likewise.
23974         * signal/signal.h: Update #endif comments.
23975         [__USE_MISC]: Remove redundant conditionals.
23976         * stdlib/stdlib.h: Update #else and #endif comments.
23977         [__USE_MISC]: Remove redundant conditionals.
23978         [__USE_GNU]: Likewise.
23979         * string/bits/string2.h [__USE_MISC]: Likewise.
23980         * string/string.h: Update #endif comments.
23981         [__USE_MISC]: Remove redundant conditionals.
23982         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23983         Likewise.
23984         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23985         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23986         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23987         Likewise.
23988         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23989         Likewise.
23990         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23991         comments.
23992         [__USE_MISC]: Remove redundant conditionals.
23993         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23994         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23995         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23996         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23997         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23998         Likewise.
23999         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24000         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24001         Likewise.
24002         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24003         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24004         Likewise.
24005         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24006         Likewise.
24007         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24008         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24009         Likewise.
24010         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24011         Likewise.
24012         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24013         * sysdeps/x86/bits/string.h: Update #endif comments.
24014         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24015         conditionals.
24016         * time/sys/time.h: Update #endif comments.
24017         * time/time.h: Likewise.
24018         [__USE_MISC]: Remove redundant conditionals.
24020 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24022         [BZ #16600]
24023         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24025 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24027         * Versions.def (librt): Add GLIBC_2.17.
24029 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24031         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24032         synonym for _SYS_AUXV_H to allow direct inclusion.
24033         * sysdeps/sparc/bits/hwcap.h: Likewise.
24034         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24035         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24036         * sysdeps/sparc/sysdep.h: Likewise.
24038 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24040         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24042 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24044         * benchtests/bench-strrchr.c: Print length instead of position.
24046 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24048         [BZ #16611]
24049         * sysdeps/unix/sysv/linux/kernel-features.h
24050         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24051         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24052         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24053         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24054         Likewise.
24055         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24056         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24057         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24058         (__ASSUME_SENDMMSG): Define instead of using previous
24059         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24060         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24061         (__ASSUME_SENDMMSG_SYSCALL): Define.
24062         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24063         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24064         Likewise.
24065         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24066         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24067         Likewise.
24068         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24069         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24070         Likewise.
24071         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24072         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24073         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24074         [__ASSUME_SENDMMSG]: Change conditionals to
24075         [__ASSUME_SENDMMSG_SOCKETCALL].
24076         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24077         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24078         Define.
24079         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24080         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24081         Likewise.
24082         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24083         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24084         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24085         [!__ASSUME_SENDMMSG]: Change conditional to
24086         [!__ASSUME_SENDMMSG_SOCKETCALL].
24087         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24088         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24089         Define.
24091         [BZ #16610]
24092         * sysdeps/unix/sysv/linux/kernel-features.h
24093         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24094         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24095         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24096         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24097         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24098         [__i386__ || __sparc__]
24099         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24100         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24101         (__ASSUME_RECVMMSG): Define instead of using previous
24102         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24103         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24104         (__ASSUME_RECVMMSG_SYSCALL): Define.
24105         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24106         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24107         Likewise.
24108         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24109         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24110         Likewise.
24111         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24112         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24113         Likewise.
24114         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24115         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24116         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24117         [__ASSUME_RECVMMSG]: Change condition to
24118         [__ASSUME_RECVMMSG_SOCKETCALL].
24119         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24120         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24121         Define.
24122         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24123         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24124         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24125         Likewise.
24126         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24127         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24128         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24129         [!__ASSUME_RECVMMSG]: Change condition to
24130         [!__ASSUME_RECVMMSG_SOCKETCALL].
24131         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24132         (__ASSUME_RECVMMSG_SYSCALL): Define.
24134         [BZ #16609]
24135         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24136         __powerpc__ || __s390__ || __sh__ || __sparc__]
24137         (__ASSUME_SOCKETCALL): Define.
24138         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24139         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24140         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24141         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24142         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24143         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24144         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24145         (__ASSUME_ACCEPT4): Define instead of using previous
24146         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24147         __powerpc__ || __sparc__ || __s390__)] condition.
24148         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24149         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24150         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24151         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24152         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24153         [!__ASSUME_ACCEPT4]: Change condition to
24154         [!__ASSUME_ACCEPT4_SOCKETCALL].
24155         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24156         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24157         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24158         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24159         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24160         __ASSUME_ACCEPT4_SYSCALL.
24161         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24162         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24163         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24164         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24165         __ASSUME_ACCEPT4_SYSCALL.
24166         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24167         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24168         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24169         [__ASSUME_ACCEPT4]: Change condition to
24170         [__ASSUME_ACCEPT4_SOCKETCALL].
24171         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24172         (__ASSUME_SOCKETCALL): Define.
24173         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24174         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24175         (__ASSUME_SOCKETCALL): Define.
24176         (__ASSUME_ACCEPT4): Remove.
24177         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24178         Define.
24179         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24180         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24181         Likewise.
24182         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24183         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24185         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24186         macro.
24187         (HWCAP_ARM_LPAE): Likewise.
24188         (HWCAP_ARM_EVTSTRM): Likewise.
24189         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24190         Add vpfd32, lpae and evtstrm.
24191         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24192         Increase to 22.
24194 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24196         * math/auto-libm-test-in: Add tests of clog10.
24197         * math/auto-libm-test-out: Regenerated.
24198         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24199         * sysdeps/i386/fpu/libm-test-ulps: Update.
24200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24202 2014-02-18  Andreas Schwab  <schwab@suse.de>
24204         [BZ #16574]
24205         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24206         Store non-zero if the second buffer was newly allocated.
24207         (send_dg): Likewise.
24208         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24209         to send_vc and send_dg.
24210         (res_nsend): Pass NULL for ansp2_malloced.
24211         * resolv/res_query.c (__libc_res_nquery): Add parameter
24212         answerp2_malloced and pass it down to __libc_res_nsend.
24213         (res_nquery): Pass additional NULL to __libc_res_nquery.
24214         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24215         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24216         second answer buffer if answerp2_malloced was set.
24217         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24218         (__libc_res_nquerydomain): Add parameter
24219         answerp2_malloced and pass it down to __libc_res_nquery.
24220         (res_nquerydomain): Pass additional NULL to
24221         __libc_res_nquerydomain.
24222         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24223         additional NULL to __libc_res_nsend and __libc_res_nquery.
24224         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24225         additional NULL to __libc_res_nsearch.
24226         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24227         parameter of __libc_res_nsearch to check for separately allocated
24228         second buffer.
24229         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24230         __libc_res_nquery.
24231         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24232         additional NULL to __libc_res_nquery.
24233         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24234         __libc_res_nsearch.
24235         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24236         * include/resolv.h: Update prototypes of __libc_res_nquery,
24237         __libc_res_nsearch, __libc_res_nsend.
24239 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24241         * math/auto-libm-test-in: Add tests of fma.
24242         * math/auto-libm-test-out: Regenerated.
24243         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24244         (fma_towardzero_test_data): Likewise.
24245         (fma_downward_test_data): Likewise.
24246         (fma_upward_test_data): Likewise.
24247         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24248         mpc_mode.
24249         (rounding_modes): Add values for new field.
24250         (func_calc_method): Add value mpfr_fff_f.
24251         (func_calc_desc): Add mpfr_fff_f union field.
24252         (test_function): Add field exact_args.
24253         (FUNC): Add macro argument EXACT_ARGS.
24254         (FUNC_mpfr_f_f): Update call to FUNC.
24255         (FUNC_mpfr_f_f): Likewise.
24256         (FUNC_mpfr_ff_f): Likewise.
24257         (FUNC_mpfr_if_f): Likewise.
24258         (FUNC_mpc_c_f): Likewise.
24259         (FUNC_mpc_c_c): Likewise.
24260         (test_functions): Add fma.  Update calls to FUNC.
24261         (handle_input_arg): Add argument exact_args.
24262         (add_test): Update call to handle_input_arg.
24263         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24264         (output_for_one_input_case): Update call to calc_generic_results.
24265         Recalculate exact zero results in each rounding mode.
24267         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24268         non-negative before setting low bit.
24269         * math/auto-libm-test-in: Mark one asin test possibly having
24270         spurious underflow.
24271         * math/auto-libm-test-out: Regenerated.
24272         * sysdeps/i386/fpu/libm-test-ulps: Update.
24273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24275 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24277         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24278         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24279         ports/sysdeps/unix/sysv/linux/microblaze.
24280         * README: Add missing listing for microblaze*-*-linux-gnu.
24282 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24284         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24285         duplicate code
24287 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24289         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24290         * sysdeps/unix/sysv/linux/ia64: Move directory from
24291         ports/sysdeps/unix/sysv/linux/ia64.
24292         * README: Update listing for ia64-*-linux-gnu.
24294 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24295             Joseph Myers  <joseph@codesourcery.com>
24297         * Makeconfig (test-name): New variable.
24298         (evaluate-test): Likewise.
24299         * Makerules (do-test-clean): Remove .test-result files.
24300         (common-mostlyclean): Likewise.
24301         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24302         * scripts/evaluate-test.sh: New file.
24304 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24306         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24307         separate $(objpfx)tst-fopenloc-cmp.out and
24308         $(objpfx)tst-fopenloc-mem.out targets.
24309         (tests): Update dependencies.
24310         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24311         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24312         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24313         (tst-rxspencer-no-utf8-ARGS): New variable.
24314         (tst-rxspencer-no-utf8-ENV): Likewise.
24315         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24316         instead of $(objpfx)tst-rxspencer-mem.
24317         ($(objpfx)tst-rxspencer-mem): Change target to
24318         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24319         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24320         * posix/tst-rxspencer-no-utf8.c: New file.
24322         * elf/Makefile ($(objpfx)order.out): Remove rule.
24323         [$(run-built-tests) = yes] (tests): Depend on
24324         $(objpfx)order-cmp.out.
24325         ($(objpfx)order-cmp.out): New rule.
24326         [$(run-built-tests) = yes] (tests): Depend on
24327         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24328         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24329         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24330         $(objpfx)tst-array5-static-cmp.out.
24331         ($(objpfx)tst-array1.out): Remove rule.
24332         ($(objpfx)tst-array1-cmp.out): New rule.
24333         ($(objpfx)tst-array1-static.out): Remove rule.
24334         ($(objpfx)tst-array1-static-cmp.out): New rule.
24335         ($(objpfx)tst-array2.out): Remove rule.
24336         ($(objpfx)tst-array2-cmp.out): New rule.
24337         ($(objpfx)tst-array3.out): Remove rule.
24338         ($(objpfx)tst-array3-cmp.out): New rule.
24339         ($(objpfx)tst-array4.out): Remove rule.
24340         ($(objpfx)tst-array4-cmp.out): New rule.
24341         ($(objpfx)tst-array5.out): Remove rule.
24342         ($(objpfx)tst-array5-cmp.out): New rule.
24343         ($(objpfx)tst-array5-static.out): Remove rule.
24344         ($(objpfx)tst-array5-static-cmp.out): New rule.
24345         [$(run-built-tests) = yes] (tests): Depend on
24346         $(objpfx)order2-cmp.out.
24347         ($(objpfx)order2.out): Remove rule.
24348         ($(objpfx)order2-cmp.out): New rule.
24349         ($(objpfx)tst-initorder.out): Remove rule.
24350         [$(run-built-tests) = yes] (tests): Depend on
24351         $(objpfx)tst-initorder-cmp.out.
24352         ($(objpfx)tst-initorder-cmp.out): New rule.
24353         ($(objpfx)tst-initorder2.out): Remove rule.
24354         [$(run-built-tests) = yes] (tests): Depend on
24355         $(objpfx)tst-initorder2-cmp.out.
24356         ($(objpfx)tst-initorder2-cmp.out): New rule.
24357         [$(run-built-tests) = yes] (tests): Depend on
24358         $(objpfx)tst-unused-dep-cmp.out.
24359         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24360         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24361         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24362         on $(objpfx)tst-setvbuf1-cmp.out.
24363         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24364         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24365         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24366         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24367         ($(objpfx)tst-svc.out): Remove rule.
24368         ($(objpfx)tst-svc-cmp.out): New rule.
24370 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24372         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24373         * ctype/ctype.h [__USE_MISC]: Likewise.
24374         * dirent/dirent.h [__USE_MISC]: Likewise.
24375         * grp/grp.h [__USE_MISC]: Likewise.
24376         * io/fcntl.h [__USE_MISC]: Likewise.
24377         * io/sys/stat.h [__USE_MISC]: Likewise.
24378         * libio/stdio.h [__USE_MISC]: Likewise.
24379         * posix/unistd.h [__USE_MISC]: Likewise.
24380         * pwd/pwd.h [__USE_MISC]: Likewise.
24381         * stdlib.h [__USE_MISC]: Likewise.
24382         * string/bits/string2.h [__USE_MISC]: Likewise.
24383         * string/string.h [__USE_MISC]: Likewise.
24384         * time/time.h [__USE_MISC]: Likewise.
24386 2014-02-13  Andreas Schwab  <schwab@suse.de>
24388         [BZ #16574]
24389         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24390         second answer buffer if it was separately allocated.
24392 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24394         * sysdeps/mips/math-tests.h: Include <features.h>.
24395         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24396         (ROUNDING_TESTS_long_double): Do not define.
24397         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24398         (EXCEPTION_TESTS_long_double): Likewise.
24399         * sysdeps/mips/mips64/libm-test-ulps: Update.
24401         * include/features.h (__USE_BSD): Remove macro definitions.
24402         (__USE_SVID): Likewise.
24403         (_BSD_SOURCE): Likewise.
24404         (_SVID_SOURCE): Likewise.
24405         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24406         from definition of _DEFAULT_SOURCE.
24407         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24408         [_DEFAULT_SOURCE].
24409         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24410         * bits/mman.h [__USE_BSD]: Likewise.
24411         * bits/termios.h [__USE_BSD]: Likewise.
24412         * bits/waitstatus.h [__USE_BSD]: Likewise.
24413         * ctype/ctype.h [__USE_SVID]: Likewise.
24414         * dirent/dirent.h [__USE_BSD]: Likewise.
24415         * grp/grp.h [__USE_SVID]: Likewise.
24416         [__USE_BSD]: Likewise.
24417         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24418         * io/fcntl.h [__USE_BSD]: Likewise.
24419         * io/ftw.h [__USE_BSD]: Likewise.
24420         * io/sys/stat.h [__USE_BSD]: Likewise.
24421         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24422         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24423         * libio/stdio.h [__USE_SVID]: Likewise.
24424         [__USE_BSD]: Likewise.
24425         * math/math.h [__USE_SVID]: Likewise.
24426         [__USE_BSD]: Likewise.
24427         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24428         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24429         * misc/search.h [__USE_SVID]: Likewise.
24430         * misc/sys/mman.h [__USE_BSD]: Likewise.
24431         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24432         * misc/sys/uio.h [__USE_BSD]: Likewise.
24433         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24434         * posix/glob.h [__USE_BSD]: Likewise.
24435         * posix/regex.h [__USE_BSD]: Likewise.
24436         * posix/sys/types.h [__USE_BSD]: Likewise.
24437         [__USE_SVID]: Likewise.
24438         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24439         * posix/sys/wait.h [__USE_BSD]: Likewise.
24440         [__USE_SVID]: Likewise.
24441         * posix/unistd.h [__USE_BSD]: Likewise.
24442         [__USE_SVID]: Likewise.
24443         * pwd/pwd.h [__USE_SVID]: Likewise.
24444         * resolv/netdb.h [__USE_BSD]: Likewise.
24445         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24446         * signal/signal.h [__USE_BSD]: Likewise.
24447         [__USE_SVID]: Likewise.
24448         * socket/sys/socket.h [__USE_BSD]: Likewise.
24449         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24450         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24451         [__USE_SVID]: Likewise.
24452         * string/bits/string2.h [__USE_BSD]: Likewise.
24453         [__USE_SVID]: Likewise.
24454         * string/bits/string3.h [__USE_BSD]: Likewise.
24455         * string/endian.h [__USE_BSD]: Likewise.
24456         * string/string.h [__USE_SVID]: Likewise.
24457         [__USE_BSD]: Likewise.
24458         * string/strings.h [__USE_BSD]: Likewise.
24459         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24460         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24461         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24462         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24463         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24464         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24465         Likewise.
24466         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24467         Likewise.
24468         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24469         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24470         Likewise.
24471         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24472         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24473         Likewise.
24474         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24475         Likewise.
24476         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24477         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24478         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24479         Likewise.
24480         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24481         Likewise.
24482         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24483         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24484         * termios/termios.h [__USE_BSD]: Likewise.
24485         * time/sys/time.h [__USE_BSD]: Likewise.
24486         * time/time.h [__USE_BSD]: Likewise.
24487         [__USE_SVID]: Likewise.
24489         * Makefile (subdir_targets): Remove subdir_lint.out.
24491         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24492         (do-tst-printf): Likewise.
24493         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24494         $(objpfx)tst-printf.out.
24496         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24498         * Makerules (check-abi-%): Change target to
24499         $(objpfx)check-abi-%.out.
24500         (check-abi target): Update dependencies.
24501         (check-abi-pattern variable): Redirect output of diff to $@.
24502         (check-abi variable): Likewise.
24503         * elf/Makefile (check-abi): Update dependencies.
24505         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24506         unused.
24507         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24508         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24509         subnormal range.
24510         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24511         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24512         value has largest subnormal exponent.
24513         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24514         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24515         * sysdeps/aarch64/soft-fp/sfp-machine.h
24516         (_FP_TININESS_AFTER_ROUNDING): New macro.
24517         * sysdeps/alpha/soft-fp/sfp-machine.h
24518         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24519         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24520         Likewise.
24521         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24522         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24523         * sysdeps/mips/soft-fp/sfp-machine.h
24524         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24525         * sysdeps/powerpc/soft-fp/sfp-machine.h
24526         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24527         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24528         Likewise.
24529         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24530         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24531         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24532         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24533         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24534         Likewise.
24536 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24538         [BZ #16545]
24539         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24540         model 1.
24542 2014-02-12  Richard Henderson  <rth@redhat.com>
24544         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24545         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24546         * sysdeps/unix/sysv/linux/alpha: Move directory from
24547         ports/sysdeps/unix/sysv/linux/alpha.
24548         * README: Update listing for alpha-*-linux-gnu.
24550 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24552         * include/features.h: Update comment documenting feature test
24553         macros.
24554         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24555         _DEFAULT_SOURCE.
24556         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24557         (_SVID_SOURCE): Likewise.
24558         (_DEFAULT_SOURCE): Update description of default features.
24559         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24560         with _GNU_SOURCE.
24561         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24562         (S_ISVTX): Likewise.
24563         * manual/math.texi (Mathematical Constants): Likewise.
24564         * manual/signal.texi (Interrupted Primitives): Likewise.
24565         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24566         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24567         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24568         Don't refer to _SVID_SOURCE in warning text.
24570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24572         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24573         already defined.
24574         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24575         * sysdeps/mips/dl-lookup.c: Remove.
24576         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24578 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24580         [BZ #16447]
24581         * math/auto-libm-test-in: Add testcase for expl.
24582         * math/auto-libm-test-out: Regenerate.
24583         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24584         calculation of unsafe.
24585         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24587 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24589         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24590         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24591         ports/sysdeps/unix/sysv/linux/aarch64.
24592         * README: Update listing for aarch64*-*-linux-gnu.
24594 2014-02-11  Will Newton  <will.newton@linaro.org>
24596         * manual/probes.texi (Mathematical Function Probes): Use
24597         "triggered" instead of "hit".
24599         * manual/probes.texi (Internal Probes): Add documentation
24600         of setjmp, longjmp and longjmp_target probes.
24602         * include/stap-probe.h: Add comment about probe argument
24603         format.
24605         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24606         definition.  (tr_where, tr_freehook, tr_mallochook,
24607         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24609 2014-02-11  David S. Miller  <davem@davemloft.net>
24611         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24612         processing int_tests.
24614 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24616         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24617         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24618         * sysdeps/unix/sysv/linux/mips: Move directory from
24619         ports/sysdeps/unix/sysv/linux/mips.
24620         * README: Update listing for mips-*-linux-gnu and
24621         mips64-*-linux-gnu.
24623 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24625         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24626         * sysdeps/unix/sysv/linux/m68k: Move directory from
24627         ports/sysdeps/unix/sysv/linux/m68k.
24628         * README: Update listing for m68k-*-linux-gnu.
24630 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24632         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24633         * sysdeps/unix/sysv/linux/generic: Move directory from
24634         ports/sysdeps/unix/sysv/linux/generic.
24635         * sysdeps/unix/sysv/linux/tile: Move directory from
24636         ports/sysdeps/unix/sysv/linux/tile.
24637         * README: Update listing for tile*-*-linux-gnu.
24639 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24641         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24642         __builtin_expect.
24643         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24644         * catgets/open_catalog.c (__open_catalog): Likewise.
24645         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24646         * debug/confstr_chk.c: Likewise.
24647         * debug/fread_chk.c (__fread_chk): Likewise.
24648         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24649         * debug/getgroups_chk.c: Likewise.
24650         * debug/mbsnrtowcs_chk.c: Likewise.
24651         * debug/mbsrtowcs_chk.c: Likewise.
24652         * debug/mbstowcs_chk.c: Likewise.
24653         * debug/memcpy_chk.c: Likewise.
24654         * debug/memmove_chk.c: Likewise.
24655         * debug/mempcpy_chk.c: Likewise.
24656         * debug/memset_chk.c: Likewise.
24657         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24658         * debug/strcat_chk.c (__strcat_chk): Likewise.
24659         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24660         * debug/strncat_chk.c (__strncat_chk): Likewise.
24661         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24662         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24663         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24664         * debug/wcpncpy_chk.c: Likewise.
24665         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24666         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24667         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24668         * debug/wcsncpy_chk.c: Likewise.
24669         * debug/wcsnrtombs_chk.c: Likewise.
24670         * debug/wcsrtombs_chk.c: Likewise.
24671         * debug/wcstombs_chk.c: Likewise.
24672         * debug/wmemcpy_chk.c: Likewise.
24673         * debug/wmemmove_chk.c: Likewise.
24674         * debug/wmempcpy_chk.c: Likewise.
24675         * debug/wmemset_chk.c: Likewise.
24676         * dirent/scandirat.c (SCANDIRAT): Likewise.
24677         * dlfcn/dladdr1.c (dladdr1): Likewise.
24678         * dlfcn/dladdr.c (dladdr): Likewise.
24679         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24680         * dlfcn/dlerror.c (__dlerror): Likewise.
24681         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24682         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24683         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24684         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24685         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24686         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24687         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24688         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24689         Likewise.
24690         * elf/dl-conflict.c: Likewise.
24691         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24692         * elf/dl-dst.h: Likewise.
24693         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24694         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24695         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24696         * elf/dl-init.c (call_init, _dl_init): Likewise.
24697         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24698         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24699         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24700         Likewise.
24701         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24702         Likewise.
24703         * elf/dl-minimal.c (__libc_memalign): Likewise.
24704         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24705         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24706         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24707         * elf/dl-sym.c (do_sym): Likewise.
24708         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24709         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24710         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24711         * elf/dl-writev.h (_dl_writev): Likewise.
24712         * elf/ldconfig.c (search_dir): Likewise.
24713         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24714         (dl_main): Likewise.
24715         * elf/setup-vdso.h (setup_vdso): Likewise.
24716         * grp/compat-initgroups.c (compat_call): Likewise.
24717         * grp/fgetgrent.c (fgetgrent): Likewise.
24718         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24719         * grp/putgrent.c (putgrent): Likewise.
24720         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24721         Likewise.
24722         * hurd/hurdinit.c: Likewise.
24723         * iconvdata/8bit-gap.c (struct): Likewise.
24724         * iconvdata/ansi_x3.110.c : Likewise.
24725         * iconvdata/big5.c : Likewise.
24726         * iconvdata/big5hkscs.c : Likewise.
24727         * iconvdata/cp1255.c: Likewise.
24728         * iconvdata/cp1258.c : Likewise.
24729         * iconvdata/cp932.c : Likewise.
24730         * iconvdata/euc-cn.c: Likewise.
24731         * iconvdata/euc-jisx0213.c : Likewise.
24732         * iconvdata/euc-jp.c: Likewise.
24733         * iconvdata/euc-jp-ms.c : Likewise.
24734         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24735         * iconvdata/gb18030.c : Likewise.
24736         * iconvdata/gbbig5.c (const): Likewise.
24737         * iconvdata/gbgbk.c: Likewise.
24738         * iconvdata/gbk.c : Likewise.
24739         * iconvdata/ibm1364.c : Likewise.
24740         * iconvdata/ibm930.c : Likewise.
24741         * iconvdata/ibm932.c: Likewise.
24742         * iconvdata/ibm933.c : Likewise.
24743         * iconvdata/ibm935.c : Likewise.
24744         * iconvdata/ibm937.c : Likewise.
24745         * iconvdata/ibm939.c : Likewise.
24746         * iconvdata/ibm943.c: Likewise.
24747         * iconvdata/iso_11548-1.c: Likewise.
24748         * iconvdata/iso-2022-cn.c : Likewise.
24749         * iconvdata/iso-2022-cn-ext.c : Likewise.
24750         * iconvdata/iso-2022-jp-3.c: Likewise.
24751         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24752         * iconvdata/iso-2022-kr.c : Likewise.
24753         * iconvdata/iso646.c (gconv_end): Likewise.
24754         * iconvdata/iso_6937-2.c : Likewise.
24755         * iconvdata/iso_6937.c : Likewise.
24756         * iconvdata/iso8859-1.c: Likewise.
24757         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24758         * iconvdata/shift_jisx0213.c : Likewise.
24759         * iconvdata/sjis.c : Likewise.
24760         * iconvdata/t.61.c : Likewise.
24761         * iconvdata/tcvn5712-1.c : Likewise.
24762         * iconvdata/tscii.c: Likewise.
24763         * iconvdata/uhc.c : Likewise.
24764         * iconvdata/unicode.c (gconv_end): Likewise.
24765         * iconvdata/utf-16.c (gconv_end): Likewise.
24766         * iconvdata/utf-32.c (gconv_end): Likewise.
24767         * iconvdata/utf-7.c (base64): Likewise.
24768         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24769         * iconv/gconv_close.c (__gconv_close): Likewise.
24770         * iconv/gconv_open.c (__gconv_open): Likewise.
24771         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24772         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24773         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24774         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24775         (ucs4le_internal_loop_single): Likewise.
24776         * iconv/iconv.c (iconv): Likewise.
24777         * iconv/iconv_close.c: Likewise.
24778         * iconv/loop.c (SINGLE): Likewise.
24779         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24780         * include/atomic.h: Likewise.
24781         * inet/inet6_option.c (option_alloc): Likewise.
24782         * intl/bindtextdom.c (set_binding_values): Likewise.
24783         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24784         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24785         * intl/localealias.c (read_alias_file): Likewise.
24786         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24787         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24788         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24789         * libio/fmemopen.c (fmemopen): Likewise.
24790         * libio/iofgets.c (_IO_fgets): Likewise.
24791         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24792         * libio/iofgetws.c (fgetws): Likewise.
24793         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24794         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24795         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24796         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24797         * locale/findlocale.c (_nl_find_locale): Likewise.
24798         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24799         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24800         Likewise.
24801         * locale/setlocale.c (setlocale): Likewise.
24802         * login/programs/pt_chown.c (main): Likewise.
24803         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24804         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24805         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24806         (mmap, mmap64, mremap, munmap): Likewise.
24807         * math/e_exp2l.c: Likewise.
24808         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24809         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24810         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24811         * math/s_catan.c (__catan): Likewise.
24812         * math/s_catanf.c (__catanf): Likewise.
24813         * math/s_catanh.c (__catanh): Likewise.
24814         * math/s_catanhf.c (__catanhf): Likewise.
24815         * math/s_catanhl.c (__catanhl): Likewise.
24816         * math/s_catanl.c (__catanl): Likewise.
24817         * math/s_ccosh.c (__ccosh): Likewise.
24818         * math/s_ccoshf.c (__ccoshf): Likewise.
24819         * math/s_ccoshl.c (__ccoshl): Likewise.
24820         * math/s_cexp.c (__cexp): Likewise.
24821         * math/s_cexpf.c (__cexpf): Likewise.
24822         * math/s_cexpl.c (__cexpl): Likewise.
24823         * math/s_clog10.c (__clog10): Likewise.
24824         * math/s_clog10f.c (__clog10f): Likewise.
24825         * math/s_clog10l.c (__clog10l): Likewise.
24826         * math/s_clog.c (__clog): Likewise.
24827         * math/s_clogf.c (__clogf): Likewise.
24828         * math/s_clogl.c (__clogl): Likewise.
24829         * math/s_csin.c (__csin): Likewise.
24830         * math/s_csinf.c (__csinf): Likewise.
24831         * math/s_csinh.c (__csinh): Likewise.
24832         * math/s_csinhf.c (__csinhf): Likewise.
24833         * math/s_csinhl.c (__csinhl): Likewise.
24834         * math/s_csinl.c (__csinl): Likewise.
24835         * math/s_csqrt.c (__csqrt): Likewise.
24836         * math/s_csqrtf.c (__csqrtf): Likewise.
24837         * math/s_csqrtl.c (__csqrtl): Likewise.
24838         * math/s_ctan.c (__ctan): Likewise.
24839         * math/s_ctanf.c (__ctanf): Likewise.
24840         * math/s_ctanh.c (__ctanh): Likewise.
24841         * math/s_ctanhf.c (__ctanhf): Likewise.
24842         * math/s_ctanhl.c (__ctanhl): Likewise.
24843         * math/s_ctanl.c (__ctanl): Likewise.
24844         * math/w_pow.c: Likewise.
24845         * math/w_powf.c: Likewise.
24846         * math/w_powl.c: Likewise.
24847         * math/w_scalb.c (sysv_scalb): Likewise.
24848         * math/w_scalbf.c (sysv_scalbf): Likewise.
24849         * math/w_scalbl.c (sysv_scalbl): Likewise.
24850         * misc/error.c (error_tail): Likewise.
24851         * misc/pselect.c (__pselect): Likewise.
24852         * nis/nis_callback.c (__nis_create_callback): Likewise.
24853         * nis/nis_call.c (__nisfind_server): Likewise.
24854         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24855         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24856         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24857         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24858         * nis/nis_lookup.c (nis_lookup): Likewise.
24859         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24860         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24861         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24862         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24863         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24864         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24865         * nis/nss_compat/compat-initgroups.c (add_group)
24866         (internal_getgrent_r): Likewise.
24867         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24868         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24869         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24870         (internal_getspnam_r): Likewise.
24871         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24872         (_nss_nis_getaliasbyname_r): Likewise.
24873         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24874         (_nss_nis_getntohost_r): Likewise.
24875         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24876         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24877         (_nss_nis_getgrgid_r): Likewise.
24878         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24879         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24880         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24881         (_nss_nis_gethostbyname4_r): Likewise.
24882         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24883         (initgroups_netid): Likewise.
24884         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24885         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24886         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24887         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24888         (_nss_nis_getprotobynumber_r): Likewise.
24889         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24890         (_nss_nis_getsecretkey): Likewise.
24891         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24892         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24893         (_nss_nis_getpwuid_r): Likewise.
24894         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24895         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24896         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24897         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24898         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24899         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24900         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24901         Likewise.
24902         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24903         (_nss_nisplus_getntohost_r): Likewise.
24904         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24905         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24906         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24907         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24908         Likewise.
24909         * nis/nss_nisplus/nisplus-initgroups.c
24910         (_nss_nisplus_initgroups_dyn): Likewise.
24911         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24912         (_nss_nisplus_getnetbyaddr_r): Likewise.
24913         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24914         (_nss_nisplus_getprotobynumber_r): Likewise.
24915         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24916         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24917         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24918         Likewise.
24919         * nis/nss_nisplus/nisplus-service.c
24920         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24921         (_nss_nisplus_getservbyport_r): Likewise.
24922         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24923         (_nss_nisplus_getspnam_r): Likewise.
24924         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24925         Likewise.
24926         * nscd/aicache.c (addhstaiX): Likewise.
24927         * nscd/cache.c (cache_search, prune_cache): Likewise.
24928         * nscd/connections.c (register_traced_file, send_ro_fd)
24929         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24930         (main_loop_epoll): Likewise.
24931         * nscd/grpcache.c (addgrbyX): Likewise.
24932         * nscd/hstcache.c (addhstbyX): Likewise.
24933         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24934         * nscd/mem.c (gc, mempool_alloc): Likewise.
24935         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24936         (addinnetgrX): Likewise.
24937         * nscd/nscd-client.h (__nscd_acquire_maplock)
24938         (__nscd_drop_map_ref): Likewise.
24939         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24940         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24941         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24942         Likewise.
24943         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24944         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24945         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24946         (__nscd_get_map_ref): Likewise.
24947         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24948         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24949         Likewise.
24950         * nscd/pwdcache.c (addpwbyX): Likewise.
24951         * nscd/selinux.c (preserve_capabilities): Likewise.
24952         * nscd/servicescache.c (addservbyX): Likewise.
24953         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24954         * posix/fnmatch.c (fnmatch): Likewise.
24955         * posix/getopt.c (_getopt_internal_r): Likewise.
24956         * posix/glob.c (glob, glob_in_dir): Likewise.
24957         * posix/wordexp.c (exec_comm_child): Likewise.
24958         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24959         (getanswer_r, gaih_getanswer_slice): Likewise.
24960         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24961         * resolv/res_init.c: Likewise.
24962         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24963         * resolv/res_query.c (__libc_res_nquery): Likewise.
24964         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24965         Likewise.
24966         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24967         * stdio-common/perror.c (perror): Likewise.
24968         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24969         * stdio-common/tmpnam.c (tmpnam): Likewise.
24970         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24971         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24972         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24973         Likewise.
24974         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24975         * stdlib/putenv.c (putenv): Likewise.
24976         * stdlib/setenv.c (__add_to_environ): Likewise.
24977         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24978         * stdlib/strtol_l.c (INTERNAL): Likewise.
24979         * string/memmem.c (memmem): Likewise.
24980         * string/strerror.c (strerror): Likewise.
24981         * string/strnlen.c (__strnlen): Likewise.
24982         * string/test-memmem.c (simple_memmem): Likewise.
24983         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24984         * sunrpc/pm_getport.c (__get_socket): Likewise.
24985         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24986         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24987         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24988         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24989         Likewise.
24990         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24991         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24992         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24993         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24994         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24995         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24996         Likewise.
24997         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24998         Likewise.
24999         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25000         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25001         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25002         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25003         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25004         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25005         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25006         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25007         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25008         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25009         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25010         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25011         Likewise.
25012         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25013         Likewise.
25014         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25015         Likewise.
25016         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25017         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25018         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25019         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25020         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25021         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25022         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25023         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25024         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25025         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25026         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25027         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25028         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25029         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25030         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25031         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25032         Likewise.
25033         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25034         Likewise.
25035         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25036         Likewise.
25037         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25038         Likewise.
25039         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25040         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25041         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25042         Likewise.
25043         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25044         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25045         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25046         * sysdeps/posix/sleep.c: Likewise.
25047         * sysdeps/posix/tempname.c: Likewise.
25048         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25049         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25050         Likewise.
25051         * sysdeps/powerpc/powerpc32/dl-machine.h
25052         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25053         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25054         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25055         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25056         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25057         Likewise.
25058         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25059         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25060         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25061         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25062         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25063         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25064         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25065         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25066         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25067         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25068         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25069         (elf_machine_lazy_rel): Likewise.
25070         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25071         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25072         (elf_machine_lazy_rel): Likewise.
25073         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25074         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25075         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25076         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25077         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25078         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25079         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25080         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25081         Likewise.
25082         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25083         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25084         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25085         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25086         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25087         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25088         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25089         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25090         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25091         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25092         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25093         Likewise.
25094         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25095         (__posix_fallocate64_l64): Likewise.
25096         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25097         (posix_fallocate): Likewise.
25098         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25099         Likewise.
25100         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25101         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25102         (getifaddrs_internal): Likewise.
25103         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25104         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25105         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25106         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25107         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25108         (__posix_fallocate64_l64): Likewise.
25109         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25110         Likewise.
25111         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25112         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25113         (__get_clockfreq): Likewise.
25114         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25115         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25116         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25117         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25118         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25119         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25120         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25121         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25122         Likewise.
25123         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25124         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25125         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25126         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25127         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25128         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25129         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25130         Likewise.
25131         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25132         (posix_fallocate): Likewise.
25133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25134         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25135         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25136         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25137         (elf_machine_rela, elf_machine_rela_relative)
25138         (elf_machine_lazy_rel): Likewise.
25139         * time/asctime.c (asctime_internal): Likewise.
25140         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25141         * time/tzset.c (__tzset_parse_tz): Likewise.
25142         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25143         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25144         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25145         * wcsmbs/wcsmbsload.h: Likewise.
25147         [BZ #15894]
25148         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25150         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25151         (arena_get2): Remove THREAD_STATS conditionals.
25152         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25153         (__malloc_stats, int): Likewise.
25155 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25157         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25158         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25160         * manual/setjmp.texi: Fix typos/grammar errors.
25162         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25163         Only return early when n is <= 0.  Delete unused return statement.
25165         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25166         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25167         * debug/tst-longjmp_chk3.c: New file.
25169         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25170         (test_main): Replace code with set_fortify_handler call.
25171         * debug/test-strcpy_chk.c: Likewise.
25172         * debug/tst-chk1.c: Likewise.
25173         * debug/tst-longjmp_chk.c: Likewise.
25174         * test-skeleton.c: Include fcntl.h & paths.h
25175         (set_fortify_handler): Define.
25177         * debug/tst-longjmp_chk.c: Add header comment and include
25178         ../test-skeleton.c.
25179         (do_test): Mark static.
25180         (TEST_FUNCTION): Define.
25182         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25183         (IP_PMTUDISC_INTERFACE): Likewise.
25184         (IP_MULTICAST_IF): Likewise.
25185         (IP_MULTICAST_TTL): Likewise.
25186         (IP_MULTICAST_LOOP): Likewise.
25187         (IP_ADD_MEMBERSHIP): Likewise.
25188         (IP_DROP_MEMBERSHIP): Likewise.
25189         (IP_UNBLOCK_SOURCE): Likewise.
25190         (IP_BLOCK_SOURCE): Likewise.
25191         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25192         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25193         (IP_MSFILTER): Likewise.
25194         (MCAST_JOIN_GROUP): Likewise.
25195         (MCAST_BLOCK_SOURCE): Likewise.
25196         (MCAST_UNBLOCK_SOURCE): Likewise.
25197         (MCAST_LEAVE_GROUP): Likewise.
25198         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25199         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25200         (MCAST_MSFILTER): Likewise.
25201         (IP_MULTICAST_ALL): Likewise.
25202         (IP_UNICAST_IF): Likewise.
25204         * timezone/Makefile: Delete $(have-ksh) check.
25205         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25206         * timezone/tzselect.ksh: Add +x mode bits.
25208         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25209         (ANON_INODE_FS_MAGIC): Likewise.
25210         (BDEVFS_MAGIC): Likewise.
25211         (BINFMTFS_MAGIC): Likewise.
25212         (BTRFS_TEST_MAGIC): Likewise.
25213         (CRAMFS_MAGIC_WEND): Likewise.
25214         (DEBUGFS_MAGIC): Likewise.
25215         (ECRYPTFS_SUPER_MAGIC): Likewise.
25216         (EXT3_SUPER_MAGIC): Likewise.
25217         (EXT4_SUPER_MAGIC): Likewise.
25218         (FUTEXFS_SUPER_MAGIC): Likewise.
25219         (HOSTFS_SUPER_MAGIC): Likewise.
25220         (HUGETLBFS_MAGIC): Likewise.
25221         (MINIX3_SUPER_MAGIC): Likewise.
25222         (MTD_INODE_FS_MAGIC): Likewise.
25223         (NILFS_SUPER_MAGIC): Likewise.
25224         (OPENPROM_SUPER_MAGIC): Likewise.
25225         (PIPEFS_MAGIC): Likewise.
25226         (PSTOREFS_MAGIC): Likewise.
25227         (QNX6_SUPER_MAGIC): Likewise.
25228         (RAMFS_MAGIC): Likewise.
25229         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25230         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25231         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25232         (SECURITYFS_MAGIC): Likewise.
25233         (SELINUX_MAGIC): Likewise.
25234         (SMACK_MAGIC): Likewise.
25235         (SOCKFS_MAGIC): Likewise.
25236         (SQUASHFS_MAGIC): Likewise.
25237         (STACK_END_MAGIC): Likewise.
25238         (TMPFS_MAGIC): Likewise.
25239         (USBDEVICE_SUPER_MAGIC): Likewise.
25240         (V9FS_MAGIC): Likewise.
25241         (XENFS_SUPER_MAGIC): Likewise.
25242         (CRAMFS_MAGIC): Fix typo in comment.
25243         (EXT2_SUPER_MAGIC): Update comment.
25244         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25246 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25248         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25249         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25250         * sysdeps/unix/sysv/linux/arm: Move directory from
25251         ports/sysdeps/unix/sysv/linux/arm.
25252         * README: Update listing for arm-*-linux-gnueabi.
25254         * README: Remove mention of am33.
25256 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25258         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25259         than the comma operator, to avoid "rhs of comma has no effect"
25260         compiler warnings.
25261         (__sigfillset, __sigandset, __sigorset): Likewise.
25262         * include/signal.h (__sigemptyset): Likewise.
25263         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25265 2014-02-07  Allan McRae  <allan@archlinux.org>
25267         * version.h (RELEASE): Set to "development".
25268         (VERSION): Set to "2.19.90"
25269         * NEWS: Add 2.20 section.
25271 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25273         [BZ #16529]
25274         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25276 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25278         * manual/contrib.texi: Update entry for Carlos O'Donell,
25279         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25281 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25283         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25285         * sysdeps/unix/sysv/linux/kernel-features.h
25286         [__LINUX_KERNEL_VERSION >= 0x020621]
25287         (__ASSUME_PROC_PID_TASK_COMM): Define.
25289 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25291         [BZ #16398]
25292         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25293         conversion when destination buffer does not have enough space.
25294         * libio/tst-ftell-partial-wide.c: New test case.
25295         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25297         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25298         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25299         Leonard and Allan McRae.
25301 2014-02-04  David S. Miller  <davem@davemloft.net>
25303         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25304         32-bit.
25306 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25309         New file
25310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25311         New file
25312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25313         New file.
25314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25315         New file.
25316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25317         New file.
25318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25319         New file.
25320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25321         New file.
25322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25323         New file.
25324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25325         New file.
25326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25327         New file.
25328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25329         New file.
25330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25331         New file.
25332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25333         New file.
25335 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25337         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25338         * shlib-versions: Likewise.
25340 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25341             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25343         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25344         (abilist-pattern): New variable, set to %-le.abilist.
25346         * Makerules (abilist-pattern): New variable.
25347         (vpath): Use $(abilist-pattern) in place of %.abilist.
25348         (check-abi-% pattern rule): Likewise.
25349         (check-abi, update-abi): Likewise.
25351 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25353         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25355 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25357         * manual/startup.texi: Add next, previous, and top entries for
25358         the `Program Arguments' and `Environment Variables' nodes.
25360 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25362         * manual/macros.texi: Add comments before MTASC-safety macros.
25364         * manual/users.texi: Document MTASC-safety properties.
25366         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25367         (pthread_getspecific, pthread_setspecific): Format with
25368         @deftypefun, and add @safety note.
25369         * manual/signal.texi: Move comments that analyze the above
25370         functions to their home place.
25372 2014-02-03  Allan McRae  <allan@archlinux.org>
25374         * po/sl.po: Update Slovenian translation from translation project.
25376 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25378         * manual/time.texi (timegm): Add missing blank after @c.
25379         Reported by Joseph Myers <joseph@codesourcery.com>.
25381 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25383         * manual/check-safety.sh: New.
25384         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25386         * manual/terminal.texi: Document MTASC-safety properties.
25388         * manual/filesys.texi: Document MTASC-safety properties.
25390         * manual/errno.texi: Document MTASC-safety properties.
25392         * manual/intro.texi: Document safety identifiers and
25393         conditionals.
25395         * manual/string.texi (wcstok): Fix prototype.
25396         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25398         * manual/time.texi: Document MTASC-safety properties.
25400         * manual/string.texi: Document MTASC-safety properties.
25402         * manual/threads.texi: Document MTASC-safety properties.
25404         * manual/stdio.texi: Document MTASC-safety properties.
25406         * manual/syslog.texi: Document MTASC-safety properties.
25408         * manual/sysinfo.texi: Document MTASC-safety properties.
25410         * manual/startup.texi: Document MTASC-safety properties.
25412         * manual/socket.texi: Document MTASC-safety properties.
25414         * manual/signal.texi: Document MTASC-safety properties.
25416 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25418         * manual/setjmp.texi: Document MTASC-safety properties.
25420         * manual/search.texi: Document MTASC-safety properties.
25422         * manual/resource.texi: Document MTASC-safety properties.
25424         * manual/process.texi: Document MTASC-safety properties.
25426         * manual/platform.texi: Document MTASC-safety properties.
25428         * manual/pipe.texi: Document MTASC-safety properties.
25430         * manual/pattern.texi: Document MTASC-safety properties.
25432         * manual/message.texi: Document MTASC-safety properties.
25434         [BZ #12751]
25435         * manual/memory.texi: Document MTASC-safety properties.
25437         * manual/math.texi: Document MTASC-safety properties.
25439         * manual/locale.texi: Document MTASC-safety properties.
25441         * manual/llio.texi: Document MTASC-safety properties.
25443         * manual/libdl.texi: New.
25445         * manual/lang.texi: Document MTASC-safety properties.
25447         * manual/job.texi: Document MTASC-safety properties.
25449         * manual/getopt.texi: Document MTASC-safety properties.
25451         * manual/ctype.texi: Document MTASC-safety properties.
25453 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25455         [BZ #16046]
25456         * csu/libc-tls.c (static_map): Remove variable.
25457         (__libc_setup_tls): Use main executable's link map for TLS data.
25458         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25459         casing for LM_ID_BASE and GL(dl_nns).
25460         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25461         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25462         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25463         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25464         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25465         member.
25466         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25467         l_phnum members.
25469 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25471         * manual/debug.texi: Document MTASC-safety properties.
25473 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25475         [BZ #16510]
25476         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25477         of __x86_64__ when disabling x87 inline functions.
25479 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25481         * manual/charset.texi: Document MTASC-safety properties.
25483         * manual/crypt.texi: Document MTASC-safety properties.
25485         * manual/conf.texi: Document MTASC-safety properties.
25487         * manual/arith.texi: Document MTASC-safety properties.
25489         * manual/argp.texi: Document MTASC-safety properties.
25491         * manual/macros.texi: Introduce macros to document multi
25492         thread, asynchronous signal and asynchronous cancellation
25493         safety properties.
25494         * manual/intro.texi: Introduce the properties themselves.
25496 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25498         * sysdeps/sh/sh4/Makefile: New file.
25500 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25502         * math/gen-libm-test.pl ($srcdir): New variable.
25503         ($auto_input): Use it.
25505 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25507         [BZ #16506]
25508         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25509         access beyond array bounds when parsing netgroups file.
25511         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25512         the old buffer before realloc.
25514 2014-01-27  Allan McRae  <allan@archlinux.org>
25516         * po/fr.po: Update French translation from translation project.
25518 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25520         * sysdeps/sh/libm-test-ulps: Regenerate.
25522 2014-01-24  David S. Miller  <davem@davemloft.net>
25524         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25526 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25528         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25529         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25531 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25533         [BZ #16474]
25534         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25535         string pointers after reallocation.
25537 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25539         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25540         __SH4A__ instead of __SH_FPU_ANY__.
25542 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25544         * sysdeps/sh/fpu_control.h: New file.
25545         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25546         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25547         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25548         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25549         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25550         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25551         * sysdeps/sh/sys/ucontext.h: Remove.
25552         * sysdeps/sh/sys: Remove directory.
25554 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25556         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25557         s390/sys/ucontext.h.
25558         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25559         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25561 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25563         [BZ #15605]
25564         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25566 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25568         [BZ#16431]
25569         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25570         Adjust the vDSO correctly for internal calls.
25571         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25573 2014-01-20  Allan McRae  <allan@archlinux.org>
25575         * po/ca.po: Update Catalan translation from translation project.
25577 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25579         * sysdeps/s390/sotruss-lib.c: New file.
25581 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25583         [BZ#16430]
25584         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25585         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25586         local calls issues by not having a PLT stub required for IFUNC calls.
25587         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25589 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25591         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25592         * math/test-fpucw-static.c: Likewise.
25594 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25596         [BZ #16453]
25597         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25599 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25601         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25602         implementation for powerpc.
25604 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25606         [BZ #14782]
25607         * sysdeps/posix/system.c (__libc_system): Do not enable
25608         asynchronous cancellation.
25610 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25612         [BZ #16427]
25613         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25614         handling only for numbers special also in the IEEE case.
25616 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25618         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25620 2014-01-11  Allan McRae  <allan@archlinux.org>
25622         * po/bg.po: Update Bulgarian translation from translation project.
25624         * po/de.po: Update German translation from translation project.
25626 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25628         * sysdeps/generic/gcc-compat.h: New file.
25630 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25632         * benchtests/asin-inputs: Correct slow inputs.
25633         * benchtests/acos-inputs: Likewise.
25635 2014-01-10  Allan McRae  <allan@archlinux.org>
25637         * po:sv.po: Update Swedish translation from translation project.
25639         * po/vi.po: Update Vietnamese translation from translation project.
25641         * po/eo.po: Update Esperanto translation from translation project.
25643         * po/cs.po: Update Czech translation from translation project.
25645         * po/nl.po: Update Dutch translation from translation project.
25647         * po/pl.po: Update Polish translation from translation project.
25649         * po/ru.po: Update Russian translation from translation project.
25651         * po/uk.po: Update Ukrainian translation from translation project.
25653 2014-01-08  Brooks Moses  <bmoses@google.com>
25655         * elf/dl-load.c: Fix comment typo.
25657 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25659         * po/header.pot: Rename to...
25660         * po/pot.header: ... this.
25661         * po/Makefile: Use pot.header.
25663 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25664             Maxim Kuvyrkov  <maxim@kugelworks.com>
25666         [BZ #16394]
25667         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25668         SRC and DEST against LEN.
25670 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25672         [BZ #16414]
25673         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25674         implementation.
25675         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25677 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25681 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25683         [BZ #16408]
25684         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25685         for large positive arguments.
25687 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25689         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25691         * math/auto-libm-test-in: Mark various tests with
25692         xfail-rounding:ldbl-128ibm.
25693         * math/auto-libm-test-out: Regenerated.
25695         [BZ #16407]
25696         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25697         Increase overflow threshold.
25699 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25701         [BZ #14286]
25702         * stdio-common/vfprintf.c: Check for integer overflow.
25704 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25706         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25707         the first argument and return value of __tls_get_addr_internal.
25709 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25711         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25712         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25714 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25716         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25717         * sysdeps/s390/rtld-global-offsets.sym: New file.
25718         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25719         GLIBC_2.19 symbol.
25720         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25721         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25722         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25723         ... this.
25724         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25725         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25726         ... this.
25727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25728         Regenerate.
25729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25730         Regenerate.
25731         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25732         halfs of GPRs for high_gprs contexts.
25733         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25734         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25735         field.
25736         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25737         uc_flags field.
25738         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25739         64 bit versions:
25740         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25741         for high GPRs (uc_high_gprs) and for future extensions
25742         (__reserved).
25743         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25744         for future extensions (__reserved).
25745         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25746         64 bit versions:
25747         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25748         SC_HIGHGPRS offset definition.
25749         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25750         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25752         * Versions.def: Add GLIBC_2.19 for libpthread.
25753         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25754         siglongjmp for libpthread with GLIBC_2.19 symver.
25755         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25756         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25757         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25758         * sysdeps/s390/__longjmp.c: New file.
25759         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25760         * sysdeps/s390/longjmp.c: New file.
25761         * sysdeps/s390/setjmp.S: New file.
25762         * sysdeps/s390/sigjmp.S: New file.
25763         * sysdeps/s390/v1-longjmp.c: New file.
25764         * sysdeps/s390/v1-setjmp.h: New file.
25765         * sysdeps/s390/v1-sigjmp.c: New file.
25766         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25767         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25768         GLIBC_2.19 version.
25769         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25770         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25771         versioned symbols for ____longjmp_chk.
25772         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25773         Likewise.
25774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25775         Regenerate.
25776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25777         Regenerate.
25778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25779         Regenerate.
25780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25781         Regenerate.
25782         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25783         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25784         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25785         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25786         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25787         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25788         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25789         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25790         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25791         * sysdeps/s390/rtld-__longjmp.c: New file.
25792         * sysdeps/s390/rtld-setjmp.S: New file.
25794 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25796         [BZ #16400]
25797         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25798         Return -__logl (x) for small positive arguments without evaluating
25799         a polynomial.
25801 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25803         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25804         Rename to ...
25805         (__ptrace_peeksiginfo_args): ... this.
25806         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25807         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25808         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25810 2014-01-06  Allan McRae  <allan@archlinux.org>
25812         * inet/netinet/in.h: Fix typo in comment.
25814 2014-01-05  Andreas Jaeger  <aj@suse.de>
25816         * sysdeps/i386/fpu/libm-test-ulps: Update.
25818 2014-01-05  Allan McRae  <allan@archlinux.org>
25820         * po/libc.pot: Regenerated.
25822         * malloc/memusagestat.c: Fix gettext call formatting.
25824 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25826         * nscd/nscd.c: Improve usage() output.
25828 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25830         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25831         * sysdeps/unix/sysv/linux/configure: Regenerated.
25832         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25833         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25835 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25837         [BZ #16390]
25838         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25839         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25841 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25843         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25844         extra tokens at end of #undef directive.
25845         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25846         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25847         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25849 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25851         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25853         * math/auto-libm-test-in: Mark various tests with
25854         xfail-rounding:ldbl-128ibm.
25855         * math/auto-libm-test-out: Regenerated.
25857 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25859         [BZ #16386]
25860         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25861         numbers with subnormal high part when calculating exponent.
25863         [BZ #16385]
25864         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25865         fabs.
25867         [BZ #16384]
25868         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25869         M_LN2l.
25870         (__ieee754_acoshl): Use __log1pl not __log1p.
25872 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25874         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25875         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25876         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25877         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25878         (reused_arena, arena_get2): Convert to GNU style.
25879         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25880         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25881         (memalign_check, __malloc_set_state): Likewise.
25882         * malloc/mallocbug.c (main): Likewise.
25883         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25884         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25885         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25886         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25887         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25888         (__posix_memalign, malloc_info): Likewise.
25889         * malloc/malloc.h: Likewise.
25890         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25891         (mallochook, memalignhook, reallochook, mabort): Likewise.
25892         * malloc/mcheck.h: Likewise.
25893         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25894         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25895         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25896         * malloc/morecore.c (__default_morecore): Likewise.
25897         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25898         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25899         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25900         (print_and_abort): Likewise.
25901         * malloc/obstack.h: Likewise.
25902         * malloc/set-freeres.c (__libc_freeres): Likewise.
25903         * malloc/tst-mallocstate.c (main): Likewise.
25904         * malloc/tst-mtrace.c (main): Likewise.
25905         * malloc/tst-realloc.c (do_test): Likewise.
25907 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25909         [BZ #16366]
25910         * nscd/netgroupcache.c (do_notfound): New function.
25911         (addgetnetgrentX): Use it.
25913         [BZ # 16365]
25914         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25915         NSS_STATUS_NOTFOUND.
25917 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25919         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25922 2014-01-01  Allan McRae  <allan@archlinux.org>
25924         * scripts/update-copyrights: Update configure input file suffix.
25926         * NEWS: Update copyright year.
25927         * catgets/gencat.c: Likewise.
25928         * csu/version.c: Likewise.
25929         * debug/catchsegv.sh: Likewise.
25930         * debug/pcprofiledump.c: Likewise.
25931         * debug/xtrace.sh: Likewise.
25932         * elf/ldconfig.c: Likewise.
25933         * elf/ldd.bash.in: Likewise.
25934         * elf/pldd.c: Likewise.
25935         * elf/sotruss.ksh: Likewise.
25936         * elf/sprof.c: Likewise.
25937         * iconv/iconv_prog.c: Likewise.
25938         * iconv/iconvconfig.c: Likewise.
25939         * locale/programs/locale.c: Likewise.
25940         * locale/programs/localedef.c: Likewise.
25941         * login/programs/pt_chown.c: Likewise.
25942         * malloc/memusage.sh: Likewise.
25943         * malloc/memusagestat.c: Likewise.
25944         * malloc/mtrace.pl: Likewise.
25945         * manual/libc.texinfo: Likewise.
25946         * nscd/nscd.c: Likewise.
25947         * nss/getent.c: Likewise.
25948         * nss/makedb.c: Likewise.
25949         * posix/getconf.c: Likewise.
25950         * scripts/test-installation.pl: Likewise.
25952         * All files with FSF copyright notices: Update copyright dates
25953         using scripts/update-copyrights.
25954         * intl/plural.c: Regenerated.
25955         * locale/programs/charmap-kw.h: Likewise.
25956         * locale/programs/locfile-kw.h: Likewise.
25958 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25960         * sysdeps/unix/sysv/linux/configure: Regenerated.
25961         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25962         the linux/fanotify.h header.
25963         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25964         HAVE_LINUX_FANOTIFY_H is defined.
25966 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25968         * benchtests/cos-inputs: New inputs.
25969         * benchtests/sin-inputs: Likewise.
25971         * benchtests/atan-inputs: New inputs. Fix name of multiple
25972         precision fallback inputs.
25974         * benchtests/atanh-inputs: New inputs.
25975         * benchtests/tanh-inputs: Likewise.
25977         * benchtests/acosh-inputs: New inputs.
25978         * benchtests/asinh-inputs: Likewise.
25980         * benchtests/cosh-inputs: New inputs.
25981         * benchtests/sinh-inputs: Likewise.
25983         * benchtests/acos-inputs: Add more inputs.
25984         * benchtests/asin-inputs: Likewise.
25986 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25988         [BZ #16375]
25989         * manual/arith.texi: Fix spelling.
25990         * manual/charset.texi: Likewise.
25991         * manual/errno.texi: Likewise.
25992         * manual/filesys.texi: Likewise.
25993         * manual/lang.texi: Likewise.
25994         * manual/llio.texi: Likewise.
25995         * manual/locale.texi: Likewise.
25996         * manual/message.texi: Likewise.
25997         * manual/resource.texi: Likewise.
25998         * manual/search.texi: Likewise.
25999         * manual/setjmp.texi: Likewise.
26000         * manual/stdio.texi: Likewise.
26001         * manual/string.texi: Likewise.
26002         * manual/sysinfo.texi: Likewise.
26003         * manual/time.texi: Likewise.
26005 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26007         * po/sl.po: New file.
26009 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26011         * .gitignore: Add core/.gdbinit/.gdb_history.
26013 2013-12-27  Allan McRae  <allan@archlinux.org>
26015         [BZ #16369]
26016         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26017         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26019 2013-12-24  Brooks Moses  <bmoses@google.com>
26021         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26022         all compilers that claim C++98 compliance, not just GCC.
26023         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26024         Likewise.
26026 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26028         * NEWS: Restore accidentally deleted bug-fix entries.
26030 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26031             Ondřej Bílka  <neleai@seznam.cz>
26033         [BZ #15073]
26034         * malloc/malloc.c (_int_free): Perform sanity check only if we
26035         have_lock.
26037 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26039         [BZ #12986]
26040         * manual/stdio.texi (String Input Conversions): Clarify that character
26041         classes are not supported.
26043 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26047 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26049         [BZ #16337]
26050         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26051         Calculate results for small negative arguments directly rather
26052         than using reflection formula with special underflow handling.
26054         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26055         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26056         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26057         (fchflags): Likewise.
26058         (revoke): Likewise.
26059         (setlogin): Likewise.
26060         (sigaltstack): Likewise.
26061         (wait4): Likewise.
26062         (sigblock): Remove.
26063         (sigsetmask): Likewise.
26064         (wait3): Likewise.
26065         (waitpid): Likewise.
26066         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26067         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26068         file.
26069         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26070         * sysdeps/unix/bsd/Makefile: ... here.
26071         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26072         * sysdeps/unix/bsd/Versions: ... here.
26073         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26074         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26075         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26076         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26077         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26078         * sysdeps/unix/bsd/sigblock.c: ... here.
26079         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26080         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26081         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26082         * sysdeps/unix/bsd/sigvec.c: ... here.
26083         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26084         * sysdeps/unix/bsd/tcdrain.c: ... here.
26085         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26086         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26087         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26088         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26089         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26090         * sysdeps/unix/bsd/wait.c: ... here.
26091         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26092         * sysdeps/unix/bsd/wait3.c: ... here.
26093         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26094         * sysdeps/unix/bsd/waitpid.c: ... here.
26096 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26098         [BZ #16356]
26099         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26100         round-to-nearest for [!USE_AS_EXPM1L].
26101         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26102         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26103         more tests of exp and exp10.  Expect some exp10 tests to miss
26104         exceptions or fail in directed rounding modes.
26105         * math/auto-libm-test-out: Regenerated.
26106         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26107         (exp10_test_tonearest): New function.
26108         (exp10_towardzero_test_data): New array.
26109         (exp10_test_towardzero): New function.
26110         (exp10_downward_test_data): New array.
26111         (exp10_test_downward): New function.
26112         (exp10_upward_test_data): New array.
26113         (exp10_test_upward): New function.
26114         (main): Call the new functions.
26115         * sysdeps/i386/fpu/libm-test-ulps: Update.
26116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26118 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26120         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26121         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26122         * math/auto-libm-test-out: Regenerated.
26123         * math/libm-test.inc (acosh_test_data): Add more tests.
26124         (atanh_test_data): Likewise.
26125         (ceil_test_data): Likewise.
26126         (copysign_test_data): Likewise.
26127         * sysdeps/i386/fpu/libm-test-ulps: Update.
26128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26130         * timezone/checktab.awk: Update from tzcode 2013i.
26131         * timezone/private.h: Likewise.
26132         * timezone/scheck.c: Likewise.
26133         * timezone/tzfile.h: Likewise.
26134         * timezone/tzselect.ksh: Likewise.
26135         * timezone/zdump.c: Likewise.
26136         * timezone/zic.c: Likewise.
26138         * math/auto-libm-test-in: Add tests of cpow.
26139         * math/auto-libm-test-out: Regenerated.
26140         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26141         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26142         mpc_cc_c.
26143         (func_calc_desc): Add mpc_cc_c union field.
26144         (test_functions): Add cpow.
26145         (special_fill_2pi): New function.
26146         (special_real_inputs): Add 2pi.
26147         (calc_generic_results): Handle mpc_cc_c.
26148         * sysdeps/i386/fpu/libm-test-ulps: Update.
26149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26151         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26152         csqrt, ctan and ctanh.
26153         * math/auto-libm-test-out: Regenerated.
26154         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26155         (TEST_COND_x86): Likewise.
26156         (ccos_test_data): Use AUTO_TESTS_c_c.
26157         (ccosh_test_data): Likewise.
26158         (cexp_test_data): Likewise.
26159         (clog_test_data): Likewise.
26160         (csqrt_test_data): Likewise.
26161         (ctan_test_data): Likewise.
26162         (ctan_tonearest_test_data): Likewise.
26163         (ctan_towardzero_test_data): Likewise.
26164         (ctan_downward_test_data): Likewise.
26165         (ctan_upward_test_data): Likewise.
26166         (ctanh_test_data): Likewise.
26167         (ctanh_tonearest_test_data): Likewise.
26168         (ctanh_towardzero_test_data): Likewise.
26169         (ctanh_downward_test_data): Likewise.
26170         (ctanh_upward_test_data): Likewise.
26171         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26172         mpc_c_c.
26173         (func_calc_desc): Add mpc_c_c union field.
26174         (FUNC_mpc_c_c): New macro.
26175         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26176         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26177         ctanh.
26178         (special_fill_min_subnorm_p120): New function.
26179         (special_real_inputs): Add min_subnorm_p120.
26180         (calc_generic_results): Handle mpc_c_c.
26181         * sysdeps/i386/fpu/libm-test-ulps: Update.
26182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26184 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26186         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26187         (do_sin_slow): New functions.
26188         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26189         (cslow2, csloww1, csloww2): Use the new functions.
26191         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26192         Use M to change sign of result instead of X.  Assume X is
26193         positive.
26194         (csloww1): Likewise.
26195         (__sin): Adjust.
26196         (__cos): Adjust.
26198         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26199         arguments A and DA.
26200         (__sin): Adjust.
26201         (__cos): Likewise.
26203         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26204         (__cos): Likewise.
26205         (sloww1): Don't adjust sign of DX.
26206         (csloww1): Likewise.
26207         (sloww2): Use X directly and don't adjust sign of DX.
26208         (csloww2): Likewise.
26210 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26212         * math/auto-libm-test-in: Add tests of cabs and carg.
26213         * math/auto-libm-test-out: Regenerated.
26214         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26215         (carg_test_data): Likewise.
26216         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26217         mpc_c_f.
26218         (func_calc_desc): Add mpc_c_f union field.
26219         (test_functions): Add cabs and carg.
26220         (calc_generic_results): Handle mpc_c_f.
26222         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26223         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26224         as a macro and a compat symbol.
26225         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26226         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26227         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26228         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26229         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26230         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26231         not use .hidden.
26232         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26233         Likewise.
26234         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26235         Likewise.
26236         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26237         Likewise.
26238         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26239         Likewise.
26240         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26241         Likewise.
26242         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26243         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26244         from GLIBC_2.3.2.
26246 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26250 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26252         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26253         trailing whitespace removed.
26254         * scripts/config.guess: Update to version 2013-11-29.
26255         * scripts/config.sub: Update to version 2013-10-01.
26257         * math/auto-libm-test-in: Add tests of sincos.
26258         * math/auto-libm-test-out: Regenerated.
26259         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26260         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26261         mpfr_f_11.
26262         (func_calc_desc): Add mpfr_f_11 union field.
26263         (test_functions): Add sincos.
26264         (calc_generic_results): Handle mpfr_f_11.
26265         * sysdeps/i386/fpu/libm-test-ulps: Update.
26266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26268 2013-12-19  Andreas Schwab  <schwab@suse.de>
26270         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26271         CALL_MCOUNT.
26272         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26273         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26274         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26276 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26278         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26279         * sysdeps/i386/fpu/libm-test-ulps: Update.
26280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26282         [BZ #16293]
26283         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26284         round-to-nearest mode when using frndint.
26285         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26286         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26287         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26288         Likewise.
26289         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26290         sinh test to fail.
26291         * math/auto-libm-test-out: Regenerated.
26292         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26293         (TEST_COND_x86): Likewise.
26294         (expm1_tonearest_test_data): New array.
26295         (expm1_test_tonearest): New function.
26296         (expm1_towardzero_test_data): New array.
26297         (expm1_test_towardzero): New function.
26298         (expm1_downward_test_data): New array.
26299         (expm1_test_downward): New function.
26300         (expm1_upward_test_data): New array.
26301         (expm1_test_upward): New function.
26302         (main): Run the new test functions.
26303         * sysdeps/i386/fpu/libm-test-ulps: Update.
26304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26306         * include/features.h: Update comment documenting feature test
26307         macros.  Mention _DEFAULT_SOURCE in comment.
26308         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26309         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26310         _BSD_SOURCE and _SVID_SOURCE.
26311         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26312         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26313         !_SVID_SOURCE]: Likewise.
26314         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26315         (__USE_POSIX_IMPLICITLY): Define.
26316         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26317         (_POSIX_SOURCE): Undefine and redefine.
26318         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26319         (_POSIX_C_SOURCE): Likewise.
26320         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26321         (Feature Test Macros): Update documentation of default features.
26323 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26325         * benchtests/Makefile: Add bench-strtok.
26326         * benchtests/bench-strtok.c: New file: strtok benchtest.
26328 2013-12-19  Allan McRae  <allan@archlinux.org>
26330         * manual/install.texi: Suppress menu for plain text output.
26331         * INSTALL: Regenerated.
26333 2013-12-18  Brooks Moses  <bmoses@google.com>
26335         [BZ #15846]
26336         * misc/getauxval.c: Include errno.h.
26337         (__getauxval): Set errno to ENOENT if the requested type is not
26338         found.
26339         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26340         don't declare with __attribute_const__.
26341         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26342         * manual/startup.texi: Document that getauxval sets errno.
26344 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26346         * math/auto-libm-test-in: Add tests of jn and yn.
26347         * math/auto-libm-test-out: Regenerated.
26348         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26349         (yn_test_data): Likewise.
26350         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26351         mpfr_if_f.
26352         (func_calc_desc): Add mpfr_if_f union field.
26353         (FUNC_mpfr_if_f): New macro.
26354         (test_functions): Add jn and yn.
26355         (calc_generic_results): Assert type of second input for
26356         mpfr_ff_f.  Handle mpfr_if_f.
26357         (output_for_one_input_case): Disable all checking for arguments
26358         fitting floating-point types in case of an integer argument.
26359         * sysdeps/i386/fpu/libm-test-ulps: Update.
26360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26363         Don't expect fegetround reference in libm.so.
26365 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26367         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26368         $(config-cflags-nofma).
26370 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26372         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26373         * math/auto-libm-test-out: Regenerated.
26375         [BZ #16338]
26376         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26377         to determine exponent and adjust argument to have exponent of -1.
26378         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26379         log2.
26380         * math/auto-libm-test-out: Regenerated.
26381         * sysdeps/i386/fpu/libm-test-ulps: Update.
26382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26384 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26386         * manual/probes.texi: Remove cases when per-thread arenas are
26387         disabled.
26389 2013-12-18  Andreas Schwab  <schwab@suse.de>
26391         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26392         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26393         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26394         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26395         * sysdeps/i386/i686/multiarch/Makefile: Update.
26396         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26398 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26400         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26401         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26403 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26405         [BZ #15968]
26406         Support TZ transition times < 00:00:00.
26407         This is needed for version-3 tz-format files; it supports time
26408         stamps past 2037 for America/Godthab (the only entry in the tz
26409         database for which this change is relevant).
26410         * manual/time.texi (TZ Variable): Document transition times
26411         from -167:59:59 through -00:00:01.
26412         * time/tzset.c (tz_rule): Time of day is now signed.
26413         (__tzset_parse_tz): Parse negative time of day.
26415         Document TZ transition times >= 25:00:00.
26416         * manual/time.texi (TZ Variable): Document transition times from
26417         25:00:00 through 167:59:59.  These are already supported, and this
26418         support will help with version-3 tz-format files.
26420         * manual/time.texi (TZ Variable): Modernize North America example
26421         to reflect current (i.e., 2007-and-later) daylight saving rules.
26423         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26425 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26427         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26428         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26429         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26430         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26431         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26432         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26433         * sysdeps/unix/bsd/clock.c: Likewise.
26434         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26435         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26436         * sysdeps/unix/bsd/init-posix.c: Likewise.
26437         * sysdeps/unix/bsd/poll.c: Likewise.
26438         * sysdeps/unix/bsd/ptsname.c: Likewise.
26439         * sysdeps/unix/bsd/seekdir.c: Likewise.
26440         * sysdeps/unix/bsd/setegid.c: Likewise.
26441         * sysdeps/unix/bsd/seteuid.c: Likewise.
26442         * sysdeps/unix/bsd/setgid.c: Likewise.
26443         * sysdeps/unix/bsd/setrgid.c: Likewise.
26444         * sysdeps/unix/bsd/setruid.c: Likewise.
26445         * sysdeps/unix/bsd/setsid.c: Likewise.
26446         * sysdeps/unix/bsd/setuid.c: Likewise.
26447         * sysdeps/unix/bsd/sigaction.c: Likewise.
26448         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26449         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26450         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26451         * sysdeps/unix/bsd/telldir.c: Likewise.
26452         * sysdeps/unix/bsd/times.c: Likewise.
26453         * sysdeps/unix/bsd/usleep.c: Likewise.
26455         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26456         ($(objpfx)libbsd-compat.a): Remove rule.
26458         * include/features.h (__FAVOR_BSD): Do not define.
26459         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26460         features conflicting with POSIX.
26461         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26462         (_BSD_SOURCE): Remove description of not being a subset of other
26463         feature test macros.
26464         * manual/job.texi (getpgrp): Do not document BSD version.
26465         (getpgid): Do not document by reference to BSD getpgrp.
26466         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26467         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26468         * signal/signal.h [__FAVOR_BSD]: Likewise.
26469         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26470         instead of making contents conditional on [__FAVOR_BSD].
26471         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26473 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26477 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26479         [BZ #16314]
26480         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26481         values below 2**-450, not 2**-500.
26482         * math/auto-libm-test-in: Don't allow spurious underflow from
26483         hypot.
26484         * math/auto-libm-test-out: Regenerated.
26486         [BZ #16316]
26487         [BZ #16330]
26488         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26489         values of ha and hb and sort them after adjusting subnormal
26490         arguments.
26491         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26492         Likewise.
26493         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26494         values of ea and eb and sort them after adjusting subnormal
26495         arguments.
26496         * math/auto-libm-test-in: Do not expect some hypot tests of
26497         subnormals to fail.  Add more hypot tests.
26498         * math/auto-libm-test-out: Regenerated.
26500 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26502         [BZ #13304]
26503         * sysdeps/sh/s_fma.c: New file.
26504         * sysdeps/sh/s_fmaf.c: New file.
26505         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26506         version.
26507         * sysdeps/sh/Implies: Add sh/soft-fp.
26509 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26511         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26512         level of indirection to members `objname', `errstring', `malloced'.
26513         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26514         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26515         it as the __longjmp argument (just pass 1 instead).
26516         (_dl_catch_error): Initialize C with argument pointers and address of
26517         volatile local ERRCODE rather than copying values out of C at return.
26519 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26521         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26522         * math/auto-libm-test-out: Regenerated.
26523         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26524         (hypot_test_data): Likewise.
26525         (pow_test_data): Likewise.
26526         (pow_tonearest_test_data): Likewise.
26527         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26528         mpfr_ff_f.
26529         (func_calc_desc): Add mpfr_ff_f union field.
26530         (FUNC_mpfr_ff_f): New macro.
26531         (test_functions): Add atan2, hypot and pow.
26532         (special_fill_min): New function.
26533         (special_fill_minus_min): Likewise.
26534         (special_fill_min_subnorm): Likewise.
26535         (special_fill_minus_min_subnorm): Likewise.
26536         (special_real_inputs): Add min, -min, min_subnorm and
26537         -min_subnorm.
26538         (calc_generic_results): Handle mpfr_ff_f.
26539         * sysdeps/i386/fpu/libm-test-ulps: Update.
26540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26542 2013-12-16  Will Newton  <will.newton@linaro.org>
26544         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26545         (Aligned Memory Blocks): Add documentation for aligned_alloc
26546         and suggest it as an alternative to posix_memalign.
26547         (Hooks for Malloc): Document __memalign_hook is also called
26548         for aligned_alloc.  (Summary of Malloc): Add summary for
26549         aligned alloc.  Document __memalign_hook is also called
26550         for aligned_alloc.
26552 2013-12-16  Will Newton  <will.newton@linaro.org>
26554         * manual/memory.texi (Malloc Examples): Clarify default
26555         alignment documentation.  Suggest posix_memalign rather
26556         than memalign or valloc.
26557         (Aligned Memory Blocks): Remove suggestion to use memalign
26558         or valloc.  Remove obsolete comment about BSD.
26559         Document memalign errno values and mark the function obsolete.
26560         Document posix_memalign returned error codes.  Mark valloc
26561         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26562         called for posix_memalign and valloc.
26563         (Summary of Malloc): Add posix_memalign to function summary.
26564         __memalign_hook is also called for posix_memalign and valloc.
26566 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26568         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26569         TAYLOR_SIN.
26570         (__sin): Adjust.
26571         (__cos): Likewise.
26572         (sloww): Use mynumber union.  Expand ternary operator into
26573         if-else statements.
26574         (cslow): use mynumber union.
26576 2013-12-16  Allan McRae  <allan@archlinux.org>
26578         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26579         * configure: Regenerated.
26581         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26583         [BZ #14120]
26584         * configure.ac: Added --enable-maintainer-mode. Check for
26585         autoconf when enabled.
26586         * configure: Regenerated.
26588         * nscd/nscd.service: New file.
26589         * nscd/nscd.tmpfiles: New file.
26591 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26593         [BZ #12100]
26594         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26595         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26596         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26597         (strstr): Add __strstr_sse2_unaligned ifunc.
26598         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26599         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26600         (strcasestr): Remove __strcasestr_sse42 ifunc.
26601         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26602         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26605 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26607         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26608         * sysdeps/sh/bits/fenv.h: ... here.
26609         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26611 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26613         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26616         hypotf multiarch implementations.
26617         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26618         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26619         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26620         multiarch hypot for PPC64.
26621         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26622         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26623         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26624         multiarch hypotf for PPC64.
26626         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26627         modff multiarch implementations.
26628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26631         multiarch modf for PPC64.
26632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26635         multiarch modff for PPC64.
26637         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26638         and logl multiarch implementations.
26639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26642         multiarch logb for PPC64.
26643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26646         multiarch logb for PPC64.
26647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26650         multiarch logb for PPC64.
26652         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26653         isinff multiarch implementation.
26654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26655         file.
26656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26658         multiarch isinf for PPC64.
26659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26660         file.
26661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26662         multiarch isinff for PPC64.
26664         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26665         finitef multiarch implementation.
26666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26667         file.
26668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26670         multiarch finite for PPC64.
26671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26672         file.
26673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26674         multiarch finitef for PPC64.
26676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26677         lrint multiarch implementation.
26678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26679         file.
26680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26682         multiarch llrint for PPC64.
26683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26684         multiarch lrint for PPC64.
26686         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26687         copysignf multiarch implementation.
26688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26689         file.
26690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26691         file.
26692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26693         multiarch copysign for PPC64.
26694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26695         multiarch copysignf for PPC64.
26697         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26698         multiarch implementation.
26699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26700         file.
26701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26702         file.
26703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26704         file.
26705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26706         file.
26707         multiarch llround for PPC64.
26708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26709         multiarch trunc for PPC64.
26710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26711         multiarch truncf for PPC64.
26713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26714         multiarch implementation.
26715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26716         file.
26717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26718         file.
26719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26720         file.
26721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26722         file.
26723         multiarch llround for PPC64.
26724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26725         multiarch round for PPC64.
26726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26727         multiarch roundf for PPC64.
26729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26730         multiarch implementation.
26731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26732         file.
26733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26734         file.
26735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26736         file.
26737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26738         file.
26739         multiarch llround for PPC64.
26740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26741         multiarch floor for PPC64.
26742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26743         multiarch floorf for PPC64.
26745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26746         multiarch implementation.
26747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26748         file.
26749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26750         file.
26751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26752         file.
26753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26754         file.
26755         multiarch llround for PPC64.
26756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26757         multiarch ceil for PPC64.
26758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26759         multiarch ceilf for PPC64.
26761         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26762         multiarch implementation.
26763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26764         file.
26765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26766         file.
26767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26768         file.
26769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26770         multiarch llround for PPC64.
26771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26772         multiarch lround for PPC64.
26774         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26775         multiarch implementation.
26776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26779         file.
26780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26783         multiarch isnan for PPC64.
26784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26785         multiarch isnanf for PPC64.
26787         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26788         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26789         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26790         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26791         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26794         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26795         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26796         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26797         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26800         multiarch implementations.
26801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26802         (__libc_ifunc_impl_list): Likewise.
26803         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26804         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26805         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26806         multiarch stpcpy for PPC64.
26808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26809         multiarch implementations.
26810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26811         (__libc_ifunc_impl_list): Likewise.
26812         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26813         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26814         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26815         multiarch strcpy for PPC64.
26817         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26818         redefine function name.
26819         (_wordcopy_fwd_dest_aligned): Likewise.
26820         (_wordcopy_bwd_aligned): Likewise.
26821         (_wordcopy_bwd_dest_aligned): Likewise.
26822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26823         multiarch implementations.
26824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26825         (__libc_ifunc_impl_list): Likewise.
26826         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26827         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26828         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26829         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26830         multiarch wcscpy for PPC64.
26832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26833         multiarch implementations.
26834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26835         (__libc_ifunc_impl_list): Likewise.
26836         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26837         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26838         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26839         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26840         multiarch wcscpy for PPC64.
26842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26843         multiarch implementations.
26844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26845         (__libc_ifunc_impl_list): Likewise.
26846         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26847         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26848         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26849         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26850         multiarch wcsrchr for PPC64.
26852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26853         multiarch implementations.
26854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26855         (__libc_ifunc_impl_list): Likewise.
26856         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26857         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26858         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26859         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26860         multiarch wcschr for PPC64.
26862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26863         multiarch implementations.
26864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26865         (__libc_ifunc_impl_list): Likewise.
26866         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26867         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26868         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26869         multiarch strchrnul for PPC64.
26871         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26872         implementations.
26873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26874         (__libc_ifunc_impl_list): Likewise.
26875         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26876         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26877         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26878         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26879         strchr for PPC64.
26881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26882         implementations.
26883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26884         (__libc_ifunc_impl_list): Likewise.
26885         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26886         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26887         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26888         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26889         strncmp for PPC64.
26891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26892         multiarch implementations.
26893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26894         (__libc_ifunc_impl_list): Likewise.
26895         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26896         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26897         strncasecmp for PPC64.
26898         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26899         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26900         multiarch strncasecmp_l for PPC64.
26902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26903         multiarch implementations.
26904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26905         (__libc_ifunc_impl_list): Likewise.
26906         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26907         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26908         multiarch strcasecmp for PPC64.
26909         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26910         file.
26911         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26912         multiarch strcasecmp_l for PPC64.
26914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26915         implementations.
26916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26917         (__libc_ifunc_impl_list): Likewise.
26918         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26919         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26920         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26921         strnlen for PPC64.
26923         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26924         implementations.
26925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26926         (__libc_ifunc_impl_list): Likewise.
26927         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26928         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26929         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26930         strlen for PPC64.
26932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26933         implementations.
26934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26935         (__libc_ifunc_impl_list): Likewise.
26936         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26937         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26938         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26939         rawmemrchr for PPC64.
26941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26942         implementation.
26943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26944         (__libc_ifunc_impl_list): Likewise.
26945         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26946         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26947         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26948         memrchr for PPC64.
26950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26951         implementation.
26952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26953         (__libc_ifunc_impl_list): Likewise.
26954         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26955         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26956         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26957         memchr for PPC64.
26959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26960         implementation.
26961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26962         (__libc_ifunc_impl_list): Likewise.
26963         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26964         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26965         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26966         mempcpy for PPC64.
26968         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26969         avoid cretion of __bzero symbol.
26970         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26971         Likewise.
26972         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26973         Likewise.
26974         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26975         Likewise.
26976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26977         multiarch implementations.
26978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26979         (__libc_ifunc_impl_list): Likewise.
26980         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26981         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26982         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26983         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26984         bzero for PPC32.
26985         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26986         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26987         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26988         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26989         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26990         memset for PPC64.
26991         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26993         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26995         implementations.
26996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26997         (__libc_ifunc_impl_list): Likewise.
26998         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26999         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27000         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27001         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27002         memcmp for PPC64.
27004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27005         multiarch for POWER/PPC64.
27006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27007         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27008         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27009         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27010         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27011         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27012         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27013         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27014         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27015         memcpy for PPC64.
27017         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27018         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27019         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27020         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27021         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27022         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27023         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27024         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27025         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27026         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27027         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27028         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27029         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27030         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27031         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27040 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27042         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27044 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27046         * benchtests/Makefile (bench): Add exp2 and log2.
27047         (LDLIBS-bench-exp2): Add -lm.
27048         (LDLIBS-bench-log2): Likewise.
27049         * benchtests/exp2-inputs: New inputs file.
27050         * benchtests/log2-inputs: New inputs file.
27051         * benchtests/log-inputs: Add new inputs.
27052         * benchtests/tan-inputs: Likewise.
27054 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27056         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27057         definition...
27058         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27059         (csloww2): ... from here.
27061         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27062         instead of structures.
27063         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27064         (POLYNOMIAL): Likewise.
27065         (TAYLOR_SLOW): Likewise.
27066         (__sin): Likewise.
27067         (__cos): Likewise.
27068         (slow1): Likewise.
27069         (slow2): Likewise.
27070         (sloww): Likewise.
27071         (sloww1); Likewise.
27072         (sloww2): Likewise.
27073         (bsloww1): Likewise.
27074         (bsloww2): Likewise.
27075         (cslow2): Likewise.
27076         (csloww): Likewise.
27077         (csloww1): Likewise.
27078         (csloww2): Likewise.
27080 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27082         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27083         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27084         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27085         * malloc/hooks.c (realloc_check): Likewise.
27087         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27088         * malloc/arena.c: Remove PER_THREAD conditional.
27089         [!PER_THREAD]: Remove code.
27090         (ptmalloc_unlock_all2): Likewise.
27091         (ptmalloc_init): Likewise.
27092         (_int_new_arena): Likewise.
27093         (arena_get2): Likewise.
27094         * malloc/hooks.c (__malloc_get_state): Likewise.
27095         (__malloc_set_state): Likewise.
27096         * malloc/malloc.c: Likewise.
27097         (struct malloc_state): Likewise.
27098         (struct malloc_par): Likewise.
27099         (__libc_realloc): Likewise.
27100         (__libc_mallopt): Likewise.
27102 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27104         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27106 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27108         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27109         macro to a function.  Check for zero perturb_byte.
27110         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27112         * malloc/malloc.c: (force_reg): Remove.
27113         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27114         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27115         force_reg by atomic_forced_read.
27116         * malloc/arena.c (ptmalloc_init): Likewise.
27117         * malloc/hooks.c (top_check): Likewise.
27119 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27123 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27127 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27129         * math/auto-libm-test-in: Add tests of lgamma.
27130         * math/auto-libm-test-out: Regenerated.
27131         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27132         (M_LOG_2_SQRT_PIl): Likewise.
27133         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27134         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27135         mpfr_f_f1.
27136         (func_calc_desc): Add mpfr_f_f1 union field.
27137         (ARGS1): New macro.
27138         (ARGS2): Likewise.
27139         (ARGS3): Likewise.
27140         (ARGS4): Likewise.
27141         (RET1): Likewise.
27142         (RET2): Likewise.
27143         (CALC): Likewise.
27144         (FUNC): Likewise.
27145         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27146         (test_functions): Add lgamma.
27147         (calc_generic_results): Handle mpfr_f_f1.
27148         * sysdeps/i386/fpu/libm-test-ulps: Update.
27149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27151 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27153         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27154         __mpn_add_n for PowerPC64/POWER7.
27155         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27156         __mpn_sub_n for PowerPC64/POWER7.
27158         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27159         __mpn_addmul_1 for PowerPC64.
27160         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27161         __mpn_submul_1 for PowerPC64.
27162         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27163         for PowerPC64.
27164         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27165         for PowerPC64.
27167 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27169         [BZ #15089]
27170         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27172 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27174         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27176         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27177         add multiarch folders.
27178         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27179         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27180         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27181         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27182         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27183         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27184         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27185         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27186         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27187         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27188         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27197         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27199         New file.
27200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27201         New file.
27202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27203         multiarch __ieee754_hypot for PowerPC32.
27204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27205         New file.
27206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27207         New file.
27208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27209         multiarch __ieee754_hypotf for PowerPC32.
27211         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27212         long_double_symbol only if __logbl is defined.
27213         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27214         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27215         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27216         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27217         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27218         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27219         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27220         path for implementation.
27221         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27222         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27224         logb, and logbl multiarch implementations for PowerPC32.
27225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27226         file.
27227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27228         file.
27229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27230         multiarch logb for PowerPC32.
27231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27232         file.
27233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27234         file.
27235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27236         multiarch logbf for PowerPC32.
27237         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27239         file.
27240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27241         multiarch logbl implementation for PowerPC32.
27243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27244         and modff multiarch implementations.
27245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27246         New file.
27247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27248         New file.
27249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27250         multiarch modf for PowerPC32.
27251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27252         New file.
27253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27254         New file.
27255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27256         multiarch modff for PowerPC32.
27258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27259         and lrintf multiarch implementations.
27260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27261         New file.
27262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27263         New file.
27264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27265         multiarch lrint for PowerPC32.
27266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27267         file: multiarch lrintf for PowerPC32.
27269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27270         and lroundf multiarch implementations.
27271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27272         New file.
27273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27274         New file.
27275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27276         New file.
27277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27278         multiarch lround for PowerPC32.
27279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27280         file: multiarch lroundf for PowerPC32.
27282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27283         copysign and copysignf multiarch implementations.
27284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27285         New file.
27286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27287         New file.
27288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27289         file: multiarch copysign for PowerPC32.
27290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27291         file: multiarch copysignf for PowerPC32.
27293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27294         and truncf multiarch implementations.
27295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27296         New file.
27297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27298         file.
27299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27300         multiarch trunc for PowerPC32.
27301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27302         New file.
27303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27304         New file.
27305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27306         multiarch truncf for PowerPC32.
27308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27309         and roundf multiarch implementations.
27310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27311         New file.
27312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27313         file.
27314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27315         multiarch round for PowerPC32.
27316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27317         New file.
27318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27319         New file.
27320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27321         multiarch roundf for PowerPC32.
27323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27324         and floorf multiarch implementations.
27325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27326         New file.
27327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27328         file.
27329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27330         multiarch floor for PowerPC32.
27331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27332         New file.
27333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27334         New file.
27335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27336         multiarch floorf for PowerPC32.
27338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27339         and ceilf multiarch implementations.
27340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27341         New file.
27342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27343         file.
27344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27345         multiarch ceil for PowerPC32.
27346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27347         New file.
27348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27349         file.
27350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27351         multiarch ceilf for PowerPC32.
27353         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27354         is defined.
27355         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27356         FINITEF is defined.
27357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27358         and finitef multiarch implementations.
27359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27360         New file.
27361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27362         file.
27363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27364         multiarch finite for PowerPC32.
27365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27366         New file.
27367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27368         file: multiarch finitef for PowerPC32.
27370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27371         and isinff multiarch implementations.
27372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27373         file.
27374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27375         file.
27376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27377         multiarch isinf for PowerPC32.
27378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27379         New file.
27380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27381         multiarch isinff for PowerPC32.
27383         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27384         alias when __isnan is defined.
27385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27386         and isnanf multiarch implementations.
27387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27388         file.
27389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27390         file.
27391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27392         file.
27393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27394         file.
27395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27396         multiarch isnan for PowerPC32.
27397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27398         New file.
27399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27400         New file.
27401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27402         multiarch isnanf for PowerPC32.
27404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27405         and sqrtf multiarch implementations.
27406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27407         file.
27408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27409         file.
27410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27411         multiarch sqrt for PowerPC32.
27412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27413         file.
27414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27415         file.
27416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27417         multiarch sqrtf for PowerPC32.
27419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27420         and llroundf multiarch implementations.
27421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27422         New file.
27423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27424         New file.
27425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27426         New file.
27427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27428         file: multiarch llround for PowerPC32.
27429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27430         file: multiarch llroundf for PowerPC32.
27432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27433         multiarch PowerPC32 fpu implementations.
27434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27435         New file.
27436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27437         New file.
27438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27439         multiarch llrint for PowerPC32.
27440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27441         New file.
27442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27443         New file.
27444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27445         file.
27447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27449         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27450         file.
27451         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27452         file.
27453         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27454         file.
27455         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27456         multiarch wordcopy for PPC32.
27457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27458         wordcopy objects.
27459         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27460         (__libc_ifunc_impl_list): Likewise.
27461         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27462         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27463         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27464         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27465         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27466         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27468         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27469         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27470         file.
27471         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27472         file.
27473         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27474         file.
27475         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27476         multiarch wcscpy for PPC32.
27477         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27478         multiarch objects.
27479         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27480         (__libc_ifunc_impl_list): Likewise.
27481         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27482         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27483         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27484         sysdeps/powerpc/power6/wcscpy.c.
27486         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27487         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27488         file.
27489         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27490         file.
27491         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27492         file.
27493         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27494         multiarch wcsrchr for PPC32.
27495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27496         multiarch objects.
27497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27498         (__libc_ifunc_impl_list): Likewise.
27499         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27500         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27501         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27502         sysdeps/powerpc/power6/wcsrchr.c.
27504         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27505         file.
27506         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27507         file.
27508         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27509         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27510         multiarch wcschr for PPc32.
27511         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27512         multiarch objects.
27513         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27514         (__libc_ifunc_impl_list): Likewise.
27515         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27516         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27517         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27518         sysdeps/powerpc/power6/wcschr.c.
27520         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27521         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27522         file.
27523         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27524         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27525         file: multiarch strchr for PPC32.
27526         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27527         multiarch objects.
27528         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27529         (__libc_ifunc_impl_list): Likewise.
27531         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27532         name.
27533         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27534         file.
27535         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27536         file.
27537         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27538         multiarch strchrnul for PPC32.
27539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27540         multiarch objects.
27541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27542         (__libc_ifunc_impl_list): Likewise.
27544         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27545         file.
27546         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27547         multiarch strncasecmp for PPC32.
27548         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27549         file.
27550         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27551         multiarch strncasecmp_l for PPC32.
27552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27553         strncasecmp multiarch objects.
27554         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27555         (__libc_ifunc_impl_list): Likewise.
27557         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27558         file.
27559         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27560         multiarch strncasecmp for PPC32.
27561         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27562         New file.
27563         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27564         multiarch strcasecmp_l for PPC32.
27565         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27566         multiarch objects.
27567         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27568         (__libc_ifunc_impl_list): Likewise.
27570         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27571         file.
27572         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27573         file.
27574         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27575         multiarch strncmp for PPC32.
27576         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27577         multiarch objects.
27578         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27579         (__libc_ifunc_impl_list): Likewise.
27581         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27582         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27583         file.
27584         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27585         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27587         multiarch objects.
27588         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27589         (__libc_ifunc_impl_list): Likewise.
27591         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27592         file.
27593         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27594         file.
27595         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27597         multiarch objects.
27598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27599         (__libc_ifunc_impl_list): Likewise.
27601         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27602         file.
27603         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27604         file.
27605         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27606         multiarch rawmemchr for PPC32.
27607         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27608         multiarch objects.
27609         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27610         (__libc_ifunc_impl_list): Likewise.
27612         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27613         file.
27614         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27615         file.
27616         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27617         file: memrchr multiarch for PPC32.
27618         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27619         multiarch objects.
27620         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27621         (__libc_ifunc_impl_list): Likewise.
27623         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27624         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27625         file.
27626         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27627         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27628         multiarch memchr for PPC32.
27629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27630         multiarch objects.
27631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27632         (__libc_ifunc_impl_list): Likewise.
27634         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27635         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27636         file.
27637         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27638         file.
27639         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27640         file: multiarch mempcpy for PPC32.
27641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27642         multiarch objects.
27643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27644         (__libc_ifunc_impl_list): Likewise.
27646         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27647         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27648         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27649         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27650         multiarch bzero for PPC32.
27651         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27652         file.
27653         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27654         file.
27655         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27656         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27657         file: multiarch memset for PPC32.
27658         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27660         memset multiarch objects.
27661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27662         (__libc_ifunc_impl_list): Likewise.
27664         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27665         file.
27666         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27667         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27668         memcmp for PPC32.
27669         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27670         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27671         multiarch objects.
27672         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27673         (__libc_ifunc_impl_list): Likewise.
27675         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27676         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27677         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27678         file.
27679         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27680         file.
27681         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27682         file.
27683         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27684         multiarch memcpy for PPC32.
27685         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27686         multiarch objects.
27687         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27688         (__libc_ifunc_impl_list): Likewise.
27690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27691         support multiarch for POWER/PPC32.
27692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27693         Likewise.
27694         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27696         Implies file to make multiarch folder appers before the fpu and
27697         default folder for power4 configuration.
27699 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27701         * scripts/bench.pl: Append volatile keyword to type.
27703 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27705         * sysdeps/sh/sotruss-lib.c: New file.
27706         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27708 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27712 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27714         [BZ #6810]
27715         * math/w_tgamma.c: Include <errno.h>.
27716         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27717         * math/w_tgammaf.c: Include <errno.h>.
27718         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27719         * math/w_tgammal.c: Include <errno.h>.
27720         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27721         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27722         underflow.  Add more tgamma tests.
27723         * math/auto-libm-test-out: Regenerated.
27724         * sysdeps/i386/fpu/libm-test-ulps: Update.
27725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27727         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27728         sin, sinh, tan, tanh, tgamma, y0 and y1.
27729         * math/auto-libm-test-out: Regenerated.
27730         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27731         (TEST_COND_x86): Likewise.
27732         (M_E2l): Remove macro.
27733         (M_E3l): Likewise.
27734         (M_2_SQRT_PIl): Likewise.
27735         (M_SQRT_PIl): Likewise.
27736         (M_1_DIV_El): Likewise.
27737         (log_test_data): Use AUTO_TESTS_f_f.
27738         (log10_test_data): Likewise.
27739         (log1p_test_data): Likewise.
27740         (log2_test_data): Likewise.
27741         (sin_test_data): Likewise.
27742         (sin_tonearest_test_data): Likewise.
27743         (sin_towardzero_test_data): Likewise.
27744         (sin_downward_test_data): Likewise.
27745         (sin_upward_test_data): Likewise.
27746         (sinh_test_data): Likewise.
27747         (sinh_tonearest_test_data): Likewise.
27748         (sinh_towardzero_test_data): Likewise.
27749         (sinh_downward_test_data): Likewise.
27750         (sinh_upward_test_data): Likewise.
27751         (tan_test_data): Likewise.
27752         (tan_tonearest_test_data): Likewise.
27753         (tan_towardzero_test_data): Likewise.
27754         (tan_downward_test_data): Likewise.
27755         (tan_upward_test_data): Likewise.
27756         (tanh_test_data): Likewise.
27757         (tgamma_test_data): Likewise.
27758         (y0_test_data): Likewise.
27759         (y1_test_data): Likewise.
27760         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27761         (special_real_inputs): Add pi/4.
27762         * sysdeps/i386/fpu/libm-test-ulps: Update.
27763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27765 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27767         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27768         "longjmp_target" static probes.
27769         (__longjmp): Rename to __longjmp_symbol.
27770         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27771         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27772         on which longjmp to generate.
27773         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27774         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27775         probe.
27776         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27777         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27778         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27779         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27780         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27781         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27783         __longjmp_symbol based on which __longjmp to generate.
27784         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27785         probe.
27786         (setjmp): Rename to setjmp_symbol.
27787         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27788         (_setjmp): Rename to _setjmp_symbol.
27789         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27790         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27791         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27792         which setjmp to generate.
27793         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27794         "longjmp_target" static probes.
27796 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27798         * benchtests/README: Add note about output arguments.
27799         * benchtests/bench-sincos.c: Remove file.
27800         * benchtests/sincos-inputs: New file.
27801         * scripts/bench.pl: Identify output arguments and define
27802         static variables for them.
27804         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27806         [BZ #15941]
27807         * Makefile (INSTALL): Add install-plain.texi as the primary
27808         dependency.
27809         * manual/install-plain.texi: New file.
27810         * manual/install.texi: Include node directive only for
27811         non-plaintext output.
27813 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27815         * stdlib/longlong.h: Update from GCC.
27817         [BZ #6807]
27818         [BZ #15901]
27819         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27820         * math/w_j0f.c (y0f): Likewise.
27821         * math/w_j0l.c (__y0l): Likewise.
27822         * math/w_j1.c (y1): Likewise.
27823         * math/w_j1f.c (y1f): Likewise.
27824         * math/w_j1l.c (__y1l): Likewise
27825         * math/w_jn.c (yn): Likewise.
27826         * math/w_jnf.c (ynf): Likewise.
27827         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27828         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27829         value for Bessel function domain errors outside _SVID_ mode.
27830         Adjust sign of return value for yn (negative integer, 0).
27831         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27832         by zero in return for negative x and set sign appropriately for
27833         negative n.
27834         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27835         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27836         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27837         expectations in error cases.
27838         (y1_test_data): Likewise.
27839         (yn_test_data): Likewise.
27840         * sysdeps/i386/fpu/libm-test-ulps: Update.
27841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27843 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27845         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27846         "64" to "64-v1".  Add "64-v2".
27847         (abi-64-options): Rename to ...
27848         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27849         (abi-64-condition): Rename to ...
27850         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27851         (abi-64-ld-soname): Rename to ...
27852         (abi-64-v1-ld-soname): ... this.
27853         (abi-64-v2-options): Define.
27854         (abi-64-v2-condition): Likewise.
27855         (abi-64-v2-ld-soname): Likewise.
27856         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27857         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27862 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27863             Alan Modra  <amodra@gmail.com>
27865         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27866         New versions for use with the ELFv2 ABI.
27867         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27868         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27869         declaration.
27870         (struct La_ppc64v2_retval): Likewise.
27871         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27872         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27873         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27874         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27875         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27876         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27877         Do not save or restore CR.
27878         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27879         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27880         return values for ELFv2 ABI.  Fix location of FPR return registers.
27881         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27882         updated values for _CALL_ELF == 2.
27883         (La_regs, La_retval, int_retval): Likewise.
27885 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27887         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27888         (FRAME_MIN_SIZE_PARM): Likewise.
27889         (FRAME_BACKCHAIN): Likewise.
27890         (FRAME_CR_SAVE): Likewise.
27891         (FRAME_LR_SAVE): Likewise.
27892         (FRAME_TOC_SAVE): Likewise.
27893         (FRAME_PARM_SAVE): Likewise.
27894         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27895         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27896         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27897         (call_mcount_parm_offset): New macro.
27898         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27899         (PROF): Use symbolic stack frame offsets.
27900         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27901         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27902         Redefine in terms of FRAME_MIN_SIZE.
27903         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27904         (_dl_profile_resolve): Likewise.  Update comment.
27905         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27906         symbols stack frame offsets.
27907         (__sigsetjmp): Likewise.
27908         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27909         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27910         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27911         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27914         (FRAME_BACKCHAIN): Remove.
27915         (FRAME_CR_SAVE): Likewise.
27916         (FRAME_LR_SAVE): Likewise.
27917         (FRAME_COMPILER_DW): Likewise.
27918         (FRAME_LINKER_DW): Likewise.
27919         (FRAME_TOC_SAVE): Likewise.
27920         (FRAME_PARM_SAVE): Likewise.
27921         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27922         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27923         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27925         (CHECK_SP): Use symbolic stack frame offsets.
27926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27927         zone" instead of caller's parameter save area for temp storage.
27928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27929         Likewise.  Also, use symbolic stack frame offsets.
27930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27931         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27932         our own stack frame instead of the caller's.
27933         (__socket): Use symbolic stack frame offsets.
27935 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27936             Alan Modra  <amodra@gmail.com>
27938         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27939         Define.
27940         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27941         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27942         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27943         New function.
27944         (elf_machine_fixup_plt): Call it.
27945         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27946         reloc arguments.
27947         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27948         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27949         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27950         r2 before calling target.
27952 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27953             Alan Modra  <amodra@gmail.com>
27955         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27956         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27957         versions of macros to support ELFv2 ABI.
27958         (LOCALENTRY): New macro.
27959         (ENTRY, EALIGN): Use it.
27960         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27961         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27962         fall through into ENTRY entry point.
27963         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27964         Only define if _CALL_ELF != 2.
27966         (elf_machine_matches_host): Verify ABI version matches.
27967         (RTLD_START): Use LOCALENTRY.
27968         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27969         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27970         (PLT_ENTRY_WORDS): New macro.
27971         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27972         (elf_machine_runtime_setup): Support ELFv2 ABI.
27973         (elf_machine_fixup_plt): Likewise.
27974         (elf_machine_plt_conflict): Likewise.
27975         (resolve_ifunc): Likewise.
27976         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27977         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27978         Likewise.
27979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27980         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27982         (makecontext): Support ELFv2 ABI.
27983         * elf/elf.h (EF_PPC64_ABI): Define.
27985 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27987         * sysdeps/powerpc/powerpc64/sysdep.h
27988         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27989         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27990         (ENTRY) [ASSEMBLER]: ... but instead here ...
27991         (EALIGN) [ASSEMBLER]: ... and here.
27992         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27993         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27994         (ENTRY_2) [!ASSEMBLER]: Use it.
27995         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27996         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27997         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27998         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27999         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28001         Use PPC64_LOAD_FUNCPTR.
28003         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28005 2013-12-04  Alan Modra  <amodra@gmail.com>
28007         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28008         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28009         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28010         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28012         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28013         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28014         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28015         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28016         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28017         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28019 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28022         (__makecontext): Fix incorrect CFI when backtracing out of
28023         context created via makecontext.
28024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28025         (__setcontext): Fix incorrect CFI during switch to new context.
28026         (__novec_setcontext): Likewise.
28028 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28030         [BZ #4772]
28031         * time/strptime_l.c (__strptime_internal): Allow modifiers
28032         in strptime.
28033         * time/tst-strptime.c (day_tests): Add testcase.
28035 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28037         * scripts/bench.pl: Skip over blank lines.
28039 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28041         [BZ #926]
28042         * manual/time.texi (Calendar Time): Clarify what timezone functions
28043         use.
28045 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28049 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28051         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28052         implementation.
28053         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28054         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28055         * debug/memset_chk.c (__memset_chk): Likewise.
28056         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28057         * debug/strncpy_chk.c: Likewise.
28059 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28061         [BZ #15268]
28062         [BZ #15425]
28063         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28064         (__ieee754_exp): For possibly underflowing results, check size of
28065         result and force underflow exception if required.
28066         * math/auto-libm-test-in: Add more tests of exp.
28067         * math/auto-libm-test-out: Regenerated.
28068         * sysdeps/i386/fpu/libm-test-ulps: Update.
28069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28071         [BZ #16283]
28072         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28073         * math/w_exp2f.c (__exp2f): Likewise.
28074         * math/w_exp2l.c (__exp2l): Likewise.
28075         * math/auto-libm-test-in: Do not allow missing errno on exp2
28076         underflow.
28077         * math/auto-libm-test-out: Regenerated.
28079 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28081         [BZ #16274]
28082         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28083         handle filename validation.
28084         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28085         (do_open): Delete.
28087 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28089         [BZ #6786]
28090         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28091         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28092         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28093         <float.h>.
28094         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28095         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28096         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28097         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28098         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28099         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28100         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28101         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28102         Add more erfc tests.
28103         * math/auto-libm-test-out: Regenerated.
28104         * sysdeps/i386/fpu/libm-test-ulps: Update.
28105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28107         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28108         exp2, expm1, j0 and j1.
28109         * math/auto-libm-test-out: Regenerated.
28110         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28111         (erfc_test_data): Likewise.
28112         (exp_test_data): Likewise.
28113         (exp_tonearest_test_data): Likewise.
28114         (exp_towardzero_test_data): Likewise.
28115         (exp_downward_test_data): Likewise.
28116         (exp_upward_test_data): Likewise.
28117         (exp10_test_data): Likewise.
28118         (exp2_test_data): Likewise.
28119         (expm1_test_data): Likewise.
28120         (j0_test_data): Likewise.
28121         (j1_test_data): Likewise.
28122         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28123         (input_flag_type): Add flag_xfail_rounding.
28124         (input_flags): Add xfail-rounding.
28125         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28126         (output_for_one_input_case): Handle flag_xfail_rounding.
28127         * sysdeps/i386/fpu/libm-test-ulps: Update.
28128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28130 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28132         [BZ #16289]
28133         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28134         division by 0.
28136 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28138         [BZ #16195]
28139         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28140         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28141         (STAP_PROBE0): New macro.
28142         (STAP_PROBE1): Likewise.
28143         (STAP_PROBE2): Likewise.
28144         (STAP_PROBE3): Likewise.
28145         (STAP_PROBE4): Likewise.
28147 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28149         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28151 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28153         * benchtests/Makefile (bench): Add sqrt.
28154         (LDLIBS-bench-sqrt): New.
28155         * benchtests/sqrt-input: New.
28157 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28159         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28160         (GAIH_EAI): Likewise.
28161         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28162         (gaih_inet): Likewise.
28163         (getaddrinfo): Don't use GAIH_EAI.
28165         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28166         (struct gaih): Remove definition.
28168 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28170         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28171         Use HERRNOP directly.
28173 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28177 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28179         * math/gen-auto-libm-tests.c (test_functions): Add more
28180         single-argument functions.
28181         (special_fill_pi_2): New function.
28182         (special_fill_minus_pi_2): Likewise.
28183         (special_fill_pi_6): Likewise.
28184         (special_fill_minus_pi_6): Likewise.
28185         (special_fill_pi_3): Likewise.
28186         (special_fill_2pi_3): Likewise.
28187         (special_fill_e): Likewise.
28188         (special_fill_1_e): Likewise.
28189         (special_fill_e_minus_1): Likewise.
28190         (special_real_inputs): Add more special inputs.
28191         (output_for_one_input_case): Do not require ERANGE on underflow to
28192         zero if round-to-nearest result does not underflow to zero, unless
28193         exact results required.
28194         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28195         atan, atanh, cbrt, cos and cosh.
28196         * math/auto-libm-test-out: Regenerated.
28197         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28198         (acos_tonearest_test_data): Likewise.
28199         (acos_towardzero_test_data): Likewise.
28200         (acos_downward_test_data): Likewise.
28201         (acos_upward_test_data): Likewise.
28202         (acosh_test_data): Likewise.
28203         (asin_test_data): Likewise.
28204         (asin_tonearest_test_data): Likewise.
28205         (asin_towardzero_test_data): Likewise.
28206         (asin_upward_test_data): Likewise.
28207         (asinh_test_data): Likewise.
28208         (atan_test_data): Likewise.
28209         (atanh_test_data): Likewise.
28210         (cbrt_test_data): Likewise.
28211         (cos_test_data): Likewise.
28212         (cos_tonearest_test_data): Likewise.
28213         (cos_towardzero_test_data): Likewise.
28214         (cos_downward_test_data): Likewise.
28215         (cos_upward_test_data): Likewise.
28216         (cosh_test_data): Likewise.
28217         (cosh_tonearest_test_data): Likewise.
28218         (cosh_towardzero_test_data): Likewise.
28219         (cosh_downward_test_data): Likewise.
28220         (cosh_upward_test_data): Likewise.
28221         * sysdeps/i386/fpu/libm-test-ulps: Update.
28222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28224 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28226         [BZ #6787]
28227         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28228         * math/w_exp10f.c (__exp10f): Likewise.
28229         * math/w_exp10l.c (__exp10l): Likewise.
28230         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28231         errno settings in existing tests.
28233         [BZ #14032]
28234         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28235         precision control set to double precision.
28236         * sysdeps/i386/fpu/w_sqrt.c: New file.
28237         * math/auto-libm-test-in: Add more tests.
28238         * math/auto-libm-test-out: Update.
28240         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28241         (sqrt_test_tonearest): New function.
28242         (sqrt_towardzero_test_data): New variable.
28243         (sqrt_test_towardzero): New function.
28244         (sqrt_downward_test_data): New variable.
28245         (sqrt_test_downward): New function.
28246         (sqrt_upward_test_data): New variable.
28247         (sqrt_test_upward): New function.
28248         (main): Call the new functions.
28250         * math/gen-auto-libm-tests.c: New file.
28251         * math/auto-libm-test-in: Likewise.
28252         * math/auto-libm-test-out: New generated file.
28253         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28254         variables.
28255         (%beautify): Add generated representations of zero.
28256         (top level): Set $auto_input and call parse_auto_input.
28257         (beautify): Remove trailing "f" from hex float constants.
28258         (parse_args): Handle XFAIL_TEST.
28259         (convert_condition): New function.
28260         (or_value): Likewise.
28261         (or_cond_value): Likewise.
28262         (generate_testfile): Handle AUTO_TESTS_* lines.
28263         (parse_auto_input): New function.
28264         * math/libm-test.inc (XFAIL_TEST): New macro.
28265         (ERRNO_UNCHANGED): Update value.
28266         (ERRNO_EDOM): Likewise.
28267         (ERRNO_ERANGE): Likewise.
28268         (IGNORE_RESULT): Likewise.
28269         (TEST_COND_flt_32): New macro.
28270         (TEST_COND_dbl_64): Likewise.
28271         (TEST_COND_ldbl_96_intel): Likewise.
28272         (TEST_COND_ldbl_96_m68k): Likewise.
28273         (TEST_COND_ldbl_128): Likewise.
28274         (TEST_COND_ldbl_128ibm): Likewise.
28275         (TEST_COND_long32): Likewise.
28276         (TEST_COND_long64): Likewise.
28277         (TEST_COND_before_rounding): Likewise.
28278         (TEST_COND_after_rounding): Likewise.
28279         (enable_test): Handle XFAIL_TEST flag.
28280         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28281         with finite results.
28282         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28283         auto-libm-test-out.
28285 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28286             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28288         [BZ #16214]
28289         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28290         __tls_get_addr_internal instead of __tls_get_offset in order to
28291         avoid GOT pointer dependency.  Make rtld export
28292         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28293         __tls_get_addr since we are a __tls_get_offset platform.
28294         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28295         GOT pointer being set up before.
28296         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28298 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28300         * manual/math.texi (Errors in Math Functions): Document accuracy
28301         goals.
28303         [BZ #15004]
28304         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28305         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28306         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28307         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28308         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28309         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28310         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28311         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28312         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28313         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28314         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28315         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28316         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28317         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28318         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28319         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28321         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28322         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28323         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28324         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28325         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28326         Likewise.
28327         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28328         Likewise.
28329         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28330         Likewise.
28331         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28332         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28333         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28334         atomic-feupdateenv and flt-rounds.
28335         * sysdeps/powerpc/nofpu/Versions (libc): Add
28336         __atomic_feholdexcept, __atomic_feclearexcept,
28337         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28338         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28339         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28340         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28341         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28342         here.
28343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28344         Update.
28346         * manual/arith.texi (FP Exceptions): Document that exceptions may
28347         not be raised when matherr is used.
28348         (Math Error Reporting): Document overflow in directed rounding
28349         modes.  Document that errno may not be set when finite values are
28350         returned on overflow.  Document intent to set errno on underflow
28351         only for underflow to zero.
28353         [BZ #16271]
28354         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28355         round-to-nearest then adjust result for other rounding modes.
28356         * include/fenv.h (fegetround): Use libm_hidden_proto.
28357         * math/fegetround.c (fegetround): Use libm_hidden_def.
28358         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28359         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28360         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28361         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28362         Likewise.
28363         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28364         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28365         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28366         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28368 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28370         [BZ #16077]
28371         * nss/Versions (libnss_files): Add
28372         _nss_files_gethostbyname3_r.
28373         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28374         New function.
28375         (HOST_DB_LOOKUP): Remove macro.
28376         (_nss_files_gethostbyname_r): Implement function without the
28377         HOST_DB_LOOKUP macro.
28378         (_nss_files_gethostbyname2_r): Likewise.
28380 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28382         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28384 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28386         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28387         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28388         warning.
28390 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28392         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28393         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28394         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28395         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28396         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28397         __fe_nomask_env_priv and attribute_hidden.
28398         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28399         (libc_feupdateenv_test_ppc): Likewise.
28400         (libc_feresetround_ppc): Likewise.
28401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28402         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28403         compat_symbol macro.
28404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28405         (__fe_nomask_env): Likewise.
28406         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28408 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28410         * string/Makefile: Remove ifunc tests.
28411         * string/test-string.h: Define TEST_IFUNC.
28412         * string/test-bcopy-ifunc.c: Remove.
28413         * string/test-bzero-ifunc.c: Likewise.
28414         * string/test-memccpy-ifunc.c: Likewise.
28415         * string/test-memchr-ifunc.c: Likewise.
28416         * string/test-memcmp-ifunc.c: Likewise.
28417         * string/test-memcpy-ifunc.c: Likewise.
28418         * string/test-memmem-ifunc.c: Likewise.
28419         * string/test-memmove-ifunc.c: Likewise.
28420         * string/test-mempcpy-ifunc.c: Likewise.
28421         * string/test-memrchr-ifunc.c: Likewise.
28422         * string/test-memset-ifunc.c: Likewise.
28423         * string/test-rawmemchr-ifunc.c: Likewise.
28424         * string/test-stpcpy-ifunc.c: Likewise.
28425         * string/test-stpncpy-ifunc.c: Likewise.
28426         * string/test-strcasecmp-ifunc.c: Likewise.
28427         * string/test-strcasestr-ifunc.c: Likewise.
28428         * string/test-strcat-ifunc.c: Likewise.
28429         * string/test-strchr-ifunc.c: Likewise.
28430         * string/test-strchrnul-ifunc.c: Likewise.
28431         * string/test-strcmp-ifunc.c: Likewise.
28432         * string/test-strcpy-ifunc.c: Likewise.
28433         * string/test-strcspn-ifunc.c: Likewise.
28434         * string/test-strlen-ifunc.c: Likewise.
28435         * string/test-strncasecmp-ifunc.c: Likewise.
28436         * string/test-strncat-ifunc.c: Likewise.
28437         * string/test-strncmp-ifunc.c: Likewise.
28438         * string/test-strncpy-ifunc.c: Likewise.
28439         * string/test-strnlen-ifunc.c: Likewise.
28440         * string/test-strpbrk-ifunc.c: Likewise.
28441         * string/test-strrchr-ifunc.c: Likewise.
28442         * string/test-strspn-ifunc.c: Likewise.
28443         * string/test-strstr-ifunc.c: Likewise.
28445 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28447         * benchtests/Makefile: Remove ifunc tests.
28448         * benchtests/bench-string.h: Define TEST_IFUNC.
28449         * benchtests/bench-bcopy-ifunc.c: Remove.
28450         * benchtests/bench-bzero-ifunc.c: Likewise.
28451         * benchtests/bench-memccpy-ifunc.c: Likewise.
28452         * benchtests/bench-memchr-ifunc.c: Likewise.
28453         * benchtests/bench-memcmp-ifunc.c: Likewise.
28454         * benchtests/bench-memcpy-ifunc.c: Likewise.
28455         * benchtests/bench-memmem-ifunc.c: Likewise.
28456         * benchtests/bench-memmove-ifunc.c: Likewise.
28457         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28458         * benchtests/bench-memrchr-ifunc.c: Likewise.
28459         * benchtests/bench-memset-ifunc.c: Likewise.
28460         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28461         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28462         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28463         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28464         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28465         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28466         * benchtests/bench-strcat-ifunc.c: Likewise.
28467         * benchtests/bench-strchr-ifunc.c: Likewise.
28468         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28469         * benchtests/bench-strcmp-ifunc.c: Likewise.
28470         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28471         * benchtests/bench-strcpy-ifunc.c: Likewise.
28472         * benchtests/bench-strcspn-ifunc.c: Likewise.
28473         * benchtests/bench-strlen-ifunc.c: Likewise.
28474         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28475         * benchtests/bench-strncat-ifunc.c: Likewise.
28476         * benchtests/bench-strncmp-ifunc.c: Likewise.
28477         * benchtests/bench-strncpy-ifunc.c: Likewise.
28478         * benchtests/bench-strnlen-ifunc.c: Likewise.
28479         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28480         * benchtests/bench-strrchr-ifunc.c: Likewise.
28481         * benchtests/bench-strsep-ifunc.c: Likewise.
28482         * benchtests/bench-strspn-ifunc.c: Likewise.
28483         * benchtests/bench-strstr-ifunc.c: Likewise.
28485 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28487         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28489 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28491         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28492         * rt/aio.h: Likewise.
28493         * sysdeps/gnu/bits/utmp.h: Likewise.
28494         * sysdeps/gnu/bits/utmpx.h: Likewise.
28495         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28496         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28497         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28498         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28499         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28500         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28501         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28502         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28503         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28504         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28505         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28506         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28507         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28509         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28510         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28511         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28512         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28513         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28514         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28515         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28516         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28517         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28518         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28519         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28520         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28521         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28522         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28523         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28524         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28525         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28526         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28527         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28528         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28529         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28530         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28531         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28532         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28533         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28534         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28535         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28536         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28538 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28540         [BZ #16245]
28541         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28542         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28544 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28546         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28547         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28548         Likewise.
28550 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28552         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28553         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28554         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28555         (__fesetround): Remove define.
28556         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28557         rounding and exceptions handling.
28558         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28559         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28560         (__fe_nomask_env): Likewise.
28561         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28562         __fegetround instead of fegetround.
28563         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28564         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28566 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28568         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28569         it's there.
28571         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28573 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28575         [BZ #11157]
28576         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28577         (encrypt_r): Likewise.
28578         * malloc/obstack.h (obstack_free): Likewise.
28579         * posix/unistd.h (encrypt): Likewise.
28581 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28583         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28584         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28585         DL_CALL_DT_FINI() that call the functions directly.
28586         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28587         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28588         * elf/dl-fini.c: Likewise.
28590 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28592         * malloc/hooks.c (memalign_check): Add alignment rounding.
28593         * malloc/malloc.c (_mid_memalign): New function.
28594         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28595         Implement by calling _mid_memalign.
28596         * manual/probes.texi (Memory Allocation Probes): Remove
28597         memory_valloc_retry and memory_pvalloc_retry.
28599 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28601         * locale/programs/locarchive.c (open_archive): Add const
28602         qualifier to ARCHIVEFNAME and copy default fname to
28603         DEFAULT_FNAME.
28605         [BZ #15601]
28606         * libio/tst-widetext.input: Rename Oriya to Odia.
28607         * locale/iso-639.def: Likewise.
28609         * manual/probes.texi (Mathematical Function Probes): Add
28610         documentation for sin, cos, asin and acos probes.
28611         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28612         (__sin32): Add slowasin probe.
28613         (__cos32): Add slowacos probe.
28614         (__mpsin): Add slowsin probe.
28615         (__mpcos): Add slowcos probe.
28617 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28619         [BZ #15483]
28620         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28621         thread-local __sim_exceptions_thread and global
28622         __sim_exceptions_global.
28623         (__sim_disabled_exceptions): Change to thread-local
28624         __sim_disabled_exceptions_thread and global
28625         __sim_disabled_exceptions_global.
28626         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28627         and global __sim_round_mode_global.
28628         (__simulate_exceptions): Use thread-local floating-point state and
28629         set global state from it as needed.
28630         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28631         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28632         __sim_round_mode_thread.
28633         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28634         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28635         and global __sim_exceptions_global.
28636         (__sim_disabled_exceptions): Change to thread-local
28637         __sim_disabled_exceptions_thread and global
28638         __sim_disabled_exceptions_global.
28639         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28640         and global __sim_round_mode_global.
28641         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28642         (SIM_SET_GLOBAL): Likewise.
28643         * sysdeps/powerpc/soft-fp/sfp-machine.h
28644         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28645         __sim_round_mode_thread.
28646         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28647         __sim_disabled_exceptions_thread.
28648         (__sim_exceptions): Change to __sim_exceptions_thread.
28649         (__sim_disabled_exceptions): Change to
28650         __sim_disabled_exceptions_thread.
28651         (__sim_round_mode): Change to __sim_round_mode_thread.
28652         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28653         thread-local floating-point state and set global state from it as
28654         needed.
28655         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28656         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28657         (__sim_disabled_exceptions): Remove extern declaration.
28658         (feenableexcept): Use thread-local floating-point state and set
28659         global state from it as needed.
28660         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28661         extern declaration.
28662         (__sim_disabled_exceptions): Likewise.
28663         (__sim_round_mode): Likewise.
28664         (__fegetenv): Use thread-local floating-point state.
28665         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28666         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28667         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28668         floating-point state and set global state from it as needed.
28669         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28670         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28671         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28672         Likewise.
28673         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28674         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28675         Likewise.
28676         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28677         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28678         Use __sim_round_mode_thread.
28679         * math/test-fenv-tls.c: New file.
28680         * math/Makefile (tests): Add test-fenv-tls.
28681         ($(objpfx)test-fenv-tls): Depend on
28682         $(common-objpfx)nptl/libpthread.so.
28684 2013-11-19  Andreas Schwab  <schwab@suse.de>
28686         * locale/programs/locale.c (show_info): Decode wordarray elements.
28687         * locale/categories.def (LC_MONETARY): Add element for
28688         _NL_MONETARY_CRNCYSTR.
28689         * locale/C-monetary.c (conversion_rate): New variable.
28690         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28691         element.
28693 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28695         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28696         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28698 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28700         * elf/Makefile (tst-auxv): New test.
28701         * elf/tst-auxv.c: New
28702         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28704 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28706         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28707         (hidden_proto): Caller changed.
28708         (hidden_tls_proto): New macro.
28709         (libc_hidden_tls_proto): Likewise.
28710         (rtld_hidden_tls_proto): Likewise.
28711         (libm_hidden_tls_proto): Likewise.
28712         (libresolv_hidden_tls_proto): Likewise.
28713         (librt_hidden_tls_proto): Likewise.
28714         (libdl_hidden_tls_proto): Likewise.
28715         (libnss_files_hidden_tls_proto): Likewise.
28716         (libnsl_hidden_tls_proto): Likewise.
28717         (libnss_nisplus_hidden_tls_proto): Likewise.
28718         (libutil_hidden_tls_proto): Likewise.
28720 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28722         [BZ #10253]
28723         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28724         (decompose_rpath): Defer expansion to fillin_rpath.
28725         (_dl_init_paths): Pass linkmap to fillin_rpath.
28727 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28729         * benchtests/Makefile: Add strsep.
28730         * benchtests/bench-strsep.c: New file: strsep benchtest.
28731         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28733 2013-11-18  Andreas Schwab  <schwab@suse.de>
28735         * locale/programs/locale.c (show_info) [case byte]: Check for
28736         '\377' instead of '\177'.
28737         * locale/C-monetary.c (not_available): Always use "\377".
28738         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28739         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28740         detect unavailable sign_posn locale elements.
28741         * locale/localeconv.c (__localeconv): For grouping and
28742         mon_grouping handle "\177" and "\377" like no grouping.
28743         (INT_ELEM): New macro.  Use it to set all numeric members.
28744         * locale/programs/ld-monetary.c (monetary_read)
28745         <tok_mon_grouping>: Normalize single -1 to the empty string.
28746         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28747         Likewise.
28749 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28751         [BZ #16055]
28752         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28753         when we match (nil).
28754         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28756 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28758         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28759         (NO_TEST_INLINE): Update value.
28760         (ERRNO_UNCHANGED): Likewise.
28761         (ERRNO_EDOM): Likewise.
28762         (ERRNO_ERANGE): Likewise.
28763         (IGNORE_RESULT): Likewise.
28764         (check_float_internal): Check signs of NaN results if
28765         TEST_NAN_SIGN used.
28766         (check_complex): Pass TEST_NAN_SIGN flag through to second
28767         check_float_internal call.
28768         (copysign_test_data): Add tests with quiet NaNs as second
28769         argument.  Use TEST_NAN_SIGN.
28770         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28771         TEST_NAN_SIGN.
28772         (signbit_test_data): Add tests of quiet NaN argument.
28773         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28775         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28776         $ignore_result.
28777         (parse_args): Handle function results specified as IGNORE.
28778         * math/libm-test.inc (IGNORE_RESULT): New macro.
28779         (check_float_internal): Do not check numerical result if flag
28780         IGNORE_RESULT set.
28781         (check_complex): Pass through IGNORE_RESULT to second
28782         check_float_internal call.
28783         (check_int): Do not check numerical result if flag IGNORE_RESULT
28784         set.
28785         (check_long): Likewise.
28786         (check_bool): Likewise.
28787         (check_longlong): Likewise.
28788         (lrint_test_data): Add tests of infinite and NaN arguments.
28789         (lrint_tonearest_test_data): Likewise.
28790         (lrint_towardzero_test_data): Likewise.
28791         (lrint_downward_test_data): Likewise.
28792         (lrint_upward_test_data): Likewise.
28793         (llrint_test_data): Likewise.
28794         (llrint_tonearest_test_data): Likewise.
28795         (llrint_towardzero_test_data): Likewise.
28796         (llrint_downward_test_data): Likewise.
28797         (llrint_upward_test_data): Likewise.
28798         (lround_test_data): Likewise.
28799         (llround_test_data): Likewise.
28801         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28802         (ERRNO_UNCHANGED): Update value.
28803         (ERRNO_EDOM): Likewise.
28804         (ERRNO_ERANGE): Likewise.
28805         (NO_TEST_INLINE_FLOAT): New macro.
28806         (NO_TEST_INLINE_DOUBLE): Likewise.
28807         (enable_test): New function.
28808         (RUN_TEST_f_f): Check enable_test before running test.
28809         (RUN_TEST_2_f): Likewise.
28810         (RUN_TEST_fff_f): Likewise.
28811         (RUN_TEST_c_f): Likewise.
28812         (RUN_TEST_f_f1): Likewise.
28813         (RUN_TEST_fF_f1): Likewise.
28814         (RUN_TEST_fI_f1): Likewise.
28815         (RUN_TEST_ffI_f1): Likewise.
28816         (RUN_TEST_c_c): Likewise.
28817         (RUN_TEST_cc_c): Likewise.
28818         (RUN_TEST_f_i): Likewise.
28819         (RUN_TEST_f_i_tg): Likewise.
28820         (RUN_TEST_ff_i_tg): Likewise.
28821         (RUN_TEST_f_b): Likewise.
28822         (RUN_TEST_f_b_tg): Likewise.
28823         (RUN_TEST_f_l): Likewise.
28824         (RUN_TEST_f_L): Likewise.
28825         (RUN_TEST_fFF_11): Likewise.
28826         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28827         conditionals.
28828         (cosh_test_data): Likewise.
28829         (exp_test_data): Likewise.
28830         (expm1_test_data): Likewise.
28831         (hypot_test_data): Likewise.
28832         (pow_test_data): Likewise.
28833         (sinh_test_data): Likewise.
28834         (tanh_test_data): Likewise.
28835         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28836         flags argument.
28838         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28839         tests with quiet NaN input and output.
28840         (acosh_test_data): Likewise.
28841         (asin_test_data): Likewise.
28842         (asinh_test_data): Likewise.
28843         (atan_test_data): Likewise.
28844         (atanh_test_data): Likewise.
28845         (atan2_test_data): Likewise.
28846         (cbrt_test_data): Likewise.
28847         (cos_test_data): Likewise.
28848         (cosh_test_data): Likewise.
28849         (erf_test_data): Likewise.
28850         (erfc_test_data): Likewise.
28851         (exp_test_data): Likewise.
28852         (exp10_test_data): Likewise.
28853         (exp2_test_data): Likewise.
28854         (expm1_test_data): Likewise.
28855         (hypot_test_data): Likewise.
28856         (j0_test_data): Likewise.
28857         (j1_test_data): Likewise.
28858         (jn_test_data): Likewise.
28859         (lgamma_test_data): Likewise.
28860         (log_test_data): Likewise.
28861         (log10_test_data): Likewise.
28862         (log1p_test_data): Likewise.
28863         (log2_test_data): Likewise.
28864         (pow_test_data): Likewise.
28865         (scalb_test_data): Likewise.
28866         (sin_test_data): Likewise.
28867         (sincos_test_data): Likewise.
28868         (sinh_test_data): Likewise.
28869         (tan_test_data): Likewise.
28870         (tanh_test_data): Likewise.
28871         (tgamma_test_data): Likewise.
28872         (y0_test_data): Likewise.
28873         (y1_test_data): Likewise.
28874         (yn_test_data): Likewise.
28876         [BZ #16167]
28877         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28878         argument being NaN and avoid computations with second argument in
28879         that case.
28880         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28881         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28882         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28884 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28886         * locale/iso-639.def: Add Chitwani Tharu (the).
28888 2013-11-14  Andreas Schwab  <schwab@suse.de>
28890         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28891         word instead of empty string.
28893 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28896         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28898         (__fe_nomask_env): Likewise.
28900 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28902         * benchtests/bench-timing.h: Include time.h.
28904 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28906         [BZ #15997]
28907         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28908         to 3.4.0 for x32.
28909         * sysdeps/unix/sysv/linux/configure: Regenerated.
28911 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28913         [BZ #16151]
28914         * stdlib/strtod_l.c (round_and_return): Do not consider
28915         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28916         exponent one less than half the least subnormal exponent.
28917         * stdlib/test-strtod-round-data: Add more tests.
28918         * stdlib/tst-strtod-round.c (tests): Regenerated.
28920 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28922         [BZ #14143]
28923         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28924         (__fe_mask_env): Likewise.
28925         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28926         libm_hidden_proto and add function prototype.
28927         (__fe_mask_env): Add function prototype.
28928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28929         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28931         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28933         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28935 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28937         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28938         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28940 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28942         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28943         of htab_find_slot().
28945 2013-11-11  David S. Miller  <davem@davemloft.net>
28947         [BZ #16150]
28948         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28949         symbol in the non-vis3 case in static builds.
28950         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28951         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28952         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28953         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28955 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28957         [BZ #387]
28958         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28959         it is empty.
28961 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28963         * benchtests/Makefile: Add bench-strtod.
28964         * benchtests/bench-strtod.c: New file: strtod benchtest
28966 2013-11-11  Andreas Schwab  <schwab@suse.de>
28968         [BZ #16153]
28969         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28970         terminating NUL in key length.
28972 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28974         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28975         Add artificial ODP entry for vDSO symbol for PPC64.
28976         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28977         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28979 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28981         [BZ #15374]
28982         * nss/getent.c (services_keys): Recognize services starting with digit.
28984 2013-11-06  David S. Miller  <davem@davemloft.net>
28986         [BZ #15985]
28987         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28988         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28990 2013-11-06  Will Newton  <will.newton@linaro.org>
28992         * manual/memory.texi (Malloc Examples): Remove register
28993         keyword from examples.
28995 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28997         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28999 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29001         [BZ #6981]
29002         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29003         depending on [__GCC_IEC_559 > 0].
29004         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29005         depending on [__GCC_IEC_559_COMPLEX > 0].
29007 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29009         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29010         to iso-639.def.
29012 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29014         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29016 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29018         [BZ #16112]
29019         * malloc/malloc (malloc_info): Do not handle first bin as
29020         special case.
29022 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29024         * locale/iso-639.def: Add Central Nahuatl (nhn).
29026 2013-11-01  Bruno Haible  <bruno@clisp.org>
29028         [BZ #7003]
29029         * manual/math.texi (BSD Random): Specify range upper bound as
29030         in POSIX.
29032 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29034         * locale/iso-639.def: Add Meadow Mari (mhr).
29036 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29038         [BZ #14752], [BZ #15763]
29039         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29040         Validate name.
29041         * rt/tst_shm.c: Add test for escaping directory.
29043 2013-10-31  Andreas Schwab  <schwab@suse.de>
29045         [BZ #15917]
29046         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29047         followed by 'x' as part of digit sequence.
29048         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29050 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29052         [BZ #16037]
29053         * configure.ac: allow GNU Make 4.0 and greater.
29054         * configure: Regenerated.
29056 2013-10-30  Will Newton  <will.newton@linaro.org>
29058         [BZ #16038]
29059         * malloc/hooks.c (memalign_check): Limit alignment to the
29060         maximum representable power of two.
29061         * malloc/malloc.c (__libc_memalign): Likewise.
29062         * malloc/tst-memalign.c (do_test): Add test for very
29063         large alignment values.
29064         * malloc/tst-posix_memalign.c (do_test): Likewise.
29066 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29068         [BZ #11087]
29069         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29070         (munmap_chunk): Likewise.
29071         (mremap_chunk): Likewise.
29073 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29075         [BZ #15799]
29076         * stdlib/div.c (div): Remove obsolete code.
29077         * stdlib/ldiv.c (ldiv): Likewise.
29078         * stdlib/lldiv.c (lldiv): Likewise.
29080 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29082         [BZ #16071]
29083         * nss/nss_files/files-XXX.c (get_contents_ret): New
29084         enumerator.
29085         (get_contents): New function.
29086         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29088 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29090         * configure.in: Moved to ...
29091         * configure.ac: ... here. Change reference to configure.in
29092         to configure.ac.
29093         * sysdeps/arm/preconfigure.ac: ... here.
29094         configure.in to configure.ac.
29095         * sysdeps/gnu/configure.in: Moved to ...
29096         * sysdeps/gnu/configure.ac: ... here.
29097         * sysdeps/i386/configure.in: Moved to ...
29098         * sysdeps/i386/configure.ac: ... here.
29099         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29100         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29101         * sysdeps/mach/configure.in: Moved to ...
29102         * sysdeps/mach/configure.ac: ... here.
29103         * sysdeps/mach/hurd/configure.in: Moved to ...
29104         * sysdeps/mach/hurd/configure.ac: ... here.
29105         * sysdeps/powerpc/configure.in: Moved to ...
29106         * sysdeps/powerpc/configure.ac: ... here.
29107         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29108         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29109         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29110         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29111         * sysdeps/s390/s390-32/configure.in: Moved to ...
29112         * sysdeps/s390/s390-32/configure.ac: ... here.
29113         * sysdeps/s390/s390-64/configure.in: Moved to ...
29114         * sysdeps/s390/s390-64/configure.ac: ... here.
29115         * sysdeps/sh/configure.in: Moved to ...
29116         * sysdeps/sh/configure.ac: ... here.
29117         * sysdeps/sparc/configure.in: Moved to ...
29118         * sysdeps/sparc/configure.ac: ... here.
29119         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29120         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29121         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29122         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29123         * sysdeps/x86_64/configure.in: Moved to ...
29124         * sysdeps/x86_64/configure.ac: ... here.
29125         * sysdeps/x86_64/preconfigure.in: Moved to ...
29126         * sysdeps/x86_64/preconfigure.ac: ... here.
29127         * aclocal.m4: Change reference to configure.in to configure.ac.
29128         * config.h.in: Likewise.
29129         * manual/install.texi: Likewise.
29130         * manual/maint.texi: Likewise.
29131         * Makefile: Likewise.
29132         * malloc/Makefile: Likewise.
29133         * nscd/Makefile: Likewise.
29134         * Makeconfig: Change reference to configure.in and
29135         preconfigure.in to configure.ac and preconfigure.ac
29136         respectively.
29137         * INSTALL: Regenerated.
29138         * configure: Likewise.
29139         * sysdeps/gnu/configure: Likewise.
29140         * sysdeps/i386/configure: Likewise.
29141         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29142         * sysdeps/mach/configure: Likewise.
29143         * sysdeps/mach/hurd/configure: Likewise.
29144         * sysdeps/powerpc/configure: Likewise.
29145         * sysdeps/powerpc/powerpc32/configure: Likewise.
29146         * sysdeps/powerpc/powerpc64/configure: Likewise.
29147         * sysdeps/s390/s390-32/configure: Likewise.
29148         * sysdeps/s390/s390-64/configure: Likewise.
29149         * sysdeps/sh/configure: Likewise.
29150         * sysdeps/sparc/configure: Likewise.
29151         * sysdeps/unix/sysv/linux/configure: Likewise.
29152         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29153         * sysdeps/x86_64/configure: Likewise.
29154         * sysdeps/x86_64/preconfigure: Likewise.
29156 2013-10-29  Andreas Schwab  <schwab@suse.de>
29158         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29160 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29162         * benchtests/pow-inputs: Add new inputs.
29164         * benchtests/exp-inputs: Add new inputs.
29166         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29167         conditional check for return value.
29168         (__cos32): Likewise.
29170 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29172         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29173         to provide a boost for large inputs with word alignment.
29174         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29175         implementation based on optimized PPC64 strcpy.
29176         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29177         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29178         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29179         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29181 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29183         [BZ #2801]
29184         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29186 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29188         [BZ #14876]
29189         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29190         * time/tst-strptime.c (day_tests): Add testcase.
29192 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29194         [BZ #14029]
29195         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29197 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29199         [BZ #16074]
29200         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29201         MAP_FAILED on error.
29203 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29205         [BZ #16072]
29206         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29207         heap for large requests.
29209 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29211         [BZ #9954]
29212         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29213         result if the result has no associated interface.
29214         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29215         interface for all 127.X.Y.Z addresses.
29217 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29219         * locale/iso-639.def: Add Ligurian (lij)
29221 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29223         [BZ #15825]
29224         * sunrpc/rpc_main.c: Document rpcgen -5.
29226 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29228         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29230 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29232         [BZ #10278]
29233         * posix/glob.c: Match only directories when trailing slash is present.
29234         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29235         (main): Add testcase.
29237 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29239         [BZ #15670]
29240         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29242 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29244         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29245         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29246         AUTH_DES and cindex for FIPS 140-2.
29247         (DES Encryption): Add cindex FIPS 46-3.
29249         * locale/locarchive.h (struct locarhandle): Add fname.
29250         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29251         if an optional argument was specified to --list-archive,
29252         otherwise NULL.
29253         * locale/programs/locarchive.c (show_archive_content): Take new
29254         argument fname and pass it via ah.fname to open_archive.
29255         * locale/programs/localedef.h: Update decl.
29256         (open_archive): If AH->fname is non-null, open that file
29257         rather than the default file name, and don't ignore ENOENT.
29258         (create_archive): Set AH.fname to NULL.
29259         (delete_locales_from_archive): Likewise.
29260         (add_locales_to_archive): Likewise.
29261         * locale/programs/locfile.c (write_all_categories): Likewise.
29263 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29264             Aldy Hernandez  <aldyh@redhat.com>
29266         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29267         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29268         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29269         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29270         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29271         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29272         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29273         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29274         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29275         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29276         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29277         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29278         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29279         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29280         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29281         Likewise.
29282         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29283         Likewise.
29284         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29285         Likewise.
29286         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29287         Likewise.
29288         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29289         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29290         Likewise.
29291         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29292         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29293         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29294         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29295         Likewise.
29296         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29297         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29298         * sysdeps/powerpc/preconfigure: Likewise.
29299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29300         Likewise.
29301         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29302         Replace contents of file by #include of <fenv_libc.h>.
29303         * sysdeps/powerpc/soft-fp/sfp-machine.h
29304         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29305         and <sys/prctl.h>.
29306         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29307         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29308         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29309         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29310         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29311         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29313         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29314         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29315         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29316         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29317         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29319         Allow copysignl PLT reference to be missing.
29321 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29322             Joseph Myers  <joseph@codesourcery.com
29324         [BZ #15948]
29325         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29326         single character.
29327         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29329 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29331         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29332         * elf/tst-tls1.c: Likewise.
29333         * elf/tst-tls10.h: Likewise.
29334         * elf/tst-tls14.c: Likewise.
29335         * elf/tst-tls2.c: Likewise.
29336         * elf/tst-tls3.c: Likewise.
29337         * elf/tst-tls4.c: Likewise.
29338         * elf/tst-tls5.c: Likewise.
29339         * elf/tst-tls6.c: Likewise.
29340         * elf/tst-tls7.c: Likewise.
29341         * elf/tst-tls8.c: Likewise.
29342         * elf/tst-tls9.c: Likewise.
29343         * elf/tst-tlsmod1.c: Likewise.
29344         * elf/tst-tlsmod13.c: Likewise.
29345         * elf/tst-tlsmod13a.c: Likewise.
29346         * elf/tst-tlsmod14a.c: Likewise.
29347         * elf/tst-tlsmod16a.c: Likewise.
29348         * elf/tst-tlsmod16b.c: Likewise.
29349         * elf/tst-tlsmod2.c: Likewise.
29350         * elf/tst-tlsmod3.c: Likewise.
29351         * elf/tst-tlsmod4.c: Likewise.
29352         * elf/tst-tlsmod5.c: Likewise.
29353         * elf/tst-tlsmod6.c: Likewise.
29355 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29357         [BZ #12486]
29358         * malloc/malloc.c: remove checks for statistics.
29360 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29362         [BZ #15277]
29363         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29364         * inet/tst-network.c: Add testcase.
29366 2013-10-17  Andreas Schwab  <schwab@suse.de>
29368         [BZ #15218]
29369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29370         to determine canonical name.
29372 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29374         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29375         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29376         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29377         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29378         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29379         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29380         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29381         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29382         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29383         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29384         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29385         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29386         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29387         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29388         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29389         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29390         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29391         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29392         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29393         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29394         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29395         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29396         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29397         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29398         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29399         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29400         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29401         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29402         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29403         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29404         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29405         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29406         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29407         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29408         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29409         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29410         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29411         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29412         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29413         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29414         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29415         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29416         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29417         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29418         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29419         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29420         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29421         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29422         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29423         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29424         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29425         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29426         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29427         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29428         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29429         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29430         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29431         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29433 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29435         [BZ #16041]
29436         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29437         make result into a quiet NaN.
29439 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29441         * soft-fp/adddf3.c: Fix horizontal whitespace.
29442         * soft-fp/addsf3.c: Likewise.
29443         * soft-fp/addtf3.c: Likewise.
29444         * soft-fp/divdf3.c: Likewise.
29445         * soft-fp/divsf3.c: Likewise.
29446         * soft-fp/divtf3.c: Likewise.
29447         * soft-fp/double.h: Likewise.
29448         * soft-fp/eqdf2.c: Likewise.
29449         * soft-fp/eqsf2.c: Likewise.
29450         * soft-fp/eqtf2.c: Likewise.
29451         * soft-fp/extenddftf2.c: Likewise.
29452         * soft-fp/extended.h: Likewise.
29453         * soft-fp/extendsfdf2.c: Likewise.
29454         * soft-fp/extendsftf2.c: Likewise.
29455         * soft-fp/extendxftf2.c: Likewise.
29456         * soft-fp/fixdfdi.c: Likewise.
29457         * soft-fp/fixdfsi.c: Likewise.
29458         * soft-fp/fixdfti.c: Likewise.
29459         * soft-fp/fixsfdi.c: Likewise.
29460         * soft-fp/fixsfsi.c: Likewise.
29461         * soft-fp/fixsfti.c: Likewise.
29462         * soft-fp/fixtfdi.c: Likewise.
29463         * soft-fp/fixtfsi.c: Likewise.
29464         * soft-fp/fixtfti.c: Likewise.
29465         * soft-fp/fixunsdfdi.c: Likewise.
29466         * soft-fp/fixunsdfsi.c: Likewise.
29467         * soft-fp/fixunsdfti.c: Likewise.
29468         * soft-fp/fixunssfdi.c: Likewise.
29469         * soft-fp/fixunssfsi.c: Likewise.
29470         * soft-fp/fixunssfti.c: Likewise.
29471         * soft-fp/fixunstfdi.c: Likewise.
29472         * soft-fp/fixunstfsi.c: Likewise.
29473         * soft-fp/fixunstfti.c: Likewise.
29474         * soft-fp/floatdidf.c: Likewise.
29475         * soft-fp/floatdisf.c: Likewise.
29476         * soft-fp/floatditf.c: Likewise.
29477         * soft-fp/floatsidf.c: Likewise.
29478         * soft-fp/floatsisf.c: Likewise.
29479         * soft-fp/floatsitf.c: Likewise.
29480         * soft-fp/floattidf.c: Likewise.
29481         * soft-fp/floattisf.c: Likewise.
29482         * soft-fp/floattitf.c: Likewise.
29483         * soft-fp/floatundidf.c: Likewise.
29484         * soft-fp/floatundisf.c: Likewise.
29485         * soft-fp/floatunditf.c: Likewise.
29486         * soft-fp/floatunsidf.c: Likewise.
29487         * soft-fp/floatunsisf.c: Likewise.
29488         * soft-fp/floatunsitf.c: Likewise.
29489         * soft-fp/floatuntidf.c: Likewise.
29490         * soft-fp/floatuntisf.c: Likewise.
29491         * soft-fp/floatuntitf.c: Likewise.
29492         * soft-fp/fmadf4.c: Likewise.
29493         * soft-fp/fmasf4.c: Likewise.
29494         * soft-fp/fmatf4.c: Likewise.
29495         * soft-fp/gedf2.c: Likewise.
29496         * soft-fp/gesf2.c: Likewise.
29497         * soft-fp/getf2.c: Likewise.
29498         * soft-fp/ledf2.c: Likewise.
29499         * soft-fp/lesf2.c: Likewise.
29500         * soft-fp/letf2.c: Likewise.
29501         * soft-fp/muldf3.c: Likewise.
29502         * soft-fp/mulsf3.c: Likewise.
29503         * soft-fp/multf3.c: Likewise.
29504         * soft-fp/negdf2.c: Likewise.
29505         * soft-fp/negsf2.c: Likewise.
29506         * soft-fp/negtf2.c: Likewise.
29507         * soft-fp/op-1.h: Likewise.
29508         * soft-fp/op-2.h: Likewise.
29509         * soft-fp/op-4.h: Likewise.
29510         * soft-fp/op-8.h: Likewise.
29511         * soft-fp/op-common.h: Likewise.
29512         * soft-fp/quad.h: Likewise.
29513         * soft-fp/single.h: Likewise.
29514         * soft-fp/soft-fp.h: Likewise.
29515         * soft-fp/sqrtdf2.c: Likewise.
29516         * soft-fp/sqrtsf2.c: Likewise.
29517         * soft-fp/sqrttf2.c: Likewise.
29518         * soft-fp/subdf3.c: Likewise.
29519         * soft-fp/subsf3.c: Likewise.
29520         * soft-fp/subtf3.c: Likewise.
29521         * soft-fp/truncdfsf2.c: Likewise.
29522         * soft-fp/trunctfdf2.c: Likewise.
29523         * soft-fp/trunctfsf2.c: Likewise.
29524         * soft-fp/trunctfxf2.c: Likewise.
29525         * soft-fp/unorddf2.c: Likewise.
29526         * soft-fp/unordsf2.c: Likewise.
29527         * soft-fp/unordtf2.c: Likewise.
29529 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29531         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29532         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29534 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29536         * elf/dl-libc.c: Clear initfini list after freeing.
29538 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29540         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29541         * soft-fp/addsf3.c: Likewise.
29542         * soft-fp/addtf3.c: Likewise.
29543         * soft-fp/divdf3.c: Likewise.
29544         * soft-fp/divsf3.c: Likewise.
29545         * soft-fp/divtf3.c: Likewise.
29546         * soft-fp/double.h: Likewise.
29547         * soft-fp/eqdf2.c: Likewise.
29548         * soft-fp/eqsf2.c: Likewise.
29549         * soft-fp/eqtf2.c: Likewise.
29550         * soft-fp/extenddftf2.c: Likewise.
29551         * soft-fp/extended.h: Likewise.
29552         * soft-fp/extendsfdf2.c: Likewise.
29553         * soft-fp/extendsftf2.c: Likewise.
29554         * soft-fp/extendxftf2.c: Likewise.
29555         * soft-fp/fixdfdi.c: Likewise.
29556         * soft-fp/fixdfsi.c: Likewise.
29557         * soft-fp/fixdfti.c: Likewise.
29558         * soft-fp/fixsfdi.c: Likewise.
29559         * soft-fp/fixsfsi.c: Likewise.
29560         * soft-fp/fixsfti.c: Likewise.
29561         * soft-fp/fixtfdi.c: Likewise.
29562         * soft-fp/fixtfsi.c: Likewise.
29563         * soft-fp/fixtfti.c: Likewise.
29564         * soft-fp/fixunsdfdi.c: Likewise.
29565         * soft-fp/fixunsdfsi.c: Likewise.
29566         * soft-fp/fixunsdfti.c: Likewise.
29567         * soft-fp/fixunssfdi.c: Likewise.
29568         * soft-fp/fixunssfsi.c: Likewise.
29569         * soft-fp/fixunssfti.c: Likewise.
29570         * soft-fp/fixunstfdi.c: Likewise.
29571         * soft-fp/fixunstfsi.c: Likewise.
29572         * soft-fp/fixunstfti.c: Likewise.
29573         * soft-fp/floatdidf.c: Likewise.
29574         * soft-fp/floatdisf.c: Likewise.
29575         * soft-fp/floatditf.c: Likewise.
29576         * soft-fp/floatsidf.c: Likewise.
29577         * soft-fp/floatsisf.c: Likewise.
29578         * soft-fp/floatsitf.c: Likewise.
29579         * soft-fp/floattidf.c: Likewise.
29580         * soft-fp/floattisf.c: Likewise.
29581         * soft-fp/floattitf.c: Likewise.
29582         * soft-fp/floatundidf.c: Likewise.
29583         * soft-fp/floatundisf.c: Likewise.
29584         * soft-fp/floatunsidf.c: Likewise.
29585         * soft-fp/floatunsisf.c: Likewise.
29586         * soft-fp/floatuntidf.c: Likewise.
29587         * soft-fp/floatuntisf.c: Likewise.
29588         * soft-fp/floatuntitf.c: Likewise.
29589         * soft-fp/fmadf4.c: Likewise.
29590         * soft-fp/fmasf4.c: Likewise.
29591         * soft-fp/fmatf4.c: Likewise.
29592         * soft-fp/gedf2.c: Likewise.
29593         * soft-fp/gesf2.c: Likewise.
29594         * soft-fp/getf2.c: Likewise.
29595         * soft-fp/ledf2.c: Likewise.
29596         * soft-fp/lesf2.c: Likewise.
29597         * soft-fp/letf2.c: Likewise.
29598         * soft-fp/muldf3.c: Likewise.
29599         * soft-fp/mulsf3.c: Likewise.
29600         * soft-fp/multf3.c: Likewise.
29601         * soft-fp/negdf2.c: Likewise.
29602         * soft-fp/negsf2.c: Likewise.
29603         * soft-fp/negtf2.c: Likewise.
29604         * soft-fp/op-1.h: Likewise.
29605         * soft-fp/op-2.h: Likewise.
29606         * soft-fp/op-4.h: Likewise.
29607         * soft-fp/op-8.h: Likewise.
29608         * soft-fp/op-common.h: Likewise.
29609         * soft-fp/quad.h: Likewise.
29610         * soft-fp/single.h: Likewise.
29611         * soft-fp/soft-fp.h: Likewise.
29612         * soft-fp/sqrtdf2.c: Likewise.
29613         * soft-fp/sqrtsf2.c: Likewise.
29614         * soft-fp/sqrttf2.c: Likewise.
29615         * soft-fp/subdf3.c: Likewise.
29616         * soft-fp/subsf3.c: Likewise.
29617         * soft-fp/subtf3.c: Likewise.
29618         * soft-fp/truncdfsf2.c: Likewise.
29619         * soft-fp/trunctfdf2.c: Likewise.
29620         * soft-fp/trunctfsf2.c: Likewise.
29621         * soft-fp/trunctfxf2.c: Likewise.
29622         * soft-fp/unorddf2.c: Likewise.
29623         * soft-fp/unordsf2.c: Likewise.
29624         * soft-fp/unordtf2.c: Likewise.
29626 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29628         [BZ #15672]
29629         * misc/error.c (error_tail): Fix possible buffer overflow.
29631 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29633         [BZ #13028]
29634         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29635         address.
29637 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29639         [BZ #832]
29640         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29641         testing pipefail option.
29643 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29645         * soft-fp/double.h: Indent preprocessor directives inside #if.
29646         * soft-fp/extended.h: Likewise.
29647         * soft-fp/op-2.h: Likewise.
29648         * soft-fp/op-4.h: Likewise.
29649         * soft-fp/op-common.h: Likewise.
29650         * soft-fp/quad.h: Likewise.
29651         * soft-fp/single.h: Likewise.
29652         * soft-fp/soft-fp.h: Likewise.
29654 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29656         * iconv/iconv_prog.c: Fix typos.
29657         * stdio-common/psiginfo-data.h: Likewise.
29659 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29661         [BZ #15764]
29662         * locale/setlocale.c: Fix typo.
29664 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29666         [BZ #16036]
29667         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29668         signaling NaN arguments.
29669         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29670         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29672         [BZ #14910]
29673         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29674         unordered operands.
29675         * soft-fp/gesf2.c (__gesf2): Likewise.
29676         * soft-fp/getf2.c (__getf2): Likewise.
29677         * soft-fp/ledf2.c (__ledf2): Likewise.
29678         * soft-fp/lesf2.c (__lesf2): Likewise.
29679         * soft-fp/letf2.c (__letf2): Likewise.
29681         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29682         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29683         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29684         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29685         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29686         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29687         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29688         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29689         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29690         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29691         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29692         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29693         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29694         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29695         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29696         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29697         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29698         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29699         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29700         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29701         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29702         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29703         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29704         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29705         * soft-fp/floattidf.c (__floattidf): Likewise.
29706         * soft-fp/floattisf.c (__floattisf): Likewise.
29707         * soft-fp/floattitf.c (__floattitf): Likewise.
29708         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29709         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29710         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29711         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29712         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29713         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29714         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29715         * soft-fp/gesf2.c (__gesf2): Likewise.
29716         * soft-fp/getf2.c (__getf2): Likewise.
29717         * soft-fp/ledf2.c (__ledf2): Likewise.
29718         * soft-fp/lesf2.c (__lesf2): Likewise.
29719         * soft-fp/letf2.c (__letf2): Likewise.
29721         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29722         Undefine and redefine.
29723         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29724         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29725         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29726         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29727         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29728         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29729         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29730         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29731         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29732         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29733         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29734         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29735         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29736         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29737         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29739         [BZ #16032]
29740         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29741         without decrementing exponent if mantissa >= that for the
29742         denominator, not >.
29743         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29744         denominator, not >.  Decrement exponent in < case instead of
29745         incrementing in >= case.
29746         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29747         without decrementing exponent if mantissa >= that for the
29748         denominator, not >.
29750         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29751         computing saturated result for unsigned overflow.
29753 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29754             Jeff Law  <law@redhat.com>
29756         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29757         (atan2Mp): Add systemtap probe marker.
29758         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29759         (__ieee754_log): Add systemtap probe marker.
29760         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29761         (atanMp): Add systemtap probe marker.
29762         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29763         (tanMp): Add systemtap probe marker.
29764         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29765         (__slowexp): Add systemtap probe marker.
29766         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29767         (__slowpow): Add systemtap probe marker.
29768         * manual/probes.texi: Document probes.
29770 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29772         [BZ #15362]
29773         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29774         written.
29775         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29776         written.
29777         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29778         written to buffer but not flushed.
29779         * libio/iofwrite_u.c:  Likewise.
29780         * libio/iopadn.c:  Return bytes returned even if EOF was
29781         encountered.
29782         * libio/iowpadn.c:  Likewise.
29783         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29784         if _IO_padn does not write the whole buffer.
29785         [!COMPILE_WPRINTF] (PAD): Likewise.
29787 2013-10-10  David S. Miller  <davem@davemloft.net>
29789         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29790         directory block.
29792 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29794         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29795         instead of FSF address.
29796         * soft-fp/fixdfti.c: Likewise.
29797         * soft-fp/fixsfti.c: Likewise.
29798         * soft-fp/fixtfti.c: Likewise.
29799         * soft-fp/fixunsdfti.c: Likewise.
29800         * soft-fp/fixunssfti.c: Likewise.
29801         * soft-fp/fixunstfti.c: Likewise.
29802         * soft-fp/floattidf.c: Likewise.
29803         * soft-fp/floattisf.c: Likewise.
29804         * soft-fp/floattitf.c: Likewise.
29805         * soft-fp/floatuntidf.c: Likewise.
29806         * soft-fp/floatuntisf.c: Likewise.
29807         * soft-fp/floatuntitf.c: Likewise.
29808         * soft-fp/trunctfxf2.c: Likewise.
29810         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29811         * soft-fp/fixdfti.c: Likewise.
29812         * soft-fp/fixsfti.c: Likewise.
29813         * soft-fp/fixtfti.c: Likewise.
29814         * soft-fp/fixunsdfti.c: Likewise.
29815         * soft-fp/fixunssfti.c: Likewise.
29816         * soft-fp/fixunstfti.c: Likewise.
29817         * soft-fp/floattidf.c: Likewise.
29818         * soft-fp/floattisf.c: Likewise.
29819         * soft-fp/floattitf.c: Likewise.
29820         * soft-fp/floatuntidf.c: Likewise.
29821         * soft-fp/floatuntisf.c: Likewise.
29822         * soft-fp/floatuntitf.c: Likewise.
29823         * soft-fp/trunctfxf2.c: Likewise.
29825 2013-10-10  David S. Miller  <davem@davemloft.net>
29827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29829 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29831         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29832         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29833         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29834         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29835         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29836         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29837         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29839         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29840         for NaNs before doing comparisons on argument.
29841         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29842         Likewise.
29844 2013-10-10  Will Newton  <will.newton@linaro.org>
29846         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29847         passed to _int_memalign does not overflow.
29849 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29851         * scripts/bench.pl: Add include-sources directive.
29852         * benchtests/README: Update documentation.
29854 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29856         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29857         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29858         instead of FP_INIT_ROUNDMODE.
29859         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29860         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29862         [BZ #16034]
29863         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29864         copy class of input value.
29865         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29866         not handle exceptions.
29867         * soft-fp/negsf2.c (__negsf2): Likewise.
29868         * soft-fp/negtf2.c (__negtf2): Likewise.
29869         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29871 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29873         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29874         semicolon.  From Linux kernel.
29876 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29878         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29880 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29882         [BZ #156]
29883         * manual/socket.texi: Added statement about buffer
29884         for gethostbyname2_r.
29886 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29888         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29889         Use .p2align directive instead, throughout.
29890         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29891         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29892         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29893         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29894         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29895         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29896         * sysdeps/x86_64/strchr.S: Likewise.
29897         * sysdeps/x86_64/strrchr.S: Likewise.
29899 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29901         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29903         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29905         * sysdeps/generic/math_private.h (__mpsin1): Remove
29906         declaration.
29907         (__mpcos1): Likewise.
29908         (__mpsin): New argument __range_reduce.
29909         (__mpcos): Likewise.
29910         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29911         (slow): Use __mpsin and __mpcos.
29912         (slow1): Likewise.
29913         (slow2): Likewise.
29914         (sloww): Likewise.
29915         (sloww1): Likewise.
29916         (sloww2): Likewise.
29917         (bsloww): Likewise.
29918         (bsloww1): Likewise.
29919         (bsloww2): Likewise.
29920         (cslow2): Likewise.
29921         (csloww): Likewise.
29922         (csloww1): Likewise.
29923         (csloww2): Likewise.
29924         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29925         range_reduce.  Merge in __mpsin1.
29926         (__mpcos): Likewise.
29927         (__mpsin1): Remove.
29928         (__mpcos1): Likewise.
29930 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29932         * locale/loadlocale.c (_nl_intern_locale_data): Use
29933         LOCFILE_ALIGNED_P.
29934         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29935         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29936         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29937         obstack data is appropriately aligned.
29938         (obstack_int32_grow_fast): Likewise.
29939         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29940         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29941         (add_locale_uint32_array): Likewise.
29943 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29945         * benchtests/Makefile: Remove ARGLIST and RET variables.
29946         ($(objpfx)bench-%.c): Pass only function name to the script.
29947         * benchtests/README: Update documentation.
29948         * benchtests/acos-inputs: Add new directives.
29949         * benchtests/acosh-inputs: Likewise.
29950         * benchtests/asin-inputs: Likewise.
29951         * benchtests/asinh-inputs: Likewise.
29952         * benchtests/atan-inputs: Likewise.
29953         * benchtests/atanh-inputs: Likewise.
29954         * benchtests/cos-inputs: Likewise.
29955         * benchtests/cosh-inputs: Likewise.
29956         * benchtests/exp-inputs: Likewise.
29957         * benchtests/log-inputs: Likewise.
29958         * benchtests/pow-inputs: Likewise.
29959         * benchtests/rint-inputs: Likewise.
29960         * benchtests/sin-inputs: Likewise.
29961         * benchtests/sinh-inputs: Likewise.
29962         * benchtests/tan-inputs: Likewise.
29963         * benchtests/tanh-inputs: Likewise.
29964         * scripts/bench.pl: Add support for new directives.
29966 2013-10-07  Alan Modra  <amodra@gmail.com>
29968         * README: Fix careless merge.
29970 2013-10-05  Alan Modra  <amodra@gmail.com>
29972         * NEWS: Mention powerpc64le support and bugs fixed.
29973         * README: Both big-endian and little-endian powerpc64 supported.
29975 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29977         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29978         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29979         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29980         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29982 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29984         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29985         match prototype.
29987 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29989         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29990         Move -mhard-float appending from
29991         ports/sysdeps/powerpc/powerpc32/Makefile.
29992         [$(with-fp) = yes] (ASFLAGS): Likewise.
29993         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29994         * sysdeps/powerpc/nofpu: Move directory from
29995         ports/sysdeps/powerpc/nofpu.
29996         * sysdeps/powerpc/soft-fp: Move directory from
29997         ports/sysdeps/powerpc/soft-fp.
29998         * sysdeps/powerpc/powerpc32/405: Move directory from
29999         ports/sysdeps/powerpc/powerpc32/405.
30000         * sysdeps/powerpc/powerpc32/440: Move directory from
30001         ports/sysdeps/powerpc/powerpc32/440.
30002         * sysdeps/powerpc/powerpc32/464: Move directory from
30003         ports/sysdeps/powerpc/powerpc32/464.
30004         * sysdeps/powerpc/powerpc32/476: Move directory from
30005         ports/sysdeps/powerpc/powerpc32/476.
30006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30007         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30009         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30011         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30013         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30015         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30016         * README: Update for powerpc-*-linux-gnu software floating point
30017         support in libc.
30019         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30020         case to powerpc/powerpc32*.
30021         * sysdeps/unix/sysv/linux/configure: Regenerated.
30023         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30024         (_FPU_MASK_OM): Define as 0x04.
30025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30026         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30027         0x00c10080.
30028         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30029         0x0000003c.
30030         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30033         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30034         getcontext_e500.
30035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30036         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30037         setcontext_e500.
30038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30039         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30040         and setcontext_e500.
30042 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30044         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30046 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30048         * manual/threads.texi (Default Thread Attributes): Fix typo.
30050 2013-10-04  Will Newton  <will.newton@linaro.org>
30052         * malloc/Makefile: Add tst-memalign.
30053         * malloc/tst-memalign.c: New file.
30055         * malloc/tst-posix_memalign.c: Add comments.
30056         (do_test): Add comments and call free on all potentially
30057         allocated pointers. Add space after cast.
30059         * malloc/tst-pvalloc.c: Add comments.
30060         (do_test): Add comments and call free on all potentially
30061         allocated pointers. Remove duplicate check for NULL pointer.
30062         Add space after cast.
30064         * malloc/tst-valloc.c: Add comments.
30065         (do_test): Add comments and call free on all potentially
30066         allocated pointers. Remove duplicate check for NULL pointer.
30067         Add space after cast.
30069 2013-10-04  Alan Modra  <amodra@gmail.com>
30071         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30072         Use stdint types in rather than __attribute__((mode())).
30073         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30075 2013-10-04  Alan Modra  <amodra@gmail.com>
30077         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30078         Correct handling of unaligned relocs for little-endian.
30079         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30081 2013-10-04  Alan Modra  <amodra@gmail.com>
30083         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30084         * configure: Regenerate.
30085         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30086         * shlib-versions: Likewise.
30088 2013-10-04  Alan Modra  <amodra@gmail.com>
30090         * string/tester.c (test_memrchr): Increment reported test cycle.
30092 2013-10-04  Alan Modra  <amodra@gmail.com>
30094         * string/test-memcpy.c (do_one_test): When reporting errors, print
30095         string address and don't overrun end of string.
30097 2013-10-04  Alan Modra  <amodra@gmail.com>
30099         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30100         insrdi.  Make better use of reg selection to speed exit slightly.
30101         Schedule entry path a little better.  Remove useless "are we done"
30102         checks on entry to main loop.  Handle wrapping around zero address.
30103         Correct main loop count.  Handle single left-over word from main
30104         loop inline rather than by using loop_small.  Remove extra word
30105         case in loop_small caused by wrong loop count.  Add little-endian
30106         support.
30107         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30108         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30109         cache hint.
30110         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30111         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30112         support.  Avoid rlwimi.
30113         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30115 2013-10-04  Alan Modra  <amodra@gmail.com>
30117         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30118         insrdi.  Formatting.
30119         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30120         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30121         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30122         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30123         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30124         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30126 2013-10-04  Alan Modra  <amodra@gmail.com>
30128         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30129         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30130         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30131         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30132         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30133         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30134         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30135         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30136         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30137         use of regs.  Use power7 mtocrf.  Tidy function tails.
30139 2013-10-04  Alan Modra  <amodra@gmail.com>
30141         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30142         Formatting.  Consistently use rXXX register defines or rN defines.
30143         Use early exit labels that avoid restoring unused non-volatile regs.
30144         Make cr field use more consistent with rWORDn compares.  Rename
30145         regs used as shift registers for unaligned loop, using rN defines
30146         for short lifetime/multiple use regs.
30147         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30148         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30149         addi 1,1,64 to pop stack frame.  Simplify return value code.
30150         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30152 2013-10-04  Alan Modra  <amodra@gmail.com>
30154         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30155         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30156         rather than rlwimi.
30157         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30158         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30159         little-endian support.  Correct typos.
30160         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30161         rather than rlwimi.
30162         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30163         in loop and entry code to keep "and." results.
30164         (strchr): Add little-endian support.  Comment.  Move cntlzd
30165         earlier in tail.
30166         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30168 2013-10-04  Alan Modra  <amodra@gmail.com>
30170         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30171         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30172         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30173         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30175 2013-10-04  Alan Modra  <amodra@gmail.com>
30177         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30178         (rTMP): Define as r11.
30179         (strcmp): Add little-endian support.  Optimise tail.
30180         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30181         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30182         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30183         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30184         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30185         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30186         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30188 2013-10-04  Alan Modra  <amodra@gmail.com>
30190         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30191         little-endian support.  Remove unnecessary "are we done" tests.
30192         Handle "s" wrapping around zero and extremely large "size".
30193         Correct main loop count.  Handle single left-over word from main
30194         loop inline rather than by using small_loop.  Correct comments.
30195         Delete "zero" tail, use "end_max" instead.
30196         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30198 2013-10-04  Alan Modra  <amodra@gmail.com>
30200         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30201         support.  Don't branch over align.
30202         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30203         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30204         support.  Rearrange tmp reg use to suit.  Comment.
30205         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30207 2013-10-04  Alan Modra  <amodra@gmail.com>
30209         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30211 2013-10-04  Alan Modra  <amodra@gmail.com>
30213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30214         conditional form of branch and link when obtaining pc.
30215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30217 2013-10-04  Alan Modra  <amodra@gmail.com>
30219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30220         HIWORD/LOWORD.
30221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30224 2013-10-04  Alan Modra  <amodra@gmail.com>
30226         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30227         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30228         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30229         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30230         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30231         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30232         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30233         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30234         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30235         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30237 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30238             Alistair Popple <alistair@ozlabs.au.ibm.com>
30239             Alan Modra <amodra@gmail.com>
30241         [BZ #15723]
30242         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30243         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30244         _dl_hwcap access for little-endian.
30245         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30246         destroy vmx regs when saving unaligned.
30247         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30248         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30249         destroy vmx regs when saving unaligned.
30251 2013-10-04  Alan Modra  <amodra@gmail.com>
30253         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30254         Don't use a union to pack hi/low value.
30256 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30258         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30259         for little-endian.
30260         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30261         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30262         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30263         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30264         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30266 2013-10-04  Alan Modra  <amodra@gmail.com>
30268         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30269         constants to usual value for .cst8 section, and remove redundant
30270         high address load.
30271         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30272         constant for 0x1p52.  Load little-endian words of double from
30273         correct stack offsets.
30275 2013-10-04  Alan Modra  <amodra@gmail.com>
30277         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30278         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30279         words of double from correct stack offsets.
30280         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30281         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30282         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30283         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30284         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30285         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30286         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30287         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30288         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30289         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30290         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30291         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30292         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30293         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30294         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30295         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30296         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30298 2013-10-04  Alan Modra  <amodra@gmail.com>
30300         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30301         64-bit int/double union.
30302         (_FPU_SETCW): Likewise.
30303         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30304         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30306 2013-10-04  Alan Modra  <amodra@gmail.com>
30308         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30309         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30311 2013-10-04  Alan Modra  <amodra@gmail.com>
30313         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30314         use vector int constants.
30315         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30317 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30319         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30320         array with long long.
30321         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30322         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30323         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30324         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30325         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30326         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30327         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30328         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30329         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30330         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30331         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30332         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30333         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30335 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30337         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30338         (__signbit): Likewise.  Correct for little-endian.
30339         (__signbitl): Call __signbit.
30340         (lrint): Correct for little-endian.
30341         (lrintf): Call lrint.
30343 2013-10-04  Alan Modra  <amodra@gmail.com>
30345         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30346         union 32-bit int array member with 64-bit int array.
30347         (t515, tm256): Double rather than long double.
30348         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30350 2013-10-04  Alan Modra  <amodra@gmail.com>
30352         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30353         Delete.
30354         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30355         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30356         version of math_ldbl.h.
30358 2013-10-04  Alan Modra  <amodra@gmail.com>
30360         [BZ #15734], [BZ #15735]
30361         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30362         all uses of ieee875 long double macros and unions.  Simplify test
30363         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30364         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30365         normalize after ldbl_extract_mantissa, and don't add hidden bit
30366         already handled.  Don't treat low word of ieee854 mantissa like
30367         low word of IBM long double and mask off bit when testing for
30368         zero.
30369         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30370         all uses of ieee875 long double macros and unions.  Simplify tests
30371         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30372         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30373         two1022, instead use their values.  Recognise that tests for large
30374         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30375         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30376         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30377         test for 0.0L and nan.  Correct negation.
30378         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30379         ieee875 long double macros and unions.  Correct output for large
30380         magnitude x.  Correct absolute value calculation.
30381         (__erfcl): Likewise.
30382         * math/libm-test.inc: Add tests for errors discovered in IBM long
30383         double versions of fmodl, remainderl, erfl and erfcl.
30385 2013-10-04  Alan Modra  <amodra@gmail.com>
30387         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30388         all uses of ieee854 long double macros and unions.  Simplify tests
30389         for long doubles that are fully specified by the high double.
30390         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30391         Likewise.
30392         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30393         Remove dead code too.
30394         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30395         (__ieee754_ynl): Likewise.
30396         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30397         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30398         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30399         Remove dead code too.
30400         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30401         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30402         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30403         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30404         Simplify.
30405         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30406         Simplify.
30407         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30408         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30409         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30410         Comment on variable precision.
30411         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30412         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30413         Likewise.
30414         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30415         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30416         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30417         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30418         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30420 2013-10-04  Alan Modra  <amodra@gmail.com>
30422         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30423         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30424         all uses of ieee854 long double macros and unions.
30425         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30426         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30427         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30428         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30429         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30430         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30431         Likewise.
30432         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30433         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30434         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30435         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30436         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30437         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30438         Simplify sign and nan test too.
30439         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30440         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30441         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30442         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30443         Likewise.
30444         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30445         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30446         Likewise.
30447         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30448         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30449         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30450         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30451         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30452         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30454 2013-10-04  Alan Modra  <amodra@gmail.com>
30456         * stdio-common/printf_size.c (__printf_size): Don't use
30457         union ieee854_long_double in fpnum union.
30458         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30459         signbit macro to retrieve sign from long double.
30460         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30461         retrieve sign from long double.
30462         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30463         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30464         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30465         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30466         * math/test-misc.c (main): Don't use union ieee854_long_double.
30468 2013-10-04  Alan Modra  <amodra@gmail.com>
30470         [BZ #15680]
30471         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30472         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30473         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30474         calculation.  Remove unnecessary test for denormal exponent.
30475         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30476         Correct handling of denormals.  Avoid undefined shift behaviour.
30477         Correct normalisation of low mantissa when low double is denormal.
30478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30479         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30480         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30481         Correct normalisation of low mantissa.  Test for overflow of high
30482         mantissa and normalise.
30483         (ldbl_nearbyint): Use more readable constant for two52.
30484         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30485         (__mpn_construct_long_double): Fix test for overflow of high
30486         mantissa and correct normalisation.  Avoid undefined shift.
30488 2013-10-04  Alan Modra  <amodra@gmail.com>
30490         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30491         (union ibm_extended_long_double): Define as an array of ieee754_double.
30492         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30493         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30494         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30495         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30496         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30497         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30498         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30499         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30500         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30501         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30502         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30504 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30506         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30507         page size instead of calling getpagesize.
30509         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30510         (LOCFILE_ALIGN_MASK): Likewise.
30511         (LOCFILE_ALIGN_UP): Likewise.
30512         (LOCFILE_ALIGNED_P): Likewise.
30513         * locale/programs/ld-collate.c (collate_output): Use the new
30514         macros instead of __alignof__ (int32_t).
30515         * locale/weight.h (findidx): Likewise.
30517 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30519         [BZ #431]
30520         * manual/string.texi: Fix strncat and wcsncat.
30522 2013-10-03  Brooks Moses  <bmoses@google.com>
30524         [BZ #15915]
30525         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30526         * Makerules: ...here, and adjust associated comments.
30528 2013-10-02  Will Newton  <will.newton@linaro.org>
30530         * malloc/Makefile: Add tst-pvalloc.
30531         * malloc/tst-pvalloc.c: New file.
30533 2013-10-02  Will Newton  <will.newton@linaro.org>
30535         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30536         improve test coverage.
30538 2013-10-02  Will Newton  <will.newton@linaro.org>
30540         * malloc/Makefile: Add tst-posix_memalign.
30541         * malloc/tst-posix_memalign.c: New file.
30543 2013-10-01  Eric Blake  <eblake@redhat.com>
30545         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30546         Use __THROWNL rather than __THROW on static functions.
30548 2013-09-30  Petr Machata  <pmachata@redhat.com>
30550         * elf/elf.h (R_AARCH64_ABS16): New macro.
30551         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30552         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30553         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30554         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30555         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30556         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30557         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30558         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30559         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30560         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30561         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30562         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30563         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30564         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30565         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30566         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30567         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30568         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30569         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30570         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30571         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30572         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30573         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30574         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30575         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30576         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30577         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30578         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30579         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30580         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30581         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30582         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30583         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30584         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30585         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30586         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30587         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30588         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30589         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30590         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30591         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30592         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30593         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30594         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30595         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30596         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30597         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30598         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30599         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30600         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30601         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30602         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30603         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30604         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30605         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30606         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30607         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30608         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30609         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30610         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30611         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30612         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30613         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30614         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30615         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30616         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30617         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30618         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30619         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30620         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30621         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30622         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30623         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30624         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30625         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30626         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30627         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30628         (R_AARCH64_TLSDESC_LDR): Likewise.
30629         (R_AARCH64_TLSDESC_ADD): Likewise.
30630         (R_AARCH64_TLSDESC_CALL): Likewise.
30632 2013-09-30  Andreas Schwab  <schwab@suse.de>
30634         [BZ #15048]
30635         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30636         the nss database lookup.
30637         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30640 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30642         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30644 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30646         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30647         ${Bash-specific parameter/pattern/string} parameter expansion.
30648         * sysdeps/unix/make-syscalls.sh: Likewise.
30650 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30652         * sysdeps/sh/stackguard-macros.h: New file.
30654 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30656         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30657         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30658         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30659         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30660         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30661         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30663 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30665         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30666         Fix thread ID register.
30668 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30670         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30671         [POSIX || UNIX98]: Require rather than permitting all symbols from
30672         <time.h>.
30673         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30674         element of struct sched_param.
30675         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30676         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30677         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30678         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30679         constant.
30681 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30683         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30684         argument calculation.
30686 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30688         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30689         Expect macro.
30690         [POSIX] (pthread_attr_t): Do not require type.
30691         [POSIX] (pthread_cond_t): Likewise.
30692         [POSIX] (pthread_condattr_t): Likewise.
30693         [POSIX] (pthread_key_t): Likewise.
30694         [POSIX] (pthread_mutex_t): Likewise.
30695         [POSIX] (pthread_mutexattr_t): Likewise.
30696         [POSIX] (pthread_once_t): Likewise.
30697         [POSIX] (pthread_t): Likewise.
30698         [POSIX-based standards] (pthread_atfork): Expect function.
30700 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30701             Richard Sandiford  <richard@codesourcery.com>
30703         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30704         (swap_endianness_p): New extern variable.
30705         (set_big_endian): New inline function.
30706         (maybe_swap_uint32): Likewise.
30707         (maybe_swap_uint32_array): Likewise.
30708         (maybe_swap_uint32_obstack): Likewise.
30709         * locale/programs/locfile.c: Include <stdbool.h>.
30710         (swap_endianness_p): New variable.
30711         (add_locale_uint32): Call maybe_swap_uint32.
30712         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30713         (write_locale_data): Call maybe_swap_uint32_array.
30714         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30715         maybe_swap_uint32.
30716         (obstack_int32_grow_fast): Likewise.
30717         (output_weightwc): Call maybe_swap_uint32_obstack.
30718         (collate_output): Likewise.
30719         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30720         (OPT_LITTLE_ENDIAN): Likewise.
30721         (options): Add --little-endian and --big-endian options.
30722         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30723         * locale/programs/locarchive.c: Include "locfile.h".
30724         (GET): New macro.
30725         (SET): Likewise.
30726         (INC): Likewise.
30727         (create_archive): Use the new macros to access fields of
30728         structures directly mapped from or written to locale archives.
30729         (oldlocrecentcmp): Likewise.
30730         (enlarge_archive): Likewise.
30731         (insert_name): Likewise.
30732         (add_alias): Likewise.
30733         (add_locale): Likewise.
30734         (delete_locales_from_archive): Likewise.
30735         (show_archive_content): Likewise.
30736         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30737         locale data.
30739 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30741         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30742         http://www.gnu.org/doc/freemanuals.texi.
30743         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30745 2013-09-24  Will Newton  <will.newton@linaro.org>
30747         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30748         macro.
30750 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30752         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30753         unsigned char.
30755 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30757         * manual/threads.texi (POSIX Threads): Fix a typo.
30759 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30761         [BZ #14547]
30762         * string/tst-strcoll-overflow.c: New test case.
30763         * string/Makefile (xtests): Add tst-strcoll-overflow.
30764         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30765         cache if string sizes may cause integer overflow.
30767         [BZ #14547]
30768         * string/strcoll_l.c (coll_seq): New members rule, idx,
30769         save_idx and back_us.
30770         (get_next_seq_nocache): New function.
30771         (do_compare_nocache): New function.
30772         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30773         when malloc fails.
30775 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30777         [BZ #15754]
30778         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30779         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30780         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30782         [BZ #15754]
30783         * elf/Makefile (tests): Add tst-ptrguard1.
30784         (tests-static): Add tst-ptrguard1-static.
30785         (tst-ptrguard1-ARGS): Define.
30786         (tst-ptrguard1-static-ARGS): Define.
30787         * elf/tst-ptrguard1.c: New file.
30788         * elf/tst-ptrguard1-static.c: New file.
30789         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30790         * sysdeps/i386/stackguard-macros.h: Likewise.
30791         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30792         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30793         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30794         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30795         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30796         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30798 2013-09-23  Hector Marco  <hecmargi@upv.es>
30799             Ismael Ripoll  <iripoll@disca.upv.es>
30800             Carlos O'Donell  <carlos@redhat.com>
30802         [BZ #15754]
30803         * sysdeps/generic/stackguard-macros.h: Define
30804         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30805         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30806         Define __pointer_chk_guard_local.
30807         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30808         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30810 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30812         [BZ #15859]
30813         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30815 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30817         * include/string.h (__ffs): Declare as hidden.
30818         * string/ffs.c (__ffs): Define as hidden.
30819         * sysdeps/i386/ffs.c (__ffs): Likewise.
30820         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30821         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30822         * sysdeps/s390/ffs.c (__ffs): Likewise.
30823         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30825 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30827         * NEWS: Mention malloc probes.
30829         * malloc/arena.c (new_heap): New memory_heap_new probe.
30830         (grow_heap): New memory_heap_more probe.
30831         (shrink_heap): New memory_heap_less probe.
30832         (heap_trim): New memory_heap_free probe.
30833         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30834         (systrim): New memory_sbrk_less probe.
30835         * manual/probes.texi: Document them.
30837         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30838         * manual/probes.texi: Document it.
30840         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30841         (__libc_realloc): Add memory_realloc_retry probe.
30842         (__libc_memalign): Add memory_memalign_retry probe.
30843         (__libc_valloc): Add memory_valloc_retry probe.
30844         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30845         (__libc_calloc): Add memory_calloc_retry probe.
30846         * manual/probes.texi: Document them.
30848         * malloc/arena.c (get_free_list): Add probe
30849         memory_arena_reuse_free_list.
30850         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30851         and memory_arena_reuse.
30852         (arena_get2) [!PER_THREAD]: Likewise.
30853         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30854         memory_arena_reuse_realloc.
30855         * manual/probes.texi: Document them.
30857         * malloc/malloc.c (__libc_free): Add
30858         memory_mallopt_free_dyn_thresholds probe.
30859         (__libc_mallopt): Add multiple memory_mallopt probes.
30860         * manual/probes.texi: Document them.
30862         * malloc/malloc.c: Include stap-probe.h.
30863         (__libc_mallopt): Add memory_mallopt probe.
30864         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30865         * manual/probes.texi: New.
30866         * manual/Makefile (chapters): Add probes.
30867         * manual/threads.texi: Set next node.
30869 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30871         [BZ #15963, #13985]
30872         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30873         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30874         Add `Chinese' to `nan' entry name.
30876 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30878         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30879         (POLYNOMIAL): Likewise.
30880         (TAYLOR_SINCOS): Likewise.
30881         (TAYLOR_SLOW): Likewise.
30882         (__sin): Use TAYLOR_SINCOS.
30883         (__cos): Likewise.
30884         (slow): Use TAYLOR_SLOW.
30885         (sloww): Likewise.
30886         (bsloww): Likewise.
30887         (csloww): Likewise.
30889 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30891         * stdlib/strtod_l.c: Fix buffer overrun.
30893 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30895         * benchtests/Makefile (bench): Add sincos.
30896         * benchtests/bench-sincos.c: New file.
30898         * math/libm-test.inc (cos_test_data): New test inputs.
30899         (sin_test_data): Likewise.
30901         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30902         macro.
30903         (__sin): Use it.
30904         (__cos): Likewise.
30905         (slow1): Likewise.
30906         (slow2): Likewise.
30907         (sloww1): Likewise.
30908         (sloww2): Likewise.
30909         (bsloww1): Likewise.
30910         (bsloww2): Likewise.
30911         (cslow2): Likewise.
30912         (csloww1): Likewise.
30913         (csloww2): Likewise.
30915         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30916         function.
30917         (__sin): Use it.
30918         (__cos): Likewise.
30920         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30921         gotos.
30922         (__cos): Likewise.
30924 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30926         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30927         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30928         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30929         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30930         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30931         * elf/cache.c (print_entry): Handle the new cache flags.
30933 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30934             Aldy Hernandez  <aldyh@redhat.com>
30936         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30937         Change condition to [_SOFT_FLOAT].
30938         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30939         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30940         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30941         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30942         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30943         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30944         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30945         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30946         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30947         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30948         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30949         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30950         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30951         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30952         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30953         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30954         declaration.
30956 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30958         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30959         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30960         (__longjmp): Use LOAD_GP to load saved GPRs.
30961         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30962         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30963         (__sigsetjmp): Use SAVE_GP to save GPRs.
30965         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30966         Do not append -msoft-float.
30967         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30969 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30971         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30973 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30975         [BZ #15966]
30976         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30977         (_FPU_GETCW): Use initial "__" on variable and field names but not
30978         on macro parameter name.
30979         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30980         parentheses around reference to macro parameter.
30982 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30984         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30985         prototype.
30986         (ctype_startup): Use uint32_t in cast and sizeof for
30987         ctype->charnames.
30989 2013-09-11  Jia Liu  <proljc@gmail.com>
30991         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30992         __daddr_t_defined.
30993         [__FreeBSD__]: Likewise.
30995 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30998         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30999         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31000         (strchr): Remove __strchr_sse42 ifunc selection.
31001         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31002         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31004 2013-09-11  Will Newton  <will.newton@linaro.org>
31006         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31007         parameter to RES. Remove hardcoded 1000 value.
31008         * benchtests/bench-skeleton.c (main): Pass RES parameter
31009         to TIMING_INIT and multiply result by 1000.
31011 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31015 2013-09-11  Andreas Schwab  <schwab@suse.de>
31017         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31018         if not defined.
31019         (O_TMPFILE) [__USE_GNU]: Define.
31020         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31021         Define.
31023 2013-09-11  Will Newton  <will.newton@linaro.org>
31025         [BZ #15857]
31026         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31027         does not overflow.
31029 2013-09-11  Will Newton  <will.newton@linaro.org>
31031         [BZ #15856]
31032         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31033         does not overflow.
31035 2013-09-11  Will Newton  <will.newton@linaro.org>
31037         [BZ #15855]
31038         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31039         does not overflow.
31041 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31043         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31044         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31045         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31046         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31047         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31049 2013-09-10  Allan McRae  <allan@archlinux.org>
31051         [BZ #15748]
31052         * manual/arith.texi (Parsing of Floats): Clarify
31053         cross-reference.
31055         [BZ #15849]
31056         * manual/install.texi (Running make install): Mention
31057         --enable-pt-chown.
31058         * INSTALL: Regenerated.
31060 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31062         * csu/init-first.c (_init): Remove the !SHARED condition around
31063         FPU control word initialization.
31064         * elf/dl-support.c (_dl_fpu_control): New variable.
31065         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31066         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31067         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31068         * math/test-fpucw-static.c: New file.
31069         * math/test-fpucw-ieee.c: New file.
31070         * math/test-fpucw-ieee-static.c: New file.
31071         * math/Makefile (tests): Add `test-fpucw-ieee' and
31072         `$(tests-static)'.
31073         (tests-static): New variable.
31074         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31075         dependency to...
31076         [($(build-shared),yes)]
31077         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31078         ... this.
31079         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31080         New dependency.
31082 2013-09-09  Allan McRae  <allan@archlinux.org>
31084         [BZ #15939]
31085         * manual/string.texi (Collation Functions): Fix typo in
31086         strcoll example.
31087         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31089         [BZ #15893]
31090         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31092         [BZ #15892]
31093         * libio/memstream.c (open_memstream): Fix memory leak.
31094         * libio/wmemstream.c (open_wmemstream): Likewise.
31096         [BZ #15895]
31097         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31099 2013-09-09  Will Newton  <will.newton@linaro.org>
31101         * malloc/Makefile: Add tst-realloc to tests.
31102         * malloc/tst-realloc.c: New file.
31104 2013-09-09  Allan McRae  <allan@archlinux.org>
31106         [BZ #15844]
31107         * COPYING: Update from GNU website to fix FSF address.
31108         * COPYING.LIB: Likewise.
31110 2013-09-06  David S. Miller  <davem@davemloft.net>
31112         * po/zh_TW.po: Update Chinese (traditional) translation from
31113         translation project.
31115 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31116             Joseph Myers  <joseph@codesourcery.com>
31118         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31119         "localeinfo.h".
31120         (obstack_chunk_alloc): New macro.
31121         (obstack_chunk_free): Likewise.
31122         (record_offset): New function.
31123         (init_locale_data): Likewise.
31124         (align_locale_data): Likewise.
31125         (add_locale_empty): Likewise.
31126         (add_locale_raw_data): Likewise.
31127         (add_locale_raw_obstack): Likewise.
31128         (add_locale_string): Likewise.
31129         (add_locale_wstring): Likewise.
31130         (add_locale_uint32): Likewise.
31131         (add_locale_uint32_array): Likewise.
31132         (add_locale_char): Likewise.
31133         (start_locale_structure): Likewise.
31134         (end_locale_structure): Likewise.
31135         (start_locale_prelude): Likewise.
31136         (end_locale_prelude): Likewise.
31137         (write_locale_data): Take locale_file structure rather than an
31138         iovec.
31139         * locale/programs/locfile.h: Include "obstack.h".
31140         (struct locale_file): Change to store locale file contents instead
31141         of header.
31142         (init_locale_data): New prototype.
31143         (align_locale_data): Likewise.
31144         (add_locale_empty): Likewise.
31145         (add_locale_raw_data): Likewise.
31146         (add_locale_raw_obstack): Likewise.
31147         (add_locale_string): Likewise.
31148         (add_locale_wstring): Likewise.
31149         (add_locale_uint32): Likewise.
31150         (add_locale_uint32_array): Likewise.
31151         (add_locale_char): Likewise.
31152         (start_locale_structure): Likewise.
31153         (end_locale_structure): Likewise.
31154         (start_locale_prelude): Likewise.
31155         (end_locale_prelude): Likewise.
31156         (write_locale_data): Update prototype.
31157         * locale/programs/3level.h (struct TABLE): Remove result field.
31158         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31159         Use new locale_file interface.
31160         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31161         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31162         * locale/programs/ld-address.c (address_output): Use new
31163         locale_file interface.
31164         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31165         NO_ADD_LOCALE.
31166         (collate_finish): Don't call collseq_table_finalize.
31167         (collate_output): Use new locale_file interface.
31168         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31169         in file.
31170         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31171         (TABLE): Move defines earlier in file.
31172         (ELEMENT): Likewise.
31173         (DEFAULT): Likewise.
31174         (wctrans_table_add): Move macro and inline function earlier in
31175         file.
31176         (struct wctype_table): Move type earlier in file.
31177         (add_locale_wctype_table): New static prototype.
31178         (struct locale_ctype_t): Use logical types instead of struct iovec
31179         pointers for members.
31180         (ctype_output): Use new locale_file interface.
31181         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31182         new locale_file interface.
31183         (allocate_arrays): Update for use of new locale_file interface.
31184         * locale/programs/ld-identification.c (identification_output): Use
31185         new locale_file interface.
31186         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31187         * locale/programs/ld-messages.c (messages_output): Likewise.
31188         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31189         * locale/programs/ld-name.c (name_output): Likewise.
31190         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31191         * locale/programs/ld-paper.c (paper_output): Likewise.
31192         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31193         * locale/programs/ld-time.c (time_output): Likewise.
31195 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31197         * benchtests/Makefile: Add memrchr benchmark.
31198         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31199         benchmark as memrchr.
31200         * benchtests/bench-memrchr-ifunc.c: New file.
31201         * benchtests/bench-memrchr.c: New file.
31203 2013-09-06   Will Newton  <will.newton@linaro.org>
31205         * benchtests/Makefile (string-bench): Add memcpy.
31207 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31208             Cong Wang  <amwang@redhat.com>
31210         [BZ #15850]
31211         * sysdeps/unix/sysv/linux/bits/in.h
31212         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31213         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31214         before __USE_KERNEL_IPV6_DEFS uses.
31215         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31216         IPPROTO_BEETPH.
31217         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31218         sockaddr_in6, or ipv6_mreq.
31220 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31222         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31223         memory access for final bytes in some large inputs.
31224         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31226 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31228         * string/test-memrchr.c: New file.
31229         * string/test-memrchr-ifunc.c: New file.
31230         * string/Makefile: Add new memrchr testcase.
31232 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31234         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31235         fanotify_init returns EPERM.
31237 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31239         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31240         errors.
31241         (top level): Treat second token from macro or constant entries for
31242         allowed headers as allowed.
31243         * include/complex.h: Condition internal declarations on
31244         [!_ISOMAC].
31245         * include/fenv.h: Condition include of <stdbool.h> and internal
31246         declarations on [!_ISOMAC].
31248 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31250         [BZ #15923]
31251         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31253 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31255         * configure.in (--enable-versioning): Remove configure option.
31256         (libc_cv_asm_symver_directive): Remove configure test.
31257         (libc_cv_ld_version_script_option): Likewise.
31258         (VERSIONING): Remove variable and AC_SUBST.
31259         (DO_VERSIONING): Remove AC_DEFINE.
31260         * configure: Regenerated.
31261         * config.h.in (DO_VERSIONING): Remove macro.
31262         * Makerules [$(versioning) = yes]: Change conditionals to
31263         [$(build-shared) = yes].
31264         * config.make.in (versioning): Remove variable.
31265         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31266         [$(build-shared) = yes].
31267         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31268         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31269         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31270         [$(build-shared) = yes].
31271         * extra-lib.mk [$(versioning) = yes]: Likewise.
31272         * hurd/Makefile [$(versioning) = yes]: Likewise.
31273         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31274         [SHARED].
31275         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31276         [SHARED].
31277         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31278         [SHARED && !NO_HIDDEN].
31279         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31280         [SHARED].
31281         [SHARED && DO_VERSIONING]: Likewise..
31282         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31283         [$(build-shared) = yes].
31284         * manual/install.texi (--disable-versioning): Remove
31285         documentation.
31286         * INSTALL: Regenerated.
31287         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31288         to [SHARED].
31289         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31290         [$(build-shared) = yes].
31291         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31292         * sysdeps/i386/i686/multiarch/strstr-c.c
31293         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31294         [SHARED && !NO_HIDDEN].
31295         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31296         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31297         * sysdeps/powerpc/powerpc32/dl-machine.c
31298         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31299         * sysdeps/powerpc/powerpc32/sysdep.h
31300         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31301         to [SHARED && PIC && !NO_HIDDEN].
31302         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31303         conditional to [SHARED].
31305 2013-09-04   Will Newton  <will.newton@linaro.org>
31307         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31308         * benchtests/bench-string.h: Include bench-timing.h instead
31309         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31310         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31311         call to HP_TIMING_DIFF_INIT.
31312         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31313         instead of hp-timing.h macros.
31314         * benchtests/bench-memchr.c: Likewise.
31315         * benchtests/bench-memcmp.c: Likewise.
31316         * benchtests/bench-memcpy.c: Likewise.
31317         * benchtests/bench-memmem.c: Likewise.
31318         * benchtests/bench-memmove.c: Likewise.
31319         * benchtests/bench-memset.c: Likewise.
31320         * benchtests/bench-rawmemchr.c: Likewise.
31321         * benchtests/bench-strcasecmp.c: Likewise.
31322         * benchtests/bench-strcasestr.c: Likewise.
31323         * benchtests/bench-strcat.c: Likewise.
31324         * benchtests/bench-strchr.c: Likewise.
31325         * benchtests/bench-strcmp.c: Likewise.
31326         * benchtests/bench-strcpy.c: Likewise.
31327         * benchtests/bench-strcpy_chk.c: Likewise.
31328         * benchtests/bench-strlen.c: Likewise.
31329         * benchtests/bench-strncasecmp.c: Likewise.
31330         * benchtests/bench-strncat.c: Likewise.
31331         * benchtests/bench-strncmp.c: Likewise.
31332         * benchtests/bench-strncpy.c: Likewise.
31333         * benchtests/bench-strnlen.c: Likewise.
31334         * benchtests/bench-strpbrk.c: Likewise.
31335         * benchtests/bench-strrchr.c: Likewise.
31336         * benchtests/bench-strspn.c: Likewise.
31337         * benchtests/bench-strstr.c: Likewise.
31339 2013-09-04  Will Newton  <will.newton@linaro.org>
31341         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31343 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31345         [BZ #15427]
31346         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31347         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31348         * math/libm-test.inc (lgamma_test_data): Add more tests.
31349         * sysdeps/i386/fpu/libm-test-ulps: Update.
31350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31352 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31354         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31356         Add ifunc.
31357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31358         Add strcmp-sse2-unaligned
31359         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31361 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31363         * Versions.def (libc): Add GLIBC_2.19.
31365 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31367         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31368         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31370 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31372         [BZ #14155]
31373         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31374         intermediate calculations in recurrence.
31375         (__ieee754_ynf): Likewise.
31376         * math/libm-test.inc (jn_test_data): Do not allow spurious
31377         underflow exception.  Add more tests.
31378         (yn_test_data): Add more tests.
31379         * sysdeps/i386/fpu/libm-test-ulps: Update.
31380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31382 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31384         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31386 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31388         * csu/init-first.c: Fix then/than typos.
31389         * locale/programs/ld-collate.c: Likewise.
31390         * locale/programs/linereader.h: Likewise.
31391         * manual/charset.texi: Likewise.
31392         * manual/filesys.texi: Likewise.
31393         * manual/stdio.texi: Likewise.
31394         * manual/string.texi: Likewise.
31395         * stdlib/fmtmsg.c: Likewise.
31396         * sysdeps/i386/stpncpy.S: Likewise.
31397         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31398         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31399         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31400         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31402 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31404         * elf/dl-open.c: Fix typos.
31405         * iconvdata/gbbig5.c: Likewise.
31406         * iconvdata/iso-2022-jp.c: Likewise.
31407         * iconv/gconv_int.h: Likewise.
31408         * iconv/loop.c: Likewise.
31409         * nis/rpcsvc/nis.h: Likewise.
31410         * resolv/ns_name.c: Likewise.
31411         * stdio-common/vfscanf.c: Likewise.
31412         * streams/stropts.h: Likewise.
31413         * sunrpc/rpc_thread.c: Likewise.
31414         * sysdeps/i386/strpbrk.S: Likewise.
31415         * sysdeps/ieee754/k_standard.c: Likewise.
31416         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31417         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31418         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31419         * sysdeps/mach/hurd/profil.c: Likewise.
31420         * sysdeps/s390/dl-procinfo.h: Likewise.
31421         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31422         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31423         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31424         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31425         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31427 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31429         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31430         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31432 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31434         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31435         aix specific files.
31436         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31437         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31438         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31439         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31440         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31441         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31442         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31443         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31445 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31446             Roland McGrath  <roland@hack.frob.com>
31448         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31449         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31451 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31453         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31454         __executable_start symbol instead of _start.
31456 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31458         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31459         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31460         Move macros to...
31461         * sysdeps/gnu/ldsodefs.h: ... this new file.
31463         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31464         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31465         instead of ELFOSABI_LINUX.
31467         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31468         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31469         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31470         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31471         Likewise.
31472         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31473         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31474         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31475         Likewise.
31476         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31477         (ibm_extended_long_double): Add ieee_nan member.
31478         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31479         (do_test): New function.
31481         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31482         TEST_TRUNC.
31483         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31484         functions, renamed from truncdfsf_test, trunctfsf_test,
31485         trunctfdf_test.
31486         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31487         functions.
31488         (do_test): Run all these.
31490 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31492         * argp/argp-help.c: Fix typos.
31493         * argp/argp-parse.c: Likewise.
31494         * debug/backtracesyms.c: Likewise.
31495         * elf/elf.h: Likewise.
31496         * malloc/malloc.c: Likewise.
31497         * nis/nis_print.c: Likewise.
31498         * resolv/res_comp.c: Likewise.
31499         * stdlib/stdlib.h: Likewise.
31500         * sunrpc/clnt_tcp.c: Likewise.
31501         * sunrpc/clnt_udp.c: Likewise.
31502         * sunrpc/clnt_unix.c: Likewise.
31503         * sysdeps/unix/bsd/ptsname.c: Likewise.
31504         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31505         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31507         Likewise.
31508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31509         Likewise.
31510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31511         Likewise.
31512         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31514 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31516         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31519 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31521         [BZ #15897]
31522         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31523         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31524         ($(objpfx)bug-dl-leaf): New rule.
31525         ($(objpfx)bug-dl-leaf.so): Likewise.
31526         ($(objpfx)bug-dl-leaf.out): Likewise.
31527         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31528         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31529         * dlfcn/bug-dl-leaf.c: New test.
31530         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31531         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31532         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31533         (dlclose): Likewise.
31534         (dlmopen): Likewise.
31536 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31538         * include/netdb.h [!_ISOMAC]:
31539         Don't include <tls.h>.
31540         (h_errno, __libc_h_errno): Move declaration and macros out of
31541         [_LIBC_REENTRANT].
31543         * include/resolv.h [_RESOLV_H_]:
31544         Don't include <tls.h>.
31545         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31546         * resolv/res_libc.c: Don't include <tls.h>.
31547         (_res): Use __attribute__ ((nocommon)) in place of
31548         __attribute__ ((section (".bss"))).
31550         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31551         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31553         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31555         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31556         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31558         * resolv/res_mkquery.c: Include <sys/time.h>.
31560         * inet/ifreq.c: Moved to ...
31561         * sysdeps/unix/ifreq.c: ... here.
31562         * inet/ifreq.c: New file, true stub version.
31564         * socket/sa_len.c: New file.
31565         * socket/Makefile (aux): Add it.
31566         * sysdeps/unix/sysv/linux/Makefile
31567         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31568         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31569         and #include <socket/sa_len.c>.
31570         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31571         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31573         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31574         * bits/socket.h: ... here.
31576         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31577         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31578         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31580 2013-08-27  Andreas Schwab  <schwab@suse.de>
31582         [BZ #15736]
31583         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31584         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31585         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31586         * string/test-strcasecmp.c (test_main): Run tests in several
31587         locales.
31588         * string/test-strncasecmp.c (test_main): Likewise.
31590         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31591         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31592         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31593         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31594         (__strncasecmp_ssse3) [PIC]: Likewise.
31596 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31598         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31600         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31601         instead of explicitly declaring xdecrypt.
31602         * nis/nss_nis/nis-publickey.c: Likewise.
31604 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31606         [BZ #15890]
31607         * nscd/aicache.c: Include res_hconf.h.
31608         (addhstaiX): Initialize res_hconf.
31610 2013-08-26  Andreas Schwab  <schwab@suse.de>
31612         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31613         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31615 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31617         * nscd/aicache.c (addhstaiX): Fix indentation.
31619 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31621         * configure.ac: Quote $build_pt_chown test.
31622         * configure: Regenerated.
31624 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31626         [BZ #15532]
31627         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31628         * math/s_cexpf.c (__cexpf): Likewise.
31629         * math/s_cexpl.c (__cexpl): Likewise.
31630         * math/libm-test.inc (cexp_test_data): Correct expected return
31631         value for NaN + i0.  Add another test.
31633 2013-08-22  David S. Miller  <davem@davemloft.net>
31635         * po/ca.po: Update Catalan translation from translation project.
31636         * po/uk.po: Add Ukrainian translations from translation project.
31638 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31640         [BZ #15797]
31641         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31642         is infinite, not alongside NaN test.
31643         * math/s_fdimf.c (__fdimf): Likewise.
31644         * math/s_fdiml.c (__fdiml): Likewise.
31645         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31646         errno is unchanged.
31648 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31650         * argp/argp-help.c: Fix typos.
31651         * crypt/speeds.c: Likewise.
31652         * csu/check_fds.c: Likewise.
31653         * elf/dl-load.c: Likewise.
31654         * elf/dl-open.c: Likewise.
31655         * elf/reldep3.c: Likewise.
31656         * elf/reldep.c: Likewise.
31657         * elf/sprof.c: Likewise.
31658         * iconv/iconv_charmap.c: Likewise.
31659         * iconv/skeleton.c: Likewise.
31660         * iconv/strtab.c: Likewise.
31661         * io/lockf64.c: Likewise.
31662         * libio/libioP.h: Likewise.
31663         * resolv/gai_notify.c: Likewise.
31664         * resolv/ns_name.c: Likewise.
31665         * resolv/ns_samedomain.c: Likewise.
31666         * resolv/res_send.c: Likewise.
31667         * stdlib/random.c: Likewise.
31668         * sunrpc/rpc/xdr.h: Likewise.
31669         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31670         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31671         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31672         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31673         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31674         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31675         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31676         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31677         * sysdeps/mach/hurd/check_fds.c: Likewise.
31678         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31679         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31680         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31681         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31682         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31683         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31684         * sysdeps/pthread/aio_notify.c: Likewise.
31685         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31686         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31687         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31688         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31689         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31691 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31693         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31694         version if bit_Slow_SSE4_2 is set.
31695         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31696         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31698 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31700         [BZ #15867]
31701         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31702         trampoline stack frame information.
31703         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31704         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31705         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31706         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31707         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31708         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31709         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31710         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31711         sa_flags value.
31712         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31713         interrupting a syscall and set with option SA_SIGINFO.
31715 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31717         [BZ #15531]
31718         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31719         argument is infinite.
31720         * math/s_cprojf.c (__cprojf): Likewise.
31721         * math/s_cprojl.c (__cprojl): Likewise.
31722         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31723         * math/libm-test.inc (cproj_test_data): Add more tests.
31725         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31727         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31728         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31729         size.  Use __ffs to determine corresponding shift.
31731 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31732             Roland McGrath  <roland@hack.frob.com>
31734         * Makefile (INSTALL): Remove trailing blank lines from output of
31735         makeinfo.
31737 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31739         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31740         Align 32 bit compat elf_greg to 8 bytes.
31742 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31744         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31746 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31748         * string/strcoll_l.c (coll_seq): New structure.
31749         (get_next_seq_cached): New function.
31750         (get_next_seq): New function.
31751         (do_compare): New function.
31752         (STRCOLL): Use GNU style definition.  Simplify implementation
31753         by using get_next_seq, get_next_seq_cached and do_compare.
31755 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31757         [BZ #14699]
31758         CVE-2013-4237
31759         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31760         member.
31761         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31762         member.
31763         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31764         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31765         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31766         conditional.
31767         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31768         GETDENTS_64BIT_ALIGNED.
31769         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31770         * manual/filesys.texi (Reading/Closing Directory): Document
31771         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31772         strongly.
31773         * manual/conf.texi (Limits for Files): Add portability note to
31774         NAME_MAX, PATH_MAX.
31775         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31777 2013-08-13  Andreas Schwab  <schwab@suse.de>
31779         [BZ #15749]
31780         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31781         of fabs.
31782         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31783         LDBL_MAX_EXP >= 16384]: Add tests for it.
31785 2013-08-12  David S. Miller  <davem@davemloft.net>
31787         * version.h (RELEASE): Set to "development".
31788         (VERSION): Set to "2.18.90".
31789         * NEWS: Add 2.19 section.
31791 2013-08-03  David S. Miller  <davem@davemloft.net>
31793         * po/ko.po: Update Korean translation from translation project.
31795 2013-08-01  David S. Miller  <davem@davemloft.net>
31797         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31798         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31799         Bilka.
31801 2013-07-30  David S. Miller  <davem@davemloft.net>
31803         * po/fr.po: Update French translation from translation project.
31805 2013-07-28  David S. Miller  <davem@davemloft.net>
31807         * po/cs.po: Update Czech translation from translation project.
31809         * po/sv.po: Update Swedish translation from translation project.
31811 2013-07-27  David S. Miller  <davem@davemloft.net>
31813         * po/eo.po: Update Esperanto translation from translation project.
31815         * po/vi.po: Update Vietnamese translation from translation project.
31817         * po/de.po: Update German translation from translation project.
31819 2013-07-26  David S. Miller  <davem@davemloft.net>
31821         * po/bg.po: Update Bulgarian translation from translation project.
31823         * po/nl.po: Update Dutch translation from translation project.
31824         * po/pl.po: Update Polish translation from translation project.
31825         * po/ru.po: Update Russian translation from translation project.
31827 2013-07-24  David S. Miller  <davem@davemloft.net>
31829         * po/libc.pot: Update.
31831 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31833         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31834         variable page size.
31835         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31836         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31837         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31839 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31841         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31843 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31844             Andreas Schwab  <schwab@suse.de>
31845             Roland McGrath  <roland@hack.frob.com>
31846             Joseph Myers  <joseph@codesourcery.com>
31847             Carlos O'Donell  <carlos@redhat.com>
31849         [BZ #15755]
31850         * config.h.in: Define HAVE_PT_CHOWN.
31851         * config.make.in (build-pt-chown): New variable.
31852         * configure.in (--enable-pt_chown): New configure option.
31853         * configure: Regenerate.
31854         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31855         build-pt-chown is enabled.
31856         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31857         pt_chown to fix pty ownership.
31858         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31859         CLOSE_ALL_FDS.
31860         * manual/install.texi (Configuring and compiling): Mention
31861         --enable-pt_chown. Add @findex for grantpt.
31862         * INSTALL: Regenerate.
31864 2013-07-20  David S. Miller  <davem@davemloft.net>
31866         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31867         difference between 32-bit and 64-bit.
31869 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31871         [BZ #15711]
31872         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31873         Avoid system header dependency with -ffreestanding.
31874         ($(objpfx)bits/syscall%d): Likewise.
31876 2013-07-13  David S. Miller  <davem@davemloft.net>
31878         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31879         underflows from atanl/atan2l due to bug 15319.
31880         (casinh_test_data): Likewise.
31882 2013-07-07  David S. Miller  <davem@davemloft.net>
31884         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31886 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31888         * sysdeps/i386/fpu/libm-test-ulps: Update.
31889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31891 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31893         * configure.in (--enable-lock-elision): Fix message text.
31894         * INSTALL: Regenerate.
31895         * configure: Regenerate.
31897 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31901 2013-07-03  Andreas Jaeger  <aj@suse.de>
31903         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31904         define.
31905         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31906         (ptrace_peeksiginfo_args): Add.
31907         (__ptrace_peeksiginfo_flags): Add.
31908         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31909         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31910         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31912 2013-07-03  Allan McRae  <allan@archlinux.org>
31914         * sysdeps/i386/fpu/libm-test-ulps: Update.
31916 2013-07-02  David S. Miller  <davem@davemloft.net>
31918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31920 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31922         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31924 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31926         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31929 2013-07-02  Andi Kleen <ak@linux.intel.com>
31931         * config.h.in (ENABLE_LOCK_ELISION): Add.
31932         * configure.in (--enable-lock-elision): Add option.
31933         * manual/install.texi: Document --enable lock elision.
31934         * configure: Regenerate
31935         * INSTALL: Regenerate.
31937 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31939         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31940         SSE4.2 strcasecmp for libc.a.
31941         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31943 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31945         [BZ #13304]
31946         * soft-fp/op-common.h (_FP_FMA): New macro.
31947         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31948         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31949         (_FP_MUL_MEAT_1_imm): ... here.
31950         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31951         (_FP_MUL_MEAT_1_wide): ... here.
31952         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31953         (_FP_MUL_MEAT_1_hard): ... here.
31954         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31955         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31956         (_FP_MUL_MEAT_2_wide): ... here.
31957         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31958         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31959         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31960         (_FP_MUL_MEAT_2_gmp): ... here.
31961         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31962         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31963         (_FP_MUL_MEAT_4_wide): ... here.
31964         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31965         (_FP_MUL_MEAT_4_gmp): ... here.
31966         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31967         (_FP_WFRACBITS_DW_S): Likewise.
31968         (_FP_WFRACXBITS_DW_S): Likewise.
31969         (_FP_HIGHBIT_DW_S): Likewise.
31970         (FP_FMA_S): Likewise.
31971         (_FP_FRAC_HIGH_DW_S): Likewise.
31972         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31973         (_FP_WFRACBITS_DW_D): Likewise.
31974         (_FP_WFRACXBITS_DW_D): Likewise.
31975         (_FP_HIGHBIT_DW_D): Likewise.
31976         (FP_FMA_D): Likewise.
31977         (_FP_FRAC_HIGH_DW_D): Likewise.
31978         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31979         (_FP_WFRACBITS_DW_E): Likewise.
31980         (_FP_WFRACXBITS_DW_E): Likewise.
31981         (_FP_HIGHBIT_DW_E): Likewise.
31982         (FP_FMA_E): Likewise.
31983         (_FP_FRAC_HIGH_DW_E): Likewise.
31984         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31985         (_FP_WFRACBITS_DW_Q): Likewise.
31986         (_FP_WFRACXBITS_DW_Q): Likewise.
31987         (_FP_HIGHBIT_DW_Q): Likewise.
31988         (FP_FMA_Q): Likewise.
31989         (_FP_FRAC_HIGH_DW_Q): Likewise.
31990         * soft-fp/fmasf4.c: New file.
31991         * soft-fp/fmadf4.c: Likewise.
31992         * soft-fp/fmatf4.c: Likewise.
31994 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31997         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31998         Silvermont.
31999         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32000         macro.
32001         (index_Slow_SSE4_2): Likewise.
32002         (index_Prefer_PMINUB_for_stringop): Likewise.
32003         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32004         bit_Slow_SSE4_2 is set.
32005         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32006         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32008 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32010         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32011         rtld_global._dl_hwcap2.
32012         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32013         POWER8.
32014         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32015         POWER8 feature descriptions defined in _dl_hwcap2.
32016         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32017         string handling for POWER8 feature bits.
32018         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32019         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32020         _dl_powerpc_cap_flags.
32021         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32022         * sysdeps/powerpc/rtld-global-offsets.sym
32023         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32024         _dl_hwcap2 in the rtld_global_ro structure.
32026 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32028         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32029         hardware capabilities in support of AT_HWCAP2.
32030         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32031         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32032         GLRO(dl_hwcap2).
32033         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32034         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32035         explicitly the unknown a_type display mechanism is used.
32036         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32037         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32038         struct member.
32039         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32040         to macro prototype for AT_HWCAP2 support.
32041         * sysdeps/i386/dl-procinfo.h: Likewise.
32042         * sysdeps/s390/dl-procinfo.h: Likewise.
32043         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32044         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32045         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32046         return -1 for unknown a_type display fallback.
32047         * sysdeps/sparc/dl-procinfo.h: Likewise.
32048         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32049         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32051 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32053         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32054         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32056 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32058         [BZ #12492]
32059         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32060         mprotect making __stack_prot writable.
32062 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32063             Joseph Myers  <joseph@codesourcery.com>
32065         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32066         as being properly aligned.
32068 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32070         * dlfcn/modstatic5.c: New file.
32071         * dlfcn/tststatic5.c: New file.
32072         * dlfcn/Makefile (tests): Add tststatic5.
32073         (tests-static): Likewise.
32074         (modules-names): Add modstatic5.
32075         (tststatic5-ENV): New variable.
32076         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32078         [BZ #15022]
32079         * elf/dl-support.c (_dl_main_map): New variable.
32080         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32081         (_dl_nns, _dl_load_adds): Set to 1.
32082         (_dl_initial_searchlist): Refer to _dl_main_map.
32083         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32084         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32085         call to _dl_get_origin.
32086         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32087         around call_map.
32088         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32089         * dlfcn/modstatic3.c: New file.
32090         * dlfcn/tststatic3.c: New file.
32091         * dlfcn/tststatic4.c: New file.
32092         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32093         (tests-static): Likewise.
32094         (modules-names): Add modstatic3.
32095         (tststatic3-ENV, tststatic4-ENV): New variables.
32096         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32097         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32099 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32101         * configure.in (CC): Require GCC version 4.4 or later.
32102         * configure: Regenerated.
32103         * manual/install.texi (Tools for Compilation): Update GCC version
32104         requirement.
32105         * INSTALL: Regenerated.
32107 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32109         [BZ #15674]
32110         * string/test-memcmp.c (check2): New.
32111         (main): Call check2.
32113         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32115 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32117         [BZ #15022]
32118         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32119         over to...
32120         (dl_open_worker) [!SHARED]: ... here.
32122 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32124         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32126 2013-06-25  Richard Henderson  <rth@redhat.com>
32128         * locale/programs/locarchive.c: Include <libc-internal.h>
32130 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32132         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32133         trailing whitespace removed.
32135 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32137         [BZ #10283]
32138         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32139         * locale/programs/locarchive.c: Include libc-mmap.h.
32140         (prepare_address_space): Take two new outputs (the mmap base and len).
32141         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32142         values.
32143         (create_archive): Declare new mmap base and len values for
32144         prepare_address_space, and store the result in ah.
32145         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32146         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32147         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32148         Declare new mmap base and len values for
32149         prepare_address_space, and store the result in new_ah.
32150         (open_archive): Declare new mmap base and len values for
32151         prepare_address_space, and store the result in ah.
32152         (close_archive): If ah->mmap_base is not NULL, use that and
32153         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32154         * sysdeps/generic/libc-mmap.h: New file.
32156 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32158         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32159         (ALIGN_UP): Likewise.
32160         (PTR_ALIGN_DOWN): Likewise.
32161         (PTR_ALIGN_UP): Likewise.
32163 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32165         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32166         entry mapped to PPC_PLATFORM_POWER8.
32167         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32168         POWER8.
32169         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32170         (_dl_string_platform): Add case for exporting platform position for
32171         POWER8.
32172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32173         search path to sysdeps/powerpc/powerpc32/power8 directory.
32174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32175         search path to sysdeps/powerpc/powerpc64/power8 directory.
32176         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32177         power7 directories.
32178         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32179         power7 directories.
32181 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32183         * INSTALL: Regenerate.
32185         * nscd/connections.c (nscd_init): Fix comment.
32187 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32189         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32191         [BZ #15667]
32192         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32193         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32195 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32197         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32198         DL_DST_REQ_STATIC.
32199         (DL_DST_REQ_STATIC): Remove macro.
32201 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32203         [BZ #7006]
32204         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32205         with a shift of 0 bits.
32207 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32209         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32210         $(tststatic-ENV).
32212 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32214         [BZ #15655]
32215         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32217 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32219         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32220         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32221         accepts -fno-tree-loop-distribute-patterns.
32222         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32223         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32224         recursive call.
32225         * string/memset.c (memset): Likewise.
32226         * string/test-memmove.c (simple_memmove): Disable loop transformation
32227         to library calls.
32228         * string/test-memset.c (simple_memset): Likewise.
32229         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32230         * benchtests/bench-memset.c (simple_memset): Likewise.
32231         * configure: Regenerated.
32233 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32235         * math/test-misc.c (main): Ignore fesetround failure when failures
32236         of subsequent rounding tests would be ignored.
32238         [BZ #15654]
32239         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32240         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32241         * math/fegetenv.c (__fegetenv): Return 0.
32242         * math/fegetexcept.c (fegetexcept): Return 0.
32243         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32244         FE_TONEAREST.
32245         * math/feholdexcpt.c (feholdexcept): Return 0.
32246         * math/fesetenv.c (__fesetenv): Return 0.
32247         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32248         argument FE_TONEAREST.
32249         * math/feupdateenv.c (__feupdateenv): Return 0.
32250         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32252 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32254         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32255         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32256         ($(objpfx)rtld-%.os rules): Use them.
32258 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32260         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32261         fields.
32263 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32265         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32266         length of target pattern, then descending length of dependency pattern.
32267         * configure.in (AWK): Require gawk 3.1.2 or newer.
32268         * manual/install.texi (Tools for Compilation): Say that we do.
32269         * configure: Regenerated.
32271         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32272         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32273         * scripts/sysd-rules.awk: ... this new script.
32274         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32275         than a glob-style pattern.
32277 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32279         * math/test-misc.c (main): Do not treat incorrectly rounded
32280         conversions as failure unless ROUNDING_TESTS passes.
32282 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32284         [BZ #15631]
32285         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32286         restore exception state around main square root computation, then
32287         check for inexactness explicitly.
32289         * math/libm-test.inc (fma_test_data): Add another test.
32291 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32293         * manual/threads.texi (Non-POSIX Extensions): New document
32294         node.  Document pthread_getattr_default_np and
32295         pthread_setattr_default_np.
32297         * Versions.def (libpthread): Add GLIBC_2.18.
32298         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32300         Likewise.
32301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32302         Likewise.
32303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32304         Likewise.
32305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32306         Likewise.
32307         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32308         Likewise.
32309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32310         Likewise.
32311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32312         Likewise.
32313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32314         Likewise.
32315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32316         Likewise.
32318 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32321         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32323 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32324             H.J. Lu  <hjl.tools@gmail.com>
32326         [BZ #15627]
32327         * sysdeps/x86_64/rtld-memset.c: Remove file.
32328         * sysdeps/x86_64/rtld-memset.S: New file.
32330 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32332         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32333         (test_in_one_mode): Take arguments for whether the rounding mode
32334         is supported for each floating-point type.
32335         (do_test): Pass new arguments to test_in_one_mode using
32336         ROUNDING_TESTS.
32338 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32340         * posix/tst-waitid.c (do_test): Distinguish different instances of
32341         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32342         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32343         before entering the kernel for waitpid.
32345 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32347         * NEWS: Fix note on clock function precision.  Text by Roland
32348         McGrath.
32350 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32352         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32353         it into place only when and if the sanity check passes.
32355 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32357         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32358         output for whether conversion result is exact.  Take argument
32359         indicating whether type is IBM long double.
32360         (round_for_all): Change need_exact field to ibm_ld.
32361         * stdlib/tst-strtod-round.c (struct exactness): New type.
32362         (struct test): Change bool ld_ok field to struct exactness exact.
32363         (TEST): Update all definitions for change to field.
32364         (tests): Regenerate array contents.
32365         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32366         field value.  Check for IBM long double here.
32367         (do_test): Update calls to test_in_one_mode.
32369 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32371         [BZ #12515]
32372         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32373         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32375 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32377         [BZ #15605]
32378         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32379         generated by the compiler on loop optimizations.
32380         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32381         general definitions.
32383 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32385         * math/bug-nextafter.c: Include <math-tests.h>.
32386         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32387         the relevant type.
32388         * math/bug-nexttoward.c: Include <math-tests.h>.
32389         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32390         the relevant type.
32391         * math/test-misc.c: Include <math-tests.h>.
32392         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32393         the relevant type.
32395 2013-06-12  Andreas Jaeger  <aj@suse.de>
32397         * po/ia.po: Update Interlingua translation from translation
32398         project.
32400 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32402         * include/fenv.h: Include stdbool.h.
32403         (struct rm_ctx): New structure.
32404         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32405         Define macro.
32406         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32407         (SET_RESTORE_ROUNDF): Likewise.
32408         (SET_RESTORE_ROUNDL): Likewise.
32409         (SET_RESTORE_ROUND_NOEX): Likewise.
32410         (SET_RESTORE_ROUND_NOEXF): Likewise.
32411         (SET_RESTORE_ROUND_NOEXL): Likewise.
32412         (SET_RESTORE_ROUND_53BIT): Likewise.
32413         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32414         (libc_feresetround_noexf_ctx): Likewise.
32415         (libc_feresetround_noexl_ctx): Likewise.
32416         (libc_feholdsetround_53bit_ctx): Likewise.
32417         (libc_feresetround_53bit_ctx): Likewise.
32418         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32419         (libc_feholdexcept_setround_sse_ctx): New function.
32420         (libc_fesetenv_sse_ctx): Likewise.
32421         (libc_feupdateenv_sse_ctx): Likewise.
32422         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32423         (libc_feholdexcept_setround_387_ctx): Likewise.
32424         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32425         (libc_feholdsetround_387_prec_ctx): Likewise.
32426         (libc_feholdsetround_387_ctx): Likewise.
32427         (libc_feholdsetround_387_53bit_ctx): Likewise.
32428         (libc_feholdsetround_sse_ctx): Likewise.
32429         (libc_feresetround_sse_ctx): Likewise.
32430         (libc_feresetround_387_ctx): Likewise.
32431         (libc_feupdateenv_387_ctx): Likewise.
32432         (libc_feholdexcept_setroundf_ctx): Define macro.
32433         (libc_fesetenvf_ctx): Likewise.
32434         (libc_feupdateenvf_ctx): Likewise.
32435         (libc_feholdsetroundf_ctx): Likewise.
32436         (libc_feresetroundf_ctx): Likewise.
32437         (libc_feholdexcept_setround_ctx): Likewise.
32438         (libc_fesetenv_ctx): Likewise.
32439         (libc_feupdateenv_ctx): Likewise.
32440         (libc_feholdsetround_ctx): Likewise.
32441         (libc_feresetround_ctx): Likewise.
32442         (libc_feholdexcept_setroundl_ctx): Likewise.
32443         (libc_feupdateenvl_ctx): Likewise.
32444         (libc_feholdsetroundl_ctx): Likewise.
32445         (libc_feresetroundl_ctx): Likewise.
32446         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32447         (libc_feresetround_53bit_ctx): Likewise.
32449 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32451         * locale/iso-639.def: Convert to UTF-8.
32453 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32455         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32456         (EXCEPTION_TESTS_double): Likewise.
32457         (EXCEPTION_TESTS_long_double): Likewise.
32458         (EXCEPTION_TESTS): Likewise.
32459         * math/libm-test.inc (test_exceptions): Only test exceptions if
32460         EXCEPTION_TESTS (FLOAT).
32462 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32464         * benchtests/Makefile (string-bench): Add strcpy_chk and
32465         stpcpy_chk.
32466         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32467         * benchtests/bench-stpcpy_chk.c: New file.
32468         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32469         * benchtests/bench-strcpy_chk.c: New file.
32470         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32471         code.
32472         (do_test): Likewise.
32474 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32476         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32477         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32478         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32479         with tabs where appropriate.
32480         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32481         dl-procinfo.h.
32482         [PPC_PLATFORM_PPC440]: Likewise.
32483         [PPC_PLATFORM_PPC464]: Likewise.
32484         [PPC_PLATFORM_PPC476]: Likewise.
32485         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32486         ppc464, and ppc476 platform strings merging from ports/
32487         dl-procinfo.h.
32489 2013-06-11  Andreas Schwab  <schwab@suse.de>
32491         [BZ #14991]
32492         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32493         (from_ucs4_idx): Regenerate.
32494         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32495         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32496         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32497         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32498         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32499         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32500         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32501         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32502         from FROM_LOOP and TO_LOOP specific macros.
32503         (BODY): Handle combining characters.
32504         * iconvdata/BIG5HKSCS.irreversible: Update.
32505         * iconvdata/BIG5HKSCS.precomposed: New file.
32506         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32507         characters.
32508         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32510 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32512         * include/sys/time.h: Fix indentation and add copyright header.
32514         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32515         (do_test): Likewise.
32516         * string/test-memchr.c (do_one_test): Likewise.
32517         (do_test): Likewise.
32518         * string/test-memcmp.c (do_one_test): Likewise.
32519         (do_test): Likewise.
32520         * string/test-memcpy.c (do_one_test): Likewise.
32521         (do_test): Likewise.
32522         * string/test-memmem.c (do_one_test): Likewise.
32523         (do_test): Likewise.
32524         (do_random_tests): Likewise.
32525         * string/test-memmove.c (do_one_test): Likewise.
32526         (do_test): Likewise.
32527         * string/test-memset.c (do_one_test): Likewise.
32528         (do_test): Likewise.
32529         * string/test-rawmemchr.c (do_one_test): Likewise.
32530         (do_test): Likewise.
32531         * string/test-strcasecmp.c (do_one_test): Likewise.
32532         (do_test): Likewise.
32533         * string/test-strcasestr.c (do_one_test): Likewise.
32534         (do_test): Likewise.
32535         * string/test-strcat.c (do_one_test): Likewise.
32536         (do_test): Likewise.
32537         * string/test-strchr.c (do_one_test): Likewise.
32538         (do_test): Likewise.
32539         * string/test-strcmp.c (do_one_test): Likewise.
32540         (do_test): Likewise.
32541         * string/test-strcpy.c (do_one_test): Likewise.
32542         (do_test): Likewise.
32543         * string/test-string.h: Likewise.
32544         (test_init): Likewise.
32545         * string/test-strlen.c (do_one_test): Likewise.
32546         (do_test): Likewise.
32547         * string/test-strncasecmp.c (do_one_test): Likewise.
32548         (do_test): Likewise.
32549         * string/test-strncat.c (do_one_test): Likewise.
32550         (do_test): Likewise.
32551         * string/test-strncmp.c (do_one_test): Likewise.
32552         (do_test_limit): Likewise.
32553         (do_test): Likewise.
32554         * string/test-strncpy.c (do_one_test): Likewise.
32555         (do_test): Likewise.
32556         * string/test-strnlen.c (do_one_test): Likewise.
32557         (do_test): Likewise.
32558         * string/test-strpbrk.c (do_one_test): Likewise.
32559         (do_test): Likewise.
32560         * string/test-strrchr.c (do_one_test): Likewise.
32561         (do_test): Likewise.
32562         * string/test-strspn.c (do_one_test): Likewise.
32563         (do_test): Likewise.
32564         * string/test-strstr.c (do_one_test): Likewise.
32565         (do_test): Likewise.
32567         * benchtests/Makefile (string-bench): Add string benchmarks.
32568         * benchtests/bench-bcopy-ifunc.c: New file.
32569         * benchtests/bench-bcopy.c: New file.
32570         * benchtests/bench-bzero-ifunc.c: New file.
32571         * benchtests/bench-bzero.c: New file.
32572         * benchtests/bench-memccpy-ifunc.c: New file.
32573         * benchtests/bench-memccpy.c: New file.
32574         * benchtests/bench-memchr-ifunc.c: New file.
32575         * benchtests/bench-memchr.c: New file.
32576         * benchtests/bench-memcmp-ifunc.c: New file.
32577         * benchtests/bench-memcmp.c: New file.
32578         * benchtests/bench-memmem-ifunc.c: New file.
32579         * benchtests/bench-memmem.c: New file.
32580         * benchtests/bench-memmove-ifunc.c: New file.
32581         * benchtests/bench-memmove.c: New file.
32582         * benchtests/bench-mempcpy-ifunc.c: New file.
32583         * benchtests/bench-mempcpy.c: New file.
32584         * benchtests/bench-memset-ifunc.c: New file.
32585         * benchtests/bench-memset.c: New file.
32586         * benchtests/bench-rawmemchr-ifunc.c: New file.
32587         * benchtests/bench-rawmemchr.c: New file.
32588         * benchtests/bench-stpcpy-ifunc.c: New file.
32589         * benchtests/bench-stpcpy.c: New file.
32590         * benchtests/bench-stpncpy-ifunc.c: New file.
32591         * benchtests/bench-stpncpy.c: New file.
32592         * benchtests/bench-strcasecmp-ifunc.c: New file.
32593         * benchtests/bench-strcasecmp.c: New file.
32594         * benchtests/bench-strcasestr-ifunc.c: New file.
32595         * benchtests/bench-strcasestr.c: New file.
32596         * benchtests/bench-strcat-ifunc.c: New file.
32597         * benchtests/bench-strcat.c: New file.
32598         * benchtests/bench-strchr-ifunc.c: New file.
32599         * benchtests/bench-strchr.c: New file.
32600         * benchtests/bench-strchrnul-ifunc.c: New file.
32601         * benchtests/bench-strchrnul.c: New file.
32602         * benchtests/bench-strcmp-ifunc.c: New file.
32603         * benchtests/bench-strcmp.c: New file.
32604         * benchtests/bench-strcpy-ifunc.c: New file.
32605         * benchtests/bench-strcpy.c: New file.
32606         * benchtests/bench-strcspn-ifunc.c: New file.
32607         * benchtests/bench-strcspn.c: New file.
32608         * benchtests/bench-strlen-ifunc.c: New file.
32609         * benchtests/bench-strlen.c: New file.
32610         * benchtests/bench-strncasecmp-ifunc.c: New file.
32611         * benchtests/bench-strncasecmp.c: New file.
32612         * benchtests/bench-strncat-ifunc.c: New file.
32613         * benchtests/bench-strncat.c: New file.
32614         * benchtests/bench-strncmp-ifunc.c: New file.
32615         * benchtests/bench-strncmp.c: New file.
32616         * benchtests/bench-strncpy-ifunc.c: New file.
32617         * benchtests/bench-strncpy.c: New file.
32618         * benchtests/bench-strnlen-ifunc.c: New file.
32619         * benchtests/bench-strnlen.c: New file.
32620         * benchtests/bench-strpbrk-ifunc.c: New file.
32621         * benchtests/bench-strpbrk.c: New file.
32622         * benchtests/bench-strrchr-ifunc.c: New file.
32623         * benchtests/bench-strrchr.c: New file.
32624         * benchtests/bench-strspn-ifunc.c: New file.
32625         * benchtests/bench-strspn.c: New file.
32626         * benchtests/bench-strstr-ifunc.c: New file.
32627         * benchtests/bench-strstr.c: New file.
32629         * benchtests/Makefile: Disable parallel execution of targets.
32630         (string-bench): Add memcpy.
32631         (benchset): New variable to store a list of benchmark sets.
32632         (bench-func): Renamed from bench.
32633         (bench-set): New target.
32634         (bench): Depend on bench-func and bench-set.
32635         * benchtests/README: Add section on benchmark sets.
32636         * benchtests/bench-memcpy-ifunc.c: New file.
32637         * benchtests/bench-memcpy.c: New file.
32638         * benchtests/bench-string.h: New file.
32640 2013-06-11  Andreas Schwab  <schwab@suse.de>
32642         [BZ #15577]
32643         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32644         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32645         values in the triple.
32646         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32647         terminator in the group key.
32649 2013-06-11  Andreas Jaeger  <aj@suse.de>
32651         * po/zh_TW.po: Update Chinese (traditional) translation from
32652         translation project.
32654 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32656         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32657         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32658         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32659         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32660         (clock_getcpuclockid): Likewise.
32661         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32662         Add weak_alias and libc_hidden_def.
32663         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32664         * rt/clock_gettime.c (clock_gettime): Rename to
32665         __clock_gettime.  Add weak_alias and libc_hidden_def.
32666         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32667         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32668         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32669         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32670         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32671         Likewise.
32672         * rt/clock_settime.c (clock_settime): Rename to
32673         __clock_settime.  Add weak_alias and libc_hidden_def.
32674         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32676 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32678         * mach/err_boot.sub: Remove trailing whitespace.
32679         * mach/err_ipc.sub: Likewise.
32680         * mach/err_mach.sub: Likewise.
32682         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32683         (ROUNDING_TESTS_double): Likewise.
32684         (ROUNDING_TESTS_long_double): Likewise.
32685         (ROUNDING_TESTS): Likewise.
32686         * math/libm-test.inc: Include <math-tests.h>.
32687         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32688         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32689         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32690         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32692 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32694         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32695         of assigning.
32697 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32699         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32700         otherwise empty TRANS lines.
32701         * sysdeps/gnu/errlist.c: Regenerated.
32703         * catgets/gencat.c (error_print): Use (void) in function
32704         definition.
32705         * crypt/crypt_util.c (__init_des): Likewise.
32706         * crypt/speeds.c (Stop): Likewise.
32707         (main): Likewise.
32708         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32709         * inet/ruserpass.c (token): Likewise.
32710         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32711         * intl/localealias.c (extend_alias_table): Likewise.
32712         * intl/plural-exp.c (init_germanic_plural): Likewise.
32713         * libio/fcloseall.c (__fcloseall): Likewise.
32714         * libio/genops.c (_IO_flush_all): Likewise.
32715         (_IO_flush_all_linebuffered): Likewise.
32716         (_IO_cleanup): Likewise.
32717         (_IO_iter_begin): Likewise.
32718         (_IO_iter_end): Likewise.
32719         (_IO_list_lock): Likewise.
32720         (_IO_list_unlock): Likewise.
32721         (_IO_list_resetlock): Likewise.
32722         * libio/getchar.c (getchar): Likewise.
32723         * libio/getchar_u.c (getchar_unlocked): Likewise.
32724         * libio/getwchar.c (getwchar): Likewise.
32725         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32726         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32727         * login/getpt.c (__getpt): Likewise.
32728         * login/tst-utmp.c (main): Likewise.
32729         * malloc/hooks.c (__malloc_check_init): Likewise.
32730         * malloc/malloc.c (__malloc_stats): Likewise.
32731         * malloc/mtrace.c (tr_break): Likewise.
32732         (mtrace): Likewise.
32733         (muntrace): Likewise.
32734         * misc/fstab.c (endfsent): Likewise.
32735         * misc/getclktck.c (__getclktck): Likewise.
32736         * misc/getdtsz.c (__getdtablesize): Likewise.
32737         * misc/gethostid.c (gethostid): Likewise.
32738         * misc/getpagesize.c (__getpagesize): Likewise.
32739         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32740         (__get_nprocs): Likewise.
32741         (__get_phys_pages): Likewise.
32742         (__get_avphys_pages): Likewise.
32743         * misc/getttyent.c (getttyent): Likewise.
32744         (setttyent): Likewise.
32745         (endttyent): Likewise.
32746         * misc/getusershell.c (getusershell): Likewise.
32747         (endusershell): Likewise.
32748         (setusershell): Likewise.
32749         (initshells): Likewise.
32750         * misc/hsearch.c (__hdestroy): Likewise.
32751         * misc/sync.c (sync): Likewise.
32752         * misc/syslog.c (closelog_internal): Likewise.
32753         (closelog): Likewise.
32754         * misc/ttyslot.c (ttyslot): Likewise.
32755         * misc/vhangup.c (vhangup): Likewise.
32756         * posix/fork.c (__fork): Likewise.
32757         * posix/getegid.c (__getegid): Likewise.
32758         * posix/geteuid.c (__geteuid): Likewise.
32759         * posix/getgid.c (__getgid): Likewise.
32760         * posix/getpid.c (__getpid): Likewise.
32761         * posix/getppid.c (__getppid): Likewise.
32762         * posix/getuid.c (__getuid): Likewise.
32763         * posix/pause.c (pause): Likewise.
32764         * posix/setpgrp.c (setpgrp): Likewise.
32765         * posix/setsid.c (__setsid): Likewise.
32766         * posix/test-vfork.c (noop): Likewise.
32767         * resolv/gethnamaddr.c (_endhtent): Likewise.
32768         (_gethtent): Likewise.
32769         (ht_endhostent): Likewise.
32770         (gethostent): Likewise.
32771         (dns_service): Likewise.
32772         * stdlib/drand48.c (drand48): Likewise.
32773         * stdlib/lrand48.c (lrand48): Likewise.
32774         * stdlib/mrand48.c (mrand48): Likewise.
32775         * stdlib/rand.c (rand): Likewise.
32776         * stdlib/random.c (__random): Likewise.
32777         * stdlib/setenv.c (clearenv): Likewise.
32778         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32779         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32780         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32781         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32782         (__get_nprocs): Likewise.
32783         (__get_phys_pages): Likewise.
32784         (__get_avphys_pages): Likewise.
32785         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32786         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32787         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32788         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32789         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32790         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32791         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32792         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32793         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32794         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32795         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32796         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32797         * sysdeps/posix/clock.c (clock): Likewise.
32798         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32799         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32800         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32801         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32802         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32803         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32804         (__get_nprocs_conf): Likewise.
32805         (__get_phys_pages): Likewise.
32806         (__get_avphys_pages): Likewise.
32807         * time/clock.c (clock): Likewise.
32808         * time/tzset.c (__tzname_max): Likewise.
32810 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32812         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32813         (__bswap_32): Do not use "register".
32814         * crypt/crypt.c (_ufc_doit_r): Likewise.
32815         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32816         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32817         * gmon/gmon.c (__monstartup): Likewise.
32818         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32819         * hurd/hurdmalloc.c (more_memory): Likewise.
32820         (malloc): Likewise.
32821         (free): Likewise.
32822         (realloc): Likewise.
32823         (malloc_fork_prepare): Likewise.
32824         (malloc_fork_parent): Likewise.
32825         (malloc_fork_child): Likewise.
32826         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32827         (_svcauth_des): Likewise.
32828         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32829         * inet/inet_net.c (inet_network): Likewise.
32830         * inet/inet_netof.c (inet_netof): Likewise.
32831         * inet/rcmd.c (__validuser2_sa): Likewise.
32832         * io/fts.c (fts_open): Likewise.
32833         (fts_load): Likewise.
32834         (fts_close): Likewise.
32835         (fts_read): Likewise.
32836         (fts_children): Likewise.
32837         (fts_build): Likewise.
32838         (fts_stat): Likewise.
32839         (fts_sort): Likewise.
32840         (fts_alloc): Likewise.
32841         (fts_lfree): Likewise.
32842         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32843         (_IO_file_xsgetn): Likewise.
32844         (_IO_file_xsgetn_mmap): Likewise.
32845         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32846         (_IO_cookie_write): Likewise.
32847         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32848         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32849         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32850         * malloc/obstack.c (_obstack_begin): Likewise.
32851         (_obstack_begin_1): Likewise.
32852         (_obstack_newchunk): Likewise.
32853         (_obstack_allocated_p): Likewise.
32854         (obstack_free): Likewise.
32855         (_obstack_memory_used): Likewise.
32856         * misc/getttyent.c (getttynam): Likewise.
32857         (getttyent): Likewise.
32858         (skip): Likewise.
32859         (value): Likewise.
32860         * misc/getusershell.c (initshells): Likewise.
32861         * misc/syslog.c (__vsyslog_chk): Likewise.
32862         * misc/ttyslot.c (ttyslot): Likewise.
32863         * nis/nis_hash.c (__nis_hash): Likewise.
32864         * posix/fnmatch_loop.c (FCT): Likewise.
32865         * posix/getconf.c (print_all): Likewise.
32866         (main): Likewise.
32867         * posix/getopt.c (exchange): Likewise.
32868         * posix/glob.c (globfree): Likewise.
32869         (prefix_array): Likewise.
32870         (__glob_pattern_type): Likewise.
32871         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32872         (NS_GET32): Likewise.
32873         (NS_PUT16): Likewise.
32874         (NS_PUT32): Likewise.
32875         * resolv/gethnamaddr.c (getanswer): Likewise.
32876         (gethostbyname2): Likewise.
32877         (gethostbyaddr): Likewise.
32878         (_gethtent): Likewise.
32879         (_gethtbyname2): Likewise.
32880         (_gethtbyaddr): Likewise.
32881         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32882         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32883         * resolv/res_init.c (__res_vinit): Likewise.
32884         (net_mask): Likewise.
32885         * resolv/res_mkquery.c (outchar): Likewise.
32886         (PRINT): Likewise.
32887         * stdio-common/printf_fp.c (outchar): Likewise.
32888         (PRINT): Likewise.
32889         * stdio-common/printf_fphex.c (outchar): Likewise.
32890         (PRINT): Likewise.
32891         * stdio-common/printf_size.c (outchar): Likewise.
32892         (PRINT): Likewise.
32893         * stdio-common/test_rdwr.c (main): Likewise.
32894         * stdio-common/tfformat.c (matches): Likewise.
32895         * stdio-common/vfprintf.c (outchar): Likewise.
32896         (printf_unknown): Likewise.
32897         (buffered_vfprintf): Likewise.
32898         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32899         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32900         (ReadFile): Likewise.
32901         * stdlib/qsort.c (SWAP): Likewise.
32902         (_quicksort): Likewise.
32903         * stdlib/setenv.c (__add_to_environ): Likewise.
32904         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32905         * stdlib/strtol_l.c (__strtol_l): Likewise.
32906         * stdlib/tst-strtod.c (main): Likewise.
32907         * stdlib/tst-strtol.c (main): Likewise.
32908         * stdlib/tst-strtoll.c (main): Likewise.
32909         * string/bits/string2.h (__strcmp_cc): Likewise.
32910         (__strcmp_cg): Likewise.
32911         (__strcspn_c1): Likewise.
32912         (__strcspn_c2): Likewise.
32913         (__strcspn_c3): Likewise.
32914         (__strspn_c1): Likewise.
32915         (__strspn_c2): Likewise.
32916         (__strspn_c3): Likewise.
32917         (__strsep_1c): Likewise.
32918         (__strsep_2c): Likewise.
32919         (__strsep_3c): Likewise.
32920         * string/memccpy.c (__memccpy): Likewise.
32921         * string/stpcpy.c (__stpcpy): Likewise.
32922         * string/strcmp.c (strcmp): Likewise.
32923         * string/strrchr.c (strrchr): Likewise.
32924         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32925         Likewise.
32926         * sysdeps/mach/hurd/getcwd.c
32927         (_hurd_canonicalize_directory_name_internal): Likewise.
32928         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32929         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32930         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32931         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32932         Likewise, in both definitions.
32933         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32934         definitions.
32935         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32936         64] (__bswap_64): Likewise.
32937         * time/test_time.c (main): Likewise.
32938         * time/tzfile.c (__tzfile_read): Likewise.
32939         (__tzfile_compute): Likewise.
32940         * time/tzset.c (__tzset_parse_tz): Likewise.
32941         (tzset_internal): Likewise.
32942         (compute_change): Likewise.
32943         * wcsmbs/wcscat.c (__wcscat): Likewise.
32944         * wcsmbs/wcschr.c (wcschr): Likewise.
32945         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32946         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32947         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32948         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32949         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32950         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32951         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32952         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32953         * wcsmbs/wmemset.c (wmemset): Likewise.
32955 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32957         * scripts/config.guess: Update to version 2013-05-16.
32958         * scripts/config.sub: Update to version 2013-04-24.
32959         * scripts/install-sh: Update to version 2011-11-20.07.
32960         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32961         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32963 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32965         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32966         * elf/sln.c: Likewise.
32967         * hurd/hurd/ioctl.h: Likewise.
32968         * hurd/hurdmalloc.c: Likewise.
32969         * hurd/xattr.c: Likewise.
32970         * include/shlib-compat.h: Likewise.
32971         * inet/ruserpass.c: Likewise.
32972         * libio/iofgets_u.c: Likewise.
32973         * libio/iofgetws_u.c: Likewise.
32974         * locale/programs/ld-identification.c: Likewise.
32975         * locale/programs/ld-time.c: Likewise.
32976         * mach/msg-destroy.c: Likewise.
32977         * nss/nss_files/files-netgrp.c: Likewise.
32978         * resolv/res_data.c: Likewise.
32979         * soft-fp/op-1.h: Likewise.
32980         * soft-fp/op-2.h: Likewise.
32981         * soft-fp/op-4.h: Likewise.
32982         * soft-fp/op-common.h: Likewise.
32983         * stdio-common/printf_fphex.c: Likewise.
32984         * stdlib/strtod_l.c: Likewise.
32985         * sunrpc/rpc/clnt.h: Likewise.
32986         * sysdeps/generic/framestate.c: Likewise.
32987         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32988         * sysdeps/i386/bsd-setjmp.S: Likewise.
32989         * sysdeps/i386/__longjmp.S: Likewise.
32990         * sysdeps/i386/setjmp.S: Likewise.
32991         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32992         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32993         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32994         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32995         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32996         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32997         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32998         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32999         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33000         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33001         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33002         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33003         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33004         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33005         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33006         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33007         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33008         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33009         * sysdeps/ieee754/support.c: Likewise.
33010         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33011         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33012         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33013         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33014         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33015         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33016         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33017         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33018         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33019         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33020         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33021         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33022         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33023         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33024         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33025         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33026         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33029 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33031         * posix/transbug.c: Remove executable mode.
33033 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33035         * crypt/speeds.c: Remove trailing whitespace.
33036         * dlfcn/default.c: Likewise.
33037         * elf/ifuncdep2.c: Likewise.
33038         * elf/ifuncmain1.c: Likewise.
33039         * elf/ifuncmain1vis.c: Likewise.
33040         * elf/testobj.h: Likewise.
33041         * elf/tst-stackguard1.c: Likewise.
33042         * gmon/sys/gmon.h: Likewise.
33043         * hurd/hurdmsg.c: Likewise.
33044         * hurd/new-fd.c: Likewise.
33045         * hurd/ports-get.c: Likewise.
33046         * iconvdata/ibm1008_420.c: Likewise.
33047         * inet/tst-getni1.c: Likewise.
33048         * inet/tst-getni2.c: Likewise.
33049         * libio/ioungetc.c: Likewise.
33050         * libio/wfiledoalloc.c: Likewise.
33051         * manual/libm-err-tab.pl: Likewise.
33052         * math/w_dremf.c: Likewise.
33053         * misc/ftruncate.c: Likewise.
33054         * posix/bug-glob2.c: Likewise.
33055         * posix/tst-pcre.c: Likewise.
33056         * posix/wait4.c: Likewise.
33057         * resolv/README: Likewise.
33058         * resolv/res_debug.h: Likewise.
33059         * resolv/tst-inet_ntop.c: Likewise.
33060         * setjmp/bug269-setjmp.c: Likewise.
33061         * soft-fp/extended.h: Likewise.
33062         * soft-fp/op-1.h: Likewise.
33063         * soft-fp/op-2.h: Likewise.
33064         * soft-fp/op-4.h: Likewise.
33065         * soft-fp/op-8.h: Likewise.
33066         * soft-fp/testit.c: Likewise.
33067         * stdio-common/bug16.c: Likewise.
33068         * stdlib/random.c: Likewise.
33069         * sunrpc/rpcsvc/rquota.x: Likewise.
33070         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33071         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33072         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33073         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33074         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33075         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33076         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33077         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33078         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33079         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33080         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33081         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33082         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33083         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33084         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33085         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33086         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33087         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33088         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33089         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33090         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33091         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33092         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33093         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33094         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33095         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33096         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33097         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33098         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33099         * sysdeps/ieee754/s_lib_version.c: Likewise.
33100         * sysdeps/mach/hurd/check_fds.c: Likewise.
33101         * sysdeps/mach/hurd/getsockname.c: Likewise.
33102         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33103         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33104         * sysdeps/powerpc/bits/link.h: Likewise.
33105         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33106         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33107         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33108         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33109         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33110         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33111         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33112         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33113         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33114         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33115         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33116         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33117         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33118         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33119         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33120         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33121         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33122         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33123         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33124         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33125         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33126         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33127         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33128         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33129         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33130         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33131         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33132         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33133         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33134         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33135         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33136         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33137         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33138         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33139         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33140         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33141         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33142         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33143         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33144         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33145         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33146         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33147         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33148         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33149         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33150         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33151         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33152         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33153         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33154         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33155         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33156         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33157         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33158         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33159         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33160         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33161         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33162         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33163         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33164         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33165         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33166         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33167         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33168         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33169         * sysdeps/powerpc/sysdep.h: Likewise.
33170         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33171         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33172         * sysdeps/sh/dl-trampoline.S: Likewise.
33173         * sysdeps/sh/memset.S: Likewise.
33174         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33175         * sysdeps/sh/strlen.S: Likewise.
33176         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33177         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33178         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33179         * sysdeps/sparc/sparc32/rem.S: Likewise.
33180         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33181         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33182         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33183         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33184         * sysdeps/sparc/sparc32/urem.S: Likewise.
33185         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33186         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33187         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33188         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33189         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33190         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33191         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33192         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33193         * sysdeps/unix/bsd/times.c: Likewise.
33194         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33195         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33199         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33200         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33201         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33202         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33203         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33204         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33205         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33206         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33207         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33208         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33209         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33210         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33211         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33212         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33213         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33214         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33215         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33216         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33217         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33218         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33219         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33220         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33221         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33222         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33223         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33224         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33225         * sysdeps/x86_64/strcspn.S: Likewise.
33227 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33229         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33230         generated file.  Regenerate properly from gen-translit.pl.
33231         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33232         locale/C-translit.h.
33234 2013-06-05  Andreas Schwab  <schwab@suse.de>
33236         [BZ #15100]
33237         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33238         week as 6 instead of -1.
33239         * time/tst-strptime.c (day_tests): Add test case.
33241 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33243         * sysdeps/generic/math_private.h
33244         (libc_feholdexcept_setround_53bit): Replace with
33245         libc_feholdsetround_53bit.
33246         (libc_feupdateenv_53bit): Replace with
33247         libc_feresetround_53bit.
33248         (SET_RESTORE_ROUND_53BIT): Adjust.
33250 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33252         * string/test-strchrnul.c: Add copyright header.
33254         * posix/tst-getaddrinfo4.c: Increase test timeout.
33256 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33258         [BZ #15536]
33259         * math/libm-test.inc (MAX_EXP): Remove
33260         (MIN_EXP): Define.
33261         (ulp): Use MIN_EXP - MANT_DIG.
33262         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33264 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33266         * po/be.po: Revert last change.
33267         * po/zh_CN.po: Likewise.
33268         * po/header.pot: Likewise.
33270 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33272         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33273         link-libc-deps to empty as target-specific variable.
33274         * Makerules (link-libc-args): New variable.
33275         (libc-for-link): Likewise.
33276         (link-libc-deps): Likewise.
33277         (lib%.so): Depend on $(link-libc-deps).  Link with
33278         $(link-libc-args).
33279         (build-module): Link with $(link-libc-args).
33280         (build-module-asneeded): Likewise.
33281         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33282         list of objects.
33283         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33284         target-specific variable.
33285         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33286         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33287         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33288         libc.
33289         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33290         libc and ld.so.
33291         ($(objpfx)libpcprofile.so): Likewise.
33292         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33293         libc_nonshared.a.
33294         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33295         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33296         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33297         $(link-libc-deps).
33298         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33299         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33300         * login/Makefile ($(objpfx)libutil.so): Likewise.
33301         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33302         * math/Makefile ($(objpfx)libm.so): Likewise.
33303         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33304         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33305         variable instead of depending directly on libc.
33306         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33307         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33308         $(link-libc-deps).
33309         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33310         libc.
33311         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33312         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33313         ($(objpfx)libanl.so): Likewise.
33314         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33315         ld.so.
33316         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33317         $(link-libc-deps).
33318         * sysdeps/i386/fpu/Makefile: Remove file.
33319         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33320         ($(objpfx)libm.so): Remove dependency on ld.so.
33322 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33324         [BZ # 15553]
33325         * nis/yp_xdr.c (XDRMAXNAME): Define.
33326         (XDRMAXRECORD): Define.
33327         (xdr_domainname): Use XDRMAXNAME.
33328         (xdr_mapname): Likewise.
33329         (xdr_peername): Likewise.
33330         (xdr_keydat): Use XDRMAXRECORD.
33331         (xdr_valdat): Likewise.
33333 2013-05-30  Jeff Law  <law@redhat.com>
33335         [BZ #14256]
33336         * manual/errno.texi (ESTALE): Update to account for more than
33337         just NFS file systems.
33338         * sysdeps/gnu/errlist.c: Regenerated.
33340 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33342         [BZ #15465]
33343         * elf/Makefile (tests): Add tst-null-argv.
33344         (modules-names):  Add tst-null-argv-lib.
33345         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33346         (tst-null-argv-ENV): Set environment for tst-null-argv.
33347         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33348         (RTLD_PROGNAME): New macro.
33349         * elf/tst-null-argv.c: New test case.
33350         * elf/tst-null-argv-lib.c: Library for test case.
33351         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33352         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33353         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33354         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33355         * elf/dl-init.c (call_init): Likewise.
33356         (_dl_init): Likewise.
33357         * elf/dl-load.c (print_search_path): Likewise.
33358         (_dl_map_object): Likewise.
33359         * elf/dl-lookup.c (do_lookup_x): Likewise.
33360         (add_dependency): Likewise.
33361         (_dl_lookup_symbol_x): Likewise.
33362         (_dl_debug_bindings): Likewise.
33363         * elf/dl-open.c (_dl_show_scope): Likewise.
33364         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33365         * elf/dl-version.c (match_symbol): Likewise.
33366         (_dl_check_map_versions): Likewise.
33367         * elf/rtld.c (dl_main): Likewise.
33368         (print_unresolved): Use RTLD_PROGNAME.
33369         (print_missing_version): Likewise.
33370         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33371         (elf_machine_rela): Likewise.
33372         * sysdeps/powerpc/powerpc32/dl-machine.c
33373         (__process_machine_rela): Likewise.
33374         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33375         Likewise.
33376         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33377         Likewise.
33378         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33379         Likewise.
33380         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33381         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33382         Likewise.
33383         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33384         Likewise.
33385         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33387 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33389         * po/be.po: Add descriptive title.
33390         * po/zh_CN.po: Likewise.
33391         * po/header.pot: Likewise.
33393 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33395         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33396         error message.
33397         (enlarge_archive): Likewise.
33399 2013-05-28  Ben North  <ben@redfrontdoor.org>
33401         * manual/arith.texi (frexp): It is the magnitude of the return
33402         value which lies in [0.5, 1), not the return value itself.
33404 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33408 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33410         * stdio-common/bug26.c (main): Correct fscanf template.
33412         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33413         declare _dl_skip_args.
33415         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33416         Don't declare.
33418         * manual/platform.texi: Add missing @end deftypefun.
33420 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33422         [BZ #15529]
33423         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33424         bit of mantissa of 2^16382.
33425         * math/libm-test.inc (hypot_test_data): Add more tests.
33427         * math/libm-test.inc: Add drem and pow10 to list of tested
33428         functions.
33429         (pow10_test): New function.
33430         (drem_test): Likewise.
33431         (drem_test_tonearest): Likewise.
33432         (drem_test_towardzero): Likewise.
33433         (drem_test_downward): Likewise.
33434         (drem_test_upward): Likewise.
33435         (main): Call the new functions.
33437         * math/libm-test.inc (finite_test_data): Remove.
33438         (finite_test): Run tests from isfinite_test_data.
33439         (gamma_test_data): Remove.
33440         (gamma_test): Run tests from lgamma_test_data.
33441         * sysdeps/i386/fpu/libm-test-ulps: Update.
33442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33444 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33446         * manual/platform.texi: Add PowerPC PPR function set documentation.
33447         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33448         implementation.
33450 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33452         * math/libm-test.inc (MAX_EXP): Define.
33453         (ULPDIFF): Define.
33454         (ulp): New function.
33455         (check_float_internal): Use ULPDIFF.
33456         (cpow_test): Disable failing test.
33457         (check_ulp): Test ulp() implemetnation.
33458         (main): Call check_ulp before starting tests.
33460 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33462         * math/gen-libm-test.pl (generate_testfile): Do not handle
33463         START_DATA and END_DATA.
33464         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33465         END_DATA.
33466         (acos_tonearest_test_data): Likewise.
33467         (acos_towardzero_test_data): Likewise.
33468         (acos_downward_test_data): Likewise.
33469         (acos_upward_test_data): Likewise.
33470         (acosh_test_data): Likewise.
33471         (asin_test_data): Likewise.
33472         (asin_tonearest_test_data): Likewise.
33473         (asin_towardzero_test_data): Likewise.
33474         (asin_downward_test_data): Likewise.
33475         (asin_upward_test_data): Likewise.
33476         (asinh_test_data): Likewise.
33477         (atan_test_data): Likewise.
33478         (atanh_test_data): Likewise.
33479         (atan2_test_data): Likewise.
33480         (cabs_test_data): Likewise.
33481         (cacos_test_data): Likewise.
33482         (cacosh_test_data): Likewise.
33483         (carg_test_data): Likewise.
33484         (casin_test_data): Likewise.
33485         (casinh_test_data): Likewise.
33486         (catan_test_data): Likewise.
33487         (catanh_test_data): Likewise.
33488         (cbrt_test_data): Likewise.
33489         (ccos_test_data): Likewise.
33490         (ccosh_test_data): Likewise.
33491         (ceil_test_data): Likewise.
33492         (cexp_test_data): Likewise.
33493         (cimag_test_data): Likewise.
33494         (clog_test_data): Likewise.
33495         (clog10_test_data): Likewise.
33496         (conj_test_data): Likewise.
33497         (copysign_test_data): Likewise.
33498         (cos_test_data): Likewise.
33499         (cos_tonearest_test_data): Likewise.
33500         (cos_towardzero_test_data): Likewise.
33501         (cos_downward_test_data): Likewise.
33502         (cos_upward_test_data): Likewise.
33503         (cosh_test_data): Likewise.
33504         (cosh_tonearest_test_data): Likewise.
33505         (cosh_towardzero_test_data): Likewise.
33506         (cosh_downward_test_data): Likewise.
33507         (cosh_upward_test_data): Likewise.
33508         (cpow_test_data): Likewise.
33509         (cproj_test_data): Likewise.
33510         (creal_test_data): Likewise.
33511         (csin_test_data): Likewise.
33512         (csinh_test_data): Likewise.
33513         (csqrt_test_data): Likewise.
33514         (ctan_test_data): Likewise.
33515         (ctan_tonearest_test_data): Likewise.
33516         (ctan_towardzero_test_data): Likewise.
33517         (ctan_downward_test_data): Likewise.
33518         (ctan_upward_test_data): Likewise.
33519         (ctanh_test_data): Likewise.
33520         (ctanh_tonearest_test_data): Likewise.
33521         (ctanh_towardzero_test_data): Likewise.
33522         (ctanh_downward_test_data): Likewise.
33523         (ctanh_upward_test_data): Likewise.
33524         (erf_test_data): Likewise.
33525         (erfc_test_data): Likewise.
33526         (exp_test_data): Likewise.
33527         (exp_tonearest_test_data): Likewise.
33528         (exp_towardzero_test_data): Likewise.
33529         (exp_downward_test_data): Likewise.
33530         (exp_upward_test_data): Likewise.
33531         (exp10_test_data): Likewise.
33532         (exp2_test_data): Likewise.
33533         (expm1_test_data): Likewise.
33534         (fabs_test_data): Likewise.
33535         (fdim_test_data): Likewise.
33536         (finite_test_data): Likewise.
33537         (floor_test_data): Likewise.
33538         (fma_test_data): Likewise.
33539         (fma_towardzero_test_data): Likewise.
33540         (fma_downward_test_data): Likewise.
33541         (fma_upward_test_data): Likewise.
33542         (fmax_test_data): Likewise.
33543         (fmin_test_data): Likewise.
33544         (fmod_test_data): Likewise.
33545         (fpclassify_test_data): Likewise.
33546         (frexp_test_data): Likewise.
33547         (gamma_test_data): Likewise.
33548         (hypot_test_data): Likewise.
33549         (ilogb_test_data): Likewise.
33550         (isfinite_test_data): Likewise.
33551         (isgreater_test_data): Likewise.
33552         (isgreaterequal_test_data): Likewise.
33553         (isinf_test_data): Likewise.
33554         (isless_test_data): Likewise.
33555         (islessequal_test_data): Likewise.
33556         (islessgreater_test_data): Likewise.
33557         (isnan_test_data): Likewise.
33558         (isnormal_test_data): Likewise.
33559         (issignaling_test_data): Likewise.
33560         (isunordered_test_data): Likewise.
33561         (j0_test_data): Likewise.
33562         (j1_test_data): Likewise.
33563         (jn_test_data): Likewise.
33564         (ldexp_test_data): Likewise.
33565         (lgamma_test_data): Likewise.
33566         (lrint_test_data): Likewise.
33567         (lrint_tonearest_test_data): Likewise.
33568         (lrint_towardzero_test_data): Likewise.
33569         (lrint_downward_test_data): Likewise.
33570         (lrint_upward_test_data): Likewise.
33571         (llrint_test_data): Likewise.
33572         (llrint_tonearest_test_data): Likewise.
33573         (llrint_towardzero_test_data): Likewise.
33574         (llrint_downward_test_data): Likewise.
33575         (llrint_upward_test_data): Likewise.
33576         (log_test_data): Likewise.
33577         (log10_test_data): Likewise.
33578         (log1p_test_data): Likewise.
33579         (log2_test_data): Likewise.
33580         (logb_test_data): Likewise.
33581         (logb_downward_test_data): Likewise.
33582         (lround_test_data): Likewise.
33583         (llround_test_data): Likewise.
33584         (modf_test_data): Likewise.
33585         (nearbyint_test_data): Likewise.
33586         (nextafter_test_data): Likewise.
33587         (nexttoward_test_data): Likewise.
33588         (pow_test_data): Likewise.
33589         (pow_tonearest_test_data): Likewise.
33590         (pow_towardzero_test_data): Likewise.
33591         (pow_downward_test_data): Likewise.
33592         (pow_upward_test_data): Likewise.
33593         (remainder_test_data): Likewise.
33594         (remainder_tonearest_test_data): Likewise.
33595         (remainder_towardzero_test_data): Likewise.
33596         (remainder_downward_test_data): Likewise.
33597         (remainder_upward_test_data): Likewise.
33598         (remquo_test_data): Likewise.
33599         (rint_test_data): Likewise.
33600         (rint_tonearest_test_data): Likewise.
33601         (rint_towardzero_test_data): Likewise.
33602         (rint_downward_test_data): Likewise.
33603         (rint_upward_test_data): Likewise.
33604         (round_test_data): Likewise.
33605         (scalb_test_data): Likewise.
33606         (scalbn_test_data): Likewise.
33607         (scalbln_test_data): Likewise.
33608         (signbit_test_data): Likewise.
33609         (sin_test_data): Likewise.
33610         (sin_tonearest_test_data): Likewise.
33611         (sin_towardzero_test_data): Likewise.
33612         (sin_downward_test_data): Likewise.
33613         (sin_upward_test_data): Likewise.
33614         (sincos_test_data): Likewise.
33615         (sinh_test_data): Likewise.
33616         (sinh_tonearest_test_data): Likewise.
33617         (sinh_towardzero_test_data): Likewise.
33618         (sinh_downward_test_data): Likewise.
33619         (sinh_upward_test_data): Likewise.
33620         (sqrt_test_data): Likewise.
33621         (tan_test_data): Likewise.
33622         (tan_tonearest_test_data): Likewise.
33623         (tan_towardzero_test_data): Likewise.
33624         (tan_downward_test_data): Likewise.
33625         (tan_upward_test_data): Likewise.
33626         (tanh_test_data): Likewise.
33627         (tgamma_test_data): Likewise.
33628         (trunc_test_data): Likewise.
33629         (y0_test_data): Likewise.
33630         (y1_test_data): Likewise.
33631         (yn_test_data): Likewise.
33632         (significand_test_data): Likewise.
33634         * math/gen-libm-test.pl (@functions): Remove variable.
33635         (generate_testfile): Don't handle START and END lines.
33636         * math/libm-test.inc (START): New macro.
33637         (END): Likewise.
33638         (END_COMPLEX): Likewise.
33639         (acos_test): Use END macro without arguments.
33640         (acos_test_tonearest): Likewise.
33641         (acos_test_towardzero): Likewise.
33642         (acos_test_downward): Likewise.
33643         (acos_test_upward): Likewise.
33644         (acosh_test): Likewise.
33645         (asin_test): Likewise.
33646         (asin_test_tonearest): Likewise.
33647         (asin_test_towardzero): Likewise.
33648         (asin_test_downward): Likewise.
33649         (asin_test_upward): Likewise.
33650         (asinh_test): Likewise.
33651         (atan_test): Likewise.
33652         (atanh_test): Likewise.
33653         (atan2_test): Likewise.
33654         (cabs_test): Likewise.
33655         (cacos_test): Use END_COMPLEX macro without arguments.
33656         (cacosh_test): Likewise.
33657         (carg_test): Use END macro without arguments.
33658         (casin_test): Use END_COMPLEX macro without arguments.
33659         (casinh_test): Likewise.
33660         (catan_test): Likewise.
33661         (catanh_test): Likewise.
33662         (cbrt_test): Use END macro without arguments.
33663         (ccos_test): Use END_COMPLEX macro without arguments.
33664         (ccosh_test): Likewise.
33665         (ceil_test): Use END macro without arguments.
33666         (cexp_test): Use END_COMPLEX macro without arguments.
33667         (cimag_test): Use END macro without arguments.
33668         (clog_test): Use END_COMPLEX macro without arguments.
33669         (clog10_test): Likewise.
33670         (conj_test): Likewise.
33671         (copysign_test): Use END macro without arguments.
33672         (cos_test): Likewise.
33673         (cos_test_tonearest): Likewise.
33674         (cos_test_towardzero): Likewise.
33675         (cos_test_downward): Likewise.
33676         (cos_test_upward): Likewise.
33677         (cosh_test): Likewise.
33678         (cosh_test_tonearest): Likewise.
33679         (cosh_test_towardzero): Likewise.
33680         (cosh_test_downward): Likewise.
33681         (cosh_test_upward): Likewise.
33682         (cpow_test): Use END_COMPLEX macro without arguments.
33683         (cproj_test): Likewise.
33684         (creal_test): Use END macro without arguments.
33685         (csin_test): Use END_COMPLEX macro without arguments.
33686         (csinh_test): Likewise.
33687         (csqrt_test): Likewise.
33688         (ctan_test): Likewise.
33689         (ctan_test_tonearest): Likewise.
33690         (ctan_test_towardzero): Likewise.
33691         (ctan_test_downward): Likewise.
33692         (ctan_test_upward): Likewise.
33693         (ctanh_test): Likewise.
33694         (ctanh_test_tonearest): Likewise.
33695         (ctanh_test_towardzero): Likewise.
33696         (ctanh_test_downward): Likewise.
33697         (ctanh_test_upward): Likewise.
33698         (erf_test): Use END macro without arguments.
33699         (erfc_test): Likewise.
33700         (exp_test): Likewise.
33701         (exp_test_tonearest): Likewise.
33702         (exp_test_towardzero): Likewise.
33703         (exp_test_downward): Likewise.
33704         (exp_test_upward): Likewise.
33705         (exp10_test): Likewise.
33706         (exp2_test): Likewise.
33707         (expm1_test): Likewise.
33708         (fabs_test): Likewise.
33709         (fdim_test): Likewise.
33710         (finite_test): Likewise.
33711         (floor_test): Likewise.
33712         (fma_test): Likewise.
33713         (fma_test_towardzero): Likewise.
33714         (fma_test_downward): Likewise.
33715         (fma_test_upward): Likewise.
33716         (fmax_test): Likewise.
33717         (fmin_test): Likewise.
33718         (fmod_test): Likewise.
33719         (fpclassify_test): Likewise.
33720         (frexp_test): Likewise.
33721         (gamma_test): Likewise.
33722         (hypot_test): Likewise.
33723         (ilogb_test): Likewise.
33724         (isfinite_test): Likewise.
33725         (isgreater_test): Likewise.
33726         (isgreaterequal_test): Likewise.
33727         (isinf_test): Likewise.
33728         (isless_test): Likewise.
33729         (islessequal_test): Likewise.
33730         (islessgreater_test): Likewise.
33731         (isnan_test): Likewise.
33732         (isnormal_test): Likewise.
33733         (issignaling_test): Likewise.
33734         (isunordered_test): Likewise.
33735         (j0_test): Likewise.
33736         (j1_test): Likewise.
33737         (jn_test): Likewise.
33738         (ldexp_test): Likewise.
33739         (lgamma_test): Likewise.
33740         (lrint_test): Likewise.
33741         (lrint_test_tonearest): Likewise.
33742         (lrint_test_towardzero): Likewise.
33743         (lrint_test_downward): Likewise.
33744         (lrint_test_upward): Likewise.
33745         (llrint_test): Likewise.
33746         (llrint_test_tonearest): Likewise.
33747         (llrint_test_towardzero): Likewise.
33748         (llrint_test_downward): Likewise.
33749         (llrint_test_upward): Likewise.
33750         (log_test): Likewise.
33751         (log10_test): Likewise.
33752         (log1p_test): Likewise.
33753         (log2_test): Likewise.
33754         (logb_test): Likewise.
33755         (logb_test_downward): Likewise.
33756         (lround_test): Likewise.
33757         (llround_test): Likewise.
33758         (modf_test): Likewise.
33759         (nearbyint_test): Likewise.
33760         (nextafter_test): Likewise.
33761         (nexttoward_test): Likewise.
33762         (pow_test): Likewise.
33763         (pow_test_tonearest): Likewise.
33764         (pow_test_towardzero): Likewise.
33765         (pow_test_downward): Likewise.
33766         (pow_test_upward): Likewise.
33767         (remainder_test): Likewise.
33768         (remainder_test_tonearest): Likewise.
33769         (remainder_test_towardzero): Likewise.
33770         (remainder_test_downward): Likewise.
33771         (remainder_test_upward): Likewise.
33772         (remquo_test): Likewise.
33773         (rint_test): Likewise.
33774         (rint_test_tonearest): Likewise.
33775         (rint_test_towardzero): Likewise.
33776         (rint_test_downward): Likewise.
33777         (rint_test_upward): Likewise.
33778         (round_test): Likewise.
33779         (scalb_test): Likewise.
33780         (scalbn_test): Likewise.
33781         (scalbln_test): Likewise.
33782         (signbit_test): Likewise.
33783         (sin_test): Likewise.
33784         (sin_test_tonearest): Likewise.
33785         (sin_test_towardzero): Likewise.
33786         (sin_test_downward): Likewise.
33787         (sin_test_upward): Likewise.
33788         (sincos_test): Likewise.
33789         (sinh_test): Likewise.
33790         (sinh_test_tonearest): Likewise.
33791         (sinh_test_towardzero): Likewise.
33792         (sinh_test_downward): Likewise.
33793         (sinh_test_upward): Likewise.
33794         (sqrt_test): Likewise.
33795         (tan_test): Likewise.
33796         (tan_test_tonearest): Likewise.
33797         (tan_test_towardzero): Likewise.
33798         (tan_test_downward): Likewise.
33799         (tan_test_upward): Likewise.
33800         (tanh_test): Likewise.
33801         (tgamma_test): Likewise.
33802         (trunc_test): Likewise.
33803         (y0_test): Likewise.
33804         (y1_test): Likewise.
33805         (yn_test): Likewise.
33806         (significand_test): Likewise.
33808 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33810         [BZ #15381]
33811         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33813 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33815         [BZ #14894]
33816         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33817         __ppc_mdoio and __ppc_mdoom.
33818         * manual/platform.texi: Document new functions __ppc_yield,
33819         __ppc_mdoio and __ppc_mdoom.
33821 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33823         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33824         (main): Mention "tls" pseudo-hwcap is legacy.
33825         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33827 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33829         * math/gen-libm-test.pl (parse_args): Output only string of
33830         arguments as text for test name, not full call or descriptions of
33831         tests for extra outputs.
33832         (generate_testfile): Do not pass function name to parse_args.
33833         Generate this_func variable from START.
33834         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33835         field to arg_str.
33836         (struct test_ff_f_data): Likewise.
33837         (test_ff_f_data_nexttoward): Likewise.
33838         (struct test_fi_f_data): Likewise.
33839         (struct test_fl_f_data): Likewise.
33840         (struct test_if_f_data): Likewise.
33841         (struct test_fff_f_data): Likewise.
33842         (struct test_c_f_data): Likewise.
33843         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33844         (struct test_fF_f1_data): Likewise.
33845         (struct test_ffI_f1_data): Likewise.
33846         (struct test_c_c_data): Rename test_name field to arg_str.
33847         (struct test_cc_c_data): Likewise.
33848         (struct test_f_i_data): Likewise.
33849         (struct test_ff_i_data): Likewise.
33850         (struct test_f_l_data): Likewise.
33851         (struct test_f_L_data): Likewise.
33852         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33853         and extra2_name.
33854         (COMMON_TEST_SETUP): New macro.
33855         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33856         (COMMON_TEST_CLEANUP): Likewise.
33857         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33858         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33859         macros.
33860         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33861         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33862         macros.
33863         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33864         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33865         cleanup macros.
33866         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33867         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33868         macros.
33869         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33870         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33871         macros.
33872         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33873         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33874         cleanup macros.
33875         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33876         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33877         cleanup macros.
33878         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33879         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33880         cleanup macros.
33881         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33882         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33883         macros.
33884         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33885         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33886         macros.
33887         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33888         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33889         macros.
33890         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33891         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33892         cleanup macros.
33893         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33894         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33895         cleanup macros.
33896         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33897         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33898         macros.
33899         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33900         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33901         cleanup macros.
33902         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33903         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33904         macros.
33905         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33906         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33907         macros.
33908         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33909         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33910         cleanup macros.
33911         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33913 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33915         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33916         to _sifields.sigfault.
33917         (si_addr_lsb): Define new macro.
33918         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33919         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33920         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33922 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33924         [BZ #15441]
33925         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33926         returns -1.
33927         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33928         null return -1.
33929         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33930         loading the domain.
33932 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33934         * math/gen-libm-test.pl (parse_args): Do not include expected
33935         result in test name.
33936         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33937         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33938         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33939         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33940         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33943 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33945         * benchtests/Makefile: Sort function entries.
33947         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33948         tanh, asinh, acosh, atanh.
33949         * benchtests/acos-inputs: New file.
33950         * benchtests/acosh-inputs: New file.
33951         * benchtests/asin-inputs: New file.
33952         * benchtests/asinh-inputs: New file.
33953         * benchtests/atanh-inputs: New file.
33954         * benchtests/cosh-inputs: New file.
33955         * benchtests/log-inputs: New file.
33956         * benchtests/sinh-inputs: New file.
33957         * benchtests/tanh-inputs: New file.
33959 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33961         [BZ #15339]
33962         * posix/tst-getaddrinfo4.c: New test.
33963         * posix/Makefile (tests): Add it.
33965 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33967         [BZ #15339]
33968         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33969         when no services were used.
33970         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33971         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33973 2013-05-21  Andreas Schwab  <schwab@suse.de>
33975         [BZ #15014]
33976         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33977         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33978         successful.
33979         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33980         redundant variable declarations and reallocation of buffer when
33981         parsing as IPv6 address.  Always set NSS status when called from
33982         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33983         buffer too small.  Correct computation of needed size.
33984         * nss/Makefile (tests): Add test-digits-dots.
33985         * nss/test-digits-dots.c: New test.
33987 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33989         * benchtests/Makefile: Remove instructions for adding
33990         benchmark tests.
33991         * benchtests/README: New file to explain how to execute and
33992         enhance the benchmark tests.
33994 2013-05-21  Andreas Schwab  <schwab@suse.de>
33996         [BZ #15493]
33997         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33998         * setjmp/tst-sigsetjmp.c: New test.
34000 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34002         * sysdeps/x86_64/memset.S (memset): New implementation.
34003         (__bzero): Likewise.
34004         (__memset_tail): New function.
34006 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34008         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34009         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34010         __memcpy_sse2_unaligned ifunc selection.
34011         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34012         Add memcpy-sse2-unaligned.S.
34013         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34014         Add: __memcpy_sse2_unaligned.
34016 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34018         [BZ #15490]
34019         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34020         math_force_eval before restoring floating-point envrionment.
34021         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34022         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34023         Likewise.
34024         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34025         <math_private.h>.
34026         (__nearbyintl): Use math_force_eval before restoring
34027         floating-point environment.
34028         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34030         * math/gen-libm-test.pl (special_functions): Remove.
34031         (parse_args): Don't handle TEST_extra.  Handle functions with no
34032         return value.
34033         * math/libm-test.inc (struct test_sincos_data): Replace with
34034         struct test_fFF_11_data.
34035         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34036         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34037         (sincos_test_data): Change element type to struct
34038         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34039         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34040         RUN_TEST_LOOP_sincos.
34041         * math/README.libm-test: Don't mention special handling of
34042         individual functions.
34043         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34044         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34045         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34046         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34047         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34050         * math/gen-libm-test.pl (get_variable): Remove function.
34051         (parse_args): Don't show pointer parameters to call in test
34052         names.  Use "extra output N" in test names for extra outputs
34053         rather than naming variables.
34055 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34057         [BZ #15488]
34058         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34059         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34060         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34061         double tests.
34062         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34063         disable.
34064         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34065         check_long_double.
34067         * math/gen-libm-test.pl (@tests): Remove variable.
34068         ($count): Likewise.
34069         (new_test): Remove function.
34070         (show_exceptions): New function.
34071         (special_functions): Use show_exceptions instead of new_test.
34072         (parse_args): Likewise.
34073         (generate_testfile): Pass only function name in generated call to
34074         print_max_error or print_complex_max_error.
34075         (get_ulps): Do not handle complex tests specially.
34076         (output_test): Rename to ...
34077         (get_all_ulps_for_test): ... this.  Return a string rather than
34078         printing to a file.  Require ulps to be present.
34079         (output_ulps): Generate arrays rather than #defines.
34080         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34081         (struct ulp_data): New type.
34082         (BUILD_COMPLEX_ULP): Remove macro.
34083         (compare_ulp_data): New function.
34084         (find_ulps): Likewise.
34085         (find_test_ulps): Likewise.
34086         (find_function_ulps): Likewise.
34087         (find_complex_function_ulps): Likewise.
34088         (print_max_error): Determine allowed ulps using
34089         find_function_ulps.
34090         (print_complex_max_error): Determine allowed ulps using
34091         find_complex_function_ulps.
34092         (check_float_internal): Determine max ulps using find_test_ulps.
34093         (check_float): Do not take max_ulp parameter.  Update call to
34094         check_float_internal.
34095         (check_complex): Likewise.
34096         (check_int): Do not take max_ulp parameter.
34097         (check_long): Likewise.
34098         (check_bool): Likewise.
34099         (check_longlong): Likewise.
34100         (struct test_f_f_data): Remove max_ulp field.
34101         (struct test_ff_f_data): Likewise.
34102         (struct test_ff_f_data_nexttoward): Likewise.
34103         (struct test_fi_f_data): Likewise.
34104         (struct test_fl_f_data): Likewise.
34105         (struct test_if_f_data): Likewise.
34106         (struct test_fff_f_data): Likewise.
34107         (struct test_c_f_data): Likewise.
34108         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34109         (struct test_fF_f1_data): Likewise.
34110         (struct test_ffI_f1_data): Likewise.
34111         (struct test_c_c_data): Remove max_ulp field.
34112         (struct test_cc_c_data): Likewise.
34113         (struct test_f_i_data): Likewise.
34114         (struct test_ff_i_data): Likewise.
34115         (struct test_f_l_data): Likewise.
34116         (struct test_f_L_data): Likewise.
34117         (struct test_sincos_data): Likewise.
34118         (RUN_TEST_f_f): Do not handle ulps.
34119         (RUN_TEST_LOOP_f_f): Likewise.
34120         (RUN_TEST_2_f): Likewise.
34121         (RUN_TEST_LOOP_2_f): Likewise.
34122         (RUN_TEST_fff_f): Likewise.
34123         (RUN_TEST_LOOP_fff_f): Likewise.
34124         (RUN_TEST_c_f): Likewise.
34125         (RUN_TEST_LOOP_c_f): Likewise.
34126         (RUN_TEST_f_f1): Likewise.
34127         (RUN_TEST_LOOP_f_f1): Likewise.
34128         (RUN_TEST_fF_f1): Likewise.
34129         (RUN_TEST_LOOP_fF_f1): Likewise.
34130         (RUN_TEST_fI_f1): Likewise.
34131         (RUN_TEST_LOOP_fI_f1): Likewise.
34132         (RUN_TEST_ffI_f1): Likewise.
34133         (RUN_TEST_LOOP_ffI_f1): Likewise.
34134         (RUN_TEST_c_c): Likewise.
34135         (RUN_TEST_LOOP_c_c): Likewise.
34136         (RUN_TEST_cc_c): Likewise.
34137         (RUN_TEST_LOOP_cc_c): Likewise.
34138         (RUN_TEST_f_i): Likewise.
34139         (RUN_TEST_LOOP_f_i): Likewise.
34140         (RUN_TEST_f_i_tg): Likewise.
34141         (RUN_TEST_LOOP_f_i_tg): Likewise.
34142         (RUN_TEST_ff_i_tg): Likewise.
34143         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34144         (RUN_TEST_f_b): Likewise.
34145         (RUN_TEST_LOOP_f_b): Likewise.
34146         (RUN_TEST_f_b_tg): Likewise.
34147         (RUN_TEST_LOOP_f_b_tg): Likewise.
34148         (RUN_TEST_f_l): Likewise.
34149         (RUN_TEST_LOOP_f_l): Likewise.
34150         (RUN_TEST_f_L): Likewise.
34151         (RUN_TEST_LOOP_f_L): Likewise.
34152         (RUN_TEST_sincos): Likewise.
34153         (RUN_TEST_LOOP_sincos): Likewise.
34155 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34157         [BZ #15480]
34158         [BZ #15485]
34159         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34160         main case of finite arguments, set rounding mode to FE_TONEAREST
34161         and discard exceptions.
34162         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34163         exceptions.
34164         (remainder_tonearest_test_data): New variable.
34165         (remainder_test_tonearest): New function.
34166         (remainder_towardzero_test_data): New variable.
34167         (remainder_test_towardzero): New function.
34168         (remainder_downward_test_data): New variable.
34169         (remainder_test_downward): New function.
34170         (remainder_upward_test_data): New variable.
34171         (remainder_test_upward): New function.
34172         (main): Call the new test functions.
34174         * math/libm-test.inc (struct test_f_f1_data): Remove field
34175         extra_init.
34176         (struct test_fF_f1_data): Likewise.
34177         (struct test_ffI_f1_data): Likewise.
34178         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34179         based on value of EXTRA_EXPECTED.
34180         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34181         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34182         EXTRA_VAR based on value of EXTRA_EXPECTED.
34183         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34184         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34185         EXTRA_VAR based on value of EXTRA_EXPECTED.
34186         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34187         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34188         EXTRA_VAR based on value of EXTRA_EXPECTED.
34189         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34190         * math/gen-libm-test.pl (parse_args): Don't output initializers
34191         for extra output values.
34193         * math/libm-test.inc (check_int): Expect result to be exactly
34194         equal to expected value and do not handle ulps.
34195         (check_long): Likewise.
34196         (check_longlong): Likewise.
34198         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34199         exceptions.
34200         (cimag_test_data): Likewise.
34201         (conj_test_data): Likewise.
34202         (copysign_test_data): Likewise.
34203         (cproj_test_data): Likewise.
34204         (creal_test_data): Likewise.
34205         (fabs_test_data): Likewise.
34206         (fdim_test_data): Likewise.
34207         (finite_test_data): Likewise.
34208         (floor_test_data): Likewise.
34209         (fmax_test_data): Likewise.
34210         (fmin_test_data): Likewise.
34211         (fmod_test_data): Likewise.
34212         (fpclassify_test_data): Likewise.
34213         (frexp_test_data): Likewise.
34214         (ilogb_test_data): Likewise.
34215         (isfinite_test_data): Likewise.
34216         (isgreater_test_data): Likewise.
34217         (isgreaterequal_test_data): Likewise.
34218         (isinf_test_data): Likewise.
34219         (isless_test_data): Likewise.
34220         (islessequal_test_data): Likewise.
34221         (islessgreater_test_data): Likewise.
34222         (isnan_test_data): Likewise.
34223         (isnormal_test_data): Likewise.
34224         (issignaling_test_data): Likewise.
34225         (isunordered_test_data): Likewise.
34226         (ldexp_test_data): Likewise.
34227         (lrint_test_data): Likewise.
34228         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34229         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34230         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34231         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34232         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34233         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34234         test input.
34235         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34236         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34237         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34238         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34239         that test input.
34240         (lrint_downward_test_data): Test for "inexact" exceptions.
34241         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34242         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34243         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34244         test input.
34245         (lrint_upward_test_data): Test for "inexact" exceptions.
34246         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34247         test input.
34248         (llrint_test_data): Test for "inexact" exceptions.
34249         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34250         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34251         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34252         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34253         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34254         (llrint_downward_test_data): Test for "inexact" exceptions.
34255         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34256         (llrint_upward_test_data): Test for "inexact" exceptions.
34257         (logb_test_data): Likewise.
34258         (logb_downward_test_data): Likewise.
34259         (nextafter_test_data): Likewise.
34260         (nexttoward_test_data): Likewise.
34261         (remainder_test_data): Likewise.
34262         (remquo_test_data): Likewise.
34263         (scalbn_test_data): Likewise.
34264         (scalbln_test_data): Likewise.
34265         (signbit_test_data): Likewise.
34266         (sqrt_test_data): Likewise.
34267         (significand_test_data): Likewise.
34269 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34271         [BZ #15424]
34272         * benchtests/bench-modf.c (struct args): Mark arg0 as
34273         volatile.
34274         * scripts/bench.pl: Mark members of struct args as volatile.
34276 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34278         [BZ # 15497]
34279         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34280         negative infinity on POWER6 or lower.
34281         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34283 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34285         [BZ #15442]
34286         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34287         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34288         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34289         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34290         (_FP_SETQNAN): New macro.
34291         (_FP_SETQNAN_SEMIRAW): Likewise.
34292         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34293         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34294         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34295         (FP_EXTEND): Use _FP_FRAC_SNANP.
34296         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34297         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34298         into account.
34299         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34300         New macro.
34301         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34302         Likewise.
34304 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34306         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34307         with DIVIDE_BY_ZERO_EXCEPTION.
34308         (gamma_test_data): Likewise.
34309         (lgamma_test_data): Likewise.
34310         (log_test_data): Likewise.
34311         (log10_test_data): Likewise.
34312         (log2_test_data): Likewise.
34313         (tgamma_test_data): Likewise.
34315         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34316         (acos_test_tonearest): Likewise.
34317         (acos_test_towardzero): Likewise.
34318         (acos_test_downward): Likewise.
34319         (acos_test_upward): Likewise.
34320         (acosh_test): Likewise.
34321         (asin_test): Likewise.
34322         (asin_test_tonearest): Likewise.
34323         (asin_test_towardzero): Likewise.
34324         (asin_test_downward): Likewise.
34325         (asin_test_upward): Likewise.
34326         (asinh_test): Likewise.
34327         (atan_test): Likewise.
34328         (atanh_test): Likewise.
34329         (atan2_test): Likewise.
34330         (cabs_test): Likewise.
34331         (cacos_test): Likewise.
34332         (cacosh_test): Likewise.
34333         (casin_test): Likewise.
34334         (casinh_test): Likewise.
34335         (catan_test): Likewise.
34336         (catanh_test): Likewise.
34337         (cbrt_test): Likewise.
34338         (ccos_test): Likewise.
34339         (ccosh_test): Likewise.
34340         (cexp_test): Likewise.
34341         (clog_test): Likewise.
34342         (clog10_test): Likewise.
34343         (cos_test): Likewise.
34344         (cos_test_tonearest): Likewise.
34345         (cos_test_towardzero): Likewise.
34346         (cos_test_downward): Likewise.
34347         (cos_test_upward): Likewise.
34348         (cosh_test): Likewise.
34349         (cosh_test_tonearest): Likewise.
34350         (cosh_test_towardzero): Likewise.
34351         (cosh_test_downward): Likewise.
34352         (cosh_test_upward): Likewise.
34353         (cpow_test): Likewise.
34354         (csin_test): Likewise.
34355         (csinh_test): Likewise.
34356         (csqrt_test): Likewise.
34357         (ctan_test): Likewise.
34358         (ctan_test_tonearest): Likewise.
34359         (ctan_test_towardzero): Likewise.
34360         (ctan_test_downward): Likewise.
34361         (ctan_test_upward): Likewise.
34362         (ctanh_test): Likewise.
34363         (ctanh_test_tonearest): Likewise.
34364         (ctanh_test_towardzero): Likewise.
34365         (ctanh_test_downward): Likewise.
34366         (ctanh_test_upward): Likewise.
34367         (erf_test): Likewise.
34368         (erfc_test): Likewise.
34369         (exp_test): Likewise.
34370         (exp_test_tonearest): Likewise.
34371         (exp_test_towardzero): Likewise.
34372         (exp_test_downward): Likewise.
34373         (exp_test_upward): Likewise.
34374         (exp10_test): Likewise.
34375         (exp2_test): Likewise.
34376         (expm1_test): Likewise.
34377         (fmod_test): Likewise.
34378         (gamma_test): Likewise.
34379         (hypot_test): Likewise.
34380         (j0_test): Likewise.
34381         (j1_test): Likewise.
34382         (jn_test): Likewise.
34383         (lgamma_test): Likewise.
34384         (log_test): Likewise.
34385         (log10_test): Likewise.
34386         (log1p_test): Likewise.
34387         (log2_test): Likewise.
34388         (logb_test_downward): Likewise.
34389         (pow_test): Likewise.
34390         (pow_test_tonearest): Likewise.
34391         (pow_test_towardzero): Likewise.
34392         (pow_test_downward): Likewise.
34393         (pow_test_upward): Likewise.
34394         (remainder_test): Likewise.
34395         (remquo_test): Likewise.
34396         (sin_test): Likewise.
34397         (sin_test_tonearest): Likewise.
34398         (sin_test_towardzero): Likewise.
34399         (sin_test_downward): Likewise.
34400         (sin_test_upward): Likewise.
34401         (sincos_test): Likewise.
34402         (sinh_test): Likewise.
34403         (sinh_test_tonearest): Likewise.
34404         (sinh_test_towardzero): Likewise.
34405         (sinh_test_downward): Likewise.
34406         (sinh_test_upward): Likewise.
34407         (sqrt_test): Likewise.
34408         (tan_test): Likewise.
34409         (tan_test_tonearest): Likewise.
34410         (tan_test_towardzero): Likewise.
34411         (tan_test_downward): Likewise.
34412         (tan_test_upward): Likewise.
34413         (tanh_test): Likewise.
34414         (tgamma_test): Likewise.
34415         (y0_test): Likewise.
34416         (y1_test): Likewise.
34417         (yn_test): Likewise.
34419         * math/gen-libm-test.pl (adjust_arg): Remove function.
34420         (special_function): Remove argument $in_func.  Only handle
34421         generating output for tables of tests, not inside functions.
34422         (parse_args): Likewise.
34423         (generate_testfile): Remove variable $in_func.  Update call to
34424         parse_args.
34425         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34426         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34427         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34428         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34429         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34430         (MAX_VALUE_INIT): Rename macro to max_value.
34431         (MIN_VALUE_INIT): Rename macro to min_value.
34432         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34433         (plus_zero): Remove variable.
34434         (minus_zero): Likewise.
34435         (plus_infty): Likewise.
34436         (minus_infty): Likewise.
34437         (qnan_value): Likewise.
34438         (max_value): Likewise.
34439         (min_value): Likewise.
34440         (min_subnorm_value): Likewise.
34442 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34444         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34445         uint64_t or uint32_t usage.
34446         * crypt/sha256-block.c: Likewise.
34447         * crypt/sha256-crypt.c: Likewise.
34448         * crypt/sha256.c: Likewise.
34449         * crypt/sha512-block.c: Likewise.
34450         * crypt/sha512-crypt.c: Likewise.
34451         * crypt/sha512.c: Likewise.
34452         * debug/backtrace-tst.c: Likewise.
34453         * debug/pcprofiledump.c: Likewise.
34454         * elf/cache.c: Likewise.
34455         * elf/dl-cache.c: Likewise.
34456         * elf/dl-misc.c: Likewise.
34457         * elf/dl-profile.c: Likewise.
34458         * elf/dl-support.c: Likewise.
34459         * elf/ldconfig.c: Likewise.
34460         * elf/sprof.c: Likewise.
34461         * iconv/dummy-repertoire.c: Likewise.
34462         * iconv/iconv_charmap.c: Likewise.
34463         * iconv/skeleton.c: Likewise.
34464         * iconvdata/8bit-generic.c: Likewise.
34465         * iconvdata/cp737.h: Likewise.
34466         * iconvdata/cp775.h: Likewise.
34467         * iconvdata/ibm1008.h: Likewise.
34468         * iconvdata/ibm1025.h: Likewise.
34469         * iconvdata/ibm1046.h: Likewise.
34470         * iconvdata/ibm1097.h: Likewise.
34471         * iconvdata/ibm1112.h: Likewise.
34472         * iconvdata/ibm1122.h: Likewise.
34473         * iconvdata/ibm1123.h: Likewise.
34474         * iconvdata/ibm1124.h: Likewise.
34475         * iconvdata/ibm1129.h: Likewise.
34476         * iconvdata/ibm1130.h: Likewise.
34477         * iconvdata/ibm1132.h: Likewise.
34478         * iconvdata/ibm1133.h: Likewise.
34479         * iconvdata/ibm1137.h: Likewise.
34480         * iconvdata/ibm1140.h: Likewise.
34481         * iconvdata/ibm1141.h: Likewise.
34482         * iconvdata/ibm1142.h: Likewise.
34483         * iconvdata/ibm1143.h: Likewise.
34484         * iconvdata/ibm1144.h: Likewise.
34485         * iconvdata/ibm1145.h: Likewise.
34486         * iconvdata/ibm1146.h: Likewise.
34487         * iconvdata/ibm1147.h: Likewise.
34488         * iconvdata/ibm1148.h: Likewise.
34489         * iconvdata/ibm1149.h: Likewise.
34490         * iconvdata/ibm1153.h: Likewise.
34491         * iconvdata/ibm1154.h: Likewise.
34492         * iconvdata/ibm1155.h: Likewise.
34493         * iconvdata/ibm1156.h: Likewise.
34494         * iconvdata/ibm1157.h: Likewise.
34495         * iconvdata/ibm1158.h: Likewise.
34496         * iconvdata/ibm1160.h: Likewise.
34497         * iconvdata/ibm1161.h: Likewise.
34498         * iconvdata/ibm1162.h: Likewise.
34499         * iconvdata/ibm1163.h: Likewise.
34500         * iconvdata/ibm1164.h: Likewise.
34501         * iconvdata/ibm1166.h: Likewise.
34502         * iconvdata/ibm1167.h: Likewise.
34503         * iconvdata/ibm12712.h: Likewise.
34504         * iconvdata/ibm1390.h: Likewise.
34505         * iconvdata/ibm1399.h: Likewise.
34506         * iconvdata/ibm16804.h: Likewise.
34507         * iconvdata/ibm4517.h: Likewise.
34508         * iconvdata/ibm4899.h: Likewise.
34509         * iconvdata/ibm4909.h: Likewise.
34510         * iconvdata/ibm4971.h: Likewise.
34511         * iconvdata/ibm5347.h: Likewise.
34512         * iconvdata/ibm803.h: Likewise.
34513         * iconvdata/ibm856.h: Likewise.
34514         * iconvdata/ibm901.h: Likewise.
34515         * iconvdata/ibm902.h: Likewise.
34516         * iconvdata/ibm9030.h: Likewise.
34517         * iconvdata/ibm9066.h: Likewise.
34518         * iconvdata/ibm921.h: Likewise.
34519         * iconvdata/ibm922.h: Likewise.
34520         * iconvdata/ibm9448.h: Likewise.
34521         * iconvdata/isiri-3342.h: Likewise.
34522         * iconvdata/jis0201.h: Likewise.
34523         * include/link.h: Likewise.
34524         * include/netdb.h: Likewise.
34525         * inet/check_native.c: Likewise.
34526         * inet/check_pf.c: Likewise.
34527         * inet/getipv4sourcefilter.c: Likewise.
34528         * inet/getnameinfo.c: Likewise.
34529         * inet/getsourcefilter.c: Likewise.
34530         * inet/htonl.c: Likewise.
34531         * inet/setipv4sourcefilter.c: Likewise.
34532         * inet/setsourcefilter.c: Likewise.
34533         * inet/test-inet6_opt.c: Likewise.
34534         * inet/tst-network.c: Likewise.
34535         * locale/C-collate.c: Likewise.
34536         * locale/C-ctype.c: Likewise.
34537         * locale/C-time.c: Likewise.
34538         * locale/C-translit.h: Likewise.
34539         * locale/loadarchive.c: Likewise.
34540         * locale/programs/3level.h: Likewise.
34541         * locale/programs/charmap.c: Likewise.
34542         * locale/programs/charmap.h: Likewise.
34543         * locale/programs/ld-address.c: Likewise.
34544         * locale/programs/ld-collate.c: Likewise.
34545         * locale/programs/ld-ctype.c: Likewise.
34546         * locale/programs/ld-identification.c: Likewise.
34547         * locale/programs/ld-measurement.c: Likewise.
34548         * locale/programs/ld-messages.c: Likewise.
34549         * locale/programs/ld-monetary.c: Likewise.
34550         * locale/programs/ld-name.c: Likewise.
34551         * locale/programs/ld-numeric.c: Likewise.
34552         * locale/programs/ld-paper.c: Likewise.
34553         * locale/programs/ld-telephone.c: Likewise.
34554         * locale/programs/ld-time.c: Likewise.
34555         * locale/programs/linereader.c: Likewise.
34556         * locale/programs/locale.c: Likewise.
34557         * locale/programs/locarchive.c: Likewise.
34558         * locale/programs/locfile.h: Likewise.
34559         * locale/programs/repertoire.c: Likewise.
34560         * locale/programs/simple-hash.c: Likewise.
34561         * locale/programs/simple-hash.h: Likewise.
34562         * malloc/memusage.c: Likewise.
34563         * malloc/memusagestat.c: Likewise.
34564         * nis/nis_defaults.c: Likewise.
34565         * nis/nis_hash.c: Likewise.
34566         * nis/nis_print.c: Likewise.
34567         * nis/nis_xdr.c: Likewise.
34568         * nscd/connections.c: Likewise.
34569         * nscd/hstcache.c: Likewise.
34570         * nscd/nscd_gethst_r.c: Likewise.
34571         * nscd/nscd_getserv_r.c: Likewise.
34572         * nscd/nscd_helper.c: Likewise.
34573         * nscd/servicescache.c: Likewise.
34574         * nss/makedb.c: Likewise.
34575         * nss/nss_db/db-XXX.c: Likewise.
34576         * nss/nss_db/db-initgroups.c: Likewise.
34577         * nss/nss_db/db-netgrp.c: Likewise.
34578         * nss/nss_files/files-network.c: Likewise.
34579         * nss/nss_files/files-parse.c: Likewise.
34580         * posix/bug-regex5.c: Likewise.
34581         * posix/fnmatch_loop.c: Likewise.
34582         * posix/regcomp.c: Likewise.
34583         * posix/regexec.c: Likewise.
34584         * posix/tst-rfc3484-2.c: Likewise.
34585         * posix/tst-rfc3484-3.c: Likewise.
34586         * posix/tst-rfc3484.c: Likewise.
34587         * resolv/nss_dns/dns-canon.c: Likewise.
34588         * resolv/nss_dns/dns-network.c: Likewise.
34589         * resolv/res_init.c: Likewise.
34590         * resolv/res_mkquery.c: Likewise.
34591         * resolv/tst-aton.c: Likewise.
34592         * stdlib/cxa_atexit.c: Likewise.
34593         * stdlib/cxa_finalize.c: Likewise.
34594         * stdlib/gen-fpioconst.c: Likewise.
34595         * stdlib/strtol_l.c: Likewise.
34596         * string/tst-endian.c: Likewise.
34597         * sunrpc/auth_des.c: Likewise.
34598         * sunrpc/clnt_udp.c: Likewise.
34599         * sunrpc/rtime.c: Likewise.
34600         * sunrpc/svcauth_des.c: Likewise.
34601         * sunrpc/xdr.c: Likewise.
34602         * sunrpc/xdr_intXX_t.c: Likewise.
34603         * sunrpc/xdr_rec.c: Likewise.
34604         * sysdeps/generic/ldconfig.h: Likewise.
34605         * sysdeps/generic/ldsodefs.h: Likewise.
34606         * sysdeps/generic/memusage.h: Likewise.
34607         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34608         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34609         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34610         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34611         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34612         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34613         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34614         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34615         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34616         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34617         * sysdeps/posix/getaddrinfo.c: Likewise.
34618         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34619         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34620         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34621         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34622         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34623         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34624         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34625         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34626         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34627         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34628         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34629         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34630         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34631         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34632         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34633         * sysdeps/x86_64/dl-tls.h: Likewise.
34634         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34635         * time/alt_digit.c: Likewise.
34636         * time/era.c: Likewise.
34637         * wcsmbs/tst-c16c32-1.c: Likewise.
34639 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34641         * math/libm-test.inc (struct test_sincos_data): New type.
34642         (RUN_TEST_LOOP_sincos): New macro.
34643         (sincos_test_data): New variable.
34644         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34646 2013-05-16  Richard Henderson  <rth@redhat.com>
34648         * math/atest-exp2.c (LIMB64): New macro.
34649         (CONSTSZ): New macro.
34650         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34651         (hexdig): Move ...
34652         (print_mpn_fp): ... to function scope.
34653         (read_mpn_hex): Remove.
34654         (get_log2): Remove.
34655         (exp2_mpn): Use mp_log2.
34656         (main): Use mp_exp1.
34658 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34660         * math/libm-test.inc: Remove comment about not testing "inexact"
34661         exceptions.
34662         (INEXACT_EXCEPTION): New macro.
34663         (NO_INEXACT_EXCEPTION): Likewise.
34664         (INVALID_EXCEPTION_OK): Update value.
34665         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34666         (OVERFLOW_EXCEPTION_OK): Likewise.
34667         (UNDERFLOW_EXCEPTION_OK): Likewise.
34668         (IGNORE_ZERO_INF_SIGN): Likewise.
34669         (ERRNO_UNCHANGED): Likewise.
34670         (ERRNO_EDOM): Likewise.
34671         (ERRNO_ERANGE): Likewise.
34672         (test_exceptions): Handle testing "inexact" exceptions.
34673         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34674         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34675         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34676         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34677         INEXACT_EXCEPTION.
34678         (rint_towardzero_test_data): Likewise.
34679         (rint_downward_test_data): Likewise.
34680         (rint_upward_test_data): Likewise.
34682         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34683         with OVERFLOW_EXCEPTION.
34684         (exp10_test_data): Likewise.
34685         (exp2_test_data): Likewise.
34686         (expm1_test_data): Likewise.
34687         (lgamma_test_data): Likewise.
34688         (pow_test_data): Likewise.
34689         (tgamma_test_data): Likewise.
34690         (yn_test_data): Remove duplicate test of overflow.
34692         * math/libm-test.inc (struct test_cc_c_data): New type.
34693         (RUN_TEST_LOOP_cc_c): New macro.
34694         (cpow_test_data): New variable.
34695         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34697         * math/libm-test.inc (struct test_f_L_data): New type.
34698         (RUN_TEST_LOOP_f_L): New macro.
34699         (llrint_test_data): New variable.
34700         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34701         (llrint_tonearest_test_data): New variable.
34702         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34703         (llrint_towardzero_test_data): New variable.
34704         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34705         (llrint_downward_test_data): New variable.
34706         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34707         (llrint_upward_test_data): New variable.
34708         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34709         (llround_test_data): New variable.
34710         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34712 2013-05-13  Peter Collingbourne  <pcc@google.com>
34714         * math/atest-exp2.c (get_log2): Remove const attribute.
34716 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34718         * math/libm-test.inc (struct test_f_l_data): New type.
34719         (RUN_TEST_LOOP_f_l): New macro.
34720         (lrint_test_data): New variable.
34721         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34722         (lrint_tonearest_test_data): New variable.
34723         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34724         (lrint_towardzero_test_data): New variable.
34725         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34726         (lrint_downward_test_data): New variable.
34727         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34728         (lrint_upward_test_data): New variable.
34729         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34730         (lround_test_data): New variable.
34731         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34733 2013-05-15  Peter Collingbourne  <pcc@google.com>
34735         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34736         (EXTRACT_WORDS64) Use where appropriate.
34737         (INSERT_WORDS64) Likewise.
34739         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34740         constraints with x constraints.
34741         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34743         * malloc/obstack.c (_obstack_compat): Add initializer.
34745 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34747         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34748         si_trapno and add si_addr_lsb to _sifields.sigfault.
34749         (si_trapno): Remove macro.
34750         (si_addr_lsb): Define new macro.
34751         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34753 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34755         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34756         instead of TEST_f_l.
34757         (llrint_test_tonearest): Likewise.
34758         (llrint_test_towardzero): Likewise.
34759         (llrint_test_downward): Likewise.
34760         (llrint_test_upward): Likewise.
34761         (llround_test): Likewise.
34763         * math/libm-test.inc (struct test_f_i_data): Add comment.
34764         (RUN_TEST_LOOP_f_b): New macro.
34765         (RUN_TEST_LOOP_f_b_tg): Likewise.
34766         (finite_test_data): New variable.
34767         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34768         (isfinite_test_data): New variable.
34769         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34770         (isinf_test_data): New variable.
34771         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34772         (isnan_test_data): New variable.
34773         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34774         (isnormal_test_data): New variable.
34775         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34776         (issignaling_test_data): New variable.
34777         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34778         (signbit_test_data): New variable.
34779         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34781         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34782         with INVALID_EXCEPTION.
34783         (acosh_test_data): Likewise.
34784         (asin_test_data): Likewise.
34785         (atanh_test_data): Likewise.
34786         (fmod_test_data): Likewise.
34787         (log_test_data): Likewise.
34788         (log10_test_data): Likewise.
34789         (log2_test_data): Likewise.
34790         (pow_test_data): Likewise.
34791         (sqrt_test_data): Likewise.
34792         (y0_test_data): Likewise.
34793         (y1_test_data): Likewise.
34794         (yn_test_data): Likewise.
34796         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34797         function contents.
34799         * math/libm-test.inc (struct test_ff_i_data): New type.
34800         (RUN_TEST_LOOP_ff_i_tg): New macro.
34801         (isgreater_test_data): New variable.
34802         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34803         (isgreaterequal_test_data): New variable.
34804         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34805         (isless_test_data): New variable.
34806         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34807         (islessequal_test_data): New variable.
34808         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34809         (islessgreater_test_data): New variable.
34810         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34811         (isunordered_test_data): New variable.
34812         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34814 2013-05-14  David S. Miller  <davem@davemloft.net>
34816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34818 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34820         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34822         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34823         extra_test to int.
34824         (struct test_f_i_data): Change type of max_ulp to int.
34826         * math/libm-test.inc (test_ffI_f1_data): New type.
34827         (RUN_TEST_LOOP_ffI_f1): New macro.
34828         (remquo_test_data): New variable.
34829         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34831         * setjmp/tst-setjmp-fp.c: New file.
34832         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34833         (link-libm): New variable.
34834         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34836         * math/libm-test.inc (struct test_f_i_data): New type.
34837         (RUN_TEST_LOOP_f_i): New macro.
34838         (RUN_TEST_LOOP_f_i_tg): Likewise.
34839         (fpclassify_test_data): New variable.
34840         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34841         (ilogb_test_data): New variable.
34842         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34844         * math/libm-test.inc (scalbln_test): Correct function name in END
34845         call.
34847         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34848         (RUN_TEST_LOOP_fI_f1): New macro.
34849         (frexp_test_data): New variable.
34850         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34852         * math/libm-test.inc (struct test_fF_f1_data): New type.
34853         (RUN_TEST_LOOP_fF_f1): New macro.
34854         (modf_test_data): New variable.
34855         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34857         * math/libm-test.inc (struct test_f_f1_data): New type.
34858         (RUN_TEST_LOOP_f_f1): New macro.
34859         (gamma_test_data): New variable.
34860         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34861         (lgamma_test_data): New variable.
34862         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34864 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34866         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34867         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34868         (main): Comment "tls" pseudo-hwcap.
34870 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34872         * math/libm-test.inc (struct test_fl_f_data): New type.
34873         (RUN_TEST_LOOP_fl_f): New variable.
34874         (scalbln_test_data): New variable.
34875         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34877         * math/libm-test.inc (struct test_fi_f_data): New type.
34878         (RUN_TEST_LOOP_fi_f): New macro.
34879         (ldexp_test_data): New variable.
34880         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34881         (scalbn_test_data): New variable.
34882         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34884         * math/libm-test.inc (struct test_c_f_data): New type.
34885         (RUN_TEST_LOOP_c_f): New macro.
34886         (cabs_test_data): New variable.
34887         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34888         (carg_test_data): New variable.
34889         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34890         (cimag_test_data): New variable.
34891         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34892         (creal_test_data): New variable.
34893         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34895         * math/libm-test.inc (struct test_if_f_data): New type.
34896         (RUN_TEST_LOOP_if_f): New macro.
34897         (jn_test_data): New variable.
34898         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34899         (yn_test_data): New variable.
34900         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34902         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34904 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34906         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34907         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34909 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34911         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34912         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34913         (bench-deps): Add bench-timing.h.
34914         * benchtests-bench-skeleton.c: Include bench-timing.h.
34915         (main): Use TIMING_* macros instead of clock_gettime.
34916         * benchtests/bench-timing.h: New file.
34918         [BZ #14582]
34919         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34920         Renamed from _LIB_VERSION.
34921         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34923 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34925         * math/libm-test.inc (struct test_fff_f_data): New type.
34926         (RUN_TEST_LOOP_fff_f): New macro.
34927         (fma_test_data): New variable.
34928         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34929         (fma_towardzero_test_data): New variable.
34930         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34931         (fma_downward_test_data): New variable.
34932         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34933         (fma_upward_test_data): New variable.
34934         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34936         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34937         (struct test_c_c_data): New type.
34938         (RUN_TEST_LOOP_c_c): New macro.
34939         (cacos_test_data): New variable.
34940         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34941         (cacosh_test_data): New variable.
34942         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34943         (casin_test_data): New variable.
34944         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34945         (casinh_test_data): New variable.
34946         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34947         (catan_test_data): New variable.
34948         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34949         (catanh_test_data): New variable.
34950         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34951         (ccos_test_data): New variable.
34952         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34953         (ccosh_test_data): New variable.
34954         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34955         (cexp_test_data): New variable.
34956         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34957         (clog_test_data): New variable.
34958         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34959         (clog10_test_data): New variable.
34960         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34961         (conj_test_data): New variable.
34962         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34963         (cproj_test_data): New variable.
34964         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34965         (csin_test_data): New variable.
34966         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34967         (csinh_test_data): New variable.
34968         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34969         (csqrt_test_data): New variable.
34970         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34971         (ctan_test_data): New variable.
34972         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34973         (ctan_tonearest_test_data): New variable.
34974         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34975         (ctan_towardzero_test_data): New variable.
34976         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34977         (ctan_downward_test_data): New variable.
34978         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34979         (ctan_upward_test_data): New variable.
34980         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34981         (ctanh_test_data): New variable.
34982         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34983         (ctanh_tonearest_test_data): New variable.
34984         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34985         (ctanh_towardzero_test_data): New variable.
34986         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34987         (ctanh_downward_test_data): New variable.
34988         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34989         (ctanh_upward_test_data): New variable.
34990         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34991         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34992         of BUILD_COMPLEX.
34994         * math/libm-test.inc (struct test_ff_f_data): New type.
34995         (struct test_ff_f_data_nexttoward): Likewise.
34996         (RUN_TEST_LOOP_2_f): New macro.
34997         (RUN_TEST_LOOP_ff_f): Likewise.
34998         (atan2_test_data): New variable.
34999         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35000         (copysign_test_data): New variable.
35001         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35002         (fdim_test_data): New variable.
35003         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35004         (fmax_test_data): New variable.
35005         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35006         (fmin_test_data): New variable.
35007         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35008         (fmod_test_data): New variable.
35009         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35010         (hypot_test_data): New variable.
35011         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35012         (nextafter_test_data): New variable.
35013         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35014         (nexttoward_test_data): New variable.
35015         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35016         (pow_test_data): New variable.
35017         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35018         (pow_tonearest_test_data): New variable.
35019         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35020         (pow_towardzero_test_data): New variable.
35021         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35022         (pow_downward_test_data): New variable.
35023         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35024         (pow_upward_test_data): New variable.
35025         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35026         (remainder_test_data): New variable.
35027         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35028         (scalb_test_data): New variable.
35029         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35030         * sysdeps/i386/fpu/libm-test-ulps: Update.
35032 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35034         * math/libm-test.inc (fma_test): Use max_value instead of local
35035         variable fltmax.
35036         (nextafter_test): Likewise.
35038         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35039         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35040         (acos_downward_test_data): New variable.
35041         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35042         (acos_upward_test_data): New variable.
35043         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35044         (acosh_test_data): New variable.
35045         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35046         (asin_test_data): New variable.
35047         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35048         (asin_tonearest_test_data): New variable.
35049         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35050         (asin_towardzero_test_data): New variable.
35051         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35052         (asin_downward_test_data): New variable.
35053         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35054         (asin_upward_test_data): New variable.
35055         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35056         (asinh_test_data): New variable.
35057         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35058         (atan_test_data): New variable.
35059         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35060         (atanh_test_data): New variable.
35061         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35062         (cbrt_test_data): New variable.
35063         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35064         (ceil_test_data): New variable.
35065         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35066         (cos_test_data): New variable.
35067         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35068         (cos_tonearest_test_data): New variable.
35069         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35070         (cos_towardzero_test_data): New variable.
35071         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35072         (cos_downward_test_data): New variable.
35073         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35074         (cos_upward_test_data): New variable.
35075         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35076         (cosh_test_data): New variable.
35077         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35078         (cosh_tonearest_test_data): New variable.
35079         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35080         (cosh_towardzero_test_data): New variable.
35081         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35082         (cosh_downward_test_data): New variable.
35083         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35084         (cosh_upward_test_data): New variable.
35085         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35086         (erf_test_data): New variable.
35087         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35088         (erfc_test_data): New variable.
35089         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35090         (exp_test_data): New variable.
35091         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35092         (exp_tonearest_test_data): New variable.
35093         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35094         (exp_towardzero_test_data): New variable.
35095         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35096         (exp_downward_test_data): New variable.
35097         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35098         (exp_upward_test_data): New variable.
35099         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35100         (exp10_test_data): New variable.
35101         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35102         (exp2_test_data): New variable.
35103         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35104         (expm1_test_data): New variable.
35105         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35106         (fabs_test_data): New variable.
35107         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35108         (floor_test_data): New variable.
35109         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35110         (j0_test_data): New variable.
35111         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35112         (j1_test_data): New variable.
35113         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35114         (log_test_data): New variable.
35115         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35116         (log10_test_data): New variable.
35117         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35118         (log1p_test_data): New variable.
35119         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35120         (log2_test_data): New variable.
35121         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35122         (logb_test_data): New variable.
35123         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35124         (logb_downward_test_data): New variable.
35125         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35126         (nearbyint_test_data): New variable.
35127         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35128         (rint_test_data): New variable.
35129         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35130         (rint_tonearest_test_data): New variable.
35131         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35132         (rint_towardzero_test_data): New variable.
35133         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35134         (rint_downward_test_data): New variable.
35135         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35136         (rint_upward_test_data): New variable.
35137         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35138         (round_test_data): New variable.
35139         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35140         (sin_test_data): New variable.
35141         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35142         (sin_tonearest_test_data): New variable.
35143         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35144         (sin_towardzero_test_data): New variable.
35145         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35146         (sin_downward_test_data): New variable.
35147         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35148         (sin_upward_test_data): New variable.
35149         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35150         (sinh_test_data): New variable.
35151         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35152         (sinh_tonearest_test_data): New variable.
35153         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35154         (sinh_towardzero_test_data): New variable.
35155         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35156         (sinh_downward_test_data): New variable.
35157         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35158         (sinh_upward_test_data): New variable.
35159         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35160         (sqrt_test_data): New variable.
35161         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35162         (tan_test_data): New variable.
35163         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35164         (tan_tonearest_test_data): New variable.
35165         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35166         (tan_towardzero_test_data): New variable.
35167         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35168         (tan_downward_test_data): New variable.
35169         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35170         (tan_upward_test_data): New variable.
35171         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35172         (tanh_test_data): New variable.
35173         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35174         (tgamma_test_data): New variable.
35175         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35176         (trunc_test_data): New variable.
35177         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35178         (y0_test_data): New variable.
35179         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35180         (y1_test_data): New variable.
35181         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35182         (significand_test_data): New variable.
35183         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35185 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35187         [BZ #12387]
35188         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35190 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35192         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35194 2013-05-10  Andreas Jaeger  <aj@suse.de>
35196         [BZ #15448]
35197         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35198         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35200 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35202         * math/gen-libm-test.pl (adjust_arg): New function.
35203         (special_functions): Handle generating output in both functions
35204         and arrays.
35205         (parse_args): Likewise.
35206         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35207         $in_func argument to parse_args.
35208         * math/libm-test.inc (struct test_f_f_data): New type.
35209         (IF_ROUND_INIT_): New macro.
35210         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35211         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35212         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35213         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35214         (ROUND_RESTORE_): Likewise.
35215         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35216         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35217         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35218         (ROUND_RESTORE_FE_UPWARD): Likewise.
35219         (RUN_TEST_LOOP_f_f): New macro.
35220         (acos_test_data): New variable.
35221         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35222         (acos_tonearest_test_data): New variable.
35223         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35225 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35227         * benchtests/bench-skeleton.c (startup): Fix coding style.
35229 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35231         [BZ #6809]
35232         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35233         negative infinity argument.
35234         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35235         negative infinity argument.
35236         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35237         negative infinity argument.
35238         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35239         domain errors.
35241 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35243         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35244         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35245         * iconv/iconv_prog.c (main): Likewise.
35246         * locale/programs/charmap-dir.c (charmap_readdir)
35247         (fopen_uncompressed): Likewise.
35248         * locale/programs/locfile.c (siblings_uncached)
35249         (write_locale_data): Use lstat64 instead of lstat.
35250         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35251         stat.
35253 2013-05-10  Andreas Jaeger  <aj@suse.de>
35255         [BZ #15395]
35256         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35257         localization.
35258         Include <locale.h>.
35260 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35262         * elf/dl-close.c (_dl_close_worker): Add comments.
35264 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35266         [BZ #15359]
35267         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35268         high part of pi/2.
35269         (__ieee754_rem_pio2l): Update comments.
35271         [BZ #15429]
35272         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35273         high part of pi/2.
35274         (__ieee754_rem_pio2l): Update comments.
35276         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35277         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35279         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35280         M_PI_4l.
35282         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35283         (M_PI_34_LOG10El): Likewise.
35284         (M_PI2_LOG10El): Likewise.
35285         (M_PI4_LOG10El): Likewise.
35286         (M_PI_LOG10El): Likewise.
35288 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35292 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35294         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35295         (MINUS_ZERO_INIT): Likewise.
35296         (PLUS_INFTY_INIT): Likewise.
35297         (MINUS_INFTY_INIT): Likewise.
35298         (QNAN_VALUE_INIT): Likewise.
35299         (MAX_VALUE_INIT): Likewise.
35300         (MIN_VALUE_INIT): Likewise.
35301         (MIN_SUBNORM_VALUE_INIT): Likewise.
35302         (plus_zero): Initialize with PLUS_ZERO_INIT.
35303         (minus_zero): Initialize with MINUS_ZERO_INIT.
35304         (plus_infty): Initialize with PLUS_INFTY_INIT.
35305         (minus_infty): Initialize with MINUS_INFTY_INIT.
35306         (qnan_value): Initialize with QNAN_VALUE_INIT.
35307         (max_value): Initialize with MAX_VALUE_INIT.
35308         (min_value): Initialize with MIN_VALUE_INIT.
35309         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35311         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35312         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35313         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35314         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35316         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35317         (RUN_TEST_2_f): Likewise.
35318         (RUN_TEST_ff_f): Likewise.
35319         (RUN_TEST_fi_f): Likewise.
35320         (RUN_TEST_fl_f): Likewise.
35321         (RUN_TEST_fff_f): Likewise.
35322         (RUN_TEST_c_f): Likewise.
35323         (RUN_TEST_f_f1): Likewise.
35324         (RUN_TEST_fF_f1): Likewise.
35325         (RUN_TEST_fI_f1): Likewise.
35326         (RUN_TEST_ffI_f1): Likewise.
35327         (RUN_TEST_c_c): Likewise.
35328         (RUN_TEST_cc_c): Likewise.
35329         (RUN_TEST_f_i): Likewise.
35330         (RUN_TEST_f_i_tg): Likewise.
35331         (RUN_TEST_ff_i_tg): Likewise.
35332         (RUN_TEST_f_b): Likewise.
35333         (RUN_TEST_f_b_tg): Likewise.
35334         (RUN_TEST_f_l): Likewise.
35335         (RUN_TEST_f_L): Likewise.
35336         (RUN_TEST_sincos): Likewise.
35337         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35338         whether to show exceptions.  Do not include ");\n" in return
35339         value.
35340         (special_functions): Output call to RUN_TEST_sincos instead of
35341         check_float calls.  Update calls to new_test.
35342         (parse_args): Output call to single RUN_TEST_* macro instead of
35343         check_* calls and other assignments.  Update calls to new_test.
35345         [BZ #2546]
35346         [BZ #2560]
35347         [BZ #5159]
35348         [BZ #15426]
35349         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35350         input to result for tgamma overflow.
35351         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35352         (gamma_coeff): New variable.
35353         (NCOEFF): New macro.
35354         (gamma_positive): New function.
35355         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35356         underflow here.  Use gamma_positive instead of exp (lgamma) for
35357         other arguments.
35358         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35359         (gamma_coeff): New variable.
35360         (NCOEFF): New macro.
35361         (gammaf_positive): New function.
35362         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35363         underflow here.  Use gamma_positive instead of exp (lgamma) for
35364         other arguments.
35365         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35366         (gamma_coeff): New variable.
35367         (NCOEFF): New macro.
35368         (gammal_positive): New function.
35369         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35370         underflow here.  Use gamma_positive instead of exp (lgamma) for
35371         other arguments.
35372         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35373         (gamma_coeff): New variable.
35374         (NCOEFF): New macro.
35375         (gammal_positive): New function.
35376         (__ieee754_gammal_r): Handle positive infinity, overflow and
35377         underflow here.  Handle NaN the same as positive infinity.  Remove
35378         check x < 0xffffffff for negative integers.  Use gamma_positive
35379         instead of exp (lgamma) for other arguments.
35380         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35381         (gamma_coeff): New variable.
35382         (NCOEFF): New macro.
35383         (gammal_positive): New function.
35384         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35385         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35386         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35387         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35388         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35389         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35390         * sysdeps/generic/math_private.h (__gamma_productf): New
35391         prototype.
35392         (__gamma_product): Likewise.
35393         (__gamma_productl): Likewise.
35394         * math/Makefile (libm-calls): Add gamma_product.
35395         * math/libm-test.inc (tgamma_test): Add more tests.
35396         * sysdeps/i386/fpu/libm-test-ulps: Update.
35397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35399 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35401         * benchtests/bench-skeleton.c (main): Preheat CPU.
35403 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35405         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35407 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35409         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35410         and _dl_skip_args_internal.
35412 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35414         * manual/message.texi (Message Translation): Talk about users.
35415         Message to key mapping impacts design.
35417 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35419         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35421         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35423         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35424         * sysdeps/wordsize-64/glob64.c: ... here.
35426         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35427         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35428         New macros.
35430         * debug/getlogin_r_chk.c: Moved to ...
35431         * login/getlogin_r_chk.c: ... here.
35432         * debug/Makefile (routines): Move getlogin_r_chk to ...
35433         * login/Makefile (routines): ... here.
35434         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35435         * login/Versions (libc: GLIBC_2.4): ... here.
35437         * io/poll.c (__poll): Renamed from poll.
35438         Add libc_hidden_def.
35439         (poll): Define as weak alias.
35441         * debug/ptsname_r_chk.c: Moved to ...
35442         * login/ptsname_r_chk.c: ... here.
35443         * debug/Makefile (routines): Move ptsname_r_chk to ...
35444         * login/Makefile (routines): ... here.
35445         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35446         * login/Versions (libc: GLIBC_2.4): ... here.
35448         * posix/getlogin.c: Moved to ...
35449         * login/getlogin.c: ... here.
35450         * posix/getlogin_r.c: Moved to ...
35451         * login/getlogin_r.c: ... here.
35452         * posix/getlogin_r.c: Moved to ...
35453         * login/getlogin_r.c: ... here.
35454         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35455         * login/Makefile (routines): ... here.
35456         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35457         * login/Versions (libc: GLIBC_2.0): ... here.
35459         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35460         (setrlimit): Define as weak alias.
35462         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35463         Call __ names for open, ftruncate, and close.
35464         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35465         (truncate): Define as weak alias.
35467 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35469         * math/gen-libm-test.pl (parse_args): Initialize x before each
35470         test of frexp, modf and remquo.
35472         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35473         test signgam value.
35475 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35477         [BZ #15418]
35478         [BZ #15419]
35479         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35480         internal tests.
35481         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35483 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35485         * elf/dl-writev.h: New file.
35486         * elf/dl-misc.c: Include it.
35487         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35488         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35490 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35492         * math/libm-test.inc (noXFails): Remove variable.
35493         (noXPasses): Likewise.
35494         (BUILD_COMPLEX_INT): Remove macro.
35495         (print_screen): Remove xfail argument.
35496         (print_screen_max_error): Likewise.
35497         (update_stats): Likewise.
35498         (print_max_error): Likewise.  Update calls to other affected
35499         functions.
35500         (print_complex_max_error): Likewise.
35501         (test_single_exception): Update calls to print_screen.
35502         (test_single_errno): Likewise.
35503         (check_float_internal): Remove xfail argument.  Update calls to
35504         other affected functions.
35505         (check_float): Likewise.
35506         (check_complex): Likewise.
35507         (check_int): Likewise.
35508         (check_long): Likewise.
35509         (check_bool): Likewise.
35510         (check_longlong): Likewise.
35511         (main): Don't print noXFails and noXPasses.
35512         * math/gen-libm-test.pl (top level): Don't mention expected
35513         failure handling in comment.
35514         (new_test): Don't handle expected failures.
35515         (parse_args): Don't mention expected failure handling in comment.
35516         (generate_testfile): Don't handle expected failures.
35517         (parse_ulps): Likewise.
35518         (print_ulps_file): Likewise.
35519         (get_failure): Remove function.
35520         (output_test): Don't handle expected failures.
35521         * make/README.libm-test: Don't mention expected failure handling.
35523         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35524         (minus_zero): Likewise.
35525         (plus_infty): Likewise.
35526         (minus_infty): Likewise.
35527         (qnan_value): Likewise.
35528         (max_value): Likewise.
35529         (min_value): Likewise.
35530         (min_subnorm_value): Likewise.
35531         (initialize): Do not initialize those variables dynamically.
35533 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35535         * io/open.c (__open_2): Moved to ...
35536         * io/open_2.c: ... this new file.
35537         * io/open64.c (__open64_2): Moved to ...
35538         * io/open64_2.c: ... this new file.
35539         * io/openat.c (__openat_2): Moved to ...
35540         * io/openat_2.c: ... this new file.
35541         * io/openat64.c (__openat64_2): Moved to ...
35542         * io/openat64_2.c: ... this new file.
35543         * io/Makefile (routines): Add them.
35544         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35545         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35546         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35547         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35548         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35549         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35550         (__openat64): Add hidden_ver.
35551         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35552         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35554         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35555         Separately conditionalize setting of GLRO(dl_sysinfo) so
35556         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35557         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35559 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35561         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35562         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35563         definition.
35564         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35565         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35566         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35567         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35568         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35570 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35572         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35573         test signgam value.
35575         * math/libm-test.inc (hypot_test): Do not use
35576         IGNORE_ZERO_INF_SIGN.
35578 2013-05-03  Andreas Jaeger  <aj@suse.de>
35580         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35581         Linux 3.9.
35582         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35583         (PF_MAX): Adjust for VSOCK change.
35585 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35589 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35591         [BZ #15264]
35592         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35593         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35594         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35596 2013-05-02  David S. Miller  <davem@davemloft.net>
35598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35600 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35602         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35604 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35606         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35608 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35610         [BZ #14952]
35611         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35612         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35613         Use __attribute__ ((__gnu_inline__)).
35614         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35615         Don't use __attribute__ ((__gnu_inline__)).
35617 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35619         [BZ #15423]
35620         * math/s_catan.c (__catan): Handle small real or imaginary part of
35621         input specially to avoid spurious underflow.
35622         * math/s_catanf.c (__catanf): Likewise.
35623         * math/s_catanh.c (__catanh): Likewise.
35624         * math/s_catanhf.c (__catanhf): Likewise.
35625         * math/s_catanhl.c (__catanhl): Likewise.
35626         * math/s_catanl.c (__catanl): Likewise.
35627         * math/libm-test.inc (catan_test): Add more tests.
35628         (catanh_test): Likewise.
35629         * sysdeps/i386/fpu/libm-test-ulps: Update.
35630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35632 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35636 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35638         [BZ #15416]
35639         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35640         accurately for denominator in atan2.
35641         * math/s_catanf.c (__catanf): Likewise.
35642         * math/s_catanh.c (__catanh): Likewise.
35643         * math/s_catanhf.c (__catanhf): Likewise.
35644         * math/s_catanhl.c (__catanhl): Likewise.
35645         * math/s_catanl.c (__catanl): Likewise.
35646         * math/libm-test.inc (catan_test): Add more tests.
35647         (catanh_test): Likewise.
35648         * sysdeps/i386/fpu/libm-test-ulps: Update.
35649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35651 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35653         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35655         * benchtests/Makefile (bench): Remove slow benchmarks.
35656         * benchtests/atan-inputs: Add slow benchmark inputs.
35657         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35658         (BENCH_FUNC): Accept variant offset.
35659         (VARIANT): Define.
35660         * benchtests/bench-skeleton.c (main): Run benchmark for each
35661         variant.
35662         * benchtests/cos-inputs: Add slow benchmark inputs.
35663         * benchtests/exp-inputs: Likewise.
35664         * benchtests/pow-inputs: Likewise.
35665         * benchtests/sin-inputs: Likewise.
35666         * benchtests/slowatan-inputs: Remove.
35667         * benchtests/slowatan.c: Remove.
35668         * benchtests/slowcos-inputs: Remove.
35669         * benchtests/slowcos.c: Remove.
35670         * benchtests/slowexp-inputs: Remove.
35671         * benchtests/slowexp.c: Remove.
35672         * benchtests/slowpow-inputs: Remove.
35673         * benchtests/slowpow.c: Remove.
35674         * benchtests/slowsin-inputs: Remove.
35675         * benchtests/slowsin.c: Remove.
35676         * benchtests/slowtan-inputs: Remove.
35677         * benchtests/slowtan.c: Remove.
35678         * benchtests/tan-inputs: Add slow benchmark inputs.
35679         * scripts/bench.pl: Parse comments and directives.
35681         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35682         in CPPFLAGS.
35683         ($(objpfx)bench-%.c): Remove *-ITER.
35684         * benchtests/bench-modf.c: Remove definition of ITER.
35685         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35686         (main): Loop for DURATION seconds instead of fixed number of
35687         iterations.
35688         * scripts/bench.pl: Don't expect iterations in parameters.
35690 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35692         * io/fchdir.c (__fchdir): Renamed from fchdir.
35693         (fchdir): Define as weak alias.
35695 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35697         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35698         (ERRNO_EDOM): Likewise.
35699         (ERRNO_ERANGE): Likewise.
35700         (noErrnoTests): New variable.
35701         (init_max_error): Set errno to 0.
35702         (test_single_errno): New function.
35703         (test_errno): Likewise.
35704         (check_float_internal): Call test_errno.  Set errno to 0.
35705         (check_complex): Refer to errno tests in comment.
35706         (check_int): Call test_errno.  Set errno to 0.
35707         (check_long): Likewise.
35708         (check_bool): Likewise.
35709         (check_longlong): Likewise.
35710         (cos_test): Use ERRNO_* flags for errno tests instead of
35711         check_int.
35712         (expm1_test): Likewise.
35713         (fmod_test): Likewise.
35714         (ilogb_test): Likewise.
35715         (lgamma_test): Likewise.
35716         (pow_test): Likewise.
35717         (remainder_test): Likewise.
35718         (sin_test): Likewise.
35719         (tan_test): Likewise.
35720         (yn_test): Likewise.
35721         (initialize): Set errno to 0.
35722         (main): Print number of errno tests.
35723         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35725 2013-04-29  Andreas Jaeger  <aj@suse.de>
35727         [BZ #15084]
35728         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35729         and RES_USEVC.
35731         [BZ #15085]
35732         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35733         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35734         unimplemented.
35736         [BZ #15380]
35737         * stdlib/random.c (__initstate): Return NULL if
35738         __initstate fails.
35740         [BZ #15086]
35741         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35742         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35743         RES_SNGLKUPREOP.
35745 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35749 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35751         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35752         of individual tests.
35753         (casin_test): Likewise.
35754         (casinh_test): Likewise.
35756 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35758         [BZ #15409]
35759         * math/s_catan.c (__catan): Handle arguments with large real or
35760         imaginary part separately without squaring.
35761         * math/s_catanf.c (__catanf): Likewise.
35762         * math/s_catanh.c (__catanh): Likewise.
35763         * math/s_catanhf.c (__catanhf): Likewise.
35764         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35765         and redefine.
35766         (__catanhl): Handle arguments with large real or imaginary part
35767         separately without squaring.
35768         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35769         and redefine.
35770         (__catanl): Handle arguments with large real or imaginary part
35771         separately without squaring.
35772         * math/libm-test.inc (catan_test): Add more tests.
35773         (catanh_test): Likewise.
35774         * sysdeps/i386/fpu/libm-test-ulps: Update.
35775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35777 2013-04-27  Andreas Jaeger  <aj@suse.de>
35779         [BZ #15007]
35780         * stdlib/stdlib.h: Update guards for qecvt.
35781         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35782         <stdlib.h>.
35784 2013-04-27  Allan McRae  <allan@archlinux.org>
35786         * sysdeps/i386/fpu/libm-test-ulps: Update.
35788 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35790         [BZ #15406]
35791         * math/s_catan.c: Include <float.h>.
35792         (__catan): Ensure underflow exception occurs for underflowed
35793         result.
35794         * math/s_catanf.c: Include <float.h>.
35795         (__catanf): Ensure underflow exception occurs for underflowed
35796         result.
35797         * math/s_catanh.c: Include <float.h>.
35798         (__catanh): Ensure underflow exception occurs for underflowed
35799         result.
35800         * math/s_catanhf.c: Include <float.h>.
35801         (__catanhf): Ensure underflow exception occurs for underflowed
35802         result.
35803         * math/s_catanhl.c: Include <float.h>.
35804         (__catanhl): Ensure underflow exception occurs for underflowed
35805         result.
35806         * math/s_catanl.c: Include <float.h>.
35807         (__catanl): Ensure underflow exception occurs for underflowed
35808         result.
35809         * math/libm-test.inc (catan_test): Add more tests.
35810         (catanh_test): Likewise.
35812         [BZ #15405]
35813         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35814         underflowed result.
35815         * math/s_ccoshf.c (__ccoshf): Likewise.
35816         * math/s_ccoshl.c (__ccoshl): Likewise.
35817         * math/s_csin.c (__csin): Likewise.
35818         * math/s_csinf.c (__csinf): Likewise.
35819         * math/s_csinh.c (__csinh): Likewise.
35820         * math/s_csinhf.c (__csinhf): Likewise.
35821         * math/s_csinhl.c (__csinhl): Likewise.
35822         * math/s_csinl.c (__csinl): Likewise.
35823         * math/libm-test.inc (ccos_test): Add more tests.
35824         (ccosh_test): Likewise.
35825         (csin_test): Likewise.
35826         (csinh_test): Likewise.
35828 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35830         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35831         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35832         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35833         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35834         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35835         powerpc/power5+/fpu folders.
35836         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35839 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35843 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35845         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35846         additions to variable.
35847         [$(config-machine) = x86_64] (modules-names): Likewise.
35848         ($(objpfx)tst-audit3): Remove dependency.
35849         ($(objpfx)tst-audit3.out): Likewise.
35850         ($(objpfx)tst-audit4): Likewise.
35851         ($(objpfx)tst-audit4.out): Likewise.
35852         ($(objpfx)tst-audit5): Likewise.
35853         ($(objpfx)tst-audit5.out): Likewise.
35854         ($(objpfx)tst-audit6): Likewise.
35855         ($(objpfx)tst-audit6.out): Likewise.
35856         ($(objpfx)tst-audit7): Likewise.
35857         ($(objpfx)tst-audit7.out): Likewise.
35858         (tst-audit3-ENV): Remove variable.
35859         (tst-audit4-ENV): Likewise.
35860         (tst-audit5-ENV): Likewise.
35861         (tst-audit6-ENV): Likewise.
35862         (tst-audit7-ENV): Likewise.
35863         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35864         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35865         addition to variable.
35866         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35867         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35868         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35869         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35870         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35871         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35872         tst-audit3, tst-audit4 and tst-audit5.
35873         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35874         tst-audit6 and tst-audit7.
35875         [$(subdir) = elf] (modules-names): Add audit modules for those
35876         tests.
35877         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35878         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35879         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35880         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35881         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35882         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35883         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35884         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35885         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35886         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35887         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35888         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35889         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35890         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35891         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35892         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35893         Likewise.
35894         [$(subdir) = elf && $(config-cflags-avx) = yes]
35895         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35896         [$(subdir) = elf && $(config-cflags-avx) = yes]
35897         (CFLAGS-tst-auditmod4a.c): Likewise.
35898         [$(subdir) = elf && $(config-cflags-avx) = yes]
35899         (CFLAGS-tst-auditmod4b.c): Likewise.
35900         [$(subdir) = elf && $(config-cflags-avx) = yes]
35901         (CFLAGS-tst-auditmod6b.c): Likewise.
35902         [$(subdir) = elf && $(config-cflags-avx) = yes]
35903         (CFLAGS-tst-auditmod6c.c): Likewise.
35904         [$(subdir) = elf && $(config-cflags-avx) = yes]
35905         (CFLAGS-tst-auditmod7b.c): Likewise.
35906         * elf/tst-audit3.c: Move to ...
35907         * sysdeps/x86_64/tst-audit3.c: ... here.
35908         * elf/tst-audit4.c: Move to ...
35909         * sysdeps/x86_64/tst-audit4.c: ... here.
35910         * elf/tst-audit5.c: Move to ...
35911         * sysdeps/x86_64/tst-audit5.c: ... here.
35912         * elf/tst-audit6.c: Move to ...
35913         * sysdeps/x86_64/tst-audit6.c: ... here.
35914         * elf/tst-audit7.c: Move to ...
35915         * sysdeps/x86_64/tst-audit7.c: ... here.
35916         * elf/tst-auditmod3a.c: Move to ...
35917         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35918         * elf/tst-auditmod3b.c: Move to ...
35919         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35920         * elf/tst-auditmod4a.c: Move to ...
35921         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35922         * elf/tst-auditmod4b.c: Move to ...
35923         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35924         * elf/tst-auditmod5a.c: Move to ...
35925         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35926         * elf/tst-auditmod5b.c: Move to ...
35927         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35928         * elf/tst-auditmod6a.c: Move to ...
35929         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35930         * elf/tst-auditmod6b.c: Move to ...
35931         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35932         * elf/tst-auditmod6c.c: Move to ...
35933         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35934         * elf/tst-auditmod7a.c: Move to ...
35935         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35936         * elf/tst-auditmod7b.c: Move to ...
35937         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35939 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35941         [BZ #15366]
35942         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35943         define unconditionally.
35944         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35945         define unconditionally.
35946         (INT8_C, INT16_C, etc.): Likewise.
35948 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35950         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35951         __ehdr_start with hidden visibility.
35953         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35955 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35957         * math/libm-test.inc (cos_test): Use accurate hex constants.
35958         (sincost_test): Likewise.
35960 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35962         * math/libm-test.inc (catan_test): Add more tests.
35963         (catanh_test): Likewise.
35965         * math/s_catanf.c (__catanf): Use suffixed floating-point
35966         constants.
35967         * math/s_catanhf.c (__catanhf): Likewise.
35968         * math/s_catanhl.c (__catanhl): Likewise.
35969         * math/s_catanl.c (__catanl): Likewise.
35971         [BZ #15394]
35972         * math/s_catan.c (__catan): Calculate imaginary part of result
35973         with log1p not log unless computing log of number close to 0.
35974         * math/s_catanf.c (__catanf): Likewise.
35975         * math/s_catanl.c (__catanl): Likewise.
35976         * math/s_catanh.c (__catanh): Calculate real part of result with
35977         log1p not log unless computing log of number close to 0.
35978         * math/s_catanhf.c (__catanhf): Likewise.
35979         * math/s_catanhl.c (__catanhl): Likewise.
35980         * math/libm-test.inc (catan_test): Add more tests.
35981         (catanh_test): Likewise.
35982         * sysdeps/i386/fpu/libm-test-ulps: Update.
35983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35985 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35987         * benchtests/Makefile: Mention files in which fast and slow
35988         paths of math functions are implemented.
35990 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35992         * sysdeps/posix/timespec_get.c: New file.
35994 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35996         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35997         POWER.
35998         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35999         for POWER.
36000         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36001         powerpc/power5/fpu folders.
36002         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36003         * benchtests/Makefile: Add modf testcase.
36004         * benchtests/bench-modf.c: New file: Benchmark test for mo
36006 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36008         [BZ #14888]
36009         * time/Makefile (tests): Add tst-strptime-whitespace.
36010         * time/strptime_l.c (get_number): Use ISSPACE.
36011         (__strptime_internal): Likewise.
36012         * time/tst-strptime-whitespace.c: New test case.
36014 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36016         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36017         member.
36018         (_nss_files_init): Set it here.
36020 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36022         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36023         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36024         unsigned.
36026 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36028         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36030 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36032         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36033         size just once.
36035 2013-04-21  David S. Miller  <davem@davemloft.net>
36037         * po/ru.po: Update Russion translation from translation project.
36039 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36041         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36042         and setfsgid.
36044 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36046         * configure.in: Remove i386 configure warning. Remove i386 case.
36047         * configure: Regenerate.
36048         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36049         Add example to error message.
36050         * sysdeps/i386/configure: Regenerate.
36052 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36054         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36055         slowtan.
36056         * benchtests/cos-inputs: New file.
36057         * benchtests/slowcos-inputs: New file.
36058         * benchtests/slowcos.c: New file.
36059         * benchtests/slowtan-inputs: New file.
36060         * benchtests/slowtan.c: New file.
36061         * benchtests/tan-inputs: New file.
36063 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36065         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36066         considered kosher.
36068 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36070         * benchtests/Makefile: Include cppflags-iterator.mk to add
36071         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36073         * Makefile.in (bench-clean): New target.
36074         * benchtests/Makefile (bench-clean): Likewise.
36076 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36078         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36080 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36082         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36084 2013-04-15  Andreas Schwab  <schwab@suse.de>
36086         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36087         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36088         * nscd/pwdcache.c (cache_addpw): Likewise.
36089         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36090         more than recsize.
36092 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36094         * benchtests/Makefile (bench): Write all output to
36095         bench-out.tmp together.
36097 2013-04-15  Andreas Schwab  <schwab@suse.de>
36099         * nscd/nscd.c (main): Don't fork again after closing files.
36101 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36103         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36105         * benchtests/Rules (bench-deps): Collect dependencies into a
36106         single variable.  Add Makefile to dependencies.
36107         ($(objpfx)bench-%.c): Depend on bench-deps.
36109 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36110             Xavier Roche  <roche+kml2@exalead.com>
36112         [BZ #15361]
36113         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36114         just that it's a file descriptor.
36115         * manual/llio.texi (Synchronizing AIO Operations): Update description
36116         for EBADF error from aio_fsync.
36118 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36120         * Rules (bench): Move target definition...
36121         * benchtests/Makefile: ... here.
36123 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36125         * math/libm-test.inc (cos_test): Fix PI/2 test.
36126         (sincos_test): Likewise.
36127         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36128         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36130 2013-04-11  Andreas Schwab  <schwab@suse.de>
36132         [BZ #13988]
36133         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36134         accept exponent character only when digits were seen.
36135         * stdio-common/Makefile (tests): Add bug26.
36136         * stdio-common/bug26.c: New file.
36138         [BZ #14293]
36139         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36140         non-freeable.
36142 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36144         * Makeconfig (rtld-prefix): Define built linker prefix.
36145         * Rules (run-bench): Use it.
36146         * math/Makefile (run-regen-ulps): Likewise.
36148         * Rules (bench): Remove eval.
36150 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36151             Roland McGrath  <roland@hack.frob.com>
36152             Ondrej Bilka  <neleai@seznam.cz>
36154         [BZ #15346]
36155         * time/getdate.c: Include ctype.h and alloca.h.
36156         (__getdate_r): Trim leading and trailing spaces of input.
36157         * time/tst-getdate.c (tests): Add tests with leading and
36158         trailing spaces.
36160 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36162         [BZ #14280]
36163         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36164         when computing value.
36166 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36168         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36169         Use testrun.sh to run libm tests.
36171         [BZ #15309]
36172         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36174 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36176         [BZ #15264]
36177         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36179 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36181         * Makefile.in (regen-ulps): New target.
36182         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36183         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36184         [ifneq (no,$(PERL)] (regen-ulps): New target.
36185         [ifeq (no,$(PERL)] (regen-ulps): New target.
36186         * math/libm-test.inc (ulps_file_name): Define.
36187         (output_dir): New variable.
36188         (options): Add "output-dir" option.
36189         (parse_opt): Handle 'o' case.
36190         (main): If output_dir is non-NULL use it as a prefix
36191         otherwise use "".
36192         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36194 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36196         [BZ #10060, #10062]
36197         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36198         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36199         fail configure if __sync_val_compare_and_swap is not inlined.
36200         * sysdeps/i386/configure: Regenerate.
36201         * configure.in: Build for i686 when configured for i386.
36202         * configure: Regenerate.
36203         * README: Remove i386 reference.
36205 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36207         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36208         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36210 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36212         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36213         (lmsnanval): New variables.
36214         (F): Add conversion tests.
36215         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36216         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36218         * stdio-common/tstdiomisc.c (F): Properly collect individual
36219         tests' results.
36221         [BZ #14686, #15336]
36222         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36223         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36224         Instead, use input NaN values or generate a qNaN by arithmetic
36225         operation.  Also fix bugs to comply with the standard.
36226         * math/libm-test.inc (remainder_test): Add more tests.
36228         [BZ #15335, #15342]
36229         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36230         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36231         input NaN values or generate a qNaN by arithmetic operation.
36233         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36234         unreachable code.
36236         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36237         definitions.
36239 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36241         [BZ #14478]
36242         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36243         underflowed result.
36244         * math/s_cexpf.c (__cexpf): Likewise.
36245         * math/s_cexpl.c (__cexpl): Likewise.
36246         * math/libm-test.inc (cexp_test): Add more tests.
36248 2013-04-03  Andreas Schwab  <schwab@suse.de>
36250         [BZ #15330]
36251         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36252         order arrays from heap if bigger than alloca cutoff.
36254 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36256         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36257         (SNAN_TESTS_double): Refer to GCC PR56831.
36258         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36259         GCC PR56828.
36261 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36263         * Rules (bench): Move bench.out after the run is complete.
36265         * Rules (bench): Echo currently running benchmark.
36267         * benchtests/Makefile (bench): Add atan and slowatan.
36268         * benchtests/atan-inputs: New file.
36269         * benchtests/slowatan-inputs: New file.
36270         * benchtests/slowatan.c: New file.
36272         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36273         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36274         its value.
36276         [BZ #15305]
36277         * sysdeps/unix/sysv/linux/kernel-features.h
36278         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36279         __ASSUME_XFS_RESTRICTED_CHOWN.
36280         * sysdeps/unix/sysv/linux/pathconf.c
36281         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36282         Save and restore errno.
36284 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36286         [BZ #15327]
36287         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36288         arguments using __kernel_casinh.
36289         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36290         arguments using __kernel_casinhf.
36291         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36292         arguments using __kernel_casinhl.
36293         * math/libm-test.inc (cacosh_test): Add more tests.
36294         * sysdeps/i386/fpu/libm-test-ulps: Update.
36295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36297 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36299         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36300         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36302         * bench/Makefile (bench): Add sin and slowsin.
36303         * benchtests/sin-inputs: New file.
36304         * benchtests/slowsin-inputs: New file.
36305         * benchtests/slowsin.c: New file.
36307         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36308         (bench): Add slowexp and slowpow.
36309         (exp-ITER): Increase iterations.
36310         (pow-ITER): Likewise.
36311         * benchtests/exp-inputs: Change input.
36312         * benchtests/pow-inputs: Likewise.
36313         * benchtests/slowexp-inputs: New file.
36314         * benchtests/slowexp.c: New file.
36315         * benchtests/slowpow-inputs: New file.
36316         * benchtests/slowpow.c: New file.
36318 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36320         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36321         instructions.
36322         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36323         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36324         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36325         * benchtests/Makefile: Add rint benchtest.
36326         * benchtests/rint-inputs: Input for rint benchtest.
36328 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36330         * Versions.def (libm): Add GLIBC_2.18.
36331         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36332         hidden libm prototypes.
36333         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36334         * math/Makefile (libm-calls): Add s_issignaling.
36335         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36336         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36337         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36338         declaration.
36339         * math/math.h [__USE_GNU] (issignaling): New macro.
36340         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36341         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36342         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36343         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36344         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36345         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36346         * manual/arith.texi (issignaling): New section.
36347         * manual/libm-err-tab.pl (@all_functions): Update comment.
36348         * math/gen-libm-test.pl (parse_args): Apply special handling for
36349         issignaling.
36350         * math/libm-test.inc (print_float, issignaling_test): New
36351         functions.
36352         (check_float_internal): Add issignaling checks.
36353         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36354         default definition.
36355         * sysdeps/powerpc/math-tests.h: New file.
36356         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36357         tests.
36358         * math/test-snan.c (TEST_FUNC): Likewise.
36360 2013-03-30  David S. Miller  <davem@davemloft.net>
36362         * po/de.po: Update from translation team.
36364 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36366         [BZ #10357]
36367         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36368         imaginary part less than 1.0 and real part less than 0.5
36369         specially.
36370         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36371         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36372         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36373         (cacos_test): Add more tests.
36374         (casin_test): Likewise.
36375         (casinh_test): Likewise.
36376         * sysdeps/i386/fpu/libm-test-ulps: Update.
36377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36379 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36381         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36382         ONE with its value.
36384         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36385         (__pow_mp): Replace ONE and MONE with their values.
36386         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36387         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36388         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36389         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36390         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36391         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36393         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36395         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36396         (__pow_mp): Replace ZERO and MZERO with their values.
36397         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36398         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36399         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36400         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36401         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36402         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36403         (__sqr): Likewise.
36405         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36407         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36409 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36411         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36412         Declare with __attribute__ ((weak)).
36413         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36414         Call __call_tls_dtors only if it's not NULL.
36416 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36418         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36419         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36420         magic __ehdr_start linker symbol if it's defined.
36421         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36422         them up here if it was already done.
36424         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36425         (_dl_aux_init): Use const in cast when setting it.
36426         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36427         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36428         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36430         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36431         Declare them here.
36432         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36433         * csu/libc-tls.c: Nor here.
36434         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36436         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36437         (__libc_message): Never call vsyslog.
36439 2013-03-28  Alan Modra  <amodra@gmail.com>
36441         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36442         Define as empty.
36443         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36444         Likewise.
36446 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36448         [BZ #15214]
36449         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36450         underflow.
36451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36453 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36455         [BZ #15304]
36456         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36457         Don't add gid passed as argument.
36459         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36461 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36463         [BZ #15307]
36464         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36465         imaginary part between 1.0 and 1.5 and real part less than 0.5
36466         specially.
36467         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36468         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36469         * math/libm-test.inc (cacos_test): Add more tests.
36470         (casin_test): Likewise.
36471         (casinh_test): Likewise.
36472         * sysdeps/i386/fpu/libm-test-ulps: Update.
36473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36475 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36477         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36478         constants.
36479         (norm): Likewise.
36480         (denorm): Likewise.
36481         (__dbl_mp): Likewise.
36482         (add_magnitudes): Likewise.
36483         (sub_magnitudes): Likewise.
36484         (__add): Likewise.
36485         (__sub): Likewise.
36486         (__mul): Likewise.
36487         (__sqr): Likewise.
36488         (__inv): Likewise.
36489         (__dvd): Likewise.
36491         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36492         commented code.
36493         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36494         (__dubcos): Likewise.
36495         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36496         (__ieee754_acos): Likewise.
36497         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36498         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36499         (__exp1): Likewise.
36500         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36501         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36502         (log1): Likewise.
36503         (my_log2): Likewise.
36504         (checkint): Likewise.
36505         * sysdeps/ieee754/dbl-64/e_remainder.c
36506         (__ieee754_remainder): Likewise.
36507         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36508         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36509         (bsloww): Likewise.
36510         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36512         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36513         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36514         MANTISSA_STORE_T to store computations on mantissa.  Use
36515         macros for rounding and division.
36516         (denorm): Likewise.
36517         (__dbl_mp): Likewise.
36518         (add_magnitudes): Likewise.
36519         (sub_magnitudes): Likewise.
36520         (__mul): Likewise.
36521         (__sqr): Likewise.
36522         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36523         powers of two in terms of TWOPOW macro.
36524         (mp_no): Make type of mantissa as MANTISSA_T.
36525         [!RADIXI]: Define RADIXI.
36526         [!TWO52]: Define TWO52.
36527         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36529 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36531         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36532         llroundl symbol when building for PPC32.
36534 2013-03-24  Mark H Weaver  <mhw@netris.org>
36536         * manual/arith.texi (Normalization Functions): Fix prototypes for
36537         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36539 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36541         [BZ #13889]
36542         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36543         high value to check if expl overflow.
36544         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36545         to check for underflow and overflow.
36546         * math/libm-test.inc: Add exp test.
36548 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36550         [BZ #11120]
36551         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36552         with NOT_IN_libc.
36554 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36556         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36557         symbol.
36559 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36561         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36562         wrap blocks consisting of several statements.
36564         * sysdeps/generic/math-tests.h: New file.
36565         * sysdeps/i386/fpu/math-tests.h: Likewise.
36566         * math/test-snan.c: Include it.
36567         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36569 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36571         [BZ #15285]
36572         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36573         (__ieee754_j0l): Do not improve calculations using cos of twice
36574         input for inputs above LDBL_MAX / 2.0L.
36575         (__ieee754_y0l): Likewise.
36576         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36577         (__ieee754_j1l): Do not improve calculations using cos of twice
36578         input for inputs above LDBL_MAX / 2.0L.
36579         (__ieee754_y1l): Likewise.
36580         * math/libm-test.inc (j0_test): Add another test.
36581         (j1_test): Likewise.
36582         (y0_test): Likewise.
36583         (y1_test): Likewise.
36584         * sysdeps/i386/fpu/libm-test-ulps: Update.
36586 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36588         * Rules ($(objpfx)bench-%.c): Include code from a C source
36589         file.
36591 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36593         [BZ #15287]
36594         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36595         imaginary part 1.0 and real part less than 0.5 specially.
36596         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36597         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36598         * math/libm-test.inc (cacos_test): Add more tests.
36599         (casin_test): Likewise.
36600         (casinh_test): Likewise.
36601         * sysdeps/i386/fpu/libm-test-ulps: Update.
36602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36604 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36606         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36607         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36609 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36611         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36612         * config.make.in (config-cflags-sse4): Remove variable.
36613         (config-cflags-avx): Likewise.
36614         (config-cflags-sse2avx): Likewise.
36615         (config-cflags-novzeroupper): Likewise.
36616         (config-asflags-i686): Likewise.
36617         (have-mfma4): Likewise.
36618         (have-as-vis3): Likewise.
36619         (MIG): Likewise.
36620         * configure.in (MIG): Do not AC_SUBST.
36621         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36622         (libc_cv_cc_sse4): Do not AC_SUBST.
36623         (libc_cv_cc_avx): Likewise.
36624         (libc_cv_cc_sse2avx): Likewise.
36625         (libc_cv_cc_novzeroupper): Likewise.
36626         (libc_cv_cc_fma4): Likewise.
36627         (libc_cv_as_i686): Likewise.
36628         (libc_cv_sparc_as_vis3): Likewise.
36629         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36630         LIBC_CONFIG_VAR.
36631         (config-asflags-i686): Likewise.
36632         (config-cflags-avx): Likewise.
36633         (config-cflags-sse2avx): Likewise.
36634         (have-mfma4): Likewise.
36635         (config-cflags-novzeroupper): Likewise.
36636         * sysdeps/mach/configure.in (MIG): Likewise.
36637         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36638         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36639         LIBC_CONFIG_VAR.
36640         (config-cflags-avx): Likewise.
36641         (config-cflags-sse2avx): Likewise.
36642         (have-mfma4): Likewise.
36643         (config-cflags-novzeroupper): Likewise.
36644         * configure: Regenerated.
36645         * sysdeps/i386/configure: Likewise.
36646         * sysdeps/mach/configure: Likewise.
36647         * sysdeps/sparc/configure: Likewise.
36648         * sysdeps/x86_64/configure: Likewise.
36650 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36652         [BZ #14812]
36653         * locale/programs/localedef.c (options): Put N_ translation marker
36654         on argument names, not just descriptions.
36656 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36658         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36660 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36662         [BZ #14176]
36663         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36665 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36667         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36668         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36669         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36670         [!BEFORE_ABORT] (before_abort): New function.
36671         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36672         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36673         (writev_for_fatal): New function.
36674         (WRITEV_FOR_FATAL): New macro; call that.
36675         (backtrace_and_maps): New function.
36676         (BEFORE_ABORT): New macro; call that.
36677         (struct str_list): Type removed.
36678         (__libc_message, __libc_fatal): Functions removed.
36679         Include <sysdeps/posix/libc_fatal.c> instead.
36681 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36683         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36684         constants.
36685         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36686         double constants.
36688 2013-03-19  Andreas Schwab  <schwab@suse.de>
36690         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36691         * sysdeps/gnu/configure: Regenerate.
36693         * configure.in: Substitute libc_cv_rtlddir.
36694         * configure: Regenerate.
36695         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36696         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36697         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36698         * elf/Makefile (install-others, CFLAGS-interp.c)
36699         (ldso_install, common-ldd-rewrite): Likewise.
36700         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36701         $(inst_slibdir)/$(rtld-installed-name).
36702         * scripts/rellns-sh: Add -p option.
36703         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36704         for source.
36706 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36708         * manual/nptl.texi: Renamed to ...
36709         * manual/threads.texi: ... this.
36710         * manual/Makefile (chapters): Update.
36712 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36714         [BZ #14812]
36715         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36716         on argument names, not just descriptions.
36717         * malloc/memusagestat.c (options): Likewise.
36718         * nss/getent.c (options): Likewise.
36720 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36722         [BZ #14812]
36723         * iconv/iconv_prog.c (options): Put N_ translation marker
36724         on argument names, not just descriptions.
36725         * iconv/iconvconfig.c (options): Likewise.
36727 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36729         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36730         implementation which is faster on all x86_64 architectures.
36731         Tested on AMD, Intel Nehalem, SNB, IVB.
36732         * sysdeps/x86_64/strnlen.S: Likewise.
36734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36735         Remove all multiarch strlen and strnlen versions.
36736         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36737         Remove strlen and strnlen related parts.
36739         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36740         Inline strlen part.
36741         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36743         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36744         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36745         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36746         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36747         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36748         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36750 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36752         * manual/memory.texi (Malloc Tunable Parameters):
36753         Sort parameters alphabetically. Add comments for missing entries.
36755 2013-03-17  David S. Miller  <davem@davemloft.net>
36757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36759 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36761         [BZ #15283]
36762         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36763         for arguments at most half maximum finite value.
36764         * math/libm-test.inc (j0_test): Add more tests.
36765         (j1_test): Likewise.
36766         (y0_test): Likewise.
36767         (y1_test): Likewise.
36768         * sysdeps/i386/fpu/libm-test-ulps: Update.
36769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36771         [BZ #14155]
36772         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36773         1 / x and functions P and Q for arguments above 0x1p256L.
36774         (__ieee754_y0l): Likewise.
36775         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36776         (__ieee754_y1l): Likewise.
36777         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36778         (j1_test): Likewise.
36779         (y0_test): Likewise.
36780         (y1_test): Likewise.
36782 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36784         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36785         variable.
36787 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36789         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36790         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36791         zero since it's initialized to EXEC_PAGESIZE.
36793         * sysdeps/unix/sysv/linux/ldsodefs.h
36794         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36795         * sysdeps/generic/ldsodefs.h: ... here.
36797 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36799         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36801         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36802         math/test-snan.c.
36803         * math/test-snan.c: Renamed from
36804         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36805         * math/Makefile (tests): Add test-snan.
36806         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36807         test-powerpc-snan.
36809         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36810         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36811         functions.
36812         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36813         __builtin_nan family of functions.
36814         * math/libm-test.inc (initialize): Initialize qnan_value with
36815         __builtin_nan family of functions.
36816         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36817         Remove variables.
36818         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36819         Remove functions.
36820         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36821         storage class.  Initialize qNaN_var and sNaN_var with
36822         __builtin_nan and __builtin_nans families of functions,
36823         respectively.
36825         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36826         (sqrt_test): Remove duplicate test with qNaN input.
36827         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36828         (round_test, signbit_test, significand_test): Note missing +/-Inf
36829         as well as qNaN tests.
36831         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36832         qNaN_var.  Fix a few strings, too.
36833         * math/libm-test.inc (nan_value): Rename to qnan_value.
36834         * math/gen-libm-test.pl (%beautify): Adjust to that.
36835         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36836         * math/test-misc.c (main): Likewise.
36837         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36838         to __qnan_bytes, and __qnan_union, respectively.
36839         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36840         Likewise.
36841         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36842         and lqnanval, respectively.
36843         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36844         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36845         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36846         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36848         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36849         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36850         doubles.
36852         * math/test-misc.c (main): Fix copy'n'pastos.
36853         * misc/tst-efgcvt.c (special): Likewise.
36855         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36856         Remove declarations.
36858 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36860         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36861         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36862         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36863         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36865 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36867         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36868         macro to return vdso values correctly in IFUNC implementations.
36869         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36870         Optimization by using IFUNC.
36872 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36873             Richard Henderson  <rth@redhat.com>
36874             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36876         * Makefile.in (bench): New target.
36877         * NEWS: Mention the benchmark framework.
36878         * Rules (bench): Likewise.
36879         (binaries-bench): Generate binaries for functions to
36880         benchmark.
36881         * benchtests/Makefile: New makefile for benchmark tests.
36882         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36883         programs.
36884         * benchtests/exp-inputs: New input file for EXP function.
36885         * benchtests/pow-inputs: New input file for POW function.
36886         * scripts/bench.pl: New script to generate source files for
36887         benchmark programs.
36889 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36891         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36892         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36893         computations on mantissa.  Use macros for rounding and
36894         division.
36895         (denorm): Likewise.
36896         (__dbl_mp): Likewise.
36897         (add_magnitudes): Likewise.
36898         (sub_magnitudes): Likewise.
36899         (__mul): Likewise.
36900         (__sqr): Likewise.
36901         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36902         powers of two in terms of TWOPOW macro.
36903         (mp_no): Make type of mantissa as MANTISSA_T.
36904         [!RADIXI]: Define RADIXI.
36905         [!TWO52]: Define TWO52.
36906         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36908         * manual/nptl.texi (cindex): Modify threads to pthreads.
36910 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36912         * sysdeps/x86_64/preconfigure: Regenerated.
36914 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36916         [BZ #14155]
36917         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36918         0x1p28 and above.
36919         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36920         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36921         0x1p28 and above.
36922         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36923         * math/libm-test.inc (j0_test): Do not allow one spurious
36924         underflow exception.
36925         (y1_test): Likewise.
36927 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36929         * manual/Makefile (chapters): Add nptl.
36930         * manual/debug.texi (Debugging Support): Add link to Threads
36931         chapter.
36932         * manual/nptl.texi: New file.
36934         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36936 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36938         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36939         for non-NULL pointer before the memory validity test. Pointed
36940         out by Holger Brunck <holger.brunck@keymile.com>.
36942 2013-03-13  Andreas Schwab  <schwab@suse.de>
36944         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36945         instead of .os.
36947 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36949         * timezone/zic.c: Update from tzcode 2013b.
36951 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36953         * manual/install.texi (Configuring and compiling):
36954         Mention i686 and i586.
36955         * INSTALL: Regenerate.
36957 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36959         * sysdeps/init_array/elf-init.c: New file.
36960         * csu/elf-init.c
36961         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36962         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36964         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36965         __gmon_start__ as global, but as static with a .preinit_array pointer.
36966         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36967         * sysdeps/init_array/crti.S: New file, empty except for comments.
36968         * sysdeps/init_array/crtn.S: Likewise.
36970 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36972         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36973         definining bcopy.
36974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36975         Remove Prefer_SSE_for_memop.
36976         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36977         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36978         HAS_PREFER_SSE_FOR_MEMOP.
36979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36980         memset-x86-64.
36981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36982         Remove bzero, memset ifunc support.
36983         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36984         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36985         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36986         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36988 2013-03-11  Andreas Schwab  <schwab@suse.de>
36990         [BZ #15234]
36991         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36992         by SHLIB_COMPAT.
36993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36994         (GLIBC_2.16): Remove pthread_atfork.
36996 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36998         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36999         (ptestcases.h): Likewise.
37001 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37003         * Makeconfig ($(common-objpfx)config.status): Depend on
37004         sysdeps/*/preconfigure{,.in} too.
37006 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37008         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37009         (__free_hook): Use void * instead of __malloc_ptr_t.
37010         (__malloc_hook): Likewise.
37011         (__realloc_hook): Likewise.
37012         (__memalign_hook): Likewise.
37013         (__after_morecore_hook): Likewise.
37014         * malloc/arena.c (save_malloc_hook): Likewise.
37015         (save_free_hook): Likewise.
37016         * malloc/hooks.c (malloc_hook_ini): Likewise.
37017         (realloc_hook_ini): Likewise.
37018         (memalign_hook_ini): Likewise.
37019         * malloc/malloc.c (malloc_hook_ini): Likewise.
37020         (realloc_hook_ini): Likewise.
37021         (memalign_hook_ini): Likewise.
37022         (__free_hook): Likewise.
37023         (__malloc_hook): Likewise.
37024         (__realloc_hook): Likewise.
37025         (__memalign_hook): Likewise.
37026         (__libc_malloc): Likewise.
37027         (__libc_free): Likewise.
37028         (__libc_realloc): Likewise.
37029         (__libc_memalign): Likewise.
37030         (__libc_valloc): Likewise.
37031         (__libc_pvalloc): Likewise.
37032         (__libc_calloc): Likewise.
37033         (__posix_memalign): Likewise.
37034         * malloc/morecore.c (__sbrk): Likewise.
37035         (__default_morecore): Likewise.
37037         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37039         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37040         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37041         __malloc_ptrdiff_t.
37043         * malloc/malloc.h (__malloc_size_t): Remove macro.
37044         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37045         __malloc_size_t.
37046         (old_memalign_hook): Likewise.
37047         (old_realloc_hook): Likewise.
37048         (struct hdr): Likewise.
37049         (flood): Likewise.
37050         (mallochook): Likewise.
37051         (memalignhook): Likewise.
37052         (reallochook): Likewise.
37053         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37054         (tr_old_realloc_hook): Likewise.
37055         (tr_old_memalign_hook): Likewise.
37056         (tr_mallochook): Likewise.
37057         (tr_reallochook): Likewise.
37058         (tr_memalignhook): Likewise.
37060 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37062         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37063         default_ldbl_pack and using as default implementation.
37064         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37065         implementation.
37066         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37067         redundant definition.
37068         (ldbl_insert_mantissa): Likewise.
37069         (ldbl_canonicalize): Likewise.
37070         (ldbl_nearbyint): Likewise.
37071         (ldbl_pack): Rename to ldbl_pack_ppc.
37072         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37073         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37074         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37076 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37078         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37079         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37080         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37081         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37082         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37083         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37084         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37085         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37087 2013-03-07  Andreas Jaeger  <aj@suse.de>
37089         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37090         bits/mman-linux.h.
37092 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37094         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37095         Include mpa.h and declare __MPEXP.
37096         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37097         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37098         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37099         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37100         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37101         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37102         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37104         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37105         (__slowpow): Use long double EXPL and LOGL functions to
37106         compute POW.
37107         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37108         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37109         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37110         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37111         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37112         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37114         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37115         intermediate variable to calculate exponent.
37116         (__sqr): Likewise.
37117         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37118         Likewise.
37119         (__sqr): Likewise.
37121         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37122         [!NO__SQR]: Define __sqr.
37123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37124         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37125         sysdeps/ieee754/dbl-64/mpa.c.
37126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37128         [BZ #12723]
37129         * posix/Makefile (tests): Add tst-pathconf.
37130         * posix/tst-pathconf.c: New test case.
37131         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37132         _PC_PIPE_BUF.
37133         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37135 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37137         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37139 2013-03-06  Andreas Jaeger  <aj@suse.de>
37141         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37142         definition via __MAP_ANONYMOUS.
37144         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37145         it's not part of Linux headers.
37147         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37148         (MAP_HUGE_MASK): Define.
37150         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37151         Define.
37152         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37153         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37154         Define.
37155         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37156         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37157         Define.
37158         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37159         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37160         Define.
37161         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37163         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37164         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37165         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37166         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37167         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37168         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37170         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37171         Handle f2fs.
37173         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37174         Handle f2fs and efivarfs.
37176         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37177         f2fs.
37179         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37180         (EFIVARFS_MAGIC): Add.
37181         (F2FS_LINK_MAX): Add.
37183 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37185         * stdio-common/vfprintf.c: Replace __builtin_expect with
37186         __glibc_unlikely.
37188 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37190         [BZ #13550]
37191         * sysdeps/generic/bp-sym.h: Remove file.
37192         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37193         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37194         <bp-sym.h> and <bp-asm.h>.
37195         (__longjmp): Don't use BP_SYM.
37196         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37197         and <bp-asm.h>.
37198         (memcpy): Don't use BP_SYM.
37199         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37200         <bp-sym.h> and <bp-asm.h>.
37201         (memcpy): Don't use BP_SYM.
37202         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37203         <bp-asm.h>.
37204         (memcpy): Don't use BP_SYM.
37205         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37206         <bp-asm.h>.
37207         (memset): Don't use BP_SYM.
37208         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37209         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37210         (__bzero): Don't use BP_SYM.
37211         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37212         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37213         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37214         <bp-sym.h> and <bp-asm.h>.
37215         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37216         pointers.
37217         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37218         <bp-sym.h> and <bp-asm.h>.
37219         (memcpy): Don't use BP_SYM.
37220         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37221         <bp-sym.h> and <bp-asm.h>.
37222         (memset): Don't use BP_SYM.
37223         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37224         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37225         (__bzero): Don't use BP_SYM.
37226         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37227         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37228         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37229         <bp-sym.h> and <bp-asm.h>.
37230         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37231         pointers.
37232         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37233         <bp-sym.h> and <bp-asm.h>.
37234         (memcpy): Don't use BP_SYM.
37235         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37236         <bp-sym.h> and <bp-asm.h>.
37237         (memset): Don't use BP_SYM.
37238         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37239         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37240         (__bzero): Don't use BP_SYM.
37241         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37242         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37243         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37244         <bp-sym.h> and <bp-asm.h>.
37245         (__memchr): Don't use BP_SYM.
37246         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37247         <bp-sym.h> and <bp-asm.h>.
37248         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37249         pointers.
37250         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37251         <bp-sym.h> and <bp-asm.h>.
37252         (memcpy): Don't use BP_SYM.
37253         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37254         <bp-sym.h> and <bp-asm.h>.
37255         (__mempcpy): Don't use BP_SYM.
37256         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37257         <bp-sym.h> and <bp-asm.h>.
37258         (__memrchr): Don't use BP_SYM.
37259         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37260         <bp-sym.h> and <bp-asm.h>.
37261         (memset): Don't use BP_SYM.
37262         (__bzero): Likewise.
37263         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37264         <bp-sym.h> and <bp-asm.h>.
37265         (__rawmemchr): Don't use BP_SYM.
37266         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37267         <bp-sym.h> and <bp-asm.h>.
37268         (__STRCMP): Don't use BP_SYM.
37269         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37270         <bp-sym.h> and <bp-asm.h>.
37271         (strchr): Don't use BP_SYM.
37272         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37273         <bp-sym.h> and <bp-asm.h>.
37274         (__strchrnul): Don't use BP_SYM.
37275         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37276         <bp-sym.h> and <bp-asm.h>.
37277         (strlen): Don't use BP_SYM.
37278         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37279         <bp-sym.h> and <bp-asm.h>.
37280         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37281         pointers.
37282         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37283         <bp-sym.h> and <bp-asm.h>.
37284         (__strnlen): Don't use BP_SYM.
37285         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37286         <bp-sym.h> and <bp-asm.h>.
37287         (__GI__setjmp): Don't use BP_SYM.
37288         (_setjmp): Likewise.
37289         (__sigsetjmp): Likewise.
37290         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37291         (L(start_addresses)): Don't use BP_SYM.
37292         (_start): Likewise.
37293         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37294         <bp-asm.h>.
37295         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37296         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37297         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37298         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37299         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37300         <bp-asm.h>.
37301         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37302         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37303         about bounded pointers.
37304         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37305         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37306         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37307         <bp-asm.h>.
37308         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37309         about bounded pointers.  Remove GKM FIXME comments.
37310         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37311         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37312         <bp-asm.h>.
37313         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37314         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37315         Remove GKM FIXME comments.
37316         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37317         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37318         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37319         <bp-asm.h>.
37320         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37321         about bounded pointers.  Remove GKM FIXME comment.
37322         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37323         and <bp-asm.h>.
37324         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37325         pointers.
37326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37327         <bp-sym.h> and <bp-asm.h>.
37328         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37330         <bp-sym.h> and <bp-asm.h>.
37331         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37332         comment.
37334 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37336         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37337         call free(NULL).
37339 2013-03-05  David S. Miller  <davem@davemloft.net>
37341         * po/es.po: Update from translation team.
37343 2013-03-05  Andreas Jaeger  <aj@suse.de>
37345         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37346         <bits/mman-linux.h>.
37347         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37348         is fine.
37349         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37350         <bits/mman-linux.h> to end of file.
37351         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37352         is fine.
37353         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37354         <bits/mman-linux.h> to end of file.
37355         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37356         is fine.
37357         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37358         <bits/mman-linux.h> to end of file.
37360         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37361         (MCL_CURRENT, MCL_FUTURE): Define here.
37363 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37365         [BZ #15232]
37366         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37367         attribute_hidden.
37368         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37370 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37372         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37373         fourth parameter needed for rt_sigprocmask syscall.
37374         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37375         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37376         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37377         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37378         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37379         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37381 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37383         [BZ #13550]
37384         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37385         comment about bounded pointers.
37386         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37387         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37389 2013-03-04  Andreas Jaeger  <aj@suse.de>
37391         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37392         common definitions.
37394         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37395         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37396         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37397         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37398         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37399         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37401 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37403         [BZ #15055]
37404         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37405         __ieee754_sqrl instead of __sqrl.
37407 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37409         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37410         * sysdeps/powerpc/fpu_control.h: ... here.
37411         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37412         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37413         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37414         * sysdeps/powerpc/bits/mathinline.h: ... here.
37416 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37418         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37419         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37420         to just [NEED_DL_SYSINFO_DSO].
37421         * elf/dl-support.c: Likewise.
37422         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37423         * elf/rtld.c (dl_main): Likewise.
37424         * elf/setup-vdso.h (setup_vdso): Likewise.
37425         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37426         * sysdeps/unix/sysv/linux/dl-sysdep.c
37427         (_dl_discover_osversion): Likewise.
37429 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37431         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37432         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37434 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37436         * NEWS: Mention libm performance improvements and non-x86 PI
37437         futex support.
37439         * csu/libc-start.c (__pthread_initialize_minimal): Change
37440         function arguments.
37441         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37443 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37445         [BZ #13550]
37446         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37447         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37448         <bp-sym.h> and <bp-asm.h>.
37449         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37450         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37451         and <bp-asm.h>.
37452         (memcpy): Don't use BP_SYM.
37453         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37454         <bp-asm.h>.
37455         (__mpn_add_n): Don't use BP_SYM.
37456         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37457         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37458         and <bp-asm.h>.
37459         (__mpn_addmul_1): Don't use BP_SYM.
37460         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37461         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37462         <bp-sym.h>.
37463         (_setjmp): Don't use BP_SYM.
37464         (__novmx_setjmp): Likewise.
37465         (__GI__setjmp): Likewise.
37466         (__vmx_setjmp): Likewise.
37467         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37468         <bp-sym.h>.
37469         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37470         (__bzero): Don't use BP_SYM.
37471         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37472         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37473         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37474         <bp-sym.h> and <bp-asm.h>.
37475         (memcpy): Don't use BP_SYM.
37476         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37477         <bp-sym.h> and <bp-asm.h>.
37478         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37479         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37480         <bp-sym.h> and <bp-asm.h>.
37481         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37482         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37483         <bp-asm.h>.
37484         (__mpn_lshift): Don't use BP_SYM.
37485         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37486         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37487         <bp-asm.h>.
37488         (memset): Don't use BP_SYM.
37489         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37490         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37491         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37492         <bp-asm.h>.
37493         (__mpn_mul_1): Don't use BP_SYM.
37494         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37495         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37496         <bp-sym.h> and <bp-asm.h>.
37497         (memcmp): Don't use BP_SYM.
37498         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37499         <bp-sym.h> and <bp-asm.h>.
37500         (memcpy): Don't use BP_SYM.
37501         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37502         <bp-sym.h> and <bp-asm.h>.
37503         (memset): Don't use BP_SYM.
37504         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37505         <bp-sym.h> and <bp-asm.h>.
37506         (strncmp): Don't use BP_SYM.
37507         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37508         <bp-sym.h> and <bp-asm.h>.
37509         (memcpy): Don't use BP_SYM.
37510         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37511         <bp-sym.h> and <bp-asm.h>.
37512         (memset): Don't use BP_SYM.
37513         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37514         <bp-sym.h> and <bp-asm.h>.
37515         (__memchr): Don't use BP_SYM.
37516         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37517         <bp-sym.h> and <bp-asm.h>.
37518         (memcmp): Don't use BP_SYM.
37519         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37520         <bp-sym.h> and <bp-asm.h>.
37521         (memcpy): Don't use BP_SYM.
37522         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37523         <bp-sym.h> and <bp-asm.h>.
37524         (__mempcpy): Don't use BP_SYM.
37525         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37526         <bp-sym.h> and <bp-asm.h>.
37527         (__memrchr): Don't use BP_SYM.
37528         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37529         <bp-sym.h> and <bp-asm.h>.
37530         (memset): Don't use BP_SYM.
37531         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37532         <bp-sym.h> and <bp-asm.h>.
37533         (__rawmemchr): Don't use BP_SYM.
37534         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37535         <bp-sym.h> and <bp-asm.h>.
37536         (__STRCMP): Don't use BP_SYM.
37537         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37538         <bp-sym.h> and <bp-asm.h>.
37539         (strchr): Don't use BP_SYM.
37540         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37541         <bp-sym.h> and <bp-asm.h>.
37542         (__strchrnul): Don't use BP_SYM.
37543         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37544         <bp-sym.h> and <bp-asm.h>.
37545         (strlen): Don't use BP_SYM.
37546         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37547         <bp-sym.h> and <bp-asm.h>.
37548         (strncmp): Don't use BP_SYM.
37549         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37550         <bp-sym.h> and <bp-asm.h>.
37551         (__strnlen): Don't use BP_SYM.
37552         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37553         <bp-asm.h>.
37554         (__mpn_rshift): Don't use BP_SYM.
37555         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37556         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37557         <bp-sym.h> and <bp-asm.h>.
37558         (__sigsetjmp): Don't use BP_SYM.
37559         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37560         (L(start_addresses)): Don't use BP_SYM.
37561         (_start): Likewise.
37562         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37563         <bp-asm.h>.
37564         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37565         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37566         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37567         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37568         <bp-asm.h>.
37569         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37570         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37571         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37572         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37573         <bp-asm.h>.
37574         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37575         comments.
37576         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37577         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37578         <bp-asm.h>.
37579         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37580         FIXME comments.
37581         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37582         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37583         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37584         <bp-asm.h>.
37585         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37586         comment.
37587         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37588         and <bp-asm.h>.
37589         (strncmp): Don't use BP_SYM,
37590         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37591         <bp-asm.h>.
37592         (__mpn_sub_n): Don't use BP_SYM.
37593         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37594         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37595         and <bp-asm.h>.
37596         (__mpn_submul_1): Don't use BP_SYM.
37597         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37599         <bp-sym.h> and <bp-asm.h>.
37600         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37602         <bp-sym.h> and <bp-asm.h>.
37603         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37604         comment.
37606 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37608         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37609         Use ZK to minimize writes to Z.
37610         (sub_magnitudes): Simplify code a bit.
37611         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37612         Use ZK to minimize writes to Z.
37613         (sub_magnitudes): Simplify code a bit.
37615 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37617         * csu/gmon-start.c: Add special exception to license text.
37619 2013-02-27  Richard Henderson  <rth@redhat.com>
37621         * scripts/config.guess: Update from config.git.
37622         * scripts/config.sub: Likewise.
37624 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37626         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37628         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37630         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37632         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37634         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37636 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37638         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37639         [$(build-shared = yes].
37641 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37643         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37644         (__mul): Reduce iterations for calculating mantissa.
37646         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37647         MPTWO.
37648         (__mpranred): Likewise.
37650         [BZ #15160]
37651         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37652         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37654 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37656         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37657         Define __attribute__.
37659 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37661         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37662         unused.
37663         * posix/regex_internal.h (__attribute): Remove.
37664         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37665         (re_string_context_at): Likewise.
37666         (bitset_not): Use __attribute__ and mark function as possibly
37667         unused.
37668         (bitset_merge): Likewise.
37669         (bitset_mask): Likewise.
37670         (re_string_char_size_at): Likewise.
37671         (re_string_wchar_at): Likewise.
37672         (re_string_elem_size_at): Likewise.
37674 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37676         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37677         code.
37678         (cc32): Likewise.
37680         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37681         (__acr): Likewise.
37682         (__cpy): Likewise.
37683         (norm): Likewise.
37684         (denorm): Likewise.
37685         (__dbl_mp): Likewise.
37686         (add_magnitudes): Likewise.
37687         (sub_magnitudes): Likewise.
37688         (__mul): Likewise.
37689         (__inv): Likewise.
37691         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37692         style.
37694         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37695         style.
37697         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37698         code.
37700         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37701         up changes with default code.
37702         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37703         Likewise.
37705 2013-02-24  Allan McRae  <allan@archlinux.org>
37707         * manual/socket.texi (The Internet Namespace): Order menu items
37708         to match that in the file.
37710         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37711         node listing of the info page menu.
37713 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37715         [BZ #13550]
37716         * sysdeps/i386/bp-asm.h: Remove file.
37717         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37718         (PARMS): Do not use macros from bp-asm.h.
37719         (S1): Likewise.
37720         (S2): Likewise.
37721         (SIZE): Likewise.
37722         (__mpn_add_n): Do not use BP_SYM
37723         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37724         "bp-asm.h".
37725         (PARMS): Do not use macros from bp-asm.h.
37726         (S1): Likewise.
37727         (SIZE): Likewise.
37728         (__mpn_addmul_1): Do not use BP_SYM
37729         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37730         "bp-asm.h".
37731         (PARMS): Do not use macros from bp-asm.h.
37732         (SIGMSK): Likewise.
37733         (_setjmp): Likewise.  Do not use BP_SYM.
37734         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37735         "bp-asm.h".
37736         (PARMS): Do not use macros from bp-asm.h.
37737         (SIGMSK): Likewise.
37738         (setjmp): Likewise.  Do not use BP_SYM.
37739         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37740         "bp-asm.h".
37741         (PARMS): Do not use macros from bp-asm.h.
37742         (__frexp): Do not use BP_SYM.
37743         (frexp): Likewise.
37744         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37745         "bp-asm.h".
37746         (PARMS): Do not use macros from bp-asm.h.
37747         (__frexpf): Do not use BP_SYM.
37748         (frexpf): Likewise.
37749         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37750         "bp-asm.h".
37751         (PARMS): Do not use macros from bp-asm.h.
37752         (__frexpl): Do not use BP_SYM.
37753         (frexpl): Likewise.
37754         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37755         "bp-asm.h".
37756         (PARMS): Do not use macros from bp-asm.h.
37757         (__remquo): Do not use BP_SYM.
37758         (remquo): Likewise.
37759         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37760         "bp-asm.h".
37761         (PARMS): Do not use macros from bp-asm.h.
37762         (__remquof): Do not use BP_SYM.
37763         (remquof): Likewise.
37764         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37765         "bp-asm.h".
37766         (PARMS): Do not use macros from bp-asm.h.
37767         (__remquol): Do not use BP_SYM.
37768         (remquol): Likewise.
37769         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37770         "bp-asm.h".
37771         (PARMS): Do not use macros from bp-asm.h.
37772         (DEST): Likewise.
37773         (SRC): Likewise.
37774         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37775         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37776         "bp-asm.h".
37777         (PARMS): Do not use macros from bp-asm.h.
37778         (strlen): Do not use BP_SYM.
37779         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37780         "bp-asm.h".
37781         (PARMS): Do not use macros from bp-asm.h.
37782         (S1): Likewise.
37783         (S2): Likewise.
37784         (SIZE): Likewise.
37785         (__mpn_add_n): Do not use BP_SYM.
37786         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37787         "bp-asm.h".
37788         (PARMS): Do not use macros from bp-asm.h.
37789         (S1): Likewise.
37790         (SIZE): Likewise.
37791         (__mpn_addmul_1): Do not use BP_SYM.
37792         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37793         weak_alias.
37794         (bzero): Likewise.
37795         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37796         "bp-asm.h".
37797         (PARMS): Do not use macros from bp-asm.h.
37798         (S): Likewise.
37799         (SIZE): Likewise.
37800         (__mpn_lshift): Do not use BP_SYM.
37801         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37802         "bp-asm.h".
37803         (PARMS): Do not use macros from bp-asm.h.
37804         (DEST): Likewise.
37805         (SRC): Likewise.
37806         (LEN): Likewise.
37807         (memcpy): Likewise.  Do not use BP_SYM.
37808         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37809         libc_hidden_def and weak_alias.
37810         (mempcpy): Do not use BP_SYM in weak_alias.
37811         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37812         "bp-asm.h".
37813         (PARMS): Do not use macros from bp-asm.h.
37814         (DEST): Likewise.
37815         (LEN): Likewise.
37816         [!BZERO_P] (CHR): Likewise.
37817         (memset): Likewise.  Do not use BP_SYM.
37818         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37819         "bp-asm.h".
37820         (PARMS): Do not use macros from bp-asm.h.
37821         (S1): Likewise.
37822         (SIZE): Likewise.
37823         (__mpn_mul_1): Do not use BP_SYM.
37824         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37825         "bp-asm.h".
37826         (PARMS): Do not use macros from bp-asm.h.
37827         (S): Likewise.
37828         (SIZE): Likewise.
37829         (__mpn_rshift): Do not use BP_SYM.
37830         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37831         "bp-asm.h".
37832         (PARMS): Do not use macros from bp-asm.h.
37833         (STR): Likewise.
37834         (CHR): Likewise.
37835         (strchr): Likewise.  Do not use BP_SYM.
37836         (index): Do not use BP_SYM in weak_alias.
37837         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37838         "bp-asm.h".
37839         (PARMS): Do not use macros from bp-asm.h.
37840         (DEST): Likewise.
37841         (SRC): Likewise.
37842         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37843         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37844         "bp-asm.h".
37845         (PARMS): Do not use macros from bp-asm.h.
37846         (strlen): Do not use BP_SYM.
37847         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37848         "bp-asm.h".
37849         (PARMS): Do not use macros from bp-asm.h.
37850         (S1): Likewise.
37851         (S2): Likewise.
37852         (SIZE): Likewise.
37853         (__mpn_sub_n): Do not use BP_SYM.
37854         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37855         "bp-asm.h".
37856         (PARMS): Do not use macros from bp-asm.h.
37857         (S1): Likewise.
37858         (SIZE): Likewise.
37859         (__mpn_submul_1): Do not use BP_SYM.
37860         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37861         "bp-asm.h".
37862         (PARMS): Do not use macros from bp-asm.h.
37863         (S1): Likewise.
37864         (S2): Likewise.
37865         (SIZE): Likewise.
37866         (__mpn_add_n): Do not use BP_SYM.
37867         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37868         weak_alias.
37869         (bzero): Likewise.
37870         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37871         "bp-asm.h".
37872         (PARMS): Do not use macros from bp-asm.h.
37873         (BLK2): Likewise.
37874         (LEN): Likewise.
37875         (memcmp): Do not use BP_SYM.
37876         (bcmp): Do not use BP_SYM in weak_alias.
37877         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37878         "bp-asm.h".
37879         (PARMS): Do not use macros from bp-asm.h.
37880         (DEST): Likewise.
37881         (SRC): Likewise.
37882         (LEN): Likewise.
37883         (memcpy): Likewise.  Do not use BP_SYM.
37884         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37885         "bp-asm.h".
37886         (PARMS): Do not use macros from bp-asm.h.
37887         (DEST): Likewise.
37888         (SRC): Likewise.
37889         (LEN): Likewise.
37890         (memmove): Likewise.  Do not use BP_SYM.
37891         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37892         "bp-asm.h".
37893         (PARMS): Do not use macros from bp-asm.h.
37894         (DEST): Likewise.
37895         (SRC): Likewise.
37896         (LEN): Likewise.
37897         (__mempcpy): Likewise.  Do not use BP_SYM.
37898         (mempcpy): Do not use BP_SYM in weak_alias.
37899         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37900         "bp-asm.h".
37901         (PARMS): Do not use macros from bp-asm.h.
37902         (DEST): Likewise.
37903         (LEN): Likewise.
37904         [!BZERO_P] (CHR): Likewise.
37905         (memset): Likewise.  Do not use BP_SYM.
37906         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37907         "bp-asm.h".
37908         (PARMS): Do not use macros from bp-asm.h.
37909         (STR2): Likewise.
37910         (strcmp): Do not use BP_SYM.
37911         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37912         "bp-asm.h".
37913         (PARMS): Do not use macros from bp-asm.h.
37914         (STR): Likewise.
37915         (DELIM): Likewise.
37916         [USE_AS_STRTOK_R] (SAVE): Likewise.
37917         (FUNCTION): Likewise.  Do not use BP_SYM.
37918         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37919         aliases.
37920         (strtok_r): Likewise.
37921         (__GI___strtok_r): Likewise.
37922         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37923         (PARMS): Do not use macros from bp-asm.h.
37924         (S): Likewise.
37925         (SIZE): Likewise.
37926         (__mpn_lshift): Do not use BP_SYM.
37927         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37928         (PARMS): Do not use macros from bp-asm.h.
37929         (STR): Likewise.
37930         (CHR): Likewise.
37931         (__memchr): Do not use BP_SYM.
37932         (memchr): Do not use BP_SYM in weak_alias.
37933         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37934         (PARMS): Do not use macros from bp-asm.h.
37935         (BLK2): Likewise.
37936         (LEN): Likewise.
37937         (memcmp): Do not use BP_SYM.
37938         (bcmp): Do not use BP_SYM in weak_alias.
37939         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37940         (PARMS): Do not use macros from bp-asm.h.
37941         (S1): Likewise.
37942         (SIZE): Likewise.
37943         (__mpn_mul_1): Do not use BP_SYM.
37944         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37945         "bp-asm.h".
37946         (PARMS): Do not use macros from bp-asm.h.
37947         (STR): Likewise.
37948         (CHR): Likewise.
37949         (__rawmemchr): Do not use BP_SYM.
37950         (rawmemchr): Do not use BP_SYM in weak_alias.
37951         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37952         (PARMS): Do not use macros from bp-asm.h.
37953         (S): Likewise.
37954         (SIZE): Likewise.
37955         (__mpn_rshift): Do not use BP_SYM.
37956         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37957         (PARMS): Do not use macros from bp-asm.h.
37958         (SIGMSK): Likewise.
37959         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37960         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37961         (_start): Do not use BP_SYM.
37962         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37963         (PARMS): Do not use macros from bp-asm.h.
37964         (DEST): Likewise.
37965         (SRC): Likewise.
37966         (__stpcpy): Likewise.  Do not use BP_SYM.
37967         (stpcpy): Do not use BP_SYM in weak_alias.
37968         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37969         "bp-asm.h".
37970         (PARMS): Do not use macros from bp-asm.h.
37971         (DEST): Likewise.
37972         (SRC): Likewise.
37973         (LEN): Likewise.
37974         (__stpncpy): Likewise.  Do not use BP_SYM.
37975         (stpncpy): Do not use BP_SYM in weak_alias.
37976         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37977         (PARMS): Do not use macros from bp-asm.h.
37978         (STR): Likewise.
37979         (CHR): Likewise.
37980         (strchr): Likewise.  Do not use BP_SYM.
37981         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37982         "bp-asm.h".
37983         (PARMS): Do not use macros from bp-asm.h.
37984         (STR): Likewise.
37985         (CHR): Likewise.
37986         (__strchrnul): Likewise.  Do not use BP_SYM.
37987         (strchrnul): Do not use BP_SYM in weak_alias.
37988         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37989         "bp-asm.h".
37990         (PARMS): Do not use macros from bp-asm.h.
37991         (STOP): Likewise.
37992         (strcspn): Do not use BP_SYM.
37993         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37994         "bp-asm.h".
37995         (PARMS): Do not use macros from bp-asm.h.
37996         (STR): Likewise.
37997         (STOP): Likewise.
37998         (strpbrk): Likewise.  Do not use BP_SYM.
37999         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38000         "bp-asm.h".
38001         (PARMS): Do not use macros from bp-asm.h.
38002         (STR): Likewise.
38003         (CHR): Likewise.
38004         (strrchr): Likewise.  Do not use BP_SYM.
38005         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38006         (PARMS): Do not use macros from bp-asm.h.
38007         (SKIP): Likewise.
38008         (strspn): Do not use BP_SYM.
38009         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38010         (PARMS): Do not use macros from bp-asm.h.
38011         (STR): Likewise.
38012         (DELIM): Likewise.
38013         (SAVE): Likewise.
38014         (FUNCTION): Likewise.  Do not use BP_SYM.
38015         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38016         aliases.
38017         (strtok_r): Likewise.
38018         (__GI___strtok_r): Likewise.
38019         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38020         (PARMS): Do not use macros from bp-asm.h.
38021         (S1): Likewise.
38022         (S2): Likewise.
38023         (SIZE): Likewise.
38024         (__mpn_sub_n): Do not use BP_SYM.
38025         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38026         "bp-asm.h".
38027         (PARMS): Do not use macros from bp-asm.h.
38028         (S1): Likewise.
38029         (SIZE): Likewise.
38030         (__mpn_submul_1): Do not use BP_SYM.
38031         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38032         <bp-sym.h>.
38033         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38034         and <bp-asm.h>.
38035         (PARMS): Do not use macros from bp-asm.h.
38036         (FLAGS): Likewise.
38037         (PTID): Likewise.
38038         (TLS): Likewise.
38039         (CTID): Likewise.
38040         (__clone): Do not use BP_SYM.
38041         (clone): Do not use BP_SYM in weak_alias.
38042         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38043         and <bp-asm.h>.
38044         (PARMS): Do not use macros from bp-asm.h.
38045         (LEN): Likewise.
38046         (__mmap64): Do not use BP_SYM.
38047         (mmap64): Do not use BP_SYM in weak_alias.
38048         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38049         <bp-sym.h> and <bp-asm.h>.
38050         (PARMS): Do not use macros from bp-asm.h.
38051         (__posix_fadvise64_l64): Do not use BP_SYM.
38052         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38053         (PARMS): Do not use macros from bp-asm.h.
38054         (NSOPS): Likewise.
38055         (semtimedop): Do not use BP_SYM.
38056         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38057         and <bp-asm.h>.
38059 2013-02-21  Allan McRae  <allan@archlinux.org>
38061         * manual/message.texi (Charset conversion in gettext):
38062         Move @end statement to beginning of line.
38064 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38066         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38067         static.
38068         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38069         Likewise.
38071         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38072         (denorm): Likewise.
38073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38076 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38078         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38079         tail-call to the resolved function if pltexit isn't needed.
38081 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38083         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38084         or Y being zero as being unlikely.
38085         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38086         Likewise.
38088 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38090         * manual/nss.texi (System Databases and Name Service Switch):
38091         Remove frobnicate @pxref.
38093 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38095         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38096         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38098 2013-02-20  Petr Machata  <pmachata@redhat.com>
38100         * elf/elf.h (R_ARM_TARGET1): New macro.
38101         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38102         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38103         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38104         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38105         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38106         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38107         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38108         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38109         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38110         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38111         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38112         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38113         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38114         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38115         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38116         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38117         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38118         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38119         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38120         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38121         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38122         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38123         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38124         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38125         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38126         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38127         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38128         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38129         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38130         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38131         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38132         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38133         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38134         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38135         (R_ARM_THM_GOT_BREL12): Likewise.
38136         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38137         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38138         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38139         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38140         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38141         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38142         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38143         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38144         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38146 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38148         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38149         __attribute_used__ to __attribute__ ((unused)).
38151 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38153         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38154         powerpc mpa.c.
38155         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38156         comment formatting.
38157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38159 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38161         [BZ #13550]
38162         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38163         Remove macro.
38164         (ENTER): Remove both macro definitions.
38165         (LEAVE): Likewise.
38166         (CHECK_BOUNDS_LOW): Likewise.
38167         (CHECK_BOUNDS_HIGH): Likewise.
38168         (CHECK_BOUNDS_BOTH): Likewise.
38169         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38170         (RETURN_BOUNDED_POINTER): Likewise.
38171         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38172         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38173         (POP_ERRNO_LOCATION_RETURN): Likewise.
38174         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38175         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38176         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38177         macros.
38178         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38179         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38180         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38181         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38182         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38183         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38184         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38185         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38186         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38187         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38188         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38189         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38190         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38191         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38192         removed macros.
38193         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38194         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38195         macros.
38196         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38197         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38198         * sysdeps/i386/i586/memset.S (memset): Likewise.
38199         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38200         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38201         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38202         macros.
38203         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38204         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38205         Change uses of L(2) to L(out).
38206         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38207         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38208         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38209         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38210         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38211         removed macros.
38212         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38213         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38214         macros.
38215         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38216         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38217         (RETURN): Do not use macro LEAVE.
38218         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38219         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38220         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38221         * sysdeps/i386/i686/memset.S (memset): Likewise.
38222         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38223         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38224         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38225         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38226         Likewise.
38227         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38228         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38229         L(1_2) and L(1_3) into L(1).
38230         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38231         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38232         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38233         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38234         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38235         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38236         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38237         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38238         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38239         macros.
38240         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38241         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38242         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38243         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38244         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38245         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38246         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38247         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38248         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38249         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38250         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38251         * sysdeps/i386/strspn.S (strspn): Likewise.
38252         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38253         conditional code.
38254         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38255         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38256         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38257         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38258         L(1_3) into L(1_1).
38259         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38260         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38261         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38262         macros.
38263         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38265 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38267         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38268         macro.
38270 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38272         * math/atest-exp.c (exp_mpn): Remove ROUND.
38273         * math/atest-exp2.c (exp_mpn): Likewise.
38274         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38276         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38277         * stdlib/tst-tls-atexit-lib.c: Likewise.
38278         * stdlib/tst-tls-atexit.c: Likewise.
38280 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38282         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38283         and __attribute_alloc_size__.
38285 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38287         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38288         __attribute_alloc_size__.
38289         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38290         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38292 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38294         * include/programs/xmalloc.h: New file.
38295         * catgets/gencat.c: Include it.
38296         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38297         * elf/pldd.c: Likewise.
38298         * iconv/iconv_charmap.c: Likewise.
38299         * iconv/iconvconfig.c: Likewise.
38300         * iconv/strtab.c: Likewise.
38301         * locale/programs/locale.c: Likewise.
38302         * locale/programs/localedef.h: Likewise.
38303         * locale/programs/simple-hash.c: Likewise.
38304         * nscd/nscd.h: Likewise.
38305         * nss/makedb.c: Likewise.
38306         * sysdeps/generic/ldconfig.h: Likewise.
38308 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38310         * Versions.def: Add GLIBC_2.18.
38311         * include/link.h (struct link_map): New member l_tls_dtor_count.
38312         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38313         (__call_tls_dtors): Likewise.
38314         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38315         __cxa_thread_atexit_impl.
38316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38317         Likewise.
38318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38319         Likewise.
38320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38321         Likewise.
38322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38323         Likewise.
38324         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38326         Likewise.
38327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38328         Likewise.
38329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38331         Likewise.
38332         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38333         (tests): Add test case tst-tls-atexit.
38334         (modules-names): Add shared library for tst-tls-atexit.
38335         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38336         (GLIBC_PRIVATE): Add __call_tls_dtors.
38337         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38338         for libstdc++.
38339         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38340         * stdlib/tst-tls-atexit.c: New test case.
38341         * stdlib/tst-tls-atexit-lib.c: New test case.
38343         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38345         * elf/Versions (ld): Add _dl_find_dso_for_object.
38346         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38347         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38348         (dl_open_worker): Use _dl_find_dso_for_object.
38349         * elf/dl-sym.c (do_sym): Likewise.
38350         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38352 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38354         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38355         Syntactic changes only.
38356         (_dl_runtime_profile): Do a tail-call to the resolved function.
38358 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38360         [BZ #13550]
38361         * sysdeps/x86_64/bp-asm.h: Remove file.
38362         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38363         <bp-sym.h> and <bp-asm.h>.
38364         (__clone): Do not use BP_SYM.
38365         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38366         <bp-sym.h> and <bp-asm.h>.
38367         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38368         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38369         "bp-asm.h".
38370         (_setjmp): Do not use BP_SYM.
38371         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38372         "bp-asm.h".
38373         (setjmp): Do not use BP_SYM.
38374         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38375         libc_hidden_def.
38376         (mempcpy): Do not use BP_SYM in weak_alias.
38377         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38378         "bp-asm.h".
38379         (strchr): Do not use BP_SYM.
38380         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38381         "bp-asm.h".
38382         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38383         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38384         (_start): Do not use BP_SYM.
38385         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38386         "bp-asm.h".
38387         (strcat): Do not use BP_SYM.
38388         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38389         "bp-asm.h".
38390         (STRCMP): Do not use BP_SYM.
38391         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38392         "bp-asm.h".
38393         (STRCPY): Do not use BP_SYM.
38394         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38395         "bp-asm.h".
38396         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38397         "bp-asm.h".
38398         (FUNCTION): Do not use BP_SYM.
38399         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38400         weak_alias.
38401         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38403 2013-02-17  Andreas Jaeger  <aj@suse.de>
38405         * time/Versions: Sort entries.
38406         * string/Versions: Likewise.
38407         * resolv/Versions: Likewise.
38408         * posix/Versions: Likewise.
38409         * iconv/Versions: Likewise.
38410         * elf/Versions: Likewise.
38411         * wcsmbs/Versions: Likewise.
38413 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38415         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38416         loop termination condition.
38418         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38419         variable to calculate EZ.
38420         (__sqr): Likewise.
38422         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38423         the lower precision input.
38425 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38427         [BZ #13550]
38428         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38429         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38430         (run-via-rtld-prefix): Do not handle %-bp tests.
38431         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38432         (all-object-suffixes): Remove .ob.
38433         (bppfx): Remove variable.
38434         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38435         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38436         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38437         [$(build-bounded) = yes] (libtype.ob): Likewise.
38438         * Makerules (elide-routines.ob): Remove variable.
38439         (do-tests-clean): Do not handle *-bp.out.
38440         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38441         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38442         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38443         (tests): Do not include $(tests-bp.out).
38444         (xtests): Do not include $(xtests-bp.out).
38445         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38446         [$(build-bounded) = yes] ($(addprefix
38447         $(objpfx),$(binaries-bounded))): Remove rule.
38448         ($(objpfx)%-bp.out): Remove rule.
38449         * config.make.in (build-bounded): Remove variable.
38450         * crypt/Makefile [$(build-bounded) = yes]
38451         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38452         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38453         append to variable.
38454         [$(build-bounded) = yes] (install-lib): Likewise.
38455         [$(build-bounded) = yes] (generated): Likewise.
38456         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38457         Remove rule.
38458         * intl/Makefile [$(build-bounded) = yes]
38459         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38460         * math/Makefile [$(build-bounded) = yes]
38461         ($(tests:%=$(objpfx)%-bp): Likewise.
38462         * misc/Makefile [$(build-bounded) = yes]
38463         ($(objpfx)tst-tsearch-bp): Likewise.
38464         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38465         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38466         Remove dependency.
38467         * string/Makefile (o-objects.ob): Remove variable.
38468         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38469         (CFLAGS-.ob): Remove variable.
38470         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38471         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38472         both definitions of variable.
38473         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38474         (ASFLAGS-.ob): Remove variable.
38476 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38478         [BZ #13550]
38479         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38480         Remove __BOUNDED_POINTERS__ from condition.
38481         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38482         * string/bits/string2.h [!__NO_STRING_INLINES &&
38483         !__BOUNDED_POINTERS__]: Likewise.
38484         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38485         Likewise.
38486         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38487         Remove conditional code.
38488         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38489         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38490         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38491         condition.
38493         [BZ #13550]
38494         * csu/libc-start.c: Do not include <bp-sym.h>.
38495         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38496         * elf/dl-open.c: Do not include <bp-sym.h>.
38497         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38498         * math/fegetenv.c: Do not include <bp-sym.h>.
38499         (fegetenv): Do not use BP_SYM in versioned symbols.
38500         * nptl/sysdeps/pthread/bits/libc-lockP.h
38501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38502         <bp-sym.h>.
38503         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38504         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38505         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38506         (__pthread_mutex_destroy): Likewise.
38507         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38508         (__pthread_mutex_lock): Likewise.
38509         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38510         (__pthread_mutex_trylock): Likewise.
38511         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38512         (__pthread_mutex_unlock): Likewise.
38513         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38514         (__pthread_mutexattr_init): Likewise.
38515         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38516         (__pthread_mutexattr_destroy): Likewise.
38517         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38518         (__pthread_mutexattr_settype): Likewise.
38519         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38520         (__pthread_rwlock_init): Likewise.
38521         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38522         (__pthread_rwlock_destroy): Likewise.
38523         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38524         (__pthread_rwlock_rdlock): Likewise.
38525         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38526         (__pthread_rwlock_tryrdlock): Likewise.
38527         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38528         (__pthread_rwlock_wrlock): Likewise.
38529         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38530         (__pthread_rwlock_trywrlock): Likewise.
38531         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38532         (__pthread_rwlock_unlock): Likewise.
38533         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38534         (__pthread_key_create): Likewise.
38535         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38536         (__pthread_setspecific): Likewise.
38537         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38538         (__pthread_getspecific): Likewise.
38539         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38540         Likewise.
38541         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38542         (_pthread_cleanup_push_defer): Likewise.
38543         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38544         (_pthread_cleanup_pop_restore): Likewise.
38545         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38546         (pthread_setcancelstate): Likewise.
38547         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38548         <bp-sym.h>.
38549         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38550         (memchr): Do not use BP_SYM in weak_alias.
38551         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38552         (fegetenv): Do not use BP_SYM in versioned symbols.
38553         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38554         (fesetenv): Do not use BP_SYM in versioned symbols.
38555         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38556         (feupdateenv): Do not use BP_SYM in versioned symbols.
38557         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38558         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38559         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38560         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38561         (open64): Do not use BP_SYM in weak_alias.
38562         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38563         (fegetenv): Do not use BP_SYM in versioned symbols.
38564         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38565         (fesetenv): Do not use BP_SYM in versioned symbols.
38566         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38567         (feupdateenv): Do not use BP_SYM in versioned symbols.
38568         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38569         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38570         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38571         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38572         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38573         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38574         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38575         <bp-sym.h>.
38576         (__libc_start_main): Do not use BP_SYM.
38578 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38581         redundant return line.
38582         (norm): Likewise.
38583         (denorm): Likewise.
38584         (dbl_mp): Likewise.
38585         (sub_magnitudes): Likewise.
38586         (__add): Likewise.
38587         (__sub): Likewise.
38588         (__mul): Likewise.
38589         (__inv): Likewise.
38590         (__dvd): Likewise.
38591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38592         (norm): Likewise.
38593         (denorm): Likewise.
38594         (dbl_mp): Likewise.
38595         (sub_magnitudes): Likewise.
38596         (__add): Likewise.
38597         (__sub): Likewise.
38598         (__mul): Likewise.
38599         (__inv): Likewise.
38600         (__dvd): Likewise.
38602         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38603         instead of __mul.
38604         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38605         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38606         (cc32): Likewise.
38608         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38609         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38610         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38611         of __mul for squares.
38612         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38613         function
38614         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38615         Likewise.
38616         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38617         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38619 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38621         [BZ #13550]
38622         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38623         code.
38624         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38625         prototype or function definition.  Rename ubp_* variables and
38626         parameters.  Remove argv definitions conditional on
38627         [__BOUNDED_POINTERS__].
38628         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38629         * elf/dl-runtime.c (_dl_fixup): Likewise.
38630         * include/set-hooks.h (RUN_HOOK): Likewise.
38631         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38632         definition.
38633         * string/strcpy.c (strcpy): Do not use __unbounded.
38634         * sysdeps/generic/frame.h (struct layout): Likewise.
38635         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38636         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38637         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38638         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38639         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38640         (__backtrace): Likewise.
38641         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38642         use __ptrvalue.
38643         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38644         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38645         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38646         Likewise.
38647         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38648         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38649         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38650         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38651         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38652         Do not use __unbounded.
38653         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38654         Rename __unboundedrlimits parameter to rlimits in prototype.
38655         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38656         Do not use __unbounded.
38657         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38658         not use __ptrvalue.
38659         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38660         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38661         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38662         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38663         __ptrvalue or __unbounded.
38664         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38665         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38666         use __unbounded.
38667         (__new_msgctl): Do not use __ptrvalue.
38668         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38669         __unbounded.
38670         (__libc_msgrcv): Do not use __ptrvalue.
38671         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38672         startup_info): Do not use __unbounded.
38673         (__libc_start_main): Likewise.  Rename ubp_* variables and
38674         parameters.  Remove argv definitions conditional on
38675         [__BOUNDED_POINTERS__].
38676         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38677         __ptrvalue.
38678         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38679         use __unbounded.
38680         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38681         or __ptrvalue.
38682         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38683         use __unbounded.
38684         (__new_shmctl): Do not use __ptrvalue.
38685         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38686         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38687         Likewise.
38688         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38689         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38690         (__libc_sigaction): Likewise.
38691         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38692         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38693         Likewise.
38694         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38696 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38698         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38700         * string/mempcpy.c: Implement by calling memcpy.
38702 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38704         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38707         evaluation.
38709         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38710         values in the mantissa.
38712         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38713         minimize writes to Z.
38714         (sub_magnitudes): Simplify code a bit.
38716 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38718         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38719         from the message.  The linker prefixes all warnings with that already.
38721 2013-02-12  Andreas Schwab  <schwab@suse.de>
38723         [BZ #15078]
38724         * posix/regexec.c (extend_buffers): Add parameter min_len.
38725         (check_matching): Pass minimum needed length.
38726         (clean_state_log_if_needed): Likewise.
38727         (get_subexp): Likewise.
38728         * posix/Makefile (tests): Add bug-regex34.
38729         (bug-regex34-ENV): Define.
38730         * posix/bug-regex34.c: New file.
38732         [BZ #11561]
38733         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38734         elements compare against the byte sequence of it, not its name.
38735         * posix/Makefile (tests): Add bug-regex35.
38736         (bug-regex35-ENV): Define.
38737         * posix/bug-regex35.c: New file.
38739 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38741         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38742         comment.
38743         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38744         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38745         (CHECK_EOL): Add undef.
38747 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38749         * bits/stdlib-bsearch.h: New file.
38750         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38751         * stdlib/stdlib.h: Likewise.
38753 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38755         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38756         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38757         declaration.
38758         * manual/search.texi (Array Search Function): Add missing const in
38759         lfind prototype.
38760         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38761         declaration to use rlim_t.
38762         (Basic Scheduling Functions): Remove erroneous const from
38763         sched_getparam prototype.  Remove erroneous * from
38764         sched_get_priority_max and sched_get_priority_min prototypes.
38765         (Resource Usage): Fix summary @comment on vtimes to refer to
38766         sys/vtimes.h rather than vtimes.h.
38767         Add missing *s in vtimes prototype.
38768         (Limits on Resources): Fix ulimit prototype to return long int.
38769         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38770         prototypes to use long int rather than double.
38771         (BSD Random): Fix initstate and setstate to use char *, not void *.
38772         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38773         prototype to make second argument 'struct aiocb64 *const[]'.
38774         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38775         (Status of AIO Operations): Remove erroneous const in aio_return and
38776         aio_return64 prototypes.
38777         (Synchronizing I/O): Fix sync prototype to return void.
38778         * manual/startup.texi (Suboptions): Remove an erroneous const in
38779         getsubopt prototype.
38780         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38781         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38782         use size_t rather than int.
38783         (Scanning All Users): Likewise for getpwent_r.
38784         (Setting Groups): Add missing const to setgroups prototype.
38785         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38786         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38787         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38788         'const void *' rather than 'const char *'.
38789         (Host Address Functions): Likewise for inet_ntop.
38790         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38791         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38792         ssize_t for return value.
38793         (Sending Data): Likewise for send, sendto, sendmsg.
38794         (Socket Option Functions): Add a missing const in setsockopt prototype.
38795         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38796         use wchar_t for the argument.
38797         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38798         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38799         take no arguments.
38800         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38801         double/float/long double for second argument.
38802         Fix return types of significand, significandf, significandl.
38803         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38804         argument in fchmod prototype.
38805         (File Owner): Use uid_t and gid_t in fchown prototype.
38806         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38807         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38808         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38809         use 'const struct dirent **' as argument types to CMP function pointer
38810         argument.
38811         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38812         (File Times): Fix summary magic @comment for struct utimbuf and utime
38813         to refer to utime.h, not time.h.
38814         * manual/string.texi (Argz Functions): Add missing const in
38815         argz_extract and argz_next prototypes.
38816         (Finding Tokens in a String): Likewise for basename.
38817         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38818         (Copying and Concatenation): Fix typo in wmemmove prototype.
38819         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38820         (Signal Stack): Remove erroneous const in sigstack prototype.
38821         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38822         prototype.
38823         (Simple Calendar Time): Likewise for stime.
38824         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38825         prototype.
38826         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38827         say sys/sysctl.h instead.
38828         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38829         and vsyslog prototypes.
38831 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38833         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38834         Remove.
38836 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38838         * misc/sys/mman.h: Fix typo in mremap comment.
38840 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38842         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38843         the '\0' terminator.
38845 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38847         [BZ #13550]
38848         * debug/segfault.c: Don't include <bp-checks.h>.
38849         * sysdeps/generic/bp-checks.h: Remove file.
38850         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38851         (__GETDENTS): Don't use CHECK_N.
38852         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38853         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38854         (__getgroups): Don't use CHECK_N.
38855         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38856         (setgroups): Don't use CHECK_N.
38857         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38858         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38859         (__libc_msgrcv): Don't use CHECK_N.
38860         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38861         (__libc_msgsnd): Don't use CHECK_N.
38862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38863         <bp-checks.h>.
38864         (__libc_pread): Don't use CHECK_N.
38865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38866         include <bp-checks.h>.
38867         (__libc_pread64): Don't use CHECK_N.
38868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38869         include <bp-checks.h>.
38870         (__libc_pwrite): Don't use CHECK_N.
38871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38872         include <bp-checks.h>.
38873         (__libc_pwrite64): Don't use CHECK_N.
38874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38875         <bp-checks.h>.
38876         (__libc_pread): Don't use CHECK_N.
38877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38878         include <bp-checks.h>.
38879         (__libc_pread64): Don't use CHECK_N.
38880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38881         include <bp-checks.h>.
38882         (__libc_pwrite): Don't use CHECK_N.
38883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38884         include <bp-checks.h>.
38885         (__libc_pwrite64): Don't use CHECK_N.
38886         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38887         (do_pread): Don't use CHECK_N.
38888         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38889         (do_pread64): Don't use CHECK_N.
38890         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38891         (do_pwrite): Don't use CHECK_N.
38892         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38893         (do_pwrite64): Don't use CHECK_N.
38894         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38895         (__libc_readv): Don't use CHECK_N.
38896         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38897         (semop): Don't use CHECK_N.
38898         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38899         <bp-checks.h>.
38900         (semtimedop): Don't use CHECK_N.
38901         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38902         (__libc_pread): Don't use CHECK_N.
38903         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38904         <bp-checks.h>.
38905         (__libc_pread64): Don't use CHECK_N.
38906         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38907         <bp-checks.h>.
38908         (__libc_pwrite): Don't use CHECK_N.
38909         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38910         <bp-checks.h>.
38911         (__libc_pwrite64): Don't use CHECK_N.
38912         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38913         <bp-checks.h>.
38914         (__libc_msgrcv): Don't use CHECK_N.
38915         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38916         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38917         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38918         (__libc_writev): Don't use CHECK_N.
38920 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38922         * string/strcpy.c: Removed unused variable.
38924         * Makeconfig (+sysdep-includes): Define with := rather than =.
38925         Use an existing include/ subdir of each sysdeps dir before it.
38927 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38929         * nscd/connection.c (register_traced_file): Comment function.
38930         [HAVE_INOTIFY] (union __inev): Define.
38931         [HAVE_INOTIFY] (inotify_check_files): New function.
38932         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38933         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38934         clear_db_cache.
38935         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38937 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38939         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38940         loaded if not already and that a failure is permanent.
38942 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38944         [BZ #15006]
38945         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38946         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38948 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38950         [BZ #13550]
38951         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38952         (CHECK_1_NULL_OK): Likewise.
38953         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38954         (__fxstat): Do not use CHECK_1.
38955         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38956         <bp-checks.h>.
38957         (___fxstat64): Do not use CHECK_1.
38958         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38959         <bp-checks.h>.
38960         (__fxstatat): Do not use CHECK_1.
38961         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38962         <bp-checks.h>.
38963         (__fxstatat64): Do not use CHECK_1.
38964         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38965         <bp-checks.h>.
38966         (__fxstat): Do not use CHECK_1.
38967         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38968         <bp-checks.h>.
38969         (__fxstatat): Do not use CHECK_1.
38970         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38971         <bp-checks.h>.
38972         (__getresgid): Do not use CHECK_1.
38973         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38974         <bp-checks.h>.
38975         (__getresuid): Do not use CHECK_1.
38976         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38977         <bp-checks.h>.
38978         (__lxstat): Do not use CHECK_1.
38979         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38980         <bp-checks.h>.
38981         (__old_msgctl): Do not use CHECK_1.
38982         (__new_msgctl): Likewise.
38983         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38984         <bp-checks.h>.
38985         (__new_setrlimit): Do not use CHECK_1.
38986         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38987         <bp-checks.h>.
38988         (__old_shmctl): Do not use CHECK_1.
38989         (__new_shmctl): Likewise.
38990         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38991         <bp-checks.h>.
38992         (__xstat): Do not use CHECK_1.
38993         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38994         (__lxstat): Do not use CHECK_1.
38995         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38996         <bp-checks.h>.
38997         (___lxstat64): Do not use CHECK_1.
38998         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38999         (__old_msgctl): Do not use CHECK_1.
39000         (__new_msgctl): Likewise.
39001         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39002         <bp-checks.h>.
39003         (__gettimeofday): Do not use CHECK_1.
39004         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39005         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39006         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39007         <bp-checks.h>.
39008         (__gettimeofday): Do not use CHECK_1.
39009         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39010         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39011         (__new_shmctl): Do not use CHECK_1.
39012         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39013         <bp-checks.h>.
39014         (do_sigtimedwait): Do not use CHECK_1.
39015         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39016         <bp-checks.h>.
39017         (do_sigwaitinfo): Do not use CHECK_1.
39018         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39019         <bp-checks.h>.
39020         (msgctl): Do not use CHECK_1.
39021         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39022         <bp-checks.h>.
39023         (shmctl): Do not use CHECK_1.
39024         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39025         (ustat): Do not use CHECK_1.
39026         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39027         <bp-checks.h>.
39028         (__fxstat): Do not use CHECK_1.
39029         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39030         <bp-checks.h>.
39031         (__fxstatat): Do not use CHECK_1.
39032         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39033         <bp-checks.h>.
39034         (__lxstat): Do not use CHECK_1.
39035         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39036         <bp-checks.h>.
39037         (__xstat): Do not use CHECK_1.
39038         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39039         (__xstat): Do not use CHECK_1.
39040         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39041         (___xstat64): Do not use CHECK_1.
39043         [BZ #13550]
39044         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39045         definitions.
39046         (CHECK_BOUNDS_HIGH): Likewise.
39047         * string/strcpy.c: Do not include <bp-checks.h>.
39048         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39050 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39052         * nscd/nscd-client.h (__nscd_drop_map_ref):
39053         Add __attribute__ ((unused)).
39054         * nis/nss-nisplus.h (niserr2nss): Likewise.
39056         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39057         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39059         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39060         Remove inline keyword.
39061         * include/rounding-mode.h (round_away): Likewise.
39062         * libio/wfileops.c (adjust_wide_data): Likewise.
39063         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39064         (__m128i_strloadu_tolower): Likewise.
39065         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39066         (__m128i_strloadu_tolower): Likewise.
39067         * time/mktime.c (ydhms_diff): Likewise.
39068         * locale/elem-hash.h (elem_hash): Likewise.
39069         * locale/setlocale.c (setdata): Likewise.
39070         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39071         (re_string_wchar_at): Likewise.
39072         (bitset_not, bitset_merge, bitset_mask): Likewise.
39073         [!(__GNUC__ > 3)] (inline): Remove macro.
39074         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39075         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39076         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39077         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39078         * string/memcmp.c (memcmp_bytes): Likewise.
39079         * locale/programs/locarchive.c (compute_hashval): Likewise.
39080         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39081         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39082         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39083         * nss/getent.c (print_rpc, print_protocols): Likewise.
39084         (print_passwd, print_group, print_aliases): Likewise.
39085         * nis/nss-nisplus.h (niserr2nss): Likewise.
39086         * nscd/connections.c (restart_p): Likewise.
39087         Change return type to bool.
39089 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39091         * Makeconfig (all-Depend-files): Add existing
39092         $(sorted-subdirs:=/Depend) files.
39093         (all-subdirs): Remove nss.
39094         * sysdeps/unix/inet/Subdirs: Add it here instead.
39095         * hesiod/Depend: New file.
39097         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39098         instead of calling alloca.
39100         * io/lseek.c (__lseek): Rename to __libc_lseek.
39101         Define __lseek as an alias.
39103         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39105 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39107         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39108         else clause and remove check for non-standard endianness.
39110 2013-02-04  David S. Miller  <davem@davemloft.net>
39112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39114 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39116         [BZ #13550]
39117         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39118         (__ubp_memchr): Remove prototype.
39119         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39120         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39121         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39122         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39123         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39124         Remove alias.
39125         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39126         (__ubp_memchr): Likewise.
39127         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39128         (__ubp_memchr): Likewise.
39129         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39130         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39131         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39132         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39133         CHECK_STRING.
39134         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39135         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39136         (__getcwd): Do not use CHECK_STRING.
39137         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39138         <bp-checks.h>.
39139         (__real_chown): Do not use CHECK_STRING.
39140         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39141         <bp-checks.h>.
39142         (fchownat): Do not use CHECK_STRING.
39143         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39144         CHECK_STRING.
39145         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39146         <bp-checks.h>.
39147         (__lchown): Do not use CHECK_STRING.
39148         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39149         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39150         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39151         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39153         include <bp-checks.h>.
39154         (truncate64): Do not use CHECK_STRING.
39155         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39156         <bp-checks.h>.
39157         (__real_chown): Do not use CHECK_STRING.
39158         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39159         <bp-checks.h>.
39160         (__lchown): Do not use CHECK_STRING.
39161         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39162         <bp-checks.h>.
39163         (__chown): Do not use CHECK_STRING.
39164         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39165         <bp-checks.h>.
39166         (truncate64): Do not use CHECK_STRING.
39167         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39168         Likewise.
39169         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39170         (__xmknod): Do not use CHECK_STRING.
39171         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39172         <bp-checks.h>.
39173         (__xmknodat): Do not use CHECK_STRING.
39174         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39175         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39177 2013-02-04  Andreas Schwab  <schwab@suse.de>
39179         [BZ #14142]
39180         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39181         * include/netdb.h: Likewise for h_errno.
39182         * elf/tst-stackguard1.c: Include <tls.h>.
39184 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39186         * elf/link.h (struct link_map): Extend the l_addr comment.
39187         * include/link.h (struct link_map): Likewise.
39189 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39191         [BZ #13550]
39192         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39193         (BOUNDED_1): Remove macro.
39194         * debug/backtrace.c: Don't include <bp-checks.h>.
39195         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39196         (__backtrace): Likewise.
39197         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39198         <bp-checks.h>.
39199         (__backtrace): Don't use BOUNDED_1.
39200         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39201         <bp-checks.h>.
39202         (__backtrace): Don't use BOUNDED_1.
39203         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39204         (__backtrace): Don't use BOUNDED_1.
39205         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39206         (shmat): Don't use BOUNDED_N.
39208 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39210         [BZ #13550]
39211         * sysdeps/generic/bp-start.h: Remove file.
39212         * csu/libc-start.c: Don't include <bp-start.h>.
39213         (LIBC_START_MAIN): Set up __environ directly instead of using
39214         INIT_ARGV_and_ENVIRON.
39215         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39216         <bp-start.h>.
39218         [BZ #13550]
39219         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39220         definitions.
39221         (CHECK_FCNTL): Likewise.
39222         (CHECK_N_PAGES): Likewise.
39224         [BZ #13550]
39225         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39226         definitions.
39227         (CHECK_SIGSET_NULL_OK): Likewise.
39228         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39229         <bp-checks.h>.
39230         (sigpending): Don't use CHECK_SIGSET.
39231         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39232         <bp-checks.h>.
39233         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39234         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39235         <bp-checks.h>.
39236         (do_sigsuspend): Don't use CHECK_SIGSET.
39237         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39238         use CHECK_SIGSET.
39239         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39240         (do_sigwait): Don't use CHECK_SIGSET.
39241         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39242         use CHECK_SIGSET.
39243         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39244         include <bp-checks.h>.
39245         (sigpending): Don't use CHECK_SIGSET.
39246         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39247         include <bp-checks.h>.
39248         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39249         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39250         <bp-checks.h>.
39251         (sigpending): Don't use CHECK_SIGSET.
39252         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39253         <bp-checks.h>.
39254         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39256         [BZ #13550]
39257         * sysdeps/generic/bp-semctl.h: Remove file.
39258         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39259         <bp-checks.h> and <bp-semctl.h>.
39260         (__old_semctl): Don't use CHECK_SEMCTL.
39261         (__new_semctl): Likewise.
39262         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39263         and <bp-semctl.h>.
39264         (__old_semctl): Don't use CHECK_SEMCTL.
39265         (__new_semctl): Likewise.
39266         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39267         <bp-checks.h> and <bp-semctl.h>.
39268         (__old_semctl): Don't use CHECK_SEMCTL.
39269         (__new_semctl): Likewise.
39270         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39271         <bp-checks.h> and <bp-semctl.h>.
39272         (semctl): Don't use CHECK_SEMCTL.
39274         [BZ #13550]
39275         * Makerules (elide-bp-thunks): Remove variable.
39276         (elide-routines.oS): Don't use $(elide-bp-thunks).
39277         (elide-routines.os): Likewise.
39278         (elide-routines.o): Likewise.
39279         (elide-routines.op): Likewise.
39280         (elide-routines.og): Likewise.
39281         (objects): Don't use $(bp-thunks).
39282         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39283         include.
39284         (common-generated): Do not add s-proto-bp.d.
39285         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39286         (int): Likewise.
39287         (typ): Likewise.
39288         Do not generate makefile rules for bounded-pointer thunks.
39289         * sysdeps/generic/bp-thunks.h: Remove file.
39290         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39291         * sysdeps/unix/s-proto-bp.S: Likewise.
39293         [BZ #15062]
39294         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39295         parts of result separately when argument is not close to line from
39296         -i to i and one part of argument is small.
39297         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39298         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39299         * math/libm-test.inc (cacos_test): Add more tests.
39300         (casin_test): Likewise.
39301         (casinh_test): Likewise.
39302         * sysdeps/i386/fpu/libm-test-ulps: Update.
39303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39305 2013-01-31  David S. Miller  <davem@davemloft.net>
39307         * po/de.po: Update from translation team.
39309 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39311         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39313 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39315         * configure.in (_AC_PROG_CC_C89): New definition.
39316         * configure: Regenerate.
39318         * configure.in (AC_PROG_CPP): New definition.
39319         * configure: Regenerate.
39321 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39323         * debug/tst-backtrace.h: New file.
39324         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39325         (ret): Remove variable.
39326         (x): Likewise.
39327         (FAIL): Remove macro.
39328         (NO_INLINE): Likewise.
39329         (fn1): Use match function instead of strstr.
39330         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39331         (ret): Remove variable.
39332         (x): Likewise.
39333         (FAIL): Remove macro.
39334         (NO_INLINE): Likewise.
39335         (fn): Use match function instead of strstr.
39336         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39337         (ret): Remove variable.
39338         (x): Likewise.
39339         (FAIL): Remove macro.
39340         (NO_INLINE): Likewise.
39341         (handle_signal): Use match function instead of strstr.
39342         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39343         (ret): Remove variable.
39344         (x): Likewise.
39345         (FAIL): Remove macro.
39346         (NO_INLINE): Likewise.
39347         (handle_signal): Use match function instead of strstr.
39349 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39351         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39353 2013-01-23  David S. Miller  <davem@davemloft.net>
39355         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39356         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39357         argument of CAS if possible.
39358         * sysdeps/sparc/sparc64/bits/atomic.h
39359         (__arch_compare_and_exchange_val_32_acq): Likewise.
39360         (__arch_compare_and_exchange_val_64_acq): Likewise.
39362 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39364         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39365         * sysdeps/posix/ulimit.c: ... this.
39366         Include <limits.h>.
39367         * sysdeps/unix/bsd/ulimit.c: Remove file.
39369 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39371         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39372         (LDFLAGS-tst-array5): Likewise.
39374 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39376         [BZ #15036]
39377         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39378         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39379         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39380         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39382 2013-01-21  David S. Miller  <davem@davemloft.net>
39384         * sysdeps/sparc/backtrace.c: New file.
39385         * sysdeps/sparc/sparc32/backtrace.h: New file.
39386         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39387         * sysdeps/sparc/sparc64/backtrace.h: New file.
39388         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39389         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39390         -funwind-tables.
39392 2013-01-21  Andreas Schwab  <schwab@suse.de>
39394         [BZ #15020]
39395         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39396         closed its stdout.
39398 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39401         "mpa2.h".
39402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39404 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39405             Mark Mitchell  <mark@codesourcery.com>
39406             Tom de Vries  <tom@codesourcery.com>
39407             Paul Pluzhnikov  <ppluzhnikov@google.com>
39409         * debug/tst-backtrace2.c: New file.
39410         * debug/tst-backtrace3.c: Likewise.
39411         * debug/tst-backtrace4.c: Likewise.
39412         * debug/tst-backtrace5.c: Likewise.
39413         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39414         (CFLAGS-tst-backtrace3.c): Likewise.
39415         (CFLAGS-tst-backtrace4.c): Likewise.
39416         (CFLAGS-tst-backtrace5.c): Likewise.
39417         (LDFLAGS-tst-backtrace2): Likewise.
39418         (LDFLAGS-tst-backtrace3): Likewise.
39419         (LDFLAGS-tst-backtrace4): Likewise.
39420         (LDFLAGS-tst-backtrace5): Likewise.
39421         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39422         tst-backtrace4 and tst-backtrace5.
39424 2013-01-18  Anton Blanchard  <anton@samba.org>
39425             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39427         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39428         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39429         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39430         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39432         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39433         "+r" and remove output regs list as redundant.  Add explicit inline
39434         asm to specify register of return val to work around compiler codegen
39435         bug.  Remove (int) cast on return value.  Add return type parameter to
39436         use in macro so that this macro does not truncate return value for
39437         64-bit values.
39438         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39439         pass to INTERNAL_VSYSCALL_NCS.
39440         (INLINE_VSYSCALL): Add 'long int' as return type to
39441         INTERNAL_VSYSCALL_NCS macro invocation.
39442         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39443         INTERNAL_VSYSCALL_NCS macro invocation.
39444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39446 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39448         [BZ #14496]
39449         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39450         Fix application of SIMD FP exception mask.
39452         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39453         mp_no from a power of two.
39454         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39455         __mpexp_twomm1.  Use __pow_mp.
39457         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39458         multiplication.
39460 2013-01-17  David S. Miller  <davem@davemloft.net>
39462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39464 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39466         [BZ #15023]
39467         * include/complex.h: Condition contents on [!_COMPLEX_H].
39468         (__kernel_casinhf): New prototype.
39469         (__kernel_casinh): Likewise.
39470         (__kernel_casinhl): Likewise.
39471         * math/Makefile (libm_calls): Add k_casinh.
39472         * math/k_casinh.c: New file.
39473         * math/k_casinhf.c: Likewise.
39474         * math/k_casinhl.c: Likewise.
39475         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39476         finite nonzero arguments.
39477         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39478         finite nonzero arguments.
39479         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39480         finite nonzero arguments.
39481         * math/s_casinh.c: Do not include <float.h>.
39482         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39483         * math/s_casinhf.c: Do not include <float.h>.
39484         (__casinhf): Move code for finite nonzero arguments to
39485         k_casinhf.c.
39486         * math/s_casinhl.c: Do not include <float.h>.
39487         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39488         redefine.
39489         (__casinhl): Move code for finite nonzero arguments to
39490         k_casinhl.c.
39491         * math/libm-test.inc (cacos_test): Add more tests.
39492         * sysdeps/i386/fpu/libm-test-ulps: Update.
39493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39495 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39497         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39498         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39499         [!HAVE_MREMAP]: Remove [defined linux] case.
39500         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39502 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39504         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39506 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39508         * elf/elf.h (R_386_SIZE32): New relocation.
39509         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39510         R_386_SIZE32.
39511         (elf_machine_rela): Likewise.
39512         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39513         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39515 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39517         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39518         (FP_FAST_FMA): Do not define.
39519         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39520         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39521         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39522         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39523         !_SOFT_FLOAT]: Likewise.
39524         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39525         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39526         value.
39527         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39528         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39529         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39530         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39531         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39532         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39533         file.
39535 2013-01-16  Andreas Schwab  <schwab@suse.de>
39537         [BZ #14327]
39538         * include/stdlib.h (__mktemp): Add declaration.
39539         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39540         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39542 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39544         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39545         definitions.
39546         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39547         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39548         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39549         definitions here.
39550         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39551         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39552         definitions.
39553         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39554         and ONE.
39555         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39556         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39557         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39558         definitions.
39559         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39560         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39561         definitions.
39562         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39564         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39566 2013-01-15  David S. Miller  <davem@davemloft.net>
39568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39569         trunc{,f} to libm-sysdep_routes.
39570         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39572         file.
39573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39575         file.
39576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39577         file.
39578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39580         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39581         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39582         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39583         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39584         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39585         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39588         nearbyint{,f} to libm-sysdep_routes.
39589         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39591         New file.
39592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39593         file.
39594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39595         New file.
39596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39597         file.
39598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39600         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39601         file.
39602         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39603         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39604         file.
39605         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39606         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39607         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39609         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39610         libc_feholdexcept and libc_fesetenv.
39612 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39614         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39616 2013-01-14  David S. Miller  <davem@davemloft.net>
39618         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39619         (SPARC_ASM_VIS2_IFUNC): Likewise.
39620         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39622         use of 'siam' instruction.
39623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39624         Likewise.
39625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39626         Likewise.
39627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39628         Likewise.
39629         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39630         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39631         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39632         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39634         file.
39635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39636         file.
39637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39638         file.
39639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39640         file.
39641         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39642         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39644         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39646         new VIS2 routines.
39647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39650         Likewise.
39651         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39653         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39656         routines to libm-sysdep_routines.
39657         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39660         fdim/fdimf to libm-sysdep_routines.
39661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39662         file.
39663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39665         file.
39666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39669         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39670         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39671         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39672         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39674 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39676         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39677         to optimize copies.
39679         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39683         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39684         local variable MPTWO.
39685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39686         Likewise.
39688 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39690         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39691         GLOB_NOESCAPE.
39693 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39695         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39697 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39699         * manual/pattern.texi (glob_t): Document gl_flags.
39700         (glob64_t): Likewise.
39702 2013-01-11  David S. Miller  <davem@davemloft.net>
39704         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39705         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39706         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39707         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39708         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39709         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39710         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39711         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39712         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39713         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39714         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39715         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39716         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39718         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39719         sparc V9 rather than using V8 code.
39720         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39721         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39723         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39724         Move to...
39725         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39726         Here.
39728 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39730         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39731         not in the main loop.
39732         * configure: Regenerated.
39734 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39736         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39737         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39738         to just #else.
39739         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39740         [!__GLIBC_HAVE_LONG_LONG] case.
39741         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39742         condition to just #else.
39743         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39744         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39745         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39746         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39747         unconditional.
39748         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39749         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39750         #elif condition to just #else.
39751         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39752         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39753         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39754         #elif condition to just #else.
39756 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39758         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39759         (EF_MIPS_ARCH_64): Fix value.
39760         (EF_MIPS_ARCH_32R2): New.
39761         (EF_MIPS_ARCH_64R2): New.
39763 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39765         * Makeconfig (+link-pie-before-libc): New.
39766         (+link-pie-after-libc): Likewise.
39767         (+link-pie-tests): Likewise.
39768         (+link-pie): Rewritten.
39769         (link-before-libc): Remove $(config-LDFLAGS).
39770         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39771         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39772         (config-LDFLAGS): Renamed to ...
39773         (rtld-LDFLAGS): This.
39774         (rtld-tests-LDFLAGS): New macro.
39775         (link-libc-rpath-link): Likewise.
39776         (link-libc-tests-rpath-link): Likewise.
39777         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39778         (link-libc): Prepand $(link-libc-rpath-link).
39779         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39780         (test-program-prefix): New macro.
39781         (test-via-rtld-prefix): Likewise.
39782         (test-program-cmd): Likewise.
39783         (host-test-program-cmd): Likewise.
39784         * Makefile ($(common-objpfx)testrun.sh): Replace
39785         $(run-program-prefix) with $(test-program-prefix).
39786         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39787         $(rtld-LDFLAGS).
39788         ($(common-objpfx)shlib.lds): Likewise.
39789         (build-module-helper): Likewise.
39790         ($(common-objpfx)format.lds): Likewise.
39791         * Rules (binaries-pie-tests): New.
39792         (binaries-pie-notests): Likewise.
39793         (binaries-pie): Rewritten.
39794         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39795         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39796         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39797         (make-test-out): Replace $(host-built-program-cmd) with
39798         $(host-test-program-cmd).
39799         * config.make.in (build-hardcoded-path-in-tests): New variable.
39800         * configure.in (--enable-hardcoded-path-in-tests): New configure
39801         option.
39802         (hardcoded_path_in_tests): New AC_SUBST.
39803         * configure: Regenerated.
39804         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39805         $(built-program-cmd) with $(test-program-cmd).
39806         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39807         (test_program_cmd): This.
39808         * elf/Makefile ($(objpfx)order.out): Run test with
39809         $(test-program-prefix).
39810         ($(objpfx)order2.out): Likewise.
39811         ($(objpfx)tst-initorder.out): Likewise.
39812         ($(objpfx)tst-initorder2.out): Likewise.
39813         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39814         $(test-program-cmd).
39815         ($(objpfx)tst-array1-static.out): Likewise.
39816         ($(objpfx)tst-array2.out): Likewise.
39817         ($(objpfx)tst-array3.out): Likewise.
39818         ($(objpfx)tst-array4.out): Likewise.
39819         ($(objpfx)tst-array5.out): Likewise.
39820         ($(objpfx)tst-array5-static.out): Likewise.
39821         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39822         $(test-program-cmd).
39823         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39824         $(run-program-prefix) with $(test-program-prefix).
39825         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39826         (test_program_prefix): This.
39827         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39828         $(run-program-prefix) with $(test-program-prefix).
39829         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39830         (test_program_prefix): This.
39831         * iconvdata/tst-tables.sh: Likewise.
39832         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39833         $(run-program-prefix) with $(test-program-prefix).
39834         ($(objpfx)tst-translit.out): Likewise.
39835         ($(objpfx)tst-gettext2.out): Likewise.
39836         ($(objpfx)tst-gettext4.out): Likewise.
39837         ($(objpfx)tst-gettext6.out): Likewise.
39838         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39839         (test_program_prefix): This.
39840         * intl/tst-gettext2.sh: Likewise.
39841         * intl/tst-gettext4.sh  Likewise.
39842         * intl/tst-gettext6.sh: Likewise.
39843         * intl/tst-translit.sh: Likewise.
39844         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39845         with $(test-program-cmd).
39846         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39847         $(run-program-prefix) with $(test-program-prefix).
39848         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39849         (test_program_prefix): This.
39850         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39851         $(run-program-prefix) with $(test-program-prefix).
39852         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39853         (test_program_prefix): This.
39854         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39855         * posix/Makefile ($(objpfx)globtest.out): Replace
39856         $(run-via-rtld-prefix) and $(test-wrapper) with
39857         $(test-program-prefix) and $(test-via-rtld-prefix).
39858         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39859         $(test-program-prefix).
39860         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39861         $(host-test-program-cmd).
39862         (tst-spawn-ARGS): Likewise.
39863         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39864         $(test-program-prefix).
39865         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39866         (test_via_rtld_prefix): This.
39867         (test_wrapper): Renamed to ...
39868         (test_program_prefix): This.
39869         (run_program_prefix): Replaced by test_program_prefix.
39870         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39871         (test_program_prefix): This.
39872         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39873         with $(host-test-program-cmd).
39874         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39875         $(run-program-prefix) with $(test-program-prefix).
39876         ($(objpfx)tst-printf.out): Likewise.
39877         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39878         $(test-program-cmd).
39879         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39880         (test_program_prefix): This.
39881         * stdio-common/tst-unbputc.sh: Likewise.
39882         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39883         $(run-program-prefix) with $(test-program-prefix).
39884         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39885         (test_program_prefix): This.
39886         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39887         $(built-program-cmd) with $(test-program-cmd).
39889 2013-01-11  Andreas Jaeger  <aj@suse.de>
39891         [BZ #15003]
39892         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39893         value. Sync with Linux 3.7.
39895 2013-01-10  David S. Miller  <davem@davemloft.net>
39897         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39898         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39899         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39901 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39903         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39904         never set.
39905         * configure: Regenerated.
39907 2013-01-10  David S. Miller  <davem@davemloft.net>
39909         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39910         sparc V9 rather than using V8 code.
39911         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39912         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39914 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39916         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39917         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39918         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39919         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39920         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39921         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39922         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39923         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39924         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39925         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39926         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39927         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39928         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39929         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39930         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39931         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39932         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39933         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39934         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39935         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39936         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39937         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39938         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39939         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39940         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39941         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39942         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39944 2013-01-10  David S. Miller  <davem@davemloft.net>
39946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39948 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39950         * posix/Makefile (tests-static): New variable.
39951         (tests): Add $(tests-static).
39952         (tst-exec-static-ARGS): New variable.
39953         (tst-spawn-static-ARGS): Likewise.
39954         * posix/tst-exec-static.c: New file.
39955         * posix/tst-spawn-static.c: Likewise.
39956         * posix/tst-exec.c: Support run directly.
39957         * posix/tst-spawn.c: Likewise.
39959 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39961         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39962         long.
39963         * math/bits/mathcalls.h (llrint): Likewise.
39964         (llround): Likewise.
39965         * stdlib/stdlib.h (struct drand48_data): Likewise.
39966         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39967         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39968         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39969         Likewise.
39970         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39971         Likewise.
39972         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39973         (elf_greg_t): Likewise.
39974         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39975         (__jmp_buf): Likewise.
39976         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39977         definitions.
39978         (llrint): Likewise, for all definitions.
39979         (llrintl): Likewise.
39981         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39982         Remove [__GNUC__] condition.
39983         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39984         condition to just [__USE_ISOC99].
39985         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39987 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39989         [BZ #14200]
39990         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39991         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39992         defined.
39993         (_POSIX_V6_ILP32_OFF32): Likewise.
39994         (_XBS5_ILP32_OFF32): Likewise.
39995         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39996         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39998 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40000         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40002         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40003         doubles __mpexp_twomm1.  Adjust usage.
40004         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40005         Remove.
40007 2013-01-10  Andreas Schwab  <schwab@suse.de>
40009         [BZ #14964]
40010         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40011         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40013 2013-01-09  David S. Miller  <davem@davemloft.net>
40015         [BZ #15003]
40016         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40017         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40018         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40019         (TCP_FASTOPEN): Define.
40020         (tcp_repair_opt): New structure.
40021         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40022         enum values.
40023         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40024         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40025         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40026         (tcp_cookie_transactions): New structure.
40028 2013-01-09  Anton Blanchard  <anton@samba.org>
40030         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40031         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40032         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40033         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40035 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40037         * include/features.h (__USE_ANSI): Remove.
40039 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40041         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40043         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40045 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40047         * sysdeps/s390/fpu/libm-test-ulps: Update.
40049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40051         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40052         (__acr): Likewise.
40053         (__cpy): Likewise.
40054         (norm): Likewise.
40055         (denorm): Likewise.
40056         (__mp_dbl): Likewise.
40057         (__dbl_mp): Likewise.
40058         (add_magnitudes): Likewise.
40059         (sub_magnitudes): Likewise.
40060         (__add): Likewise.
40061         (__sub): Likewise.
40062         (__mul): Likewise.
40063         (__inv): Likewise.
40064         (__dvd): Likewise.
40065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40066         (__acr): Likewise.
40067         (__cpy): Likewise.
40068         (norm): Likewise.
40069         (denorm): Likewise.
40070         (__mp_dbl): Likewise.
40071         (__dbl_mp): Likewise.
40072         (add_magnitudes): Likewise.
40073         (sub_magnitudes): Likewise.
40074         (__add): Likewise.
40075         (__sub): Likewise.
40076         (__mul): Likewise.
40077         (__inv): Likewise.
40078         (__dvd): Likewise.
40079         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40080         (__acr): Likewise.
40081         (__cpy): Likewise.
40082         (norm): Likewise.
40083         (denorm): Likewise.
40084         (__mp_dbl): Likewise.
40085         (__dbl_mp): Likewise.
40086         (add_magnitudes): Likewise.
40087         (sub_magnitudes): Likewise.
40088         (__add): Likewise.
40089         (__sub): Likewise.
40090         (__mul): Likewise.
40091         (__inv): Likewise.
40092         (__dvd): Likewise.
40094 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40096         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40097         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40098         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40099         2 && __USE_EXTERN_INLINES]: Likewise.
40101 2013-01-08  Andreas Jaeger  <aj@suse.de>
40103         [BZ# 14985]
40104         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40105         Remove.
40106         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40107         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40109 2013-01-07  Anton Blanchard  <anton@samba.org>
40111         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40112         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40113         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40114         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40115         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40116         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40117         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40118         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40120         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40121         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40122         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40123         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40124         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40125         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40126         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40127         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40128         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40129         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40130         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40131         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40132         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40133         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40134         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40135         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40136         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40137         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40138         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40139         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40140         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40141         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40142         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40143         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40144         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40145         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40146         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40147         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40148         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40149         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40150         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40151         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40152         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40153         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40155 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40157         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40158         (__MALLOC_PMT): Likewise.
40159         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40160         [__GNUC__], only on [_LIBC].
40161         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40162         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40163         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40164         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40165         forward declaration.
40166         (realloc_hook_ini): Likewise.
40167         (memalign_hook_ini): Likewise.
40168         (__libc_memalign): Do not use __MALLOC_PMT in variable
40169         declaration.
40170         (__libc_valloc): Likewise.
40171         (__libc_pvalloc): Likewise.
40172         (__libc_calloc): Likewise.
40173         (__posix_memalign): Likewise.
40175         [BZ #14996]
40176         * math/s_casinh.c: Include <float.h>.
40177         (__casinh): Do not do computation with squaring and square root
40178         for large arguments.
40179         * math/s_casinhf.c: Include <float.h>.
40180         (__casinhf): Do not do computation with squaring and square root
40181         for large arguments.
40182         * math/s_casinhl.c: Include <float.h>.
40183         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40184         (__casinhl): Do not do computation with squaring and square root
40185         for large arguments.
40186         * math/libm-test.inc (casin_test): Add more tests.
40187         (casinh_test): Likewise.
40188         * sysdeps/i386/fpu/libm-test-ulps: Update.
40189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40191 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40193         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40194         (__x86_64_raw_data_cache_size): Likewise.
40195         (__x86_64_data_cache_size_half): Likewise.
40196         (__x86_64_raw_data_cache_size_half): Likewise.
40197         (__x86_64_shared_cache_size): Likewise.
40198         (__x86_64_raw_shared_cache_size): Likewise.
40199         (__x86_64_shared_cache_size_half): Likewise.
40200         (__x86_64_raw_shared_cache_size_half): Likewise.
40201         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40202         to ...
40203         (__x86_data_cache_size): This.
40204         (__x86_64_raw_data_cache_size): Renamed to ...
40205         (__x86_raw_data_cache_size): This.
40206         (__x86_64_data_cache_size_half): Renamed to ...
40207         (__x86_data_cache_size_half): This.
40208         (__x86_64_raw_data_cache_size_half): Renamed to ...
40209         (__x86_raw_data_cache_size_half): This.
40210         (__x86_64_shared_cache_size): Renamed to ...
40211         (__x86_shared_cache_size): This.
40212         (__x86_64_raw_shared_cache_size): Renamed to ...
40213         (__x86_raw_shared_cache_size): This.
40214         (__x86_64_shared_cache_size_half): Renamed to ...
40215         (__x86_shared_cache_size_half): This.
40216         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40217         (__x86_raw_shared_cache_size_half): This.
40218         * sysdeps/x86_64/memcpy.S: Updated.
40219         * sysdeps/x86_64/memset.S: Likewise.
40220         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40221         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40222         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40224 2013-01-04  David S. Miller  <davem@davemloft.net>
40226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40228 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40230         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40231         1 to avoid redefinition warning.
40232         (__USE_GNU): Don't define.
40233         (init_signaling_nan): Protoize.
40235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40237 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40239         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40240         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40241         (__cpymn): Likewise.
40242         (norm): Remove commented code.
40243         (denorm): Likewise.
40244         (__mp_dbl): Likewise.
40245         (__inv): Likewise.
40246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40247         (__cpymn): Likewise.
40248         (norm): Remove commented code.
40249         (denorm): Likewise.
40250         (__mp_dbl): Likewise.
40251         (__inv): Likewise.
40253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40254         mp_no value for 1.0 and 2.0.
40255         (norm): Use RADIXI instead of radixi.d.
40256         (denorm): Likewise.
40257         (__mul): Use 0.0 instead of zero.d.
40258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40259         mp_no value for 1.0 and 2.0.
40260         (norm): Use RADIXI instead of radixi.d.
40261         (denorm): Likewise.
40262         (__mul): Use 0.0 instead of zero.d.
40264 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40266         [BZ #14994]
40267         * math/s_casinh.c (__casinh): Reduce finite argument to first
40268         quadrant then set signs of results at the end.
40269         * math/s_casinhf.c (__casinhf): Likewise.
40270         * math/s_casinhl.c (__casinhl): Likewise.
40271         * math/libm-test.inc (casin_test): Add more tests.
40272         (casinh_test): Likewise.
40273         * sysdeps/i386/fpu/libm-test-ulps: Update.
40274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40276 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40278         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40280         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40282         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40283         declarations.
40284         (denorm): Likewise.
40285         (__mp_dbl): Likewise.
40286         (__inv): Likewise.
40288         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40289         and adjust the header comment.
40291         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40292         variable name from declaration.
40294 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40297         Initialize COMMON_CPUID_INDEX_7 element.
40298         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40299         (CPUID_RTM): Likewise.
40300         (HAS_RTM): Likewise.
40301         (COMMON_CPUID_INDEX_7): New enum.
40303 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40305         [BZ #14981]
40306         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40307         size is zero, record memory as freed.
40309 2013-01-03  Andreas Jaeger  <aj@suse.de>
40311         * po/ia.po: Add new Interlingua translation.
40313 2012-01-03  Allan McRae  <allan@archlinux.org>
40315         * locale/programs/localedef.c: Fix description of '--posix' flag.
40317 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40319         * NEWS: Update dates in second copyright notice.
40320         * README: Update copyright dates in example.
40321         * manual/libc.texinfo: Update copyright dates.
40322         * scripts/test-installation.pl: Update copyright date in --version
40323         output.
40325         * hurd/ctty-input.c: Fix copyright notice formatting.
40326         * hurd/ctty-output.c: Likewise.
40327         * hurd/dtable.c: Likewise.
40328         * hurd/hurd-raise.c: Likewise.
40329         * hurd/hurdprio.c: Likewise.
40330         * hurd/msgportdemux.c: Likewise.
40331         * misc/sys/file.h: Likewise.
40332         * misc/sys/ioctl.h: Likewise.
40333         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40334         * sysdeps/mach/hurd/chdir.c: Likewise.
40335         * sysdeps/mach/hurd/fchdir.c: Likewise.
40336         * sysdeps/mach/hurd/rename.c: Likewise.
40337         * sysdeps/mach/hurd/rmdir.c: Likewise.
40338         * sysdeps/mach/hurd/seekdir.c: Likewise.
40339         * sysdeps/mach/hurd/setsid.c: Likewise.
40340         * sysdeps/posix/wait3.c: Likewise.
40342         * All files with FSF copyright notices: Update copyright dates
40343         using scripts/update-copyrights.
40344         * intl/plural.c: Regenerated.
40345         * locale/programs/charmap-kw.h: Likewise.
40346         * locale/programs/locfile-kw.h: Likewise.
40348 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40350         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40351         four values.
40353         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40354         calculation loop and add branch prediction.
40356         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40357         check access beyond bounds of m1np.
40359         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40360         MPTWO.
40361         (__inv): Remove local variable MPTWO to use the global
40362         constant.
40363         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40364         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40365         variable MPTWO.
40366         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40367         MP3HALFS static const.
40369 2013-01-01  David S. Miller  <davem@davemloft.net>
40371         * po/ca.po: Update from translation team.
40373 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40375         * scripts/update-copyrights: New file.
40376         * Makeconfig: Reformat copyright notice.
40377         * ctype/ctype.h: Likewise.
40378         * debug/swprintf_chk.c: Likewise.
40379         * elf/dl-cache.c: Likewise.
40380         * elf/dl-debug.c: Likewise.
40381         * elf/dl-object.c: Likewise.
40382         * grp/initgroups.c: Likewise.
40383         * hurd/Makefile: Likewise.
40384         * hurd/hurd/signal.h: Likewise.
40385         * hurd/hurdfault.c: Likewise.
40386         * hurd/hurdioctl.c: Likewise.
40387         * hurd/hurdlookup.c: Likewise.
40388         * hurd/intr-msg.c: Likewise.
40389         * iconv/gconv_open.c: Likewise.
40390         * libio/swprintf.c: Likewise.
40391         * locale/lc-ctype.c: Likewise.
40392         * locale/nl_langinfo.c: Likewise.
40393         * mach/Machrules: Likewise.
40394         * mach/Makefile: Likewise.
40395         * malloc/obstack.h: Likewise.
40396         * manual/Makefile: Likewise.
40397         * manual/tsort.awk: Likewise.
40398         * misc/bits/stab.def: Likewise.
40399         * nis/nis_print_group_entry.c: Likewise.
40400         * nis/nis_table.c: Likewise.
40401         * nis/nss_compat/compat-pwd.c: Likewise.
40402         * nis/nss_compat/compat-spwd.c: Likewise.
40403         * po/Makefile: Likewise.
40404         * posix/fnmatch.c: Likewise.
40405         * posix/regex.h: Likewise.
40406         * resolv/Makefile: Likewise.
40407         * resolv/nss_dns/dns-network.c: Likewise.
40408         * resolv/res_hconf.c: Likewise.
40409         * scripts/gen-sorted.awk: Likewise.
40410         * soft-fp/soft-fp.h: Likewise.
40411         * stdio-common/printf.h: Likewise.
40412         * stdlib/monetary.h: Likewise.
40413         * stdlib/random.c: Likewise.
40414         * stdlib/random_r.c: Likewise.
40415         * sysdeps/generic/Makefile: Likewise.
40416         * sysdeps/gnu/Makefile: Likewise.
40417         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40418         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40419         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40420         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40421         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40422         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40423         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40424         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40425         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40426         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40427         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40428         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40429         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40430         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40431         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40432         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40433         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40434         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40435         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40436         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40437         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40438         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40439         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40440         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40441         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40442         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40443         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40444         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40445         * sysdeps/mach/hurd/errnos.awk: Likewise.
40446         * sysdeps/mach/hurd/fork.c: Likewise.
40447         * sysdeps/mach/hurd/getcwd.c: Likewise.
40448         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40449         * sysdeps/mach/hurd/mmap.c: Likewise.
40450         * sysdeps/mach/hurd/utimes.c: Likewise.
40451         * sysdeps/mach/hurd/xmknod.c: Likewise.
40452         * sysdeps/posix/profil.c: Likewise.
40453         * sysdeps/posix/readdir_r.c: Likewise.
40454         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40455         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40456         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40457         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40458         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40459         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40460         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40461         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40463         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40464         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40465         * sysdeps/pthread/lio_listio.c: Likewise.
40466         * sysdeps/sparc/dl-procinfo.h: Likewise.
40467         * sysdeps/unix/i386/sysdep.S: Likewise.
40468         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40469         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40470         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40471         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40473         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40474         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40475         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40476         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40477         * sysdeps/wordsize-32/divdi3.c: Likewise.
40478         * time/sys/time.h: Likewise.
40479         * wcsmbs/Makefile: Likewise.
40481 2013-01-01  David S. Miller  <davem@davemloft.net>
40483         * po/fr.po: Update from translation team.
40485         * catgets/gencat.c: Update copyright year.
40486         * csu/version.c: Likewise.
40487         * debug/catchsegv.sh: Likewise.
40488         * debug/pcprofiledump.c: Likewise.
40489         * debug/xtrace.sh: Likewise.
40490         * elf/ldconfig.c: Likewise.
40491         * elf/ldd.bash.in: Likewise.
40492         * elf/pldd.c: Likewise.
40493         * elf/sotruss.ksh: Likewise.
40494         * elf/sprof.c: Likewise.
40495         * iconv/iconv_prog.c: Likewise.
40496         * iconv/iconvconfig.c: Likewise.
40497         * locale/programs/locale.c: Likewise.
40498         * locale/programs/localedef.c: Likewise.
40499         * login/programs/pt_chown.c: Likewise.
40500         * malloc/memusage.sh: Likewise.
40501         * malloc/memusagestat.c: Likewise.
40502         * malloc/mtrace.pl: Likewise.
40503         * nscd/nscd.c: Likewise.
40504         * nss/getent.c: Likewise.
40505         * nss/makedb.c: Likewise.
40506         * posix/getconf.c: Likewise.
40508 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40510         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40511         numbers.
40513 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40515         * math/bits/mathcalls.h (modf): Use __nonnull.
40517 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40519         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40520         (split): Use macro CN instead of the bare value.
40521         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40522         could be used.
40523         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40524         instead of the bare value.
40525         (power1): Likewise.
40527 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40529         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40530         __ATAN_TWOM.
40531         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40533         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40534         their values.
40535         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40536         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40537         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40538         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40540 2012-12-28  Andreas Jaeger  <aj@suse.de>
40542         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40543         values are from Linux 3.7.
40545         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40546         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40548 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40550         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40551         TRUE case.
40553         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40554         (norm): Likewise.
40555         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40556         variables with preprocessor constants.
40557         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40558         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40559         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40561 2012-12-27  Bruno Haible  <bruno@clisp.org>
40563         [BZ #14317]
40564         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40565         only if needed.
40567 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40569         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40570         and use variable directly.
40571         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40573         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40574         MPONE.
40575         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40576         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40577         variable MPONE.
40578         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40579         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40580         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40581         include directive.  Remove local variable MPONE.
40582         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40583         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40584         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40586 2012-12-25  David S. Miller  <davem@davemloft.net>
40588         * version.h (RELEASE): Set to "development".
40589         (VERSION): Set to "2.17.90".
40590         * NEWS: Add 2.18 section.
40592 2012-12-21  David S. Miller  <davem@davemloft.net>
40594         * po/hr.po: Update from translation team.
40596 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40598         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40600 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40602         * NEWS:  Mention new memcpy for MIPS.
40604 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40606         * manual/contrib.texi (Contributors): Spelling correction.
40608 2012-12-15  David S. Miller  <davem@davemloft.net>
40610         * po/ru.po: Update from translation team.
40612 2012-12-13  David S. Miller  <davem@davemloft.net>
40614         * NEWS: Mention IFUNC testsuite enhancements.
40616         * po/pl.po: Update from translation team.
40617         * po/bg.po: Likewise.
40619         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40620         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40622 2012-12-11  David S. Miller  <davem@davemloft.net>
40624         * po/sv.po: Update from translation team.
40626         * po/vi.po: Update from translation team.
40628         * po/cs.po: Update from translation team.
40630         * po/de.po: Update from translation team.
40631         * po/eo.po: Likewise.
40632         * po/nl.po: Likewise.
40634 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40636         [BZ #14246]
40637         * manual/argp.texi (Argp Helper Functions): Move node to follow
40638         Argp Parsing State.
40640         [BZ #14872]
40641         * manual/conf.texi (Limits on File System Capacity): Mention if
40642         terminating null is included in the max size.
40644 2012-12-10  Andreas Jaeger  <aj@suse.de>
40646         * po/cs.po: Update from translation team.
40648 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40650         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40651         void pointer and cast to uintptr_t.
40652         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40653         path.
40654         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40655         * sysdeps/s390/s390-64/memset.S: Likewise.
40657 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40659         [BZ #14833]
40660         * menual/message.texi (Message Translation): Fix typos.
40661         (Helper programs for gettext): Likewise.
40663 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40665         [BZ #14898]
40666         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40667         Change to -1.
40669 2012-12-07  David S. Miller  <davem@davemloft.net>
40671         * po/libc.pot: Update.
40673 2012-12-07  Richard Henderson  <rth@redhat.com>
40675         [BZ #10114]
40676         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40677         normal/normal case to before the switch.
40678         (_FP_DIV): Likewise.
40680 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40681             Mike Frysinger  <vapier@gentoo.org>
40683         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40684         check for __NR_fadvise64_64.
40686 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40688         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40689         0, not just to plain "0" as a statement.
40690         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40691         with cw.
40693 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40695         * NEWS: Use sourceware.org in Bugzilla URL.
40697 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40700         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40702         * stdio-common/tst-put-error.c (do_test): Add newline to the
40703         padded test to ensure flush.
40705 2012-12-05  Jeff Law  <law@redhat.com>
40707         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40709 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40711         * README: Don't refer to ports add-on as distributed separately.
40712         Mention AArch64 in list of systems supported in the ports add-on.
40714         * LICENSES: Add more non-FSF copyright and license notices.
40716         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40717         ((unused)).
40719         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40721         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40722         10000 as width of padded output.
40724 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40726         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40728         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40729         variable LX with __attribute__ ((unused)).
40730         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40731         Likewise.
40732         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40733         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40734         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40735         with __attribute__ ((unused)).
40737 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40739         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40741 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40743         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40744         (CFLAGS-nldbl-acos.c): New variable.
40745         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40746         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40747         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40748         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40749         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40750         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40751         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40752         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40753         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40754         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40755         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40756         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40757         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40758         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40759         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40760         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40761         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40762         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40763         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40764         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40765         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40766         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40767         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40768         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40769         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40770         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40771         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40772         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40773         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40774         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40775         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40776         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40777         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40778         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40779         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40780         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40781         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40782         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40783         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40784         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40785         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40786         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40787         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40788         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40789         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40790         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40791         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40792         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40793         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40794         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40795         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40796         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40797         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40798         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40799         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40800         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40801         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40802         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40803         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40804         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40805         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40806         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40807         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40808         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40809         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40810         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40811         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40812         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40813         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40814         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40815         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40816         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40817         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40818         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40819         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40820         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40821         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40822         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40823         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40824         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40825         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40826         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40827         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40828         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40829         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40830         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40831         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40832         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40833         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40834         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40835         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40836         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40837         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40838         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40839         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40840         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40841         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40844         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40846         [BZ #14914]
40847         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40848         whole low double instead of just low 47 bits when splitting values
40849         into two parts.
40851 2012-12-03  Allan McRae  <allan@archlinux.org>
40853         * manual/stdio.texi (Predefined Printf Handlers): Remove
40854         @hsep and @vsep usage.
40856 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40858         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40859         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40861 2012-12-03  Jeff Law  <law@redhat.com>
40863         * time/sys/time.h (settimeofday): Do not mark TV argument
40864         as __nonnull.
40866 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40868         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40869         when currently writing and seek to current position when not.
40870         * libio/Makefile (tests): Remove bug-fclose1.
40871         * libio/bug-fclose1.c: Delete.
40873 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40875         * manual/arith.texi (feenableexcept): Fix typo.
40876         (fedisableexcept): Likewise.
40878 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40880         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40881         second, differently-typed declaration, rather than a cast.
40883 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40885         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40886         * include/rpc/svc.h: ... here.
40888 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40890         [BZ #13013]
40891         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40892         depending n and resplen2 to catch cases where answer
40893         equals answerp2.
40895 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40897         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40898         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40900 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40902         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40904 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40906         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40908 2012-11-28  Jeff Law  <law@redhat.com>
40910         [BZ #13761]
40911         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40912         dataset_temporary.  Track alloca usage into alloca_used.
40913         If dataset is large allocate and release it via malloc/free.
40915 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40917         [BZ #14197]
40918         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40920 2012-11-28  David S. Miller  <davem@davemloft.net>
40922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40924 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40926         [BZ #14803]
40927         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40928         of pi/2 rounded to nearest to 64 bits.
40929         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40930         nearest to 64 bits.
40931         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40932         bits.
40934 2012-11-28  Jeff Law <law@redhat.com>
40935             Martin Osvald <mosvald@redhat.com>
40937         [BZ #14889]
40938         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40939         * sunrpc/svc.c: Include time.h.
40940         (__svc_accept_failed): New function.
40941         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40942         any reason other than EINTR, call __svc_accept_failed.
40943         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40944         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40946 2012-11-28  Andreas Schwab  <schwab@suse.de>
40948         * scripts/abilist.awk: Also handle indirect functions in .opd
40949         section.
40951 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40953         [BZ #13881]
40954         * sysdeps/x86/fpu/powl_helper.c: New file.
40955         * sysdeps/x86/fpu/Makefile: Likewise.
40956         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40957         (p3): New object.
40958         (__ieee754_powl): Use __powl_helper for finite arguments except
40959         integer exponents below 8.
40960         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40961         (p3): New object.
40962         (__ieee754_powl): Use __powl_helper for finite arguments except
40963         integer exponents below 8.
40964         * math/libm-test.inc (pow_test): Add more tests and enable some
40965         previously disabled tests.
40966         * sysdeps/i386/fpu/libm-test-ulps: Update.
40967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40969 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40970             Carlos O'Donell  <carlos_odonell@mentor.com>
40972         * nss/makedb.c (is_prime): Assert that input is odd and greater
40973         than 4.  Note that fact in a comment too.
40974         (next_prime): Add 4 to input.
40976 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40978         [BZ #11741]
40979         * libio/Makefile (tests): Add test case tst-fwrite-error.
40980         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40981         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40982         * libio/tst-fwrite-error.c: New test case.
40984 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40986         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40987         before casting to void *.
40988         * include/libc-internal.h (__pointer_type): New macro.
40989         (__integer_if_pointer_type_sub): Likewise.
40990         (__integer_if_pointer_type): Likewise.
40991         (cast_to_integer): Likewise.
40992         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40993         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40994         before casting to atomic64_t.
40995         (atomic_exchange_acq): Likewise.
40996         (__arch_exchange_and_add_body): Likewise.
40997         (__arch_add_body): Likewise.
40998         (atomic_add_negative): Likewise.
40999         (atomic_add_zero): Likewise.
41001 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41003         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41004         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41005         (add_fdes): Likewise.
41006         (linear_search_fdes): Likewise.
41007         (binary_search_unencoded_fdes): Likewise.
41009 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41011         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41013 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41015         * configure.in: Autodetect C++ header directories.
41016         * configure: Regenerated.
41018 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41020         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41022 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41026 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41028         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41029         LDBL_MANT_DIG == 106]: Disable some tests.
41030         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41031         Likewise.
41032         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41033         Likewise.
41035         [BZ #14871]
41036         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41037         input for small inputs.  Return +/- pi/2 for large inputs.
41038         * math/libm-test.inc (atan_test): Add more tests.
41040         * sysdeps/generic/unwind-dw2-fde-glibc.c
41041         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41042         __attribute__ ((unused)).
41044         [BZ #14645]
41045         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41046         x * y if x and y are nonzero and z is zero.
41048         [BZ #14811]
41049         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41050         nonzero exponents with absolute value below 0x1p-117 to +/-
41051         0x1p-117.
41053         [BZ #14869]
41054         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41055         up arguments below 2**-450, not just those below 2**-500.
41056         * math/libm-test.inc (hypot_test): Add another test.
41058         [BZ #14868]
41059         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41060         Return a+b for ratio over 2**120, not 2**60.
41061         * math/libm-test.inc (hypot_test): Add another test.
41063         * math/libm-test.inc (clog_test): Use
41064         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41065         (clog10_test): Likewise.
41067         [BZ #6778]
41068         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41070 2012-11-22  Andreas Schwab  <schwab@suse.de>
41072         * sysdeps/i386/fpu/libm-test-ulps: Update.
41074 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41076         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41077         printf output with newline.
41079 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41081         [BZ #14865]
41082         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41083         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41084         -z nodlopen, -z initfirst and -z execstack support.
41085         * configure: Regenerated.
41087         * elf/elf.h (DF_1_NODIRECT): New macro.
41088         (DF_1_IGNMULDEF): Likewise.
41089         (DF_1_NOKSYMS): Likewise.
41090         (DF_1_NOHDR): Likewise.
41091         (DF_1_EDITED): Likewise.
41092         (DF_1_NORELOC): Likewise.
41093         (DF_1_SYMINTPOSE): Likewise.
41094         (DF_1_GLOBAUDIT): Likewise.
41095         (DF_1_SINGLETON): Likewise.
41096         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41097         DT_1_SUPPORTED_MASK bits.
41098         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41100 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41102         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41104 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41106         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41107         macro.
41109         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41110         (sendmmsg): Move declarations...
41111         * socket/sys/socket.h: ... here.
41112         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41113         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41114         include it from...
41115         * socket/recvmmsg.c: ... this new file.
41116         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41117         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41118         definition of __sendmmsg hidden.
41119         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41120         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41121         Move ENOSYS stub into and include it from...
41122         * socket/sendmmsg.c: ... this new file.
41123         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41124         (sysdep_routines): Move recvmmsg and sendmmsg...
41125         * socket/Makefile (routines): ... here.
41126         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41127         (GLIBC_PRIVATE): Add __sendmmsg.
41128         * include/sys/socket.h (__sendmmsg): Add declarations.
41129         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41130         sendmmsg.
41132 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41134         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41135         variable I1 with __attribute__ ((unused)).
41136         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41138 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41140         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41141         DUMMY variables with __attribute__ ((unused)).
41143         * bits/byteswap.h: Include <bits/types.h>.
41144         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41146 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41148         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41149         string_t.  Do not manually set errno.
41150         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41151         length with __strnlen.  Make sure to both set errno and return it on
41152         failure.
41154 2012-11-19  David S. Miller  <davem@davemloft.net>
41156         With help from Joseph Myers.
41157         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41158         very large arguments properly.
41159         * math/libm-test.inc (atan_test): New tests.
41160         (atan2_test): New tests.
41161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41164 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41166         [BZ #14856]
41167         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41168         Define to 3.
41170         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41171         [POSIX] (EADDRNOTAVAIL): Likewise.
41172         [POSIX] (EAFNOSUPPORT): Likewise.
41173         [POSIX] (EALREADY): Likewise.
41174         [POSIX] (ECONNABORTED): Likewise.
41175         [POSIX] (ECONNREFUSED): Likewise.
41176         [POSIX] (ECONNRESET): Likewise.
41177         [POSIX] (EDESTADDRREQ): Likewise.
41178         [POSIX] (EDQUOT): Likewise.
41179         [POSIX] (EHOSTUNREACH): Likewise.
41180         [POSIX] (EIDRM): Likewise.
41181         [POSIX] (EISCONN): Likewise.
41182         [POSIX] (ELOOP): Likewise.
41183         [POSIX] (EMULTIHOP): Likewise.
41184         [POSIX] (ENETDOWN): Likewise.
41185         [POSIX] (ENETUNREACH): Likewise.
41186         [POSIX] (ENOBUFS): Likewise.
41187         [POSIX] (ENODATA): Likewise.
41188         [POSIX] (ENOLINK): Likewise.
41189         [POSIX] (ENOMSG): Likewise.
41190         [POSIX] (ENOPROTOOPT): Likewise.
41191         [POSIX] (ENOSR): Likewise.
41192         [POSIX] (ENOSTR): Likewise.
41193         [POSIX] (ENOTCONN): Likewise.
41194         [POSIX] (ENOTSOCK): Likewise.
41195         [POSIX] (EOPNOTSUPP): Likewise.
41196         [POSIX] (EOVERFLOW): Likewise.
41197         [POSIX] (EPROTO): Likewise.
41198         [POSIX] (EPROTONOSUPPORT): Likewise.
41199         [POSIX] (EPROTOTYPE): Likewise.
41200         [POSIX] (ESTALE): Likewise.
41201         [POSIX] (ETIME): Likewise.
41202         [POSIX] (ETXTBSY): Likewise.
41203         [POSIX] (EWOULDBLOCK): Likewise.
41204         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41205         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41206         [POSIX] (SEEK_CUR): Likewise.
41207         [POSIX] (SEEK_END): Likewise.
41208         [POSIX || UNIX98] (mode_t): Do not require.
41209         [POSIX] (off_t): Likewise.
41210         [POSIX] (pid_t): Likewise.
41211         [POSIX] (sys/stat.h): Do not allow header.
41212         [POSIX] (unistd.h): Likewise.
41213         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41214         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41215         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41216         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41217         require.
41218         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41219         sigevent): Specify elements.
41220         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41221         entry.
41222         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41223         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41225         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41226         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41227         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41228         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41229         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41230         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41231         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41232         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41233         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41234         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41235         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41236         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41237         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41238         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41239         Likewise.
41240         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41241         Likewise.
41242         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41243         Likewise.
41244         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41245         Likewise.
41246         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41247         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41248         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41249         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41250         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41251         Specify lower bound on value.
41252         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41253         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41254         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41255         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41256         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41257         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41258         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41259         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41260         value.
41261         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41262         as optional.
41263         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41264         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41265         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41266         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41267         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41268         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41269         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41270         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41271         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41272         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41273         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41274         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41275         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41276         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41277         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41278         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41279         entry.
41280         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41281         optional.
41282         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41283         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41284         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41285         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41286         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41287         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41288         Likewise.
41289         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41290         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41291         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41292         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41293         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41294         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41295         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41296         as optional.
41297         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41298         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41299         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41300         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41301         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41302         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41303         specify as optional.
41304         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41305         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41306         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41307         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41308         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41309         [XPG3] (NL_LANGMAX): Likewise.
41310         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41311         [POSIX || XPG3] (NL_NMAX): Likewise.
41312         [POSIX || XPG3] (NL_SETMAX): Likewise.
41313         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41314         [XPG3] (NZERO): Likewise.
41315         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41316         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41317         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41318         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41319         (REG_ERANGE): Expect.
41320         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41321         optional-constant.
41322         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41323         Use (void) in prototype.
41324         [POSIX] (*_t): Allow.
41325         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41326         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41327         (WRDE_BADVAL): Expect.
41329         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41330         expect.
41331         [XPG3 || XPG4] (O_RSYNC): Likewise.
41332         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41333         Likewise.
41334         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41335         [XPG3 || XPG4] (sigqueue): Likewise.
41336         [XPG3 || XPG4] (sigtimedwait): Likewise.
41337         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41338         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41339         [XPG3 || XPG4] (vsnprintf): Likewise.
41340         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41341         Likewise.
41342         [XPG3 || XPG4] (blksize_t): Likewise.
41343         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41344         Likewise.
41345         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41346         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41347         [XPG3 || XPG4] (struct itimerspec): Likewise.
41348         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41349         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41350         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41351         [XPG3 || XPG4] (clockid_t): Likewise.
41352         [XPG3 || XPG4] (timer_t): Likewise.
41353         [XPG3 || XPG4] (clock_getres): Likewise.
41354         [XPG3 || XPG4] (clock_gettime): Likewise.
41355         [XPG3 || XPG4] (clock_settime): Likewise.
41356         [XPG3 || XPG4] (nanosleep): Likewise.
41357         [XPG3 || XPG4] (timer_create): Likewise.
41358         [XPG3 || XPG4] (timer_delete): Likewise.
41359         [XPG3 || XPG4] (timer_gettime): Likewise.
41360         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41361         [XPG3 || XPG4] (timer_settime): Likewise.
41362         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41363         [XPG3 || XPG4] (getlogin_r): Likewise.
41364         [XPG3 || XPG4] (pread): Likewise.
41365         [XPG3 || XPG4] (pthread_atfork): Likewise.
41366         [XPG3 || XPG4] (pwrite): Likewise.
41368         [BZ #14835]
41369         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41370         <bits/siginfo.h>.
41372 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41374         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41375         finalizing MALLSTREAM.
41377         * sysdeps/mach/hurd/syncfs.c: New file.
41379 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41381         [BZ #14719]
41382         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41383         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41384         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41385         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41386         (_nss_dns_gethostbyname4_r): Likewise.
41387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41388         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41390 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41392         [BZ #13763]
41393         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41395 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41397         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41398         * elf/cache.c (print_entry): Print ",AArch64" for
41399         FLAG_AARCH64_LIB64
41401         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41402         * elf/cache.c (print_entry): Print ",hard-float" for
41403         FLAG_ARM_LIBHF.
41405 2012-11-18  David S. Miller  <davem@davemloft.net>
41407         With help from Joseph Myers.
41408         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41409         cutoff to 2**-13.
41410         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41411         cutoff to 2**-25.
41412         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41413         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41414         small.
41415         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41416         * math/libm-test.inc (y0_test): New tests.
41417         (y1_test): New tests.
41418         * sysdeps/i386/fpu/libm-test-ulps: Update.
41419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41422 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41424         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41425         64-bit targets.
41426         * configure: Regenerated.
41428 2012-11-17  David S. Miller  <davem@davemloft.net>
41430         [BZ #14811]
41431         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41432         nonzero exponents with absolute value below 0x1p-128 to +/-
41433         0x1p-128.
41435 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41437         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41439         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41441         * posix/getconf-speclist.c: New file.
41442         * posix/posix-envs.def: Likewise.
41443         * posix/confstr.c (START_ENV_GROUP): New macro.
41444         (END_ENV_GROUP): Likewise.
41445         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41446         (KNOWN_PRESENT_ENV_STRING): Likewise.
41447         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41448         (UNKNOWN_ENVIRONMENT): Likewise.
41449         (confstr): Include posix-envs.def instead of handling
41450         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41451         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41452         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41453         (END_ENV_GROUP): Likewise.
41454         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41455         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41456         (UNKNOWN_ENVIRONMENT): Likewise.
41457         (__sysconf): Include posix-envs.def instead of handling associated
41458         cases directly here.
41459         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41460         preprocessing getconf-speclist.c rather than running getconf or
41461         generating empty file.
41463 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41465         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41467 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41469         [BZ #14672]
41470         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41472 2012-11-16  David S. Miller  <davem@davemloft.net>
41474         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41475         smaller than LDBL_EPSILON/2.0L, just return xm1.
41477 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41479         * elf/tst-array1.c (init): Set constructor priority to 1000.
41480         (fini): Set destructor priority to 1000.
41481         * elf/tst-array2dep.c: Likewise.
41483 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41485         [BZ #11741]
41486         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41487         (_IO_new_file_xsputn): Also return EOF if none of the input
41488         data was written when overflow failed.
41489         * libio/iopadn.c (_IO_padn): Likewise.
41490         * libio/iowpadn.c (_IO_wpadn): Likewise.
41491         * stdio-common/tst-put-error.c: Add copyright notice.
41492         (do_test): Add case for printing padded string.
41493         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41494         _IO_padn returned error.
41495         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41496         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41497         return EOF.
41499 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41501         * libio/libioP.h: Add comment note that the references to C++
41502         bits are now obsolete.
41504 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41506         * math/libm-test.inc (check_complex): Use asprintf.
41508 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41510         * debug/pcprofiledump.c (print_version): Update copyright year.
41511         * malloc/memusagestat.c (print_version): Likewise.
41513 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41515         [BZ #14831]
41516         * elf/Makefile (tests): Add tst-audit8.
41517         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41518         ($(objpfx)tst-audit8.out): New target.
41519         (tst-audit8-ENV): New variable.
41520         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41521         audit if l_reloc_result is NULL.
41522         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41523         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41524         * elf/tst-audit8.c: New file.
41526 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41528         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41529         * misc/Makefile (CFLAGS-select.c): Define.
41530         * posix/Makefile (CFLAGS-pause.c): Define.
41532 2012-11-13  David S. Miller  <davem@davemloft.net>
41534         * crypt/Makefile: Move test targets after toplevel Rules
41535         inclusion.  Grab any necessary sysdep routines when linking.
41536         * crypt/md5.c (md5_process_block): Remove define, we will always
41537         name it __md5_process_block.
41538         (md5_finish_ctx): Update md5_process_block call.
41539         (md5_stream): Likewise.
41540         (md5_process_bytes): Likewise.
41541         (md5_process_block): Rename to __md5_process_block and move to ...
41542         * crypt/md5-block.c: ... here.
41543         * crypt/sha256.c (sha256_process_block): Move to ...
41544         * crypt/sha256-block.c: ... here.
41545         * crypt/sha512.c (sha512_process_block): Move to ...
41546         * crypt/sha512-block.c: ... here.
41547         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41548         path.
41549         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41550         * sysdeps/sparc/sparc64/multiarch/Makefile
41551         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41552         crypt subdir.
41553         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41554         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41555         multiarch changes.
41556         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41557         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41558         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41559         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41560         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41561         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41562         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41563         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41564         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41565         file.
41566         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41567         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41568         file.
41569         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41571 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41573         * timezone/tzselect.ksh: Update from tzcode git revision
41574         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41575         * timezone/zdump.c: Likewise.
41576         * timezone/zic.c: Likewise.
41577         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41578         in TZVERSION setting, not $(PKGVERSION).
41579         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41580         REPORT_BUGS_TO settings.
41582         [BZ #14838]
41583         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41584         macro.
41586 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41588         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41589         detection to immediately after _FP_ROUND().
41590         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41591         bits are 0.
41593 2012-11-11  David S. Miller  <davem@davemloft.net>
41595         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41596         inttypes.h
41597         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41598         __close rather than their public counterparts.
41600 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41602         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41603         file.
41604         [UNIX98] (sem_timedwait): Do not expect.
41605         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41606         [XPG4 || UNIX98] (sockatmark): Do not expect.
41607         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41608         (clock_getcpuclockid): Do not expect.
41609         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41610         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41611         Do not expect.
41612         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41613         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41614         [UNIX98] (vwscanf): Likewise.
41615         [UNIX98] (vswscanf): Likewise.
41617 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41619         * timezone/version.h: Remove file.
41620         * timezone/README: Do not refer to version.h.
41621         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41622         $(objpfx)version.h.
41623         ($(objpfx)zdump.o): Likewise.
41624         ($(objpfx)version.h): New target.
41626         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41627         2012i.
41628         * timezone/README: Don't mention modification to tzselect.ksh.
41629         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41630         work on unmodified tzselect.ksh.  Substitute version numbers in
41631         tzselect.ksh.
41633         * Makefile (format-me): Remove.
41634         (INSTALL): Adjust indentation.  Use commands directly instead of
41635         using $(format-me).
41637         * aclocal.m4 (ACX_PKGVERSION): New macro.
41638         (ACX_BUGURL): Likewise.
41639         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41640         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41641         (REPORT_BUGS_TO): Likewise.
41642         * configure: Regenerated.
41643         * config.h.in (PKGVERSION): New macro.
41644         (REPORT_BUGS_TO): Likewise.
41645         * config.make.in (PKGVERSION): New variable.
41646         (PKGVERSION_TEXI): Likewise.
41647         (REPORT_BUGS_TO): Likewise.
41648         (REPORT_BUGS_TEXI): Likewise.
41649         * Makefile (format-me): Use -I$(common-objpfx)manual.
41650         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41651         ($(common-objpfx)manual/%): New target.
41652         (manual/%): Remove target.
41653         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41654         (print_version): Use PKGVERSION.
41655         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41656         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41657         and REPORT_BUGS_TO.
41658         ($(objpfx)xtrace): Likewise.
41659         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41660         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41661         (print_version): Use PKGVERSION.
41662         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41663         (do_version): Use PKGVERSION.
41664         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41665         REPORT_BUGS_TO.
41666         (common-ldd-rewrite): Likewise.
41667         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41668         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41669         (print_version): Use PKGVERSION.
41670         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41671         * elf/pldd.c (argp_program_bug_address): Remove variable.
41672         (more_help): New function.
41673         (argp): Use more_help.
41674         (print_version): Use PKGVERSION.
41675         * elf/sln.c (main): Use PKGVERSION.
41676         (usage): Use REPORT_BUGS_TO.
41677         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41678         (top level): Use PKGVERSION.
41679         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41680         (print_version): Use PKGVERSION.
41681         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41682         (print_version): Use PKGVERSION.
41683         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41684         (print_version): Use PKGVERSION.
41685         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41686         (print_version): Use PKGVERSION.
41687         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41688         (print_version): Use PKGVERSION.
41689         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41690         (print_version): Use PKGVERSION.
41691         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41692         and BUGURL.
41693         ($(objpfx)memusage): Likewise.
41694         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41695         (do_version): Use PKGVERSION.
41696         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41697         (print_version): Use PKGVERSION.
41698         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41699         ($PKGVERSION): New variable.
41700         ($REPORT_BUGS_TO): Likewise.
41701         (usage): Use $REPORT_BUGS_TO.
41702         (top level): Use $PKGVERSION.
41703         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41704         ($(objpfx)pkgvers.texi): New rule.
41705         ($(objpfx)stamp-pkgvers): Likewise.
41706         * manual/install.texi: Include pkgvers.texi.
41707         (--with-pkgversion): Document new configure option.
41708         (--with-bugurl): Likewise.
41709         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41710         than necessarily for this particular distribution.  Use
41711         REPORT_BUGS_TO for where to report bugs.
41712         * INSTALL: Regenerated.
41713         * manual/libc.texinfo: Include pkgvers.texi.
41714         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41715         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41716         (print_version): Use PKGVERSION.
41717         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41718         (print_version): Use PKGVERSION.
41719         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41720         (print_version): Use PKGVERSION.
41721         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41722         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41723         macro.
41724         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41725         (print_version): Use PKGVERSION.
41726         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41727         (print_version): Use PKGVERSION.
41728         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41729         and PKGVERSION.
41731         * timezone/checktab.awk: Update from tzcode 2012i.
41732         * timezone/ialloc.c: Likewise.
41733         * timezone/private.h: Likewise.
41734         * timezone/scheck.c: Likewise.
41735         * timezone/tzfile.h: Likewise.
41736         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41737         (TZVERSION): Hardcode tzcode version number.
41738         * timezone/zdump.c: Update from tzcode 2012i.
41739         * timezone/zic.c: Likewise.
41740         * timezone/version.h: New file.
41741         * timezone/README: Describe version.h.  Update upstream location.
41743         [BZ #14824]
41744         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41745         (mktemp): Enable declaration.
41746         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41747         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41748         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41749         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41750         Likewise.
41751         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41752         Likewise.
41753         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41754         Likewise.
41755         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41756         Likewise.
41757         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41758         Likewise.
41759         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41760         Likewise.
41762         [BZ #14821]
41763         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41764         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41765         for copies of such integer values.
41766         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41767         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41769 2012-11-09  Andreas Jaeger  <aj@suse.de>
41771         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41772         definitions and declarations that are provided by
41773         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41775 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41777         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41778         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41779         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41780         definition.
41782 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41784         * elf/elf.h: Update comment before AArch64 relocations.
41786 2012-11-07  David S. Miller  <davem@davemloft.net>
41788         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41789         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41790         (__start_context): Declare.
41791         (__makecontext_ret): Delete.
41792         (__makecontext): Hook up __start_context instead of
41793         __makecontext_ret.
41794         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41795         (sysdep_routines): Add __start_context when in stdlib.
41797 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41799         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41800         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41801         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41802         hardcoded "nm".
41803         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41804         (READELF): New variable.  Use it instead of hardcoded "readelf".
41806 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41808         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41809         * sysdeps/x86/Makefile: Here.
41810         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41811         * sysdeps/x86/tst-xmmymm.sh: This.
41813 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41815         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41816         expectations.
41817         [UNIX98] (pthread_barrier_t): Do not expect.
41818         [UNIX98] (pthread_barrierattr_t): Likewise.
41819         [UNIX98] (pthread_spinlock_t): Likewise.
41820         [UNIX98] (pthread_barrier_destroy): Likewise.
41821         [UNIX98] (pthread_barrier_init): Likewise.
41822         [UNIX98] (pthread_barrier_wait): Likewise.
41823         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41824         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41825         [UNIX98] (pthread_barrierattr_init): Likewise.
41826         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41827         [UNIX98] (pthread_getcpuclockid): Likewise.
41828         [UNIX98] (pthread_mutex_timedlock): Likewise.
41829         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41830         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41831         [UNIX98] (pthread_sigmask): Likewise.
41832         [UNIX98] (pthread_spin_destroy): Likewise.
41833         [UNIX98] (pthread_spin_init): Likewise.
41834         [UNIX98] (pthread_spin_lock): Likewise.
41835         [UNIX98] (pthread_spin_trylock): Likewise.
41836         [UNIX98] (pthread_spin_unlock): Likewise.
41837         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41838         Do not expect.
41839         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41840         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41841         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41842         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41843         [XPG3 || XPG4] (pthread_key_t): Likewise.
41844         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41845         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41846         [XPG3 || XPG4] (pthread_once_t): Likewise.
41847         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41848         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41849         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41850         [XPG3 || XPG4] (pthread_t): Likewise.
41852         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41853         not expect.
41854         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41856         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41857         Change function return type to int.
41859         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41860         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41861         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41862         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41863         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41864         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41865         [!POSIX] (posix_madvise): Likewise.
41866         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41867         && !UNIX98].
41868         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41869         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41870         (mode_t): Likewise.
41871         (posix_mem_offset): Likewise.
41872         (posix_typed_mem_get_info): Likewise.
41873         (posix_typed_mem_open): Likewise.
41875         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41876         Change condition to [XOPEN2K8].
41878         * conform/conformtest.pl: Preprocess allow-header data with -x c
41879         instead of from stdin.
41880         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41881         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41882         [C99-based standards] (cerfc): Likewise.
41883         [C99-based standards] (cexp2): Likewise.
41884         [C99-based standards] (cexpm1): Likewise.
41885         [C99-based standards] (clog10): Likewise.
41886         [C99-based standards] (clog1p): Likewise.
41887         [C99-based standards] (clog2): Likewise.
41888         [C99-based standards] (clgamma): Likewise.
41889         [C99-based standards] (ctgamma): Likewise.
41890         [C99-based standards] (cerff): Likewise.
41891         [C99-based standards] (cerfcf): Likewise.
41892         [C99-based standards] (cexp2f): Likewise.
41893         [C99-based standards] (cexpm1f): Likewise.
41894         [C99-based standards] (clog10f): Likewise.
41895         [C99-based standards] (clog1pf): Likewise.
41896         [C99-based standards] (clog2f): Likewise.
41897         [C99-based standards] (clgammaf): Likewise.
41898         [C99-based standards] (ctgammaf): Likewise.
41899         [C99-based standards] (cerfl): Likewise.
41900         [C99-based standards] (cerfcl): Likewise.
41901         [C99-based standards] (cexp2l): Likewise.
41902         [C99-based standards] (cexpm1l): Likewise.
41903         [C99-based standards] (clog10l): Likewise.
41904         [C99-based standards] (clog1pl): Likewise.
41905         [C99-based standards] (clog2l): Likewise.
41906         [C99-based standards] (clgammal): Likewise.
41907         [C99-based standards] (ctgammal): Likewise.
41908         * conform/data/inttypes.h-data [C99-based standards]: Include
41909         stdint.h-data.  Remove all expectations for stdint.h contents.
41910         [C99-based standards] (PRI*): Do not allow.
41911         [C99-based standards] (SCN*): Likewise.
41912         [C99-based standards] (*_t): Likewise.
41913         [C99-based-standards] (PRId8): Expect macro.
41914         [C99-based-standards] (PRIi8): Likewise.
41915         [C99-based-standards] (PRIo8): Likewise.
41916         [C99-based-standards] (PRIu8): Likewise.
41917         [C99-based-standards] (PRIx8): Likewise.
41918         [C99-based-standards] (PRIX8): Likewise.
41919         [C99-based-standards] (SCNd8): Likewise.
41920         [C99-based-standards] (SCNi8): Likewise.
41921         [C99-based-standards] (SCNo8): Likewise.
41922         [C99-based-standards] (SCNu8): Likewise.
41923         [C99-based-standards] (SCNx8): Likewise.
41924         [C99-based-standards] (PRIdLEAST8): Likewise.
41925         [C99-based-standards] (PRIiLEAST8): Likewise.
41926         [C99-based-standards] (PRIoLEAST8): Likewise.
41927         [C99-based-standards] (PRIuLEAST8): Likewise.
41928         [C99-based-standards] (PRIxLEAST8): Likewise.
41929         [C99-based-standards] (PRIXLEAST8): Likewise.
41930         [C99-based-standards] (SCNdLEAST8): Likewise.
41931         [C99-based-standards] (SCNiLEAST8): Likewise.
41932         [C99-based-standards] (SCNoLEAST8): Likewise.
41933         [C99-based-standards] (SCNuLEAST8): Likewise.
41934         [C99-based-standards] (SCNxLEAST8): Likewise.
41935         [C99-based-standards] (PRIdFAST8): Likewise.
41936         [C99-based-standards] (PRIiFAST8): Likewise.
41937         [C99-based-standards] (PRIoFAST8): Likewise.
41938         [C99-based-standards] (PRIuFAST8): Likewise.
41939         [C99-based-standards] (PRIxFAST8): Likewise.
41940         [C99-based-standards] (PRIXFAST8): Likewise.
41941         [C99-based-standards] (SCNdFAST8): Likewise.
41942         [C99-based-standards] (SCNiFAST8): Likewise.
41943         [C99-based-standards] (SCNoFAST8): Likewise.
41944         [C99-based-standards] (SCNuFAST8): Likewise.
41945         [C99-based-standards] (SCNxFAST8): Likewise.
41946         [C99-based-standards] (PRId16): Likewise.
41947         [C99-based-standards] (PRIi16): Likewise.
41948         [C99-based-standards] (PRIo16): Likewise.
41949         [C99-based-standards] (PRIu16): Likewise.
41950         [C99-based-standards] (PRIx16): Likewise.
41951         [C99-based-standards] (PRIX16): Likewise.
41952         [C99-based-standards] (SCNd16): Likewise.
41953         [C99-based-standards] (SCNi16): Likewise.
41954         [C99-based-standards] (SCNo16): Likewise.
41955         [C99-based-standards] (SCNu16): Likewise.
41956         [C99-based-standards] (SCNx16): Likewise.
41957         [C99-based-standards] (PRIdLEAST16): Likewise.
41958         [C99-based-standards] (PRIiLEAST16): Likewise.
41959         [C99-based-standards] (PRIoLEAST16): Likewise.
41960         [C99-based-standards] (PRIuLEAST16): Likewise.
41961         [C99-based-standards] (PRIxLEAST16): Likewise.
41962         [C99-based-standards] (PRIXLEAST16): Likewise.
41963         [C99-based-standards] (SCNdLEAST16): Likewise.
41964         [C99-based-standards] (SCNiLEAST16): Likewise.
41965         [C99-based-standards] (SCNoLEAST16): Likewise.
41966         [C99-based-standards] (SCNuLEAST16): Likewise.
41967         [C99-based-standards] (SCNxLEAST16): Likewise.
41968         [C99-based-standards] (PRIdFAST16): Likewise.
41969         [C99-based-standards] (PRIiFAST16): Likewise.
41970         [C99-based-standards] (PRIoFAST16): Likewise.
41971         [C99-based-standards] (PRIuFAST16): Likewise.
41972         [C99-based-standards] (PRIxFAST16): Likewise.
41973         [C99-based-standards] (PRIXFAST16): Likewise.
41974         [C99-based-standards] (SCNdFAST16): Likewise.
41975         [C99-based-standards] (SCNiFAST16): Likewise.
41976         [C99-based-standards] (SCNoFAST16): Likewise.
41977         [C99-based-standards] (SCNuFAST16): Likewise.
41978         [C99-based-standards] (SCNxFAST16): Likewise.
41979         [C99-based-standards] (PRId32): Likewise.
41980         [C99-based-standards] (PRIi32): Likewise.
41981         [C99-based-standards] (PRIo32): Likewise.
41982         [C99-based-standards] (PRIu32): Likewise.
41983         [C99-based-standards] (PRIx32): Likewise.
41984         [C99-based-standards] (PRIX32): Likewise.
41985         [C99-based-standards] (SCNd32): Likewise.
41986         [C99-based-standards] (SCNi32): Likewise.
41987         [C99-based-standards] (SCNo32): Likewise.
41988         [C99-based-standards] (SCNu32): Likewise.
41989         [C99-based-standards] (SCNx32): Likewise.
41990         [C99-based-standards] (PRIdLEAST32): Likewise.
41991         [C99-based-standards] (PRIiLEAST32): Likewise.
41992         [C99-based-standards] (PRIoLEAST32): Likewise.
41993         [C99-based-standards] (PRIuLEAST32): Likewise.
41994         [C99-based-standards] (PRIxLEAST32): Likewise.
41995         [C99-based-standards] (PRIXLEAST32): Likewise.
41996         [C99-based-standards] (SCNdLEAST32): Likewise.
41997         [C99-based-standards] (SCNiLEAST32): Likewise.
41998         [C99-based-standards] (SCNoLEAST32): Likewise.
41999         [C99-based-standards] (SCNuLEAST32): Likewise.
42000         [C99-based-standards] (SCNxLEAST32): Likewise.
42001         [C99-based-standards] (PRIdFAST32): Likewise.
42002         [C99-based-standards] (PRIiFAST32): Likewise.
42003         [C99-based-standards] (PRIoFAST32): Likewise.
42004         [C99-based-standards] (PRIuFAST32): Likewise.
42005         [C99-based-standards] (PRIxFAST32): Likewise.
42006         [C99-based-standards] (PRIXFAST32): Likewise.
42007         [C99-based-standards] (SCNdFAST32): Likewise.
42008         [C99-based-standards] (SCNiFAST32): Likewise.
42009         [C99-based-standards] (SCNoFAST32): Likewise.
42010         [C99-based-standards] (SCNuFAST32): Likewise.
42011         [C99-based-standards] (SCNxFAST32): Likewise.
42012         [C99-based-standards] (PRId64): Likewise.
42013         [C99-based-standards] (PRIi64): Likewise.
42014         [C99-based-standards] (PRIo64): Likewise.
42015         [C99-based-standards] (PRIu64): Likewise.
42016         [C99-based-standards] (PRIx64): Likewise.
42017         [C99-based-standards] (PRIX64): Likewise.
42018         [C99-based-standards] (SCNd64): Likewise.
42019         [C99-based-standards] (SCNi64): Likewise.
42020         [C99-based-standards] (SCNo64): Likewise.
42021         [C99-based-standards] (SCNu64): Likewise.
42022         [C99-based-standards] (SCNx64): Likewise.
42023         [C99-based-standards] (PRIdLEAST64): Likewise.
42024         [C99-based-standards] (PRIiLEAST64): Likewise.
42025         [C99-based-standards] (PRIoLEAST64): Likewise.
42026         [C99-based-standards] (PRIuLEAST64): Likewise.
42027         [C99-based-standards] (PRIxLEAST64): Likewise.
42028         [C99-based-standards] (PRIXLEAST64): Likewise.
42029         [C99-based-standards] (SCNdLEAST64): Likewise.
42030         [C99-based-standards] (SCNiLEAST64): Likewise.
42031         [C99-based-standards] (SCNoLEAST64): Likewise.
42032         [C99-based-standards] (SCNuLEAST64): Likewise.
42033         [C99-based-standards] (SCNxLEAST64): Likewise.
42034         [C99-based-standards] (PRIdFAST64): Likewise.
42035         [C99-based-standards] (PRIiFAST64): Likewise.
42036         [C99-based-standards] (PRIoFAST64): Likewise.
42037         [C99-based-standards] (PRIuFAST64): Likewise.
42038         [C99-based-standards] (PRIxFAST64): Likewise.
42039         [C99-based-standards] (PRIXFAST64): Likewise.
42040         [C99-based-standards] (SCNdFAST64): Likewise.
42041         [C99-based-standards] (SCNiFAST64): Likewise.
42042         [C99-based-standards] (SCNoFAST64): Likewise.
42043         [C99-based-standards] (SCNuFAST64): Likewise.
42044         [C99-based-standards] (SCNxFAST64): Likewise.
42045         [C99-based-standards] (PRIdMAX): Likewise.
42046         [C99-based-standards] (PRIiMAX): Likewise.
42047         [C99-based-standards] (PRIoMAX): Likewise.
42048         [C99-based-standards] (PRIuMAX): Likewise.
42049         [C99-based-standards] (PRIxMAX): Likewise.
42050         [C99-based-standards] (PRIXMAX): Likewise.
42051         [C99-based-standards] (SCNdMAX): Likewise.
42052         [C99-based-standards] (SCNiMAX): Likewise.
42053         [C99-based-standards] (SCNoMAX): Likewise.
42054         [C99-based-standards] (SCNuMAX): Likewise.
42055         [C99-based-standards] (SCNxMAX): Likewise.
42056         [C99-based-standards] (PRIdPTR): Likewise.
42057         [C99-based-standards] (PRIiPTR): Likewise.
42058         [C99-based-standards] (PRIoPTR): Likewise.
42059         [C99-based-standards] (PRIuPTR): Likewise.
42060         [C99-based-standards] (PRIxPTR): Likewise.
42061         [C99-based-standards] (PRIXPTR): Likewise.
42062         [C99-based-standards] (SCNdPTR): Likewise.
42063         [C99-based-standards] (SCNiPTR): Likewise.
42064         [C99-based-standards] (SCNoPTR): Likewise.
42065         [C99-based-standards] (SCNuPTR): Likewise.
42066         [C99-based-standards] (SCNxPTR): Likewise.
42067         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42068         allow.
42069         * conform/data/stdint.h-data: Update comments to clarify
42070         requirements.
42071         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42072         type.
42073         [C99-based standards] (INT8_MAX): Likewise.
42074         [C99-based standards] (INT16_MIN): Likewise.
42075         [C99-based standards] (INT16_MAX): Likewise.
42076         [C99-based standards] (INT32_MIN): Likewise.
42077         [C99-based standards] (INT32_MAX): Likewise.
42078         [C99-based standards] (INT64_MIN): Likewise.
42079         [C99-based standards] (INT64_MAX): Likewise.
42080         [C99-based standards] (UINT8_MAX): Likewise.
42081         [C99-based standards] (UINT16_MAX): Likewise.
42082         [C99-based standards] (UINT32_MAX): Likewise.
42083         [C99-based standards] (UINT64_MAX): Likewise.
42084         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42085         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42086         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42087         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42088         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42089         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42090         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42091         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42092         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42093         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42094         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42095         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42096         [C99-based standards] (INT_FAST8_MIN): Likewise.
42097         [C99-based standards] (INT_FAST8_MAX): Likewise.
42098         [C99-based standards] (INT_FAST16_MIN): Likewise.
42099         [C99-based standards] (INT_FAST16_MAX): Likewise.
42100         [C99-based standards] (INT_FAST32_MIN): Likewise.
42101         [C99-based standards] (INT_FAST32_MAX): Likewise.
42102         [C99-based standards] (INT_FAST64_MIN): Likewise.
42103         [C99-based standards] (INT_FAST64_MAX): Likewise.
42104         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42105         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42106         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42107         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42108         [C99-based standards] (INTPTR_MIN): Likewise.
42109         [C99-based standards] (INTPTR_MAX): Likewise.
42110         [C99-based standards] (UINTPTR_MAX): Likewise.
42111         [C99-based standards] (INTMAX_MIN): Likewise.
42112         [C99-based standards] (INTMAX_MAX): Likewise.
42113         [C99-based standards] (UINTMAX_MAX): Likewise.
42114         [C99-based standards] (PTRDIFF_MIN): Likewise.
42115         [C99-based standards] (PTRDIFF_MAX): Likewise.
42116         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42117         [C99-based standards] (SIZE_MAX): Likewise.
42118         [C99-based standards] (WCHAR_MAX): Likewise.
42119         [C99-based standards] (WINT_MAX): Likewise.
42120         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42121         constraint on value.
42122         [C99-based standards] (WCHAR_MIN): Likewise.
42123         [C99-based standards] (WINT_MIN): Likewise.
42124         [C99-based standards] (*_t): Allow.
42125         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42126         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42127         Include math.h-data and complex.h-data.  Remove all expectations
42128         of math.h and complex.h contents.
42129         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42130         at end of line.
42131         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42132         (struct tm): Expect tag.
42133         [C99-based-standards] (wcstof): Expect function.
42134         [C99-based-standards] (wcstold): Likewise.
42135         [C99-based-standards] (wcstoll): Likewise.
42136         [C99-based-standards] (wcstoull): Likewise.
42137         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42138         macro-int-constant.  Specify type.
42139         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42140         constraint on value.
42141         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42142         Specify type.
42143         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42144         Specify value.
42145         [ISO C standards]: Do not allow headers.
42146         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42147         wcs[abcdefghijklmnopqrstuvwxyz]*.
42148         [ISO C standards] (*_t): Do not allow.
42149         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42150         Expect function.
42151         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42152         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42153         Specify type.
42154         [ISO C standards]: Do not allow headers.
42155         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42156         is[abcdefghijklmnopqrstuvwxyz]*.
42157         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42158         to[abcdefghijklmnopqrstuvwxyz]*.
42159         [ISO C standards] (*_t): Do not allow.
42160         * conform/data/stdalign.h-data: New file.
42161         * conform/data/stdbool.h-data: Likewise.
42162         * conform/data/stdnoreturn.h-data: Likewise.
42164 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42166         [BZ #14815]
42167         * manual/filesys.texi (Directory Entries): Typo fix.
42168         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42170 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42172         * elf/elf.h (EM_AARCH64): New macro.
42173         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42174         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42175         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42176         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42177         (R_AARCH64_TLSDESC): Likewise.
42178         (NT_ARM_TLS): Likewise.
42179         (NT_ARM_HW_BREAK): Likewise.
42180         (NT_ARM_HW_WATCH): Likewise.
42182 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42184         [BZ #14811]
42185         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42186         (__ieee754_powl): Saturate nonzero exponents with absolute value
42187         below 0x1p-79 to +/- 0x1p-79.
42188         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42189         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42190         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42191         nonzero exponents with absolute value below 0x1p-32 to +/-
42192         0x1p-32.
42193         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42194         (__ieee754_powl): Saturate nonzero exponents with absolute value
42195         below 0x1p-79 to +/- 0x1p-79.
42196         * math/libm-test.inc (pow_test): Add more tests.
42198 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42200         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42201         _dl_s390_cap_flags with kernel. Increase string length.
42202         (_dl_s390_platforms): Add z196 and zEC12.
42204 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42206         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42207         Change XOPEN21K to XOPEN2K.
42209 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42211         * string/memmove.c: Use memcpy when possible.
42213 2012-11-06  Andreas Jaeger  <aj@suse.de>
42215         * po/eo.po: Update from translation team.
42217 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42219         [BZ #14793]
42220         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42221         exponent and small x and y exponents, scale x or y up.  Increase
42222         by 2 the exponent used in scaling up.
42223         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42224         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42225         * math/libm-test.inc (fma_test): Add more tests.
42226         (fma_test_towardzero): Likewise.
42227         (fma_test_downward): Likewise.
42228         (fma_test_upward): Likewise.
42230 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42232         [BZ #14805]
42233         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42234         fenv_t *.
42236         [BZ #14801]
42237         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42238         namespace for names of struct fields.
42239         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42240         fenv_t fields.
42241         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42242         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42244 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42246         [BZ #3665]
42247         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42249 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42251         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42252         PTR_DEMANGLE.
42254         [BZ #5246]
42255         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42256         PTR_DEMANGLE.
42258 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42260         [BZ #14797]
42261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42262         definitely overflow as x * y not x * y + z.
42263         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42264         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42265         * math/libm-test.inc (fma_test): Add more tests.
42266         (fma_test_towardzero): Likewise.
42267         (fma_test_downward): Likewise.
42268         (fma_test_upward): Likewise.
42270 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42272         [BZ #157]
42274         * include/stub-tag.h: Remove file.
42275         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42276         '#include' of it.
42277         * manual/maint.texi (Porting): Don't reference it.
42278         * Makerules ($(objpfx)stubs): Likewise.
42279         * dirent/closedir.c: Don't include <stub-tag.h>.
42280         * dirent/dirfd.c: Likewise.
42281         * dirent/fdopendir.c: Likewise.
42282         * dirent/getdents.c: Likewise.
42283         * dirent/getdents64.c: Likewise.
42284         * dirent/opendir.c: Likewise.
42285         * dirent/readdir.c: Likewise.
42286         * dirent/readdir64.c: Likewise.
42287         * dirent/readdir64_r.c: Likewise.
42288         * dirent/readdir_r.c: Likewise.
42289         * dirent/rewinddir.c: Likewise.
42290         * dirent/seekdir.c: Likewise.
42291         * dirent/telldir.c: Likewise.
42292         * gmon/profil.c: Likewise.
42293         * grp/setgroups.c: Likewise.
42294         * inet/if_index.c: Likewise.
42295         * io/access.c: Likewise.
42296         * io/chdir.c: Likewise.
42297         * io/chmod.c: Likewise.
42298         * io/chown.c: Likewise.
42299         * io/close.c: Likewise.
42300         * io/dup.c: Likewise.
42301         * io/dup2.c: Likewise.
42302         * io/dup3.c: Likewise.
42303         * io/euidaccess.c: Likewise.
42304         * io/faccessat.c: Likewise.
42305         * io/fchdir.c: Likewise.
42306         * io/fchmod.c: Likewise.
42307         * io/fchmodat.c: Likewise.
42308         * io/fchown.c: Likewise.
42309         * io/fchownat.c: Likewise.
42310         * io/fcntl.c: Likewise.
42311         * io/flock.c: Likewise.
42312         * io/fstatfs.c: Likewise.
42313         * io/fstatfs64.c: Likewise.
42314         * io/fstatvfs.c: Likewise.
42315         * io/fstatvfs64.c: Likewise.
42316         * io/futimens.c: Likewise.
42317         * io/fxstat.c: Likewise.
42318         * io/fxstat64.c: Likewise.
42319         * io/fxstatat.c: Likewise.
42320         * io/fxstatat64.c: Likewise.
42321         * io/getcwd.c: Likewise.
42322         * io/isatty.c: Likewise.
42323         * io/lchmod.c: Likewise.
42324         * io/lchown.c: Likewise.
42325         * io/link.c: Likewise.
42326         * io/linkat.c: Likewise.
42327         * io/lseek.c: Likewise.
42328         * io/lseek64.c: Likewise.
42329         * io/lxstat64.c: Likewise.
42330         * io/mkdir.c: Likewise.
42331         * io/mkdirat.c: Likewise.
42332         * io/mkfifo.c: Likewise.
42333         * io/mkfifoat.c: Likewise.
42334         * io/open.c: Likewise.
42335         * io/open64.c: Likewise.
42336         * io/openat.c: Likewise.
42337         * io/openat64.c: Likewise.
42338         * io/pipe.c: Likewise.
42339         * io/pipe2.c: Likewise.
42340         * io/poll.c: Likewise.
42341         * io/posix_fadvise.c: Likewise.
42342         * io/posix_fadvise64.c: Likewise.
42343         * io/posix_fallocate.c: Likewise.
42344         * io/posix_fallocate64.c: Likewise.
42345         * io/read.c: Likewise.
42346         * io/readlink.c: Likewise.
42347         * io/readlinkat.c: Likewise.
42348         * io/rmdir.c: Likewise.
42349         * io/sendfile.c: Likewise.
42350         * io/sendfile64.c: Likewise.
42351         * io/statfs.c: Likewise.
42352         * io/statfs64.c: Likewise.
42353         * io/statvfs.c: Likewise.
42354         * io/statvfs64.c: Likewise.
42355         * io/symlink.c: Likewise.
42356         * io/symlinkat.c: Likewise.
42357         * io/ttyname.c: Likewise.
42358         * io/ttyname_r.c: Likewise.
42359         * io/umask.c: Likewise.
42360         * io/unlink.c: Likewise.
42361         * io/unlinkat.c: Likewise.
42362         * io/utime.c: Likewise.
42363         * io/utimensat.c: Likewise.
42364         * io/write.c: Likewise.
42365         * io/xmknod.c: Likewise.
42366         * io/xmknodat.c: Likewise.
42367         * io/xstat.c: Likewise.
42368         * io/xstat64.c: Likewise.
42369         * login/getpt.c: Likewise.
42370         * login/grantpt.c: Likewise.
42371         * login/unlockpt.c: Likewise.
42372         * math/e_acoshl.c: Likewise.
42373         * math/e_acosl.c: Likewise.
42374         * math/e_asinl.c: Likewise.
42375         * math/e_atan2l.c: Likewise.
42376         * math/e_atanhl.c: Likewise.
42377         * math/e_coshl.c: Likewise.
42378         * math/e_expl.c: Likewise.
42379         * math/e_fmodl.c: Likewise.
42380         * math/e_gammal_r.c: Likewise.
42381         * math/e_hypotl.c: Likewise.
42382         * math/e_j0l.c: Likewise.
42383         * math/e_j1l.c: Likewise.
42384         * math/e_jnl.c: Likewise.
42385         * math/e_lgammal_r.c: Likewise.
42386         * math/e_log10l.c: Likewise.
42387         * math/e_log2l.c: Likewise.
42388         * math/e_logl.c: Likewise.
42389         * math/e_powl.c: Likewise.
42390         * math/e_rem_pio2l.c: Likewise.
42391         * math/e_sinhl.c: Likewise.
42392         * math/e_sqrtl.c: Likewise.
42393         * math/fclrexcpt.c: Likewise.
42394         * math/fedisblxcpt.c: Likewise.
42395         * math/feenablxcpt.c: Likewise.
42396         * math/fegetenv.c: Likewise.
42397         * math/fegetexcept.c: Likewise.
42398         * math/fegetround.c: Likewise.
42399         * math/feholdexcpt.c: Likewise.
42400         * math/fesetenv.c: Likewise.
42401         * math/fesetround.c: Likewise.
42402         * math/feupdateenv.c: Likewise.
42403         * math/fgetexcptflg.c: Likewise.
42404         * math/fraiseexcpt.c: Likewise.
42405         * math/fsetexcptflg.c: Likewise.
42406         * math/ftestexcept.c: Likewise.
42407         * math/k_cosl.c: Likewise.
42408         * math/k_rem_pio2l.c: Likewise.
42409         * math/k_sinl.c: Likewise.
42410         * math/k_tanl.c: Likewise.
42411         * math/s_asinhl.c: Likewise.
42412         * math/s_atanl.c: Likewise.
42413         * math/s_cbrtl.c: Likewise.
42414         * math/s_erfl.c: Likewise.
42415         * math/s_expm1l.c: Likewise.
42416         * math/s_log1pl.c: Likewise.
42417         * math/s_tanhl.c: Likewise.
42418         * misc/acct.c: Likewise.
42419         * misc/brk.c: Likewise.
42420         * misc/chflags.c: Likewise.
42421         * misc/chroot.c: Likewise.
42422         * misc/fchflags.c: Likewise.
42423         * misc/fgetxattr.c: Likewise.
42424         * misc/flistxattr.c: Likewise.
42425         * misc/fremovexattr.c: Likewise.
42426         * misc/fsetxattr.c: Likewise.
42427         * misc/fsync.c: Likewise.
42428         * misc/ftruncate.c: Likewise.
42429         * misc/futimes.c: Likewise.
42430         * misc/futimesat.c: Likewise.
42431         * misc/getdomain.c: Likewise.
42432         * misc/getdtsz.c: Likewise.
42433         * misc/gethostid.c: Likewise.
42434         * misc/gethostname.c: Likewise.
42435         * misc/getloadavg.c: Likewise.
42436         * misc/getpagesize.c: Likewise.
42437         * misc/getsysstats.c: Likewise.
42438         * misc/getxattr.c: Likewise.
42439         * misc/gtty.c: Likewise.
42440         * misc/ioctl.c: Likewise.
42441         * misc/lgetxattr.c: Likewise.
42442         * misc/listxattr.c: Likewise.
42443         * misc/llistxattr.c: Likewise.
42444         * misc/lremovexattr.c: Likewise.
42445         * misc/lsetxattr.c: Likewise.
42446         * misc/lutimes.c: Likewise.
42447         * misc/madvise.c: Likewise.
42448         * misc/mincore.c: Likewise.
42449         * misc/mlock.c: Likewise.
42450         * misc/mlockall.c: Likewise.
42451         * misc/mmap.c: Likewise.
42452         * misc/mprotect.c: Likewise.
42453         * misc/msync.c: Likewise.
42454         * misc/munlock.c: Likewise.
42455         * misc/munlockall.c: Likewise.
42456         * misc/munmap.c: Likewise.
42457         * misc/preadv.c: Likewise.
42458         * misc/preadv64.c: Likewise.
42459         * misc/ptrace.c: Likewise.
42460         * misc/pwritev.c: Likewise.
42461         * misc/pwritev64.c: Likewise.
42462         * misc/readv.c: Likewise.
42463         * misc/reboot.c: Likewise.
42464         * misc/remap_file_pages.c: Likewise.
42465         * misc/removexattr.c: Likewise.
42466         * misc/revoke.c: Likewise.
42467         * misc/select.c: Likewise.
42468         * misc/setdomain.c: Likewise.
42469         * misc/setegid.c: Likewise.
42470         * misc/seteuid.c: Likewise.
42471         * misc/sethostid.c: Likewise.
42472         * misc/sethostname.c: Likewise.
42473         * misc/setregid.c: Likewise.
42474         * misc/setreuid.c: Likewise.
42475         * misc/setxattr.c: Likewise.
42476         * misc/sstk.c: Likewise.
42477         * misc/stty.c: Likewise.
42478         * misc/swapoff.c: Likewise.
42479         * misc/swapon.c: Likewise.
42480         * misc/sync.c: Likewise.
42481         * misc/syncfs.c: Likewise.
42482         * misc/syscall.c: Likewise.
42483         * misc/truncate.c: Likewise.
42484         * misc/ualarm.c: Likewise.
42485         * misc/usleep.c: Likewise.
42486         * misc/ustat.c: Likewise.
42487         * misc/utimes.c: Likewise.
42488         * misc/vhangup.c: Likewise.
42489         * misc/writev.c: Likewise.
42490         * posix/_exit.c: Likewise.
42491         * posix/alarm.c: Likewise.
42492         * posix/execve.c: Likewise.
42493         * posix/fexecve.c: Likewise.
42494         * posix/fork.c: Likewise.
42495         * posix/fpathconf.c: Likewise.
42496         * posix/getaddrinfo.c: Likewise.
42497         * posix/getegid.c: Likewise.
42498         * posix/geteuid.c: Likewise.
42499         * posix/getgid.c: Likewise.
42500         * posix/getgroups.c: Likewise.
42501         * posix/getlogin.c: Likewise.
42502         * posix/getlogin_r.c: Likewise.
42503         * posix/getpgid.c: Likewise.
42504         * posix/getpid.c: Likewise.
42505         * posix/getppid.c: Likewise.
42506         * posix/getresgid.c: Likewise.
42507         * posix/getresuid.c: Likewise.
42508         * posix/getsid.c: Likewise.
42509         * posix/getuid.c: Likewise.
42510         * posix/glob64.c: Likewise.
42511         * posix/nanosleep.c: Likewise.
42512         * posix/pathconf.c: Likewise.
42513         * posix/pause.c: Likewise.
42514         * posix/posix_madvise.c: Likewise.
42515         * posix/pread.c: Likewise.
42516         * posix/pread64.c: Likewise.
42517         * posix/pwrite.c: Likewise.
42518         * posix/pwrite64.c: Likewise.
42519         * posix/sched_getaffinity.c: Likewise.
42520         * posix/sched_getp.c: Likewise.
42521         * posix/sched_gets.c: Likewise.
42522         * posix/sched_primax.c: Likewise.
42523         * posix/sched_primin.c: Likewise.
42524         * posix/sched_rr_gi.c: Likewise.
42525         * posix/sched_setaffinity.c: Likewise.
42526         * posix/sched_setp.c: Likewise.
42527         * posix/sched_sets.c: Likewise.
42528         * posix/sched_yield.c: Likewise.
42529         * posix/setgid.c: Likewise.
42530         * posix/setlogin.c: Likewise.
42531         * posix/setpgid.c: Likewise.
42532         * posix/setresgid.c: Likewise.
42533         * posix/setresuid.c: Likewise.
42534         * posix/setsid.c: Likewise.
42535         * posix/setuid.c: Likewise.
42536         * posix/sleep.c: Likewise.
42537         * posix/spawni.c: Likewise.
42538         * posix/sysconf.c: Likewise.
42539         * posix/times.c: Likewise.
42540         * posix/wait.c: Likewise.
42541         * posix/wait3.c: Likewise.
42542         * posix/wait4.c: Likewise.
42543         * posix/waitpid.c: Likewise.
42544         * resolv/gai_sigqueue.c: Likewise.
42545         * resource/getpriority.c: Likewise.
42546         * resource/getrlimit.c: Likewise.
42547         * resource/getrusage.c: Likewise.
42548         * resource/nice.c: Likewise.
42549         * resource/setpriority.c: Likewise.
42550         * resource/setrlimit.c: Likewise.
42551         * resource/ulimit.c: Likewise.
42552         * rt/aio_cancel.c: Likewise.
42553         * rt/aio_fsync.c: Likewise.
42554         * rt/aio_read.c: Likewise.
42555         * rt/aio_sigqueue.c: Likewise.
42556         * rt/aio_suspend.c: Likewise.
42557         * rt/aio_write.c: Likewise.
42558         * rt/clock_getres.c: Likewise.
42559         * rt/clock_gettime.c: Likewise.
42560         * rt/clock_nanosleep.c: Likewise.
42561         * rt/clock_settime.c: Likewise.
42562         * rt/lio_listio.c: Likewise.
42563         * rt/mq_close.c: Likewise.
42564         * rt/mq_getattr.c: Likewise.
42565         * rt/mq_notify.c: Likewise.
42566         * rt/mq_open.c: Likewise.
42567         * rt/mq_receive.c: Likewise.
42568         * rt/mq_send.c: Likewise.
42569         * rt/mq_setattr.c: Likewise.
42570         * rt/mq_timedreceive.c: Likewise.
42571         * rt/mq_timedsend.c: Likewise.
42572         * rt/mq_unlink.c: Likewise.
42573         * rt/shm_open.c: Likewise.
42574         * rt/shm_unlink.c: Likewise.
42575         * rt/timer_create.c: Likewise.
42576         * rt/timer_delete.c: Likewise.
42577         * rt/timer_getoverr.c: Likewise.
42578         * rt/timer_gettime.c: Likewise.
42579         * rt/timer_settime.c: Likewise.
42580         * setjmp/__longjmp.c: Likewise.
42581         * setjmp/setjmp.c: Likewise.
42582         * signal/kill.c: Likewise.
42583         * signal/killpg.c: Likewise.
42584         * signal/raise.c: Likewise.
42585         * signal/sigaction.c: Likewise.
42586         * signal/sigaltstack.c: Likewise.
42587         * signal/sigblock.c: Likewise.
42588         * signal/sigignore.c: Likewise.
42589         * signal/sigintr.c: Likewise.
42590         * signal/signal.c: Likewise.
42591         * signal/sigpause.c: Likewise.
42592         * signal/sigpending.c: Likewise.
42593         * signal/sigqueue.c: Likewise.
42594         * signal/sigreturn.c: Likewise.
42595         * signal/sigset.c: Likewise.
42596         * signal/sigsetmask.c: Likewise.
42597         * signal/sigstack.c: Likewise.
42598         * signal/sigsuspend.c: Likewise.
42599         * signal/sigtimedwait.c: Likewise.
42600         * signal/sigvec.c: Likewise.
42601         * signal/sigwait.c: Likewise.
42602         * signal/sigwaitinfo.c: Likewise.
42603         * signal/sysv_signal.c: Likewise.
42604         * socket/accept.c: Likewise.
42605         * socket/accept4.c: Likewise.
42606         * socket/bind.c: Likewise.
42607         * socket/connect.c: Likewise.
42608         * socket/getpeername.c: Likewise.
42609         * socket/getsockname.c: Likewise.
42610         * socket/getsockopt.c: Likewise.
42611         * socket/isfdtype.c: Likewise.
42612         * socket/listen.c: Likewise.
42613         * socket/recv.c: Likewise.
42614         * socket/recvfrom.c: Likewise.
42615         * socket/recvmsg.c: Likewise.
42616         * socket/send.c: Likewise.
42617         * socket/sendmsg.c: Likewise.
42618         * socket/sendto.c: Likewise.
42619         * socket/setsockopt.c: Likewise.
42620         * socket/shutdown.c: Likewise.
42621         * socket/sockatmark.c: Likewise.
42622         * socket/socket.c: Likewise.
42623         * socket/socketpair.c: Likewise.
42624         * stdio-common/ctermid.c: Likewise.
42625         * stdio-common/cuserid.c: Likewise.
42626         * stdio-common/remove.c: Likewise.
42627         * stdio-common/rename.c: Likewise.
42628         * stdio-common/renameat.c: Likewise.
42629         * stdio-common/tempname.c: Likewise.
42630         * stdlib/getcontext.c: Likewise.
42631         * stdlib/makecontext.c: Likewise.
42632         * stdlib/setcontext.c: Likewise.
42633         * stdlib/swapcontext.c: Likewise.
42634         * stdlib/system.c: Likewise.
42635         * streams/fattach.c: Likewise.
42636         * streams/fdetach.c: Likewise.
42637         * streams/getmsg.c: Likewise.
42638         * streams/getpmsg.c: Likewise.
42639         * streams/putmsg.c: Likewise.
42640         * streams/putpmsg.c: Likewise.
42641         * sysdeps/unix/bsd/getpt.c: Likewise.
42642         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42643         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42644         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42646         Likewise.
42647         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42648         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42649         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42650         * sysvipc/msgctl.c: Likewise.
42651         * sysvipc/msgget.c: Likewise.
42652         * sysvipc/msgrcv.c: Likewise.
42653         * sysvipc/msgsnd.c: Likewise.
42654         * sysvipc/semctl.c: Likewise.
42655         * sysvipc/semget.c: Likewise.
42656         * sysvipc/semop.c: Likewise.
42657         * sysvipc/semtimedop.c: Likewise.
42658         * sysvipc/shmat.c: Likewise.
42659         * sysvipc/shmctl.c: Likewise.
42660         * sysvipc/shmdt.c: Likewise.
42661         * sysvipc/shmget.c: Likewise.
42662         * termios/tcdrain.c: Likewise.
42663         * termios/tcflow.c: Likewise.
42664         * termios/tcflush.c: Likewise.
42665         * termios/tcgetattr.c: Likewise.
42666         * termios/tcgetpgrp.c: Likewise.
42667         * termios/tcsendbrk.c: Likewise.
42668         * termios/tcsetattr.c: Likewise.
42669         * termios/tcsetpgrp.c: Likewise.
42670         * time/adjtime.c: Likewise.
42671         * time/clock.c: Likewise.
42672         * time/getitimer.c: Likewise.
42673         * time/gettimeofday.c: Likewise.
42674         * time/setitimer.c: Likewise.
42675         * time/settimeofday.c: Likewise.
42676         * time/stime.c: Likewise.
42677         * time/time.c: Likewise.
42679 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42681         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42682         /usr/old/bin.
42684         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42685         instead of spaces.
42686         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42688 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42690         [BZ #14796]
42691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42692         FE_TONEAREST before applying Dekker multiplication and Knuth
42693         addition.  Clear inexact exceptions and check for exact zero
42694         results afterwards.
42695         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42696         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42697         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42698         * math/libm-test.inc (fma_test): Add more tests.
42699         (fma_test_towardzero): Likewise.
42700         (fma_test_downward): Likewise.
42701         (fma_test_upward): Likewise.
42702         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42703         function.
42704         (libc_fesetround): New macro.
42705         (libc_fesetroundf): Likewise.
42706         (libc_fesetroundl): Likewise.
42707         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42708         function.
42709         (libc_fesetround_387): Likewise.
42710         (libc_fesetroundf): New macro.
42711         (libc_fesetround): Likewise.
42712         (libc_fesetroundl): Likewise.
42713         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42714         function.
42715         (libc_fesetroundf): New macro.
42716         (libc_fesetround): Likewise.
42717         (libc_fesetroundl): Likewise.
42718         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42719         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42720         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42721         libm_hidden_ver.
42722         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42723         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42724         libm_hidden_def.
42725         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42726         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42727         libm_hidden_ver.
42728         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42729         libm_hidden_def.
42731         [BZ #3439]
42732         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42733         integer constant usable in #if and use that to give value to enum
42734         constant.
42735         (FE_DIVBYZERO): Likewise.
42736         (FE_UNDERFLOW): Likewise.
42737         (FE_OVERFLOW): Likewise.
42738         (FE_INVALID): Likewise.
42739         (FE_INVALID_SNAN): Likewise.
42740         (FE_INVALID_ISI): Likewise.
42741         (FE_INVALID_IDI): Likewise.
42742         (FE_INVALID_ZDZ): Likewise.
42743         (FE_INVALID_IMZ): Likewise.
42744         (FE_INVALID_COMPARE): Likewise.
42745         (FE_INVALID_SOFTWARE): Likewise.
42746         (FE_INVALID_SQRT): Likewise.
42747         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42748         (FE_TONEAREST): Likewise.
42749         (FE_TOWARDZERO): Likewise.
42750         (FE_UPWARD): Likewise.
42751         (FE_DOWNWARD): Likewise.
42752         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42753         (FE_DIVBYZERO): Likewise.
42754         (FE_OVERFLOW): Likewise.
42755         (FE_UNDERFLOW): Likewise.
42756         (FE_INEXACT): Likewise.
42757         (FE_TONEAREST): Likewise.
42758         (FE_DOWNWARD): Likewise.
42759         (FE_UPWARD): Likewise.
42760         (FE_TOWARDZERO): Likewise.
42761         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42762         (FE_UNDERFLOW): Likewise.
42763         (FE_OVERFLOW): Likewise.
42764         (FE_DIVBYZERO): Likewise.
42765         (FE_INVALID): Likewise.
42766         (FE_TONEAREST): Likewise.
42767         (FE_TOWARDZERO): Likewise.
42768         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42769         (FE_OVERFLOW): Likewise.
42770         (FE_UNDERFLOW): Likewise.
42771         (FE_DIVBYZERO): Likewise.
42772         (FE_INEXACT): Likewise.
42773         (FE_TONEAREST): Likewise.
42774         (FE_TOWARDZERO): Likewise.
42775         (FE_UPWARD): Likewise.
42776         (FE_DOWNWARD): Likewise.
42777         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42778         (FE_DIVBYZERO): Likewise.
42779         (FE_OVERFLOW): Likewise.
42780         (FE_UNDERFLOW): Likewise.
42781         (FE_INEXACT): Likewise.
42782         (FE_TONEAREST): Likewise.
42783         (FE_DOWNWARD): Likewise.
42784         (FE_UPWARD): Likewise.
42785         (FE_TOWARDZERO): Likewise.
42787 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42789         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42791 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42793         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42794         commands.  Quote $PWD.
42795         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42796         -x" by "export".
42797         (remove_newlines): Remove.
42799 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42801         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42802         * stdlib/stdlib.h (atof): Moved to ...
42803         * include/bits/stdlib-float.h: Here.  New file.
42804         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42805         * stdlib/bits/stdlib-float.h: New file.
42806         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42807         -mno-sse -mno-mmx.
42808         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42809         <xmmintrin.h>.
42811 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42813         * conform/conformtest.pl (@headers): Add fenv.h.
42814         * conform/data/fenv.h-data: New file.
42815         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42816         include of <math/fenv.h>.
42818         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42819         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42820         && !UNIX98].  Enables tests for XOPEN2K8.
42821         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42822         POSIX2008]: Likewise.
42824         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42825         (struct rusage): Do not expect type or its members.
42827         [BZ #3439]
42828         * math/math.h (FP_NAN): Define macro to integer constant usable in
42829         #if and use that to give value to enum constant.
42830         (FP_INFINITE): Likewise.
42831         (FP_ZERO): Likewise.
42832         (FP_SUBNORMAL): Likewise.
42833         (FP_NORMAL): Likewise.
42835 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42837         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42838         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42839         arguments.
42841 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42843         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42844         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42845         autoconf-time if not.
42846         * configure.in: Remove AC_PREREQ.
42848 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42850         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42851         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42852         of the internal implementation.
42854 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42856         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42857         except include of <misc/sys/syslog.h>.
42859 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42862         function returns with a NULL context exit with zero.
42864 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42866         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42868 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42870         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42871         (run_program_cmd): This.
42872         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42873         (tst_langinfo): New variable.  Use it.
42875 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42877         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42878         floating point opcodes.
42880 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42882         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42883         variable.
42885         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42887         * sysdeps/mach/hurd/powerpc: Remove directory.
42888         * sysdeps/mach/powerpc: Likewise.
42890 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42892         * scripts/check-local-headers.sh: Ignore c++ headers.
42894 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42896         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42897         __libc_cleanup_region_start argument.
42899 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42901         [BZ #14784]
42902         [BZ #14785]
42903         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42904         x * y using scaling, not as x * y + z.
42905         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42906         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42907         * math/libm-test.inc (fma_test): Add more tests.
42908         (fma_test_towardzero): Likewise.
42909         (fma_test_downward): Likewise.
42910         (fma_test_upward): Likewise.
42912 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42914         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42916 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42918         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42919         New variable.
42921 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42923         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42925 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42928         Fix sort order.
42929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42930         Likewise.
42932 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42935         Fix the order of the list for glibc 2.17.
42936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42937         Likewise.
42939 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42943 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42945         [BZ #14610]
42946         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42947         for low part of x being zero before using __atanl (y).
42948         * math/libm-test.inc (atan2_test): Add another test.
42950         * manual/install.texi (Configuring and compiling): Document
42951         general use of test-wrapper and test-wrapper-env.
42952         * INSTALL: Regenerated.
42954         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42955         (__fma): Do not extract and scale down low bits on after-rounding
42956         systems when result rounded to normal precision would have normal
42957         exponent.
42958         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42959         (__fmal): Do not extract and scale down low bits on after-rounding
42960         systems when result rounded to normal precision would have normal
42961         exponent.
42962         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42963         (__fmal): Do not extract and scale down low bits on after-rounding
42964         systems when result rounded to normal precision would have normal
42965         exponent.
42966         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42967         macro.
42968         (fma_test): Add more tests.
42969         (fma_test_towardzero): Likewise.
42970         (fma_test_downward): Likewise.
42971         (fma_test_upward): Likewise.
42973 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42975         * sysdeps/i386/tininess.h: Renamed to ...
42976         * sysdeps/x86/tininess.h: This.
42977         * sysdeps/x86_64/tininess.h: Removed.
42979 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42981         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42982         input.  Use $(build-program-cmd).
42983         ($(objpfx)tst-array1-static.out): Likewise.
42984         ($(objpfx)tst-array2.out): Likewise.
42985         ($(objpfx)tst-array3.out): Likewise.
42986         ($(objpfx)tst-array4.out): Likewise.
42987         ($(objpfx)tst-array5.out): Likewise.
42988         ($(objpfx)tst-array5-static.out): Likewise.
42990 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42992         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42993         if defined.
42995         * nss/nsswitch.h (nss_interface_function): Provide new
42996         macro for use with NSS functions.
42997         * grp/initgroups.c: Use new macro.
42998         * nss/getXXbyYY.c: Likewise.
42999         * nss/getXXbyYY_r.c: Likewise.
43000         * nss/getXXent.c: Likewise.
43001         * nss/getXXent_r.c: Likewise.
43002         * sysdeps/posix/getaddrinfo.c: Likewise.
43004 2012-10-30  Andreas Jaeger  <aj@suse.de>
43006         * po/ru.po: Update Russion translation from translation project.
43008 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43010         [BZ #14152]
43011         [BZ #14783]
43012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43013         result and shift together with sticky bit instead of replicating
43014         round-to-nearest rounding.
43015         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43016         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43017         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43018         missing underflow exceptions.
43019         (fma_test_towardzero): Add more tests.
43020         (fma_test_downward): Likewise.
43021         (fma_test_upward): Likewise.
43023         [BZ #14047]
43024         * sysdeps/generic/tininess.h: New file.
43025         * sysdeps/i386/tininess.h: Likewise.
43026         * sysdeps/sh/tininess.h: Likewise.
43027         * sysdeps/x86_64/tininess.h: Likewise.
43028         * stdlib/tst-strtod-underflow.c: Likewise.
43029         * stdlib/tst-tininess.c: Likewise.
43030         * stdlib/strtod_l.c: Include <tininess.h>.
43031         (round_and_return): Do not set errno for exact underflow cases.
43032         Force an underflow exception when setting errno for underflow.
43033         Determine underflow based on rounding to normal precision if
43034         TININESS_AFTER_ROUNDING.
43035         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43036         ERANGE for exact underflow cases.
43037         * stdlib/Makefile (tests): Add tst-tininess and
43038         tst-strtod-underflow.
43039         ($(objpfx)tst-tininess): Use $(link-libm).
43040         ($(objpfx)tst-strtod-underflow): Likewise.
43042 2012-10-30  Andreas Jaeger  <aj@suse.de>
43044         [BZ#14767]
43045         * elf/Makefile (tests): Remove conditional for have-initfini-array
43046         since this is now always required and the variable does not exist
43047         anymore.
43048         (tests-static): Likewise.
43049         (modules-names): Likewise.
43051         * po/eo.po: Add Esperanto translation from translation project.
43053         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43054         merged with constructor/destructor.
43055         (init_array): Likewise.
43056         * elf/tst-array2dep.c (fini_array): Likewise.
43057         (init_array): Likewise.
43059 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43061         * manual/message.texi: Delete @cartouche tags.
43063 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43065         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43066         EOPNOTSUPP.
43067         * sysdeps/mach/hurd/fsync.c: Likewise.
43069         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43070         [_POSIX_REALTIME_SIGNALS]: Change condition to
43071         [_POSIX_REALTIME_SIGNALS > 0].
43073 2012-10-27  Andreas Jaeger  <aj@suse.de>
43075         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43076         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43077         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43078         [__WORDSIZE != 64]: Likewise.
43080 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43082         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43083         *  iconvdata/tst-tables.sh: Likewise.
43085 2012-10-25  David S. Miller  <davem@davemloft.net>
43087         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43088         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43089         of strtoull.
43091         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43092         ifunc-impl-list.c
43093         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43094         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43095         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43096         file.
43098 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43100         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43101         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43102         __getdirentries.
43104 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43105             Jim Blandy  <jimb@codesourcery.com>
43107         * scripts/cross-test-ssh.sh: New file.
43108         * manual/install.texi (Configuring and compiling): Document use of
43109         cross-test-ssh.sh.
43110         * INSTALL: Regenerated.
43112 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43114         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43115         EOPNOTSUPP.
43117 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43119         * Makeconfig (run-program-prefix): Fix comment.
43121 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43122             Jim Blandy  <jimb@codesourcery.com>
43124         * Makeconfig (test-wrapper): New variable,
43125         (test-wrapper-env): Likewise.
43126         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43127         (run-built-tests): Define to yes.
43128         (run-program-prefix): Use $(test-wrapper).
43129         (built-program-cmd): Likewise.
43130         * Rules (make-test-out): Use $(test-wrapper-env) and
43131         $(host-built-program-cmd).
43132         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43133         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43134         tst-pathopt.sh.
43135         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43136         $(test-wrapper-env) to tst-rtld-load-self.sh.
43137         ($(objpfx)order2.out): Use $(test-wrapper).
43138         ($(objpfx)tst-initorder.out): Likewise.
43139         ($(objpfx)tst-initorder2.out): Likewise.
43140         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43141         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43142         (test_wrapper_env): New variable.  Use it to run ld.so.
43143         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43144         Use it to run ld.so.
43145         (test_wrapper_env): Likewise.
43146         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43147         $(test-wrapper) to run-iconv-test.sh.
43148         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43149         (ICONV): Use $test_wrapper.
43150         * posix/Makefile ($(objpfx)globtest.out): Pass
43151         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43152         globtest.sh, not $(run-program-prefix).
43153         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43154         (test_wrapper): Likewise.
43155         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43156         set together with run_via_rtld_prefix.
43157         (run_program_prefix): Define in terms of test_wrapper and
43158         run_via_rtld_prefix.
43160 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43162         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43163         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43164         Targets removed.
43166         [BZ #14743]
43167         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43168         Declare __clock_getres, __clock_gettime, __clock_settime,
43169         __clock_nanosleep, and __clock_getcpuclockid.
43170         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43171         Remove librt_hidden_def (clock_gettime).
43172         * sysdeps/unix/clock_gettime.c: Likewise.
43173         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43174         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43175         * rt/clock_getres.c: Define __clock_getres as an alias.
43176         * sysdeps/posix/clock_getres.c: Likewise.
43177         * rt/clock_settime.c: Define __clock_settime as an alias.
43178         * sysdeps/unix/clock_settime.c: Likewise.
43179         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43180         * sysdeps/unix/clock_nanosleep.c: Likewise.
43181         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43182         * rt/clock-compat.c: New file.
43183         * rt/Makefile (librt-routines): Add clock-compat and move
43184         $(clock-routines) to ...
43185         (routines): ... here, new variable.
43186         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43187         Don't add get_clockfreq here.
43188         * rt/Versions (libc: GLIBC_2.17): New version set.
43189         Add clock_* symbols here.
43190         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43191         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43192         (GLIBC_2.17): Add clock_* symbols.
43193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43195         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43197         Likewise.
43198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43199         Likewise.
43200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43204         * NEWS: Mention the move.
43206         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43207         Use __open, __read, __close rather than their public counterparts.
43208         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43209         (__get_clockfreq_via_cpuinfo): Likewise.
43210         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43211         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43213         * config.h.in (HAVE_IFUNC): New #undef.
43214         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43215         was successful.
43216         * configure: Regenerated.
43218 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43220         * configure.in: Move READELF check to start of file.
43221         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43222         libc_cv_asm_gnu_indirect_function in the process.
43223         * configure: Regenerated.
43225 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43227         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43228         send the output to /dev/null.
43229         (libc_cv_cc_with_libunwind): Likewise.
43230         (libc_cv_as_noexecstack): Likewise.
43231         * configure: Regenerate.
43233 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43235         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43237         * posix/globtest.sh (TMPDIR): Do not set.
43238         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43239         (testout): Likewise.
43241 2012-10-24  Andreas Jaeger  <aj@suse.de>
43243         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43244         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43245         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43246         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43247         posix_fadvise64, posix_fallocate64.
43249         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43250         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43251         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43252         Likewise.
43253         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43254         Likewise.
43255         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43257         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43258         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43259         <bits/fcntl-linux.h>.
43260         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43262         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43263         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43264         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43265         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43266         [__WORDSIZE != 64]: Likewise.
43268 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43270         * Makeconfig (run-built-tests): New variable.
43271         * Rules [$(cross-compiling) = yes]: Change condition to
43272         [$(run-built-tests) = no].
43273         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43274         to [$(run-built-tests) = yes].
43275         * elf/Makefile [$(cross-compiling) = no]: Likewise
43276         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43277         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43278         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43279         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43280         * io/Makefile [$(cross-compiling) = no]: Likewise.
43281         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43282         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43283         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43284         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43285         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43286         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43287         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43288         * string/Makefile [$(cross-compiling) = no]: Likewise.
43290         * posix/Makefile ($(objpfx)globtest.out): Pass
43291         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43292         $(rtld-installed-name).
43293         * posix/globtest.sh (elf_objpfx): Remove variable.
43294         (rtld_installed_name): Likewise.
43295         (library_path): Likewise.
43296         (run_program_prefix): New variable.  Use for running globtest
43297         binary.
43299 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43300             Joseph Myers  <joseph@codesourcery.com>
43302         * Makeconfig (host-built-program-cmd): New variable.
43303         * elf/Makefile (tst-stackguard1-ARGS): Use
43304         $(host-built-program-cmd).
43305         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43306         (tst-spawn-ARGS): Likewise.
43307         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43309 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43310             Jim Blandy  <jimb@codesourcery.com>
43312         * Makeconfig (run-via-rtld-prefix): New variable.
43313         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43314         (built-program-cmd): Likewise.
43316 2012-10-22  Andreas Jaeger  <aj@suse.de>
43318         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43319         __O_RSYNC if it exists, otherwise to O_SYNC.
43321 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43322             Joseph Myers  <joseph@codesourcery.com>
43324         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43325         /dev/null.
43326         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43327         from /dev/null
43328         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43329         /dev/null.
43331 2012-10-22  Andreas Jaeger  <aj@suse.de>
43333         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43334         Define always.
43335         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43338         bits/fcntl-linux.h.
43340         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43341         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43343         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43344         to __O_LARGEFILE.
43345         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43346         to __O_LARGEFILE.
43348 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43349             Joseph Myers  <joseph@codesourcery.com>
43351         * config.make.in (NM): New variable.
43353 2012-10-21  Andreas Jaeger  <aj@suse.de>
43355         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43356         definitions and declarations that are provided by
43357         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43359 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43361         [BZ #14683]
43362         * elf/Makefile (tests-static): Add tst-leaks1-static.
43363         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43364         ($(objpfx)tst-leaks1-static): New rule.
43365         ($(objpfx)tst-leaks1-static-mem): Likewise.
43366         (tst-leaks1-static-ENV): New macro.
43367         * elf/dl-open.c (dl_open_worker): Check the main application
43368         only if SHARED is defined.
43369         * elf/tst-leaks1-static.c: New file.
43371 2012-10-20  Andreas Jaeger  <aj@suse.de>
43373         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43374         generic values for Linux.
43375         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43376         and declarations that are provided by <bits/fcntl-linux.h> and
43377         include <bits/fcntl-linux.h>.
43378         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43379         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43381 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43383         * io/fcntl.h: Move include of <bits/types.h> to the top and
43384         include it unconditionally.
43386 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43388         * wcsmbs/Makefile (tests-ifunc): New variable.
43389         (tests): Add $(tests-ifunc).
43390         * wcsmbs/test-wcschr-ifunc.c: New file.
43391         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43392         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43393         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43394         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43395         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43397         * string/Makefile (tests-ifunc): New variable.
43398         (tests): Add $(tests-ifunc).
43399         * string/test-memccpy.c (TEST_NAME): New macro.
43400         * string/test-memchr.c (TEST_NAME): Likewise.
43401         * string/test-memcmp.c (TEST_NAME): Likewise.
43402         * string/test-memcpy.c (TEST_NAME): Likewise.
43403         * string/test-memmem.c (TEST_NAME): Likewise.
43404         * string/test-memmove.c (TEST_NAME): Likewise.
43405         * string/test-memset.c (TEST_NAME): Likewise.
43406         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43407         * string/test-stpcpy.c (TEST_NAME): Likewise.
43408         * string/test-stpncpy.c (TEST_NAME): Likewise.
43409         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43410         * string/test-strcasestr.c (TEST_NAME): Likewise.
43411         * string/test-strcat.c (TEST_NAME): Likewise.
43412         * string/test-strchr.c (TEST_NAME): Likewise.
43413         * string/test-strcmp.c(TEST_NAME): Likewise.
43414         * string/test-strcpy.c (TEST_NAME): Likewise.
43415         * string/test-strcspn.c (TEST_NAME): Likewise.
43416         * string/test-strlen.c (TEST_NAME): Likewise.
43417         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43418         * string/test-strncmp.c (TEST_NAME): Likewise.
43419         * string/test-strncpy.c (TEST_NAME): Likewise.
43420         * string/test-strnlen.c (TEST_NAME): Likewise.
43421         * string/test-strpbrk.c (TEST_NAME): Likewise.
43422         * string/test-strrchr.c (TEST_NAME): Likewise.
43423         * string/test-strspn.c (TEST_NAME): Likewise.
43424         * string/test-strstr.c (TEST_NAME): Likewise.
43425         * string/test-bcopy-ifunc.c: New file.
43426         * string/test-bzero-ifunc.c: Likewise.
43427         * string/test-memccpy-ifunc.c: Likewise.
43428         * string/test-memchr-ifunc.c: Likewise.
43429         * string/test-memcmp-ifunc.c: Likewise.
43430         * string/test-memcpy-ifunc.c: Likewise.
43431         * string/test-memmem-ifunc.c: Likewise.
43432         * string/test-memmove-ifunc.c: Likewise.
43433         * string/test-mempcpy-ifunc.c: Likewise.
43434         * string/test-memset-ifunc.c: Likewise.
43435         * string/test-rawmemchr-ifunc.c: Likewise.
43436         * string/test-stpcpy-ifunc.c: Likewise.
43437         * string/test-stpncpy-ifunc.c: Likewise.
43438         * string/test-strcasecmp-ifunc.c: Likewise.
43439         * string/test-strcasestr-ifunc.c: Likewise.
43440         * string/test-strcat-ifunc.c: Likewise.
43441         * string/test-strchr-ifunc.c: Likewise.
43442         * string/test-strchrnul-ifunc.c: Likewise.
43443         * string/test-strcmp-ifunc.c: Likewise.
43444         * string/test-strcpy-ifunc.c: Likewise.
43445         * string/test-strcspn-ifunc.c: Likewise.
43446         * string/test-strlen-ifunc.c: Likewise.
43447         * string/test-strncasecmp-ifunc.c: Likewise.
43448         * string/test-strncat-ifunc.c: Likewise.
43449         * string/test-strncmp-ifunc.c: Likewise.
43450         * string/test-strncpy-ifunc.c: Likewise.
43451         * string/test-strnlen-ifunc.c: Likewise.
43452         * string/test-strpbrk-ifunc.c: Likewise.
43453         * string/test-strrchr-ifunc.c: Likewise.
43454         * string/test-strspn-ifunc.c: Likewise.
43455         * string/test-strstr-ifunc.c: Likewise.
43457         * debug/Makefile (tests-ifunc): New variable.
43458         (tests): Add $(tests-ifunc).
43459         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43460         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43461         * debug/test-stpcpy_chk-ifunc.c: New file.
43462         * debug/test-strcpy_chk-ifunc.c: Likewise.
43464 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43466         [BZ #13601]
43467         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43468         header is not read in.
43470 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43472         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43473         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43474         directly.  Pass built executable to script as
43475         $(built-program-cmd).
43476         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43477         $testprogram without using LD_LIBRARY_PATH and $ldso.
43479         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43480         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43481         $(rtld-installed-name).
43482         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43483         (rtld_installed_name): Likewise.
43484         (library_path): Likewise.
43485         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43486         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43487         $(run-program-prefix) to tst-tables.sh.
43488         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43489         it to run tst-table-from and tst-table-to.
43490         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43491         Pass it to tst-table.sh.
43492         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43493         $(run-program-prefix) to tst-gettext.sh.
43494         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43495         tst-translit.sh.
43496         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43497         tst-gettext2.sh.
43498         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43499         to run tst-gettext.
43500         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43501         to run tst-gettext2.
43502         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43503         to run tst-translit.
43504         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43505         $(run-program-prefix) to tst-mtrace.sh.
43506         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43507         to run tst-mtrace.
43508         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43509         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43510         $(rtld-installed-name).
43511         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43512         (rtld_installed_name): Likewise.
43513         (run_program_prefix): New variable.  Use it to run wordexp-test.
43515         * Makeconfig (ARCH): Remove all definitions.
43516         (machine): Likewise.
43517         [ARCH]: Remove conditional code.
43518         [!objdir]: Give error.
43519         [!objdir] (objpfx): Remove.
43520         [!objdir] (common-objpfx): Likewise.
43521         [!objdir] (common-objdir): Likewise.
43522         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43523         AC_CONFIG_FILES call.
43524         * configure: Regenerated.
43526         [BZ #13888]
43527         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43528         or TMPDIR.
43529         (testout): Likewise.
43531         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43532         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43533         $(rtld-installed-name).
43534         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43535         (rtld_installed_name): Likwise.
43536         (runit): Remove function.
43537         (run_getconf): New variable,  Use it for running getconf binary.
43539 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43541         [BZ #14716]
43542         * string/test-memmem.c (check_result): New function.
43543         (do_one_test): Use it.
43544         (check1): New function.
43545         (test_main): Use it.
43547 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43549         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43551 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43553         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43554         (_G_LSEEK64): Likewise.
43555         (_G_MMAP64): Likewise.
43556         (_G_FSTAT64): Likewise.
43557         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43558         (_G_LSEEK64): Likewise.
43559         (_G_MMAP64): Likewise.
43560         (_G_FSTAT64): Likewise.
43561         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43562         unconditional.  Call __mmap64 directly.
43563         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43564         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43565         __lseek64 directly.
43566         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43567         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43568         __mmap64 directly.
43569         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43570         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43571         __lseek64 directly.
43572         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43573         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43574         __lseek64 directly.
43575         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43576         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43577         __lseek64 directly.
43578         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43579         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43580         __fxstat64 directly.
43581         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43582         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43583         unconditional.
43584         (freopen64) [!_G_OPEN64]: Remove conditional code.
43585         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43586         unconditional.
43587         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43588         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43589         unconditional.
43590         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43591         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43592         unconditional.
43593         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43594         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43595         unconditional.
43596         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43597         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43598         unconditional.
43599         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43600         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43601         unconditional.
43602         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43603         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43604         unconditional.
43605         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43607 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43609         [BZ #12140]
43610         * manual/memory.texi (Malloc Tunable Parameters): Add note
43611         about free list pointers overwriting some perturb bytes.
43612         Wording suggested by Roland McGrath.
43614 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43616         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43617         (lgamma_test): Likewise.
43618         (tgamma_test): Likewise.
43620 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43622         [BZ #14700]
43623         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43624         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43626 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43628         * NEWS: Mention BZ #14716.
43629         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43630         when removing AVAILABLE1_USES_J macro.
43632 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43634         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43635         (__bswap_64): __uint64_t for unsigned 64-bit int.
43637 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43639         * include/string.h (memmem): Declare libc hidden alias.
43640         * string/memmem.c (memmem): Define libc hidden alias.
43641         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43642         __read, __close instead of open, read, close.
43644 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43646         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43647         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43648         global and hidden.
43649         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43650         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43651         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43652         Likewise.
43653         (__rawmemchr_sse2): Likewise.
43654         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43655         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43656         (__strchr_sse2): Likewise.
43657         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43658         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43659         (__strcasecmp_sse2): Likewise.
43660         (__strncasecmp_sse2): Likewise.
43661         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43662         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43663         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43664         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43665         (__strrchr_sse2): Likewise.
43666         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43667         ifunc-impl-list.c.
43668         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43669         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43670         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43671         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43672         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43673         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43674         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43675         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43676         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43677         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43678         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43679         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43680         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43681         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43682         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43683         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43684         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43685         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43686         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43687         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43688         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43689         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43690         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43691         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43692         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43693         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43694         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43695         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43696         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43697         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43699         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43700         global and hidden.
43701         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43702         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43703         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43704         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43705         Likewise.
43706         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43707         Likewise.
43708         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43709         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43710         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43711         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43712         ifunc-impl-list.c.
43713         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43714         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43715         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43716         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43717         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43718         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43719         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43720         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43721         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43722         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43723         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43724         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43725         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43726         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43727         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43728         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43729         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43730         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43731         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43732         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43733         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43734         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43735         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43736         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43737         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43738         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43739         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43740         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43741         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43742         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43743         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43744         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43745         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43746         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43747         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43748         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43749         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43750         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43751         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43752         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43753         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43755         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43756         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43757         * include/ifunc-impl-list.h: New file.
43758         * misc/ifunc-impl-list.c: Likewise.
43759         * misc/Makefile (routines): Add ifunc-impl-list.
43760         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43761         * string/test-string.h: Include <ifunc-impl-list.h>.
43762         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43763         TEST_NAME]: New variables.
43764         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43765         are defined.
43766         (test_init): Call __libc_ifunc_impl_list to initialize
43767         func_list if TEST_IFUNC and TEST_NAME are defined.
43769         * string/Makefile (strop-tests): Add bcopy and bzero.
43770         * string/test-bcopy.c: New file.
43771         * string/test-bzero.c: Likewise.
43772         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43773         defined.
43774         * string/test-memset.c: Support bzero test if TEST_BZERO is
43775         defined.
43776         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43777         __libc_memmove.
43778         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43779         __libc_memset.
43780         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43781         of memset.
43783 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43785         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43786         * configure: Regenerated.
43788         * Makeconfig (+link-static-before-libc): Don't include
43789         $(link-static-libc).
43791         * libio/libio.h (_IO_pos_t): Remove.
43793 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43795         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43796         McGrath.
43798 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43800         * crypt/crypt-entry.c: Include fips-private.h.
43801         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43802         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43803         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43804         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43806 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43808         * crypt/crypt-private.h: Include stdbool.h.
43809         (_ufc_setup_salt_r): Return bool.
43810         * crypt/crypt-entry.c: Include errno.h.
43811         (__crypt_r): Return NULL with EINVAL for bad salt.
43812         * crypt/crypt_util.c (bad_for_salt): New.
43813         (_ufc_setup_salt_r): Check that salt is long enough and within
43814         the specified alphabet.
43815         * crypt/badsalttest.c: New file.
43816         * crypt/Makefile (tests): Add it.
43817         ($(objpfx)badsalttest): New.
43819 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43821         * NEWS: Add entry for BZ #14602.
43823 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43825         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43826         type-generic.
43827         * math/libm-test.inc: Update comment listing what functions and
43828         macros are tested.
43829         (isgreater_test): New function.
43830         (isgreaterequal_test): Likewise.
43831         (isless_test): Likewise.
43832         (islessequal_test): Likewise.
43833         (islessgreater_test): Likewise.
43834         (isunordered_test): Likewise.
43835         (main): Call the new functions.
43837 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43839         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43840         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43841         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43842         * sysdeps/i386/configure: Regenerated.
43843         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43844         * sysdeps/mach/configure: Regenerated.
43845         * sysdeps/mach/hurd/configure: Regenerated.
43846         * sysdeps/powerpc/configure: Regenerated.
43847         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43848         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43849         * sysdeps/s390/s390-32/configure: Regenerated.
43850         * sysdeps/s390/s390-64/configure: Regenerated.
43851         * sysdeps/sh/configure: Regenerated.
43852         * sysdeps/sparc/configure: Regenerated.
43853         * sysdeps/unix/sysv/linux/configure: Regenerated.
43854         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43855         * sysdeps/x86_64/configure: Regenerated.
43857         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43858         defined.  Don't check if MAP is NULL.
43860 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43862         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43863         (_G_stat64): Likewise.
43864         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43865         (_G_stat64): Likewise.
43866         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43867         instead of struct _G_stat64.
43868         * libio/fileops.c (mmap_remap_check): Likewise.
43869         (decide_maybe_mmap): Likewise.
43870         (_IO_new_file_seekoff): Likewise.
43871         (_IO_file_stat): Likewise.
43872         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43873         _G_off64_t.
43874         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43875         instead of struct _G_stat64.
43876         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43878 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43880         [BZ #14602]
43881         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43882         Replace with ...
43883         (CHECK_EOL): New macro.
43884         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43885         CHECK_EOL.
43886         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43887         Replace with CHECK_EOL.
43888         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43889         Replace with CHECK_EOL.
43891 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43893         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43894         type-generic.
43895         * math/libm-test.inc: Update comment listing what functions and
43896         macros are tested.
43897         (finite_test): New function.
43898         (isinf_test): Likewise.
43899         (isnan_test): Likewise.
43900         (fpclassify_test): Test subnormal input.
43901         (isfinite_test): Likewise.
43902         (isnormal_test): Likewise.
43903         (main): Call the new functions.
43905 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43907         [BZ #14660]
43908         * Makerules (%.dynsym): Force C locale when running
43909         $(OBJDUMP) --dynamic-syms.
43911 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43913         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43914         <stdint.h>.
43916 2012-10-06  David S. Miller  <davem@davemloft.net>
43918         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43919         upper 32-bits of the length value in %o2 since we use branch-on-register
43920         tests which consider the entire 64-bit register.
43922 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43924         * string/test-strstr.c (check2): Add a test for page boundary.
43926 2012-10-05  David S. Miller  <davem@davemloft.net>
43928         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43929         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43930         file.
43931         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43932         sysdep_routines.
43933         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43934         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43935         and bzero when HWCAP_SPARC_CRYPTO is present.
43937 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43939         [BZ #14602]
43940         * string/test-strstr.c (check2): New function.
43941         (test_main): Call check2.
43943         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43944         and bug-strchr1.
43945         * string/bug-strcasestr1.c (do_test): Moved to ...
43946         * string/test-strcasestr.c (check1): Here.  New function.
43947         (do_one_test): Break out result checking code into ...
43948         (check_result): This.  New function.
43949         (do_one_test): Call check_result.
43950         (test_main): Call check1.
43951         * string/bug-strchr1.c (do_test): Moved to ...
43952         * string/test-strchr.c (check1): Here.  New function.
43953         (do_one_test): Break out result checking code into ...
43954         (check_result): This.  New function.
43955         (do_one_test): Call check_result.
43956         (test_main): Call check1.
43957         * string/bug-strstr1.c (main): Moved to ...
43958         * string/test-strstr.c (check1): Here.  New function.
43959         (do_one_test): Break out result checking code into ...
43960         (check_result): This.  New function.
43961         (do_one_test): Call check_result.
43962         (test_main): Call check1.
43963         * string/bug-strcasestr1.c: Removed.
43964         * string/bug-strchr1.c: Likewise.
43965         * string/bug-strstr1.c: Likewise.
43967         * elf/Makefile (dl-routines): Add hwcaps.
43968         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43969         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43970         (_dl_important_hwcaps): Moved to ...
43971         * elf/dl-hwcaps.c: Here.  New file.
43972         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43974         [BZ #14557]
43975         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43976         if IS_IN_rtld isn't defined.
43978         * elf/dl-support.c (_dl_sysinfo_map): New.
43979         Include "get-dynamic-info.h" and "setup-vdso.h".
43980         (_dl_non_dynamic_init): Call setup_vdso.
43981         * elf/dynamic-link.h: Don't include <assert.h>.
43982         (elf_get_dynamic_info): Moved to ...
43983         * elf/get-dynamic-info.h: Here.  New file.
43984         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43985         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43986         * elf/setup-vdso.h: Here.  New file.
43987         * elf/rtld.c: Include "setup-vdso.h".
43988         (dl_main): Call setup_vdso.
43990 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43992         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43993         creal in comment listing functions tested.  List finite, isinf,
43994         isnan, isless, islessequal, isgreater, isgreaterequal,
43995         islessgreater, isunordered, lgamma_r and pow10 as functions and
43996         macros not tested.  Mention which functions not tested are aliases
43997         for other functions.  Fix typo.  Note that signs of NaNs are not
43998         tested.
44000         * scripts/config.guess: Update from config.git.
44001         * scripts/config.sub: Likewise.
44003 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44005         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44006         * misc/madvise.c (madvise): Renamed to __madvise.
44007         Make madvise a weak alias.
44008         * include/sys/mman.h: Declare __madvise.
44009         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44010         * sysdeps/unix/syscalls.list
44011         (madvise): Make __madvise the strong name, and madvise a weak alias.
44012         * sysdeps/unix/sysv/linux/syscalls.list
44013         (madvise, mmap): Remove redundant entries.
44014         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44015         * malloc/malloc.c (mtrim): Likewise.
44016         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44018 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44020         * sysdeps/mach/hurd/dl-cache.c: File removed.
44021         * config.h.in (USE_LDCONFIG): New #undef.
44022         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44023         * configure: Regenerated.
44024         * elf/Makefile (dl-routines): Add dl-cache only under
44025         [$(use-ldconfig) = yes].
44026         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44027         cache on [USE_LDCONFIG].
44028         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44029         [USE_LDCONFIG].
44030         * elf/rtld.c (dl_main): Likewise.
44032 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44034         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44035         _SC_LEVEL4_CACHE_LINESIZE.
44037 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44039         * sysdeps/unix/bsd/confstr.h: File removed.
44041 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44043         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44044         sys/sdt-config.h.
44046 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44048         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44049         Make 'mapoff' field ElfW(Off) rather than off_t.
44051 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44053         * nscd/Makefile: Remove nscd-cflags and all its users.
44054         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44055         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44057         [BZ #10631]
44058         * malloc.c (malloc_printerr): Clarify error message.
44060 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44062         [BZ #14648]
44063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44064         Set bit_FMA_Usable if FMA is supported.
44065         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44066         macro.
44067         (bit_FMA4_Usable): Updated.
44068         (index_FMA_Usable): New macro.
44069         (CPUID_FMA): Likewise
44070         (HAS_FMA): Defined with bit_FMA_Usable.
44072 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44074         * bits/types.h (__swblk_t): Type removed.
44075         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44076         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44077         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44078         (__SWBLK_T_TYPE): Likewise.
44079         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44080         (__SWBLK_T_TYPE): Likewise.
44081         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44082         (__SWBLK_T_TYPE): Likewise.
44083         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44084         (__SWBLK_T_TYPE): Likewise.
44086 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44087             Honza Horak <hhorak@redhat.com>
44089         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44090         (xdr_mapname): Use YPMAXMAP as maxsize.
44091         (xdr_peername): Use YPMAXPEER as maxsize.
44092         (xdr_keydat): Use YPAXRECORD as maxsize.
44093         (xdr_valdat): Use YPMAXRECORD as maxsize.
44095 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44097         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44099         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44100         * csu/init-first.c: ... here.
44101         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44102         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44103         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44104         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44105         * sysdeps/i386/init-first.c: File removed.
44106         * sysdeps/sh/init-first.c: File removed.
44108 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44110         [BZ #14645]
44111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44112         if x * y might underflow to zero and z is zero.
44113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44114         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44115         * math/libm-test.inc (min_subnorm_value): New variable.
44116         (fma_test): Add more tests.
44117         (fma_test_towardzero): Likewise.
44118         (fma_test_downward): Likewise
44119         (fma_test_upward): Likewise.
44120         (initialize): Set min_subnorm_value.
44122 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44124         [BZ #14638]
44125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44126         0 + 0.
44127         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44128         mode for addition resulting in exact zero.
44129         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44130         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44131         exact 0 + 0.
44132         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44133         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44134         * math/libm-test.inc (fma_test): Add more tests.
44135         (fma_test_towardzero): New function.
44136         (fma_test_downward): Likewise.
44137         (fma_test_upward): Likewise.
44138         (main): Call the new functions.
44140 2012-09-28  David S. Miller  <davem@davemloft.net>
44142         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44144 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44146         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44147         instead of SIGALRM.
44149         * sysdeps/gnu/_G_config.h: Moved to ...
44150         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44151         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44152         * sysdeps/generic/_G_config.h: ... here.
44154         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44156         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44158         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44159         Conditionalize target on [libnss_test1.so-version].
44161         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44163         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44164         (elfobjdir): Move out of conditionals.
44166         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44167         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44168         (__nss_lookup_function): Conditionalize label remove_from_tree on
44169         [!DO_STATIC_NSS || SHARED], matching its only use.
44171 2012-09-28  David S. Miller  <davem@davemloft.net>
44173         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44174         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44175         file.
44176         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44177         sysdep_routines.
44178         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44179         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44180         when HWCAP_SPARC_CRYPTO is present.
44182 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44184         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44186 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44188         [BZ #6530]
44189         * stdio-common/vfprintf.c (process_string_arg): Revert
44190         2000-07-22 change.
44192 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44194         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44195         for testcase.
44196         * stdio-common/tst-sprintf.c: Include <locale.h>
44197         (main): Test sprintf's handling of incomplete multibyte
44198         characters.
44200 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44202         * elf/dl-runtime.c (VERSYMIDX): Removed.
44203         * elf/dl-version.c (VERSYMIDX): Likewise.
44204         * elf/do-rel.h (VERSYMIDX): Likewise.
44205         (VALIDX): Likewise.
44206         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44207         * elf/rtld.c (VALIDX): Likewise.
44208         (ADDRIDX): Likewise.
44209         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44210         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44211         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44212         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44213         (VALIDX): Likewise.
44214         (ADDRIDX): Likewise.
44216 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44218         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44220 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44222         [BZ #11438]
44223         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44224         to global scope.
44225         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44226         addresses are in the same scope as 192.0.2/24.
44227         * posix/gai.conf: Document new scope table defaults.
44229 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44231         [BZ #5298]
44232         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44233         for ftell.  Compute offsets from write pointers instead.
44234         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44236 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44238         [BZ #14543]
44239         * libio/Makefile (tests): New test case tst-fseek.
44240         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44241         combination works in wide mode.
44242         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44243         state when the external buffer state changes.
44245 2012-09-27  David S. Miller  <davem@davemloft.net>
44247         [BZ #14376]
44248         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44249         pass reloc->r_addend in as the 'high' argument to
44250         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44254 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44256         * rt/tst-aio2.c: Include <pthread.h>.
44257         * rt/tst-aio3.c: Likewise.
44259 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44261         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44263 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44265         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44266         contents on [SHARED].
44268 2012-09-26  Marek Polacek  <polacek@redhat.com>
44270         [BZ #14530]
44271         [BZ #13741]
44272         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44273         for C++ and GCC <4.3 as well as for non GCC compilers.
44275 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44279 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44281         * Makefile.in (all, install): Declare with .PHONY.
44282         Reported by Michael Hope <michael.hope@linaro.org>.
44284 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44286         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44287         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44288         system header.
44289         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44290         Likewise.
44291         (sydep_routines): Add the new and the internal functions.
44292         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44293         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44295         (GLIBC_2.17): Add the new function.
44296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44297         (GLIBC_2.17): Likewise.
44298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44299         (GLIBC_2.17): Likewise.
44300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44301         (GLIBC_2.17): Likewise.
44302         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44304 2012-09-25  Alan Modra  <amodra@gmail.com>
44306         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44307         Add release barrier before setting once_control to say
44308         initialisation is done.  Add hints on lwarx.  Use macro in
44309         place of isync.
44310         (clear_once_control): Add release barrier.
44312 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44314         [BZ #13629]
44315         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44316         specially.
44317         * math/s_clog10.c (__clog10): Likewise.
44318         * math/s_clog10f.c (__clog10f): Likewise.
44319         * math/s_clog10l.c (__clog10l): Likewise.
44320         * math/s_clogf.c (__clogf): Likewise.
44321         * math/s_clogl.c (__clogl): Likewise.
44322         * math/Makefile (libm-calls): Add x2y2m1.
44323         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44324         (__x2y2m1): Likewise.
44325         (__x2y2m1l): Likewise.
44326         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44327         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44328         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44329         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44330         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44331         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44332         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44333         * sysdeps/i386/fpu/libm-test-ulps: Update.
44334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44336         [BZ #14621]
44337         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44338         int as type of variable DEPTH.
44339         (glob): Use size_t instead of int as type of variables NEWCOUNT
44340         and OLD_PATHC.
44342 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44344         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44345         Add s_sincosf-sse2.
44346         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44347         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44348         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44349         macros for using routine as __sincosf_ia32.
44350         Use macro for function declaration and weak_alias.
44351         * sysdeps/i386/fpu/libm-test-ulps: Update.
44353         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44356         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44357         subnormal argument.
44358         * math/s_cexpf.c (__cexpf): Likewise.
44359         * math/s_csinf.c (__csinf): Likewise.
44360         * math/s_csinhf.c (__csinhf): Likewise.
44361         * math/s_ctanf.c (__ctanf): Likewise.
44362         * math/s_ctanhf.c (__ctanhf): Likewise.
44363         * math/s_ccosh.c (__ccoshf): Likewise.
44364         * math/s_cexp.c (__cexpl): Likewise.
44365         * math/s_csin.c (__csin): Likewise.
44366         * math/s_csinh.c (__csinh): Likewise.
44367         * math/s_ctan.c (__ctan): Likewise.
44368         * math/s_ctanh.c (ctanh): Likewise.
44369         * math/s_ccoshl.c (__ccoshl): Likewise.
44370         * math/s_cexpl.c (__cexpl): Likewise.
44371         * math/s_csinl.c (__csinl): Likewise.
44372         * math/s_csinhl.c (__csinhl): Likewise.
44373         * math/s_ctanl.c (__ctanl): Likewise.
44374         * math/s_ctanhl.c (__ctanhl): Likewise.
44376 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44378         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44379         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44380         (_IO_off_t): Define to __off_t, not _G_off_t.
44381         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44382         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44383         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44384         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44385         type of __dummy and __dummy2 fields.
44386         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44387         (_G_ssize_t): Likewise.
44388         (_G_off_t): Likewise.
44389         (_G_pid_t): Likewise.
44390         (_G_uid_t): Likewise.
44391         (_G_wchar_t): Likewise.
44392         (_G_wint_t): Likewise.
44393         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44394         (_G_ssize_t): Likewise.
44395         (_G_off_t): Likewise.
44396         (_G_pid_t): Likewise.
44397         (_G_uid_t): Likewise.
44398         (_G_wchar_t): Likewise.
44399         (_G_wint_t): Likewise.
44400         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44401         (_G_ssize_t): Likewise.
44402         (_G_off_t): Likewise.
44403         (_G_pid_t): Likewise.
44404         (_G_uid_t): Likewise.
44405         (_G_wchar_t): Likewise.
44406         (_G_wint_t): Likewise.
44408 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44410         * malloc/arena.c: Include malloc-sysdep.h.
44411         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44412         is sufficient to shrink the heap or an unmap is needed.
44413         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44414         new function check_may_shrink_heap.
44415         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44416         new function check_may_shrink_heap.
44418 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44420         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44421         comments.
44423 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44425         * catgets/test-gencat.sh: Add "set -e".
44426         * elf/tst-pathopt.sh: Likewise.
44427         * grp/tst_fgetgrent.sh: Likewise.
44428         * iconvdata/run-iconv-test.sh: Likewise.
44429         * intl/tst-gettext.sh: Likewise.
44430         * intl/tst-gettext2.sh: Likewise.
44431         * intl/tst-gettext4.sh: Likewise.
44432         * intl/tst-gettext6.sh: Likewise.
44433         * intl/tst-translit.sh: Likewise.
44434         * io/ftwtest-sh: Likewise.
44435         * libio/test-freopen.sh: Likewise.
44436         * malloc/tst-mtrace.sh: Likewise.
44437         * posix/globtest.sh: Likewise.
44438         * posix/tst-getconf.sh: Likewise.
44439         * posix/wordexp-tst.sh: Likewise.
44440         * stdio-common/tst-printf.sh: Likewise.
44441         * stdio-common/tst-unbputc.sh: Likewise.
44442         * stdlib/tst-fmtmsg.sh: Likewise.
44443         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44444         * catgets/Makefile: Do not specify -e option when running
44445         testsuite shell scripts.
44446         * elf/Makefile: Likewise.
44447         * grp/Makefile: Likewise.
44448         * iconvdata/Makefile: Likewise.
44449         * intl/Makefile: Likewise.
44450         * io/Makefile: Likewise.
44451         * libio/Makefile: Likewise.
44452         * malloc/Makefile: Likewise.
44453         * posix/Makefile: Likewise.
44454         * stdio-common/Makefile: Likewise.
44455         * stdlib/Makefile: Likewise.
44456         * sysdeps/x86_64/Makefile: Likewise.
44458         * io/ftwtest-sh: Add copyright header.
44459         * posix/globtest.sh: Likewise.
44460         * posix/tst-getconf.sh: Likewise.
44461         * posix/wordexp-tst.sh: Likewise.
44462         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44464 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44466         [BZ #13679]
44467         * Makeconfig (+link): Defined as $(+link-static) if
44468         $(build-shared) isn't yes.
44469         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44470         isn't yes.
44471         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44473         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44475         [BZ #14562]
44476         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44477         new chunk size with MALLOC_ALIGN_MASK.
44479 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44481         [BZ #5044]
44482         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44483         <rounding-mode.h>.
44484         (__printf_fphex): Determine rounding using get_rounding_mode and
44485         round_away.
44486         * stdio-common/tst-printf-round.c (struct hex_test): New
44487         structure.
44488         (hex_tests): New variable.
44489         (test_hex_in_one_mode): New function.
44490         (do_test): Also run tests for hex float output.
44492 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44494         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44495         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44496         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44497         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44498         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44499         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44500         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44501         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44503 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44505         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44506         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44507         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44508         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44510 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44512         [BZ #14579]
44513         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44514         mode only.
44515         * elf/tst-rtld-load-self.sh: New test.
44516         * elf/Makefile: Run it.
44518 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44520         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44521         (tst-writev-ENV): Remove.
44522         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44524 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44526         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44528 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44530         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44531         unconditional.
44532         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44533         Likewise.
44534         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44535         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44536         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44537         Likewise.
44539 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44541         [BZ #14587]
44542         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44543         * config.make.in (have-cpp-asm-debuginfo): Removed.
44544         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44545         * configure: Regenerated.
44547 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44549         [BZ #5044]
44550         * stdio-common/printf_fp.c: Include <stdbool.h> and
44551         <rounding-mode.h>.
44552         (___printf_fp): Determine rounding using get_rounding_mode and
44553         round_away.
44554         * stdio-common/tst-printf-round.c: New file.
44555         * stdio-common/Makefile (tests): Add tst-printf-round.
44556         (link-libm): New variable.
44557         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44559 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44561         [BZ #14576]
44562         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44563         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44564         Likewise.
44565         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44566         Likewise.
44568 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44570         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44571         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44572         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44573         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44575 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44577         [BZ #14518]
44578         * include/rounding-mode.h: New file.
44579         * sysdeps/generic/get-rounding-mode.h: Likewise.
44580         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44581         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44582         (MAX_VALUE): New macro.
44583         (MIN_VALUE): Likewise.
44584         (overflow_value): New function.
44585         (underflow_value): Likewise.
44586         (round_and_return): Use overflow_value and underflow_value to
44587         determine return values in overflow and underflow cases.  Use
44588         round_away to determine rounding depending on rounding mode.
44589         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44590         determine return values in overflow and underflow cases.
44591         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44592         (struct test_results): New structure.
44593         (struct test): Use struct test_results to store expected results
44594         for all rounding modes.
44595         (TEST): Include expected results for all rounding modes.
44596         (test_in_one_mode): New function.
44597         (do_test): Use test_in_one_mode to compute and check results.
44598         Check results for all rounding modes.
44599         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44600         $(link-libm).
44602 2012-12-09  Allan McRae  <allan@archlinux.org>
44604         * sysdeps/i386/fpu/libm-test-ulps: Update
44606 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44608         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44609         (_G_int32_t): Likewise.
44610         (_G_uint16_t): Likewise.
44611         (_G_uint32_t): Likewise.
44612         (_G_HAVE_BOOL): Likewise.
44613         (_G_HAVE_ATEXIT): Likewise.
44614         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44615         (_G_HAVE_IO_FILE_OPEN): Likewise.
44616         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44617         (_G_int32_t): Likewise.
44618         (_G_uint16_t): Likewise.
44619         (_G_uint32_t): Likewise.
44620         (_G_HAVE_BOOL): Likewise.
44621         (_G_HAVE_ATEXIT): Likewise.
44622         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44623         (_G_HAVE_IO_FILE_OPEN): Likewise.
44624         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44625         (_G_int32_t): Likewise.
44626         (_G_uint16_t): Likewise.
44627         (_G_uint32_t): Likewise.
44628         (_G_HAVE_BOOL): Likewise.
44629         (_G_HAVE_ATEXIT): Likewise.
44630         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44631         (_G_HAVE_IO_FILE_OPEN): Likewise.
44633 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44635         * csu/libc-tls.c: Update copyright years.
44637 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44639         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44640         [!_G_USING_THUNKS]: Remove conditional code.
44641         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44642         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44644         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44645         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44646         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44647         (_G_VTABLE_LABEL_PREFIX): Likewise.
44648         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44649         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44650         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44651         (_G_VTABLE_LABEL_PREFIX): Likewise.
44652         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44653         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44654         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44655         (_G_VTABLE_LABEL_PREFIX): Likewise.
44656         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44658 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44660         * libio/Makefile: Include ../Makeconfig before tests.
44661         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44662         only if $(build-shared) is yes.
44664         * iconv/gconv_db.c: Update copyright years.
44666 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44668         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44669         unwind info if defined PIC. Fix special cases description.
44670         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44672         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44673         DP_HI_MASK entry.
44674         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44676 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44678         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44680         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44681         is NULL.
44683         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44684         (LDLIBS-tst-chk4): This.
44685         (LDFLAGS-tst-chk5): Renamed to ...
44686         (LDLIBS-tst-chk5): This.
44687         (LDFLAGS-tst-chk6): Renamed to ...
44688         (LDLIBS-tst-chk6): This.
44689         (LDFLAGS-tst-lfschk4): Renamed to ...
44690         (LDLIBS-tst-lfschk4): This.
44691         (LDFLAGS-tst-lfschk5): Renamed to ...
44692         (LDLIBS-tst-lfschk5): This.
44693         (LDFLAGS-tst-lfschk6): Renamed to ...
44694         (LDLIBS-tst-lfschk6): This.
44696         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44697         on $(common-objpfx)soversions.mk.
44699 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44701         [BZ #10014]
44702         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44703         example host name.
44705 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44707         * malloc/arena.c (arena_get_retry): New function that gets
44708         another arena for the caller to try its request on.
44709         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44710         current arena cannot fulfill the request.
44711         (__libc_memalign): Likewise.
44712         (__libc_memalign): Likewise.
44713         (__libc_pvalloc): Likewise.
44714         (__libc_calloc): Likewise.
44716 2012-09-05  John Tobey  <john.tobey@gmail.com>
44718         [BZ #13542]
44719         * manual/arith.texi (Operations on Complex): Fix description
44720         of carg branch cut.
44722 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44724         [BZ #10014]
44725         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44726         host name.
44728         [BZ #10038]
44729         * manual/memory.texi (Memory): Make order of menu items match
44730         order of sections.
44732 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44734         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44735         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44736         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44738 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44740         * csu/libc-tls.c (static_dtv): Renamed to ...
44741         (_dl_static_dtv): This.  Make it global.
44742         (_dl_initial_dtv): Removed.
44743         (__libc_setup_tls): Updated.
44744         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44745         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44746         DL_INITIAL_DTV.
44748 2012-09-06  Petr Machata  <pmachata@redhat.com>
44750         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44751         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44752         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44753         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44755 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44757         [BZ #14545]
44758         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44759         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44760         freeing dtv[-1].
44762 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44764         [BZ #14544]
44765         * Makeconfig (link-static-before-libc): Replace $(+prector)
44766         with $(+prectorT).
44767         (link-static-after-libc): Replace $(+postctor) with
44768         $(+postctorT).
44769         (link-bounded): Replace $(+prector)/$(+postctor) with
44770         $(+prectorT)/$(+postctorT).
44771         (+prectorT): New macro.
44772         (+postctorT): Likewise.
44774 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44776         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44777         (round_str): Handle values above the maximum for IBM long double
44778         as inexact.
44779         * stdlib/tst-strtod-round.c (tests): Regenerated.
44781 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44783         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44784         assembler flag.
44785         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44786         zarch_nohighgprs around the zarch optimized routines.
44787         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44788         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44789         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44790         for zarch.
44792 2012-09-05  David S. Miller  <davem@davemloft.net>
44794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44796         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44797         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44798         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44799         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44800         entries.
44802 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44804         * malloc/arena.c: Fold copyright years.
44805         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44807 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44809         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44811 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44813         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44815 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44817         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44818         change internal state upon failure.
44820 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44822         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44823         * malloc/memusage.c (mmap): Likewise.
44824         (mmap64, mremap): Likewise.  Adjust name in comment.
44826 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44828         * libio/fileops.c: Fix typos in comments.
44829         * libio/oldfileops.c: Likewise.
44830         * libio/wfileops.c: Likewise.
44832 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44834         [BZ #1349]
44835         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44836         (tst-malloc-usable-ENV): Set environment for test case.
44837         * malloc/hooks.c (malloc_check_get_size): New function to get
44838         requested size.
44839         * malloc/malloc.c (musable): Use malloc_check_get_size.
44840         * malloc/tst-malloc-usable.c: New test case.
44842 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44844         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44846 2012-09-05  Allan McRae  <allan@archlinux.org>
44848         [BZ #13966]
44849         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44850         determine header location.
44851         * configure: Regenerated.
44853 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44855         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44856         float format.
44857         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44858         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44859         format.
44860         (test): Regenerate.
44862 2012-09-04  David S. Miller  <davem@davemloft.net>
44864         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44865         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44866         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44868 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44870         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44871         failures.
44873         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44875 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44877         [BZ #9914]
44878         * libio/iogetdelim.c: Include <limits.h>.
44879         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44880         + len + 1 would overflow.
44882 2012-09-03  Andreas Jaeger  <aj@suse.de>
44884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44885         * sysdeps/i386/fpu/libm-test-ulps: Update.
44887 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44889         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44890         Add s_sinf-sse2, s_conf-sse2.
44892         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44893         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44894         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44895         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44897         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44898         for using routine as __sinf_ia32.
44899         Use macro for function declaration and weak_alias.
44900         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44901         for using routine as __cosf_ia32.
44902         Use macro for function declaration and weak_alias.
44904         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44905         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44907         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44908         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44909         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44911         * math/libm-test.inc (cos_test): Add more test cases.
44912         (sin_test): Likewise.
44913         (sincos_test): Likewise.
44915 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44917         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44918         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44919         hidden.
44920         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44922 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44924         [BZ #14538]
44925         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44926         first element of the GOT.
44927         (elf_machine_load_address): Return the difference between
44928         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44930 2012-09-01  Allan McRae  <allan@archlinux.org>
44932         [BZ #13412]
44933         * configure.in (AWK): Require gawk version 3.0 or later.
44934         * configure: Regenerated.
44936 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44938         * sysdeps/unix/sysv/linux/kernel-features.h
44939         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44940         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44941         [__NR_clock_getres]: Make code unconditional.
44942         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44943         (clock_getcpuclockid): Remove code left unreachable by removal of
44944         conditionals.
44945         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44946         code unconditional.
44947         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44948         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44949         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44950         Make code unconditional.
44951         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44952         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44953         * sysdeps/unix/sysv/linux/clock_settime.c
44954         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44955         conditional code.
44956         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44957         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44959 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44961         [BZ #14476]
44962         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44963         scripts/test-installation.pl.
44965         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44966         and $ld_so_version if it is set.
44968 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44970         [BZ #14516]
44971         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44972         failure if reading from procfs failed.
44973         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44975 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44977         * sysdeps/unix/sysv/linux/kernel-features.h
44978         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44979         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44980         Remove conditional code.
44981         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44982         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44983         Remove conditional code.
44984         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44985         * sysdeps/unix/sysv/linux/i386/fxstat.c
44986         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44987         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44988         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44989         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44990         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44991         * sysdeps/unix/sysv/linux/i386/lxstat.c
44992         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44993         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44994         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44995         Remove conditional code.
44996         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44997         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44998         Remove conditional code.
44999         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45000         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45001         <kernel-features.h>.
45002         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45003         Remove.
45004         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45005         Remove conditional code.
45006         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45007         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45008         Remove conditional.
45010 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45012         [BZ #5400]
45013         * NEWS: Add fixed bug number.
45015 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45017         [BZ #14519]
45018         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45019         underflowing exponent in case of negative sign.
45020         * stdlib/tst-strtod-round-data: Add more tests.
45021         * stdlib/tst-strtod-round.c (tests): Regenerated.
45023         [BZ #3479]
45024         * stdlib/strtod_l.c (NDIG): Remove.
45025         (HEXNDIG): Likewise.
45026         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45027         smallest representable value.
45028         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45029         lie within an exact representation of 1/2 ulp of the result.
45030         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45031         unconditionally.
45032         (TENS_P9_IDX): Define unconditionally.
45033         (TENS_P9_SIZE): Likewise.
45034         (TENS_P10_IDX): Likewise.
45035         (TENS_P10_SIZE): Likewise.
45036         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45037         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45038         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45039         entries for 10^2^13 and 10^2^14.
45040         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45041         (TENS_P13_IDX): Define.
45042         (TENS_P13_SIZE): Likewise.
45043         (TENS_P14_IDX): Likewise.
45044         (TENS_P14_SIZE): Likewise.
45045         (_fpioconst_pow10): Change array size to
45046         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45047         unconditional.
45048         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45049         1024]: Add entries for 10^2^13 and 10^2^14.
45050         [LAST_POW10 > _LAST_POW10]: Remove #error.
45051         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45052         (_fpioconst_pow10): Change array size to
45053         FPIOCONST_POW10_ARRAY_SIZE.
45054         * stdlib/gen-fpioconst.c: New file.
45055         * stdlib/gen-tst-strtod-round.c: Likewise.
45056         * stdlib/tst-strtod-round-data: Likewise.
45057         * stdlib/tst-strtod-round.c: Likewise.
45058         * stdlib/Makefile (tests): Add tst-strtod-round.
45060         [BZ #14459]
45061         * stdlib/strtod_l.c: Include <stdint.h>.
45062         (NDEBUG): Do not define.
45063         (round_and_return): Change EXPONENT parameter to type intmax_t.
45064         Rearrange calculations to avoid internal overflow possibilities.
45065         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45066         Rearrange calculations to avoid internal overflow possibilities.
45067         Assert that number fits inside MPNSIZE limbs.
45068         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45069         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45070         calculations and add assertions to avoid internal overflow
45071         possibilities.  Add casts to avoid signed/unsigned operations.
45072         * stdlib/tst-strtod-overflow.c: New file.
45073         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45075 2012-08-25  Marek Polacek  <polacek@redhat.com>
45077         * time/time.h: Fix some typos in comments.
45079 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45081         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45082         * posix/tst-rfc3484-2.c: Likewise.
45083         * posix/tst-rfc3484-3.c: Likewise.
45085 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45087         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45088         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45090 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45092         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45093         #include of fxstatat64.c.
45095 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45097         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45098         * shadow/getspent_r.c: Likewise.
45099         * shadow/getspnam.c: Likewise.
45100         * shadow/getspnam_r.c: Likewise.
45101         * gshadow/getsgent.c: Likewise.
45102         * gshadow/getsgent_r.c: Likewise.
45103         * gshadow/getsgnam.c: Likewise.
45104         * gshadow/getsgnam_r.c: Likewise.
45105         * inet/getnetbyad.c: Likewise.
45106         * inet/getnetbyad_r.c: Likewise.
45107         * inet/getnetbynm.c: Likewise.
45108         * inet/getnetbynm_r.c: Likewise.
45109         * inet/getnetent.c: Likewise.
45110         * inet/getnetent_r.c: Likewise.
45111         * inet/getproto.c: Likewise.
45112         * inet/getproto_r.c: Likewise.
45113         * inet/getprtent.c: Likewise.
45114         * inet/getprtent_r.c: Likewise.
45115         * inet/getprtname.c: Likewise.
45116         * inet/getprtname_r.c: Likewise.
45117         * inet/getrpcbyname.c: Likewise.
45118         * inet/getrpcbyname_r.c: Likewise.
45119         * inet/getrpcbynumber.c: Likewise.
45120         * inet/getrpcbynumber_r.c: Likewise.
45121         * inet/getrpcent.c: Likewise.
45122         * inet/getrpcent_r.c: Likewise.
45123         * inet/getaliasent.c: Likewise.
45124         * inet/getaliasent_r.c: Likewise.
45125         * inet/getaliasname.c: Likewise.
45126         * inet/getaliasname_r.c: Likewise.
45127         * nscd/getgrgid_r.c: Likewise.
45128         * nscd/getgrnam_r.c: Likewise.
45129         * nscd/gethstbyad_r.c: Likewise.
45130         * nscd/gethstbynm3_r.c: Likewise.
45131         * nscd/getpwnam_r.c: Likewise.
45132         * nscd/getpwuid_r.c: Likewise.
45133         * nscd/getsrvbynm_r.c: Likewise.
45134         * nscd/getsrvbypt_r.c: Likewise.
45135         * nscd/gai.c: Likewise.
45137         * configure.in (build_nscd): New substituted variable, set
45138         by --disable-build-nscd and defaults to $use_nscd.
45139         * configure: Regenerated.
45140         * config.make.in (build-nscd): New substituted variable.
45141         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45142         Change conditional to require [$(build-nscd) = yes] as well.
45143         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45145         [BZ# 13696]
45146         * configure.in (use_nscd): New substituted variable, set by
45147         --disable-nscd.  If enabled, define USE_NSCD.
45148         * configure: Regenerated.
45149         * config.h.in: Add USE_NSCD.
45150         * config.make.in (use-nscd): New substituted variable.
45151         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45152         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45153         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45154         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45155         (CFLAGS-getgrnam_r.c): Likewise.
45156         (CFLAGS-initgroups.c): Likewise.
45157         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45158         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45159         Variables removed.
45160         * inet/getnetgrent_r.c
45161         (nscd_setnetgrent): New function, broken out of ...
45162         (setnetgrent): ... here.  Call it.
45163         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45164         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45165         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45166         * nscd/Makefile (routines, aux): Move definitions after include of
45167         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45168         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45169         Conditionalize on [USE_NSCD].
45170         (is_nscd, nscd_init_cb): Likewise.
45171         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45172         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45173         * nss/nss_db/db-init.c: Likewise.
45174         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45175         [USE_NSCD].
45176         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45177         (make_request): Use it.
45178         (cache_valid_p): New function.
45179         (__check_pf): Use it.
45180         * NEWS: Add item for --disable-nscd.
45182 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45184         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45185         to support sed >= 4.2.1-20-ga9bf076.
45186         * configure: Regenerated.
45188 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45190         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45191         Conditionalize whole body on [IREL].
45193 2012-08-22  Jeff Law <law@redhat.com>
45195         [BZ #14505]
45196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45197         if the family is PF_UNSPEC.
45199 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45201         * Makerules (lib-version): Rename from V.
45202         (install-lib-nosubdir): Change V to lib-version.
45204 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45206         [BZ #14252]
45207         * powerpc32/power6/wcschr.c: New file.
45208         * powerpc32/power6/wcscpy.c: New file.
45209         * powerpc32/power6/wcsrchr.c: New file.
45210         * powerpc64/power6/wcschr.c: New file.
45211         * powerpc64/power6/wcscpy.c: New file.
45212         * powerpc64/power6/wcsrchr.c: New file.
45214 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45216         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45217         (two_way_short_needle): Use it.
45218         * string/strstr.c (AVAILABLE1_USES_J): Define.
45219         * string/strcasestr.c: Likewise.
45221         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45222         array references.
45223         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45225         [BZ #11607]
45226         * NEWS: Add an entry.
45227         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45228         define their defaults.
45229         (two_way_short_needle): Detect end-of-string on-the-fly.
45230         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45231         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45232         * string/bug-strcasestr1.c: New test.
45233         * string/Makefile: Run it.
45235 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45237         [BZ #11607]
45238         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45239         the first character.
45241 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45243         * csu/elf-init.c (__libc_csu_irel): Function removed.
45244         * csu/libc-start.c (apply_irel): New function.
45245         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45247 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45249         * sysdeps/unix/sysv/linux/kernel-features.h
45250         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45251         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45252         <kernel-features.h>.
45253         [__NR_fadvise64_64]: Make code unconditional.
45254         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45255         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45256         !__NR_fadvise64_64)]: Likewise.
45257         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45258         !__NR_fadvise64_64))]: Likewise.
45259         [__NR_fadvise64]: Make code unconditional.
45260         [!__NR_fadvise64]: Remove conditional code.
45261         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45262         <kernel-features.h>.
45263         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45264         unconditional.
45265         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45266         conditional code.
45267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45268         not include <kernel-features.h>.
45269         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45270         unconditional.
45271         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45272         conditional code.
45273         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45274         include <kernel-features.h>.
45275         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45276         unconditional.
45277         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45278         conditional code.
45280 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45282         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45283         slight instruction rearrangements per scrollpipe analysis.
45284         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45286 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45288         * manual/syslog.texi (syslog; vsyslog, closelog):
45289         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45290         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45292         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45293         DSOCAPS to match condition on defining it.
45295 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45297         * sysdeps/unix/sysv/linux/kernel-features.h
45298         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45300         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45301         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45303         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45304         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45306         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45307         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45309         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45310         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45312         * sysdeps/unix/sysv/linux/kernel-features.h
45313         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45314         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45315         unconditional.
45316         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45317         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45318         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45319         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45320         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45321         Make code unconditional.
45322         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45323         (__mmap64) [!__NR_mmap2]: Likewise.
45324         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45325         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45326         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45327         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45328         [__NR_mmap2]: Make code unconditional.
45329         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45330         (__mmap64) [!__NR_mmap2]: Likewise.
45332 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45334         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45336 2012-08-18  Andreas Jaeger  <aj@suse.de>
45338         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45340 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45342         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45343         * include/unistd.h (__have_sock_cloexec): Likewise.
45344         (__have_pipe2): Likewise.
45345         (__have_dup3): Likewise.
45347 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45349         [BZ #9685]
45350         * include/unistd.h (__have_pipe2): Change define into an extern int.
45351         (__have_dup3): Likewise.
45352         * socket/have_sock_cloexec.c: Include fcntl.h.
45353         (__have_pipe2): New variable.
45354         (__have_dup3): Likewise.
45356 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45358         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45360 2012-08-17  Marek Polacek  <polacek@redhat.com>
45362         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45363         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45365 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45367         * configure.in: Add AC_SUBST for sysheaders.
45368         * configure: Regenerated.
45369         * config.make.in (sysheaders): New substituted variable.
45371         * sysdeps/unix/mkfifo.c: Moved ...
45372         * sysdeps/posix/mkfifo.c: ... here.
45373         * sysdeps/unix/mkfifoat.c: Moved ...
45374         * sysdeps/posix/mkfifoat.c: ... here.
45376         * sysdeps/unix/utime.c: Moved ...
45377         * sysdeps/posix/utime.c: ... here.
45379         * sysdeps/unix/time.c: Moved ...
45380         * sysdeps/posix/time.c: ... here.
45381         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45382         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45384         * sysdeps/unix/nice.c: Moved ...
45385         * sysdeps/posix/nice.c: ... here.
45387         * sysdeps/unix/alarm.c: Moved ...
45388         * sysdeps/posix/alarm.c: ... here.
45390         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45392 2012-08-17  Jeff Law <law@redhat.com>
45394         * intl/Makefile (codeset_mo): New variable.
45395         ($(codeset_mo)): New target.
45396         (tst-codeset.out): Depend on that.  Remove explicit rule.
45397         (tst-gettext3.out, tst-gettext5.out): Likewise.
45398         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45399         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45400         * intl/tst-codeset.sh: Remove.
45401         * intl/tst-gettext3.sh: Likewise.
45402         * intl/tst-gettext5.sh: Likewise.
45404 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45406         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45407         * sysdeps/unix/syscalls.list: ... here.
45409         * sysdeps/posix/getaddrinfo.c
45410         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45411         (gaiconf_init, gaiconf_reload): Use them.
45412         [!_STATBUF_ST_NSEC]
45413         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45414         Define using time_t rather than struct timespec.
45416         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45417         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45418         Macros removed.
45419         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45420         [!NO_THREADS].
45421         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45422         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45423         Likewise.
45425         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45426         __libc_cleanup_push argument.
45428         * bits/param.h: New file.
45429         * misc/sys/param.h: New file.
45430         * include/sys/param.h: New file.
45431         * misc/Makefile (headers): Add bits/param.h.
45432         * sysdeps/generic/sys/param.h: File removed.
45433         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45434         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45435         * sysdeps/mach/hurd/bits/param.h: New file.
45436         * sysdeps/mach/hurd/sys/param.h: File removed.
45438         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45439         last change.
45441         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45442         [_IO_MTSAFE_IO].
45443         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45444         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45445         New macros.
45447         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45448         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45449         rather than -D_IO_MTSAFE_IO conditionally.
45450         * stdio-common/Makefile (CPPFLAGS): Likewise.
45451         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45452         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45453         Use $(libio-mtsafe).
45454         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45455         of -D_IO_MTSAFE_IO.
45456         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45457         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45458         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45459         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45460         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45461         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45462         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45463         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45464         (CFLAGS-fread_u_chk.c): Likewise.
45465         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45466         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45467         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45468         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45469         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45470         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45471         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45472         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45473         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45475         * libio/Makefile: Test [$(libc-reentrant) = yes]
45476         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45478         * Makeconfig
45479         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45480         * sysdeps/pthread/configure: File removed.
45481         * sysdeps/pthread/Makeconfig: New file.
45482         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45483         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45485 2012-08-16  Gary Benson  <gbenson@redhat.com>
45487         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45488         unmapping the first object in a namespace.
45490 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45492         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45493         (__internal_setnetgrent): ... this.  Add internal_function to
45494         definition.  Add libc_hidden_def.
45495         (setnetgrent): Update caller.
45496         (internal_endnetgrent): Renamed to ...
45497         (__internal_endnetgrent): ... this.  Add internal_function to
45498         definition.  Add libc_hidden_def.
45499         (endnetgrent): Update caller.
45500         (internal_getnetgrent_r): Renamed to ...
45501         (__internal_getnetgrent_r): ... this.  Add internal_function to
45502         definition.  Add libc_hidden_def.
45503         (__getnetgrent_r): Update caller.
45504         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45506 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45508         * stdlib/longlong.h: Update from GCC.
45510 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45512         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45513         on _QL, which is set by umul_ppmm but never used.
45514         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45515         variables, which are set by GMP macros but never used.
45516         * stdio-common/_itowa.c (_itowa): Likewise.
45517         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45518         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45520 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45522         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45523         struct La_sh_regs is not constant.
45524         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45525         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45526         and struct La_sparc64_regs are not constant.
45528 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45530         * sysdeps/unix/sysv/linux/kernel-features.h
45531         (__ASSUME_POSIX_TIMERS): Remove.
45532         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45533         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45534         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45535         Make code unconditional.
45536         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45537         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45538         Make code unconditional.
45539         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45540         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45541         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45542         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45543         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45544         Make code unconditional.
45545         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45546         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45547         (__libc_missing_posix_timers): Remove.
45549 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45551         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45552         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45554         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45556         * elf/dl-sym.c: Include <stdlib.h>.
45558         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45559         constants, which avoids warnings in 32-bit builds.
45561         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45562         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45564         * misc/lseek.c: File moved to ...
45565         * io/lseek.c: ... here.
45567         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45569         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45570         shifting LEN more than 31 bits at once.
45572 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45574         [BZ #14195]
45575         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45576         segmentation fault for a case of two empty input strings.
45577         * string/test-strncasecmp.c (check1): Renamed to...
45578         (bz12205): ...this.
45579         (bz14195): Add new testcase for two empty input strings and N > 0.
45580         (test_main): Call new testcase, adapt for renamed function.
45582 2012-08-15  Andreas Jaeger  <aj@suse.de>
45584         [BZ #14090]
45585         * crypt/md5test2.c: New test, based on test supplied by Serge
45586         Belyshev <belyshev@depni.sinp.msu.ru>.
45587         * crypt/Makefile (xtests): Add md5test-giant..
45588         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45590 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45592         [BZ #14090]
45593         * crypt/md5.c (md5_process_block): Don't assume the buffer
45594         length is less than 2**32.
45595         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45596         length is less than 2**64.
45598 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45600         * string/str-two-way.h: Include <sys/param.h>.
45601         (MAX): Macro removed.
45603         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45604         Move #define and #undef of memmove to just before and after
45605         including <string.h>.
45607         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45608         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45609         and after including <string.h>.  Move declarations of
45610         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45611         to before #include "string/memmove.c".
45613         * include/dirent.h: Declare __getdirentries.
45615         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45616         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45618 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45620         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45621         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45622         * sysdeps/i386/configure: Regenerated.
45623         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45624         STABS_CURRENT_FILE, and STABS_FUN.
45625         (END): Remove call to STABS_FUN_END.
45626         (STABS_CURRENT_FILE1): Delete.
45627         (STABS_CURRENT_FILE): Likewise.
45628         (STABS_FUN): Likewise.
45629         (STABS_FUN_END): Likewise.
45630         (STABS_FUN2): Likewise.
45631         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45632         * sysdeps/x86_64/configure: Regenerated.
45634 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45636         * elf/dl-open.c: Include <atomic.h>.
45637         * elf/dl-lookup.c: Likewise.
45639 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45641         * sysdeps/unix/sysv/linux/kernel-features.h
45642         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45643         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45644         unconditionally.
45645         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45646         unconditionally.
45647         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45648         condition on __ASSUME_CLONE_THREAD_FLAGS.
45650 2012-08-14  Andreas Jaeger  <aj@suse.de>
45652         * sysdeps/i386/fpu/libm-test-ulps: Update.
45654 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45656         * include/atomic.h (atomic_exchange_and_add): Split into ...
45657         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45658         New atomic macros.
45660 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45662         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45664 2012-08-13  Jeff Law <law@redhat.com>
45666         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45667         null byte in the output string.
45669 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45671         * sysdeps/unix/sysv/linux/kernel-features.h
45672         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45673         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45674         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45675         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45676         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45677         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45678         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45680 2012-08-09  Jeff Law <law@redhat.com>
45682         [BZ #13939]
45683         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45684         When avoid_arena is set, don't retry in the that arena.  Pick the
45685         next one, whatever it might be.
45686         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45687         (arena_lock): Pass in new parameter to arena_get2.
45688         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45689         arena_get2.
45690         (__libc_malloc): Unify retrying after main arena failure with
45691         __libc_memalign version.
45692         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45694 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45696         [BZ #14166]
45697         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45698         to __redirect_strstr.
45699         (__strstr_sse42): Use typeof __redirect_strstr.
45700         (__strstr_ia32): Likewise.
45701         (__libc_strstr): New prototype.
45702         (strstr): Renamed to ...
45703         (__libc_strstr): This.
45704         (strstr): New strong alias of __libc_strstr.
45705         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45706         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45707         __redirect_time.
45708         Include <time.h>.
45709         (__libc_time): New prototype.
45710         (time_ifunc): Replace time with __libc_time.
45711         (time): New strong alias and hidden definition of __libc_time.
45712         (__GI_time): Remove strong alias.
45713         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45714         Include <stddef.h>.
45715         (memmove): Redefined to __redirect_memmove.
45716         (__memmove_sse2): Use typeof __redirect_memmove.
45717         (__memmove_ssse3): Likewise.
45718         (__memmove_ssse3_back): Likewise.
45719         (__libc_memmove): New prototype.
45720         (memmove): Renamed to ...
45721         (__libc_memmove): This.
45722         (memmove): New strong alias of __libc_memmove.
45724 2012-08-08  Mark Salter  <msalter@redhat.com>
45726         * elf/elf.h
45727         (R_MN10300_TLS_GD): Define.
45728         (R_MN10300_TLS_LD): Likewise.
45729         (R_MN10300_TLS_LDO): Likewise.
45730         (R_MN10300_TLS_GOTIE): Likewise.
45731         (R_MN10300_TLS_IE): Likewise.
45732         (R_MN10300_TLS_LE): Likewise.
45733         (R_MN10300_TLS_DTPMOD): Likewise.
45734         (R_MN10300_TLS_DTPOFF): Likewise.
45735         (R_MN10300_TLS_TPOFF): Likewise.
45736         (R_MN10300_SYM_DIFF): Likewise.
45737         (R_MN10300_ALIGN): Likewise.
45738         (R_MN10300_NUM): Update.
45740 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45742         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45743         Remove.
45745 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45747         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45749         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45750         sysdeps/unix -> sysdeps/posix move.
45751         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45753 2012-08-07      Allan McRae     <allan@archlinux.org>
45755         [BZ #14303]
45756         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45757         (SUNOS_CPP): Likewise.
45758         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45759         not found.
45760         (open_input): Call CPP using execvp.
45762 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45764         * sysdeps/unix/sysv/linux/kernel-features.h
45765         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45766         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45767         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45768         (__ASSUME_WAITID_SYSCALL): Likewise.
45769         * sysdeps/unix/sysv/linux/dl-execstack.c
45770         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45771         code unconditional.
45772         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45773         conditional code.
45774         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45775         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45776         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45777         code.
45778         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45779         unconditional.
45780         [__ASSUME_WAITID_SYSCALL]: Likewise.
45781         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45783 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45785         * sysdeps/unix/closedir.c: Renamed to ...
45786         * sysdeps/posix/closedir.c: ... here.
45787         * sysdeps/unix/dirfd.c: Renamed to ...
45788         * sysdeps/posix/dirfd.c: ... here.
45789         * sysdeps/unix/dirstream.h: Renamed to ...
45790         * sysdeps/posix/dirstream.h: ... here.
45791         * sysdeps/unix/fdopendir.c: Renamed to ...
45792         * sysdeps/posix/fdopendir.c: ... here.
45793         * sysdeps/unix/opendir.c: Renamed to ...
45794         * sysdeps/posix/opendir.c: ... here.
45795         * sysdeps/unix/readdir.c: Renamed to ...
45796         * sysdeps/posix/readdir.c: ... here.
45797         * sysdeps/unix/readdir_r.c: Renamed to ...
45798         * sysdeps/posix/readdir_r.c: ... here.
45799         * sysdeps/unix/rewinddir.c: Renamed to ...
45800         * sysdeps/posix/rewinddir.c: ... here.
45801         * sysdeps/unix/seekdir.c: Renamed to ...
45802         * sysdeps/posix/seekdir.c: ... here.
45803         * sysdeps/unix/telldir.c: Renamed to ...
45804         * sysdeps/posix/telldir.c: ... here.
45805         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45806         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45807         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45808         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45810         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45811         * bits/fcntl.h: ... here.
45813         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45814         not 0.
45815         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45816         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45817         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45818         (struct flock): Move l_start, l_len to the beginning.
45819         Use __pid_t for l_pid.
45820         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45821         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45822         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45823         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45824         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45825         [__USE_LARGEFILE64] (struct flock64): New type.
45826         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45828         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45829         * bits/dirent.h: ... here.
45831         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45832         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45834 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45836         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45837         Change from 2.6.0 to 2.6.16.
45838         * sysdeps/unix/sysv/linux/configure: Regenerated.
45839         * sysdeps/unix/sysv/linux/kernel-features.h
45840         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45841         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45842         version.
45843         (__ASSUME_UTIMES): Likewise.
45844         (__ASSUME_CLONE_STOPPED): Remove.
45845         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45846         architectures, not kernel version.
45847         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45848         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45849         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45850         (__ASSUME_WAITID_SYSCALL): Likewise.
45851         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45852         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45853         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45854         refer to older versions.
45856 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45858         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45859         Define alphasort64 as an alias.
45860         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45861         Define versionsort64 as an alias.
45862         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45863         Define scandir64 as an alias.
45864         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45865         Define scandirat64 as an alias.
45866         * dirent/alphasort64.c (alphasort64):
45867         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45868         * dirent/versionsort64.c: Likewise.
45869         * dirent/scandir64.c: Likewise.
45870         * dirent/scandirat64.c: Likewise.
45871         * sysdeps/wordsize-64/alphasort.c: File removed.
45872         * sysdeps/wordsize-64/alphasort64.c: File removed.
45873         * sysdeps/wordsize-64/scandir.c: File removed.
45874         * sysdeps/wordsize-64/scandir64.c: File removed.
45875         * sysdeps/wordsize-64/scandirat.c: File removed.
45876         * sysdeps/wordsize-64/scandirat64.c: File removed.
45877         * sysdeps/wordsize-64/versionsort.c: File removed.
45878         * sysdeps/wordsize-64/versionsort64.c: File removed.
45879         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45880         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45881         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45882         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45883         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45884         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45885         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45886         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45888         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45889         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45890         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45891         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45892         [defined __arch64__ || defined __sparcv9]
45893         (__INO_T_MATCHES_INO64_T): New macro.
45894         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45895         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45896         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45897         * sysdeps/unix/sysv/linux/bits/dirent.h
45898         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45899         (_DIRENT_MATCHES_DIRENT64): New macro.
45901         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45902         Define lockf64 as an alias.
45903         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45904         Define fseeko64 as an alias.
45905         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45906         Define ftello64 as an alias.
45907         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45908         Define _IO_fgetpos64 and fgetpos64 as aliases.
45909         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45910         Define _IO_fsetpos64 and fsetpos64 as aliases.
45911         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45912         Conditionalize body on this.
45913         * libio/fseeko64.c: Likewise.
45914         * libio/ftello64.c: Likewise.
45915         * libio/iofgetpos64.c: Likewise.
45916         * libio/iofsetpos64.c: Likewise.
45917         * sysdeps/wordsize-64/lockf.c: File removed.
45918         * sysdeps/wordsize-64/lockf64.c: File removed.
45919         * sysdeps/wordsize-64/fseeko.c: File removed.
45920         * sysdeps/wordsize-64/fseeko64.c: File removed.
45921         * sysdeps/wordsize-64/ftello.c: File removed.
45922         * sysdeps/wordsize-64/ftello64.c: File removed.
45923         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45924         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45925         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45926         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45927         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45928         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45929         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45930         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45931         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45932         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45933         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45934         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45935         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45936         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45938         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45939         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45940         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45941         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45942         [defined __arch64__ || defined __sparcv9]
45943         (__OFF_T_MATCHES_OFF64_T): New macro.
45944         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45945         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45946         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45947         (__OFF_T_MATCHES_OFF64_T): New macro.
45949 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45951         * stdlib/secure-getenv.c (__secure_getenv): Replace
45952         GLIBC_2_16 with GLIBC_2_17.
45954 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45956         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45957         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45959 2012-08-03  David S. Miller  <davem@davemloft.net>
45961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45963 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45965         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45966         Remove.
45967         (__ASSUME_CORRECT_SI_PID): Likewise.
45968         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45969         (__ASSUME_TMPFS_NAME): Likewise.
45970         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45971         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45972         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45973         (HAVE_AUX_SECURE): Make definition unconditional.
45974         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45975         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45977 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45979         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45980         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45981         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45982         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45983         __eloop_threshold instead of SYMLOOP_MAX.
45985         * sysdeps/generic/eloop-threshold.h: New file.
45986         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45987         of MAXSYMLINKS.
45988         * elf/chroot_canon.c (chroot_canon): Likewise.
45990 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45992         [BZ #13717]
45993         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45994         Change to 2.6.0 everywhere.
45995         * sysdeps/unix/sysv/linux/configure: Regenerated.
45996         * sysdeps/unix/sysv/linux/kernel-features.h
45997         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45998         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45999         kernel versions.
46000         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46001         (__ASSUME_FUTEX_REQUEUE): Remove.
46002         (__ASSUME_STATFS64): Define unconditionally.
46003         (__ASSUME_AT_SECURE): Likewise.
46004         (__ASSUME_CORRECT_SI_PID): Likewise.
46005         (__ASSUME_TGKILL): Define without depending on kernel version for
46006         i386.
46007         (__ASSUME_UTIMES): Likewise.
46008         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46009         kernel version.
46010         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46011         (__ASSUME_TMPFS_NAME): Likewise.
46012         * README: Update reference to Linux kernel versions.
46014 2012-08-02  Marek Polacek  <polacek@redhat.com>
46016         [BZ# 14150]
46017         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46018         libc_cv_asm_type_prefix with %.
46019         * configure: Regenerated.
46020         * include/libc-symbols.h: Remove comment about
46021         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46022         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46023         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46024         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46025         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46026         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46027         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46028         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46029         * elf/tst-unique2mod1.c: Likewise.
46030         * elf/tst-unique1mod2.c: Likewise.
46031         * elf/tst-unique1mod1.c: Likewise.
46032         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46033         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46034         Replace ASM_TYPE_DIRECTIVE with .type.
46035         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46036         * sysdeps/i386/sysdep.h: Likewise.
46037         * sysdeps/x86_64/sysdep.h: Likewise.
46038         * sysdeps/sh/sysdep.h: Likewise.
46039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46040         Do not define ASM_TYPE_DIRECTIVE.
46041         * sysdeps/powerpc/sysdep.h: Likewise.
46042         * sysdeps/powerpc/powerpc32/sysdep.h:
46043         Replace ASM_TYPE_DIRECTIVE with .type.
46044         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46045         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46046         * sysdeps/i386/fpu/e_powf.S: Likewise.
46047         * sysdeps/i386/fpu/e_expl.S: Likewise.
46048         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46049         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46050         * sysdeps/i386/fpu/e_pow.S: Likewise.
46051         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46052         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46053         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46054         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46055         * sysdeps/i386/fpu/e_log2.S: Likewise.
46056         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46057         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46058         * sysdeps/i386/fpu/e_powl.S: Likewise.
46059         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46060         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46061         * sysdeps/i386/fpu/e_logl.S: Likewise.
46062         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46063         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46064         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46065         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46066         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46067         * sysdeps/i386/fpu/e_log.S: Likewise.
46068         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46069         * sysdeps/i386/fpu/e_logf.S: Likewise.
46070         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46071         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46072         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46073         * sysdeps/i386/fpu/e_log10.S: Likewise.
46074         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46075         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46076         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46077         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46078         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46079         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46080         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46081         * sysdeps/i386/i686/strtok.S: Likewise.
46082         * sysdeps/i386/i386-mcount.S: Likewise.
46083         * sysdeps/i386/strtok.S: Likewise.
46084         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46085         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46086         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46087         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46088         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46089         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46090         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46091         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46092         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46093         * sysdeps/x86_64/_mcount.S: Likewise.
46094         * sysdeps/x86_64/strtok.S: Likewise.
46095         * sysdeps/sh/_mcount.S: Likewise.
46097 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46099         * libio/iofopen.c: Include <fcntl.h>.
46100         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46101         (_IO_fopen64, fopen64): Define as aliases.
46102         * libio/iofopen64.c: Include <fcntl.h>.
46103         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46104         Conditionalize body on this.
46105         * sysdeps/wordsize-64/iofopen.c: File removed.
46106         * sysdeps/wordsize-64/iofopen64.c: File removed.
46108 2012-08-01  Marek Polacek  <polacek@redhat.com>
46110         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46111         Use dlfcn directly instead of a variable.
46112         (binfmt-subdir): Do not define.
46113         (dlfcn): Likewise.
46115 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46117         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46118         Remove all definitions.
46119         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46120         <kernel-features.h>.
46121         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46122         (miss_F_GETOWN_EX): Remove all definitions.
46123         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46124         macro definition.
46125         [!__ASSUME_FCNTL64]: Remove conditional code.
46126         [__ASSUME_FCNTL64]: Make code unconditional.
46127         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46128         <kernel-features.h>.
46129         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46130         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46131         (lockf64) [__NR_fcntl64]: Make code unconditional.
46132         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46134         * sysdeps/unix/sysv/linux/kernel-features.h
46135         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46136         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46137         Make code unconditional.
46138         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46139         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46141         [__NR_vfork]: Make code unconditional.
46142         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46143         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46145         [__NR_vfork]: Make code unconditional.
46146         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46147         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46149 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46151         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46152         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46154         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46155         Define mkstemp64 as an alias.
46156         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46157         Define mkstemps64 as an alias.
46158         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46159         Define mkostemp64 as an alias.
46160         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46161         Define mkostemps64 as an alias.
46162         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46163         Conditionalize body on this.
46164         * misc/mkostemp64.c: Likewise.
46165         * misc/mkostemps64.c: Likewise.
46166         * misc/mkstemps64.c: Likewise.
46167         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46168         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46169         * sysdeps/wordsize-64/mkostemp.c: File removed.
46170         * sysdeps/wordsize-64/mkstemp.c: File removed.
46171         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46172         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46173         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46174         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46176         [BZ #14138]
46177         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46178         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46179         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46180         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46182         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46183         compat_symbol macros from <shlib-compat.h> rather than the underlying
46184         default_symbol_version and symbol_version macros, so that DEFAULT
46185         lines in shlib-versions are respected.
46186         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46188 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46190         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46191         Declare with warn_unused_result.
46192         (setgid, setregid, setegid, setresgid): Likewise.
46193         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46194         Likewise.
46195         * WUR-REPORT: Remove set*id functions.
46197 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46199         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46201 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46203         [BZ #10191]
46204         * include/sys/socket.h (__libc_accept, __libc_accept4):
46205         Add attribute_hidden.
46206         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46208         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46209         use of PTR_MANGLE.
46210         * inet/getnetgrent_r.c (setup): Likewise.
46212         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46214 2012-07-31  David S. Miller  <davem@davemloft.net>
46216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46218 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46220         [BZ #13629]
46221         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46222         value between 1.0 and 2.0 and smaller part has absolute value less
46223         than 1.0.
46224         * math/s_clog10.c (__clog10): Likewise.
46225         * math/s_clog10f.c (__clog10f): Likewise.
46226         * math/s_clog10l.c (__clog10l): Likewise.
46227         * math/s_clogf.c (__clogf): Likewise.
46228         * math/s_clogl.c (__clogl): Likewise.
46229         * math/libm-test.inc (clog_test): Add more tests.
46230         (clog10_test): Likewise.
46231         * sysdeps/i386/fpu/libm-test-ulps: Update.
46232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46234 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46236         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46237         Exit with zero in case no suitable GID is found, and write a
46238         message to standard error.
46240 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46242         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46243         rather than to 1.
46244         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46245         (MAXPATHLEN): Removed.
46246         (NOGROUP, NODEV): New macros.
46247         (setbit, clrbit, isset, isclr): New macros.
46248         (howmany, roundup, powerof2): New macros.
46249         (DEV_BSIZE): New macro.
46251         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46252         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46254         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46255         definition on [!__NO_LONG_DOUBLE_MATH].
46257         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46258         PTR_MANGLE and PTR_DEMANGLE.
46260         * socket/accept4.c (accept4): Rename to __libc_accept4.
46261         Define accept4 as a weak alias.
46263         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46264         on [_DIRENT_HAVE_D_TYPE].
46265         * io/ftw.c (ftw_dir): Likewise.
46267         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46269         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46271         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46272         Use the BSD numbers rather than the arbitrary ones we had.
46273         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46274         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46275         (SIGXCPU, SIGXFSZ): New macros.
46276         (_NSIG): Now 32.
46278         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46279         initializer on [_LIBC_REENTRANT].
46281         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46282         definitions inside [_POSIX_MAPPED_FILES].
46284         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46286         * dirent/opendir.c: Include <fcntl.h>.
46288         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46289         (__libc_getspecific): Likewise.
46290         (__libc_key_create): Likewise.
46292         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46293         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46294         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46295         (tmpfile64): Define as alias.
46296         * sysdeps/wordsize-64/tmpfile.c: File removed.
46297         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46298         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46299         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46301         * stdio-common/vfscanf.c: Include <stdbool.h>.
46302         * nss/makedb.c: Likewise.
46303         * stdio-common/_i18n_number.h: Likewise.
46304         * argp/argp-help.c: Likewise.
46305         * posix/wordexp.c: Likewise.
46306         * sysdeps/posix/spawni.c: Likewise.
46307         * nss/nss_files/files-initgroups.c: Likewise.
46308         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46309         * nss/nss_files/files-initgroups.c: Likewise.
46310         * nss/nss_db/db-netgrp.c: Likewise.
46311         * nss/nss_db/db-initgroups.c: Likewise.
46312         * io/fchmodat.c: Include <sys/stat.h>.
46314         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46315         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46317         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46318         [HAVE_MMAP].
46320         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46321         Add multiple inclusion protection.
46323 2012-07-27  David S. Miller  <davem@davemloft.net>
46325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46327 2012-07-27  Gary Benson  <gbenson@redhat.com>
46329         [BZ #14298]
46330         * elf/rtld.c: Include <stap-probe.h>.
46331         (dl_main): Added static probes "init_start" and "init_complete".
46332         * elf/dl-load.c: Include <stap-probe.h>.
46333         (lose): Take new parameter "nsid".
46334         Added static probe "map_failed".
46335         (_dl_map_object_from_fd): Pass namespace id to lose.
46336         Added static probe "map_start".
46337         (open_verify): Pass namespace id to lose.
46338         * elf/dl-open.c: Include <stap-probe.h>.
46339         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46340         and "reloc_complete".
46341         * elf/dl-close.c: Include <stap-probe.h>.
46342         (_dl_close_worker): Added static probes "unmap_start" and
46343         "unmap_complete".
46344         * elf/rtld-debugger-interface.txt: New file documenting the above.
46346 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46348         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46349         rather than a string variable.
46350         * sunrpc/rpc_main.c (h_output): Likewise.
46351         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46353 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46355         * inet/check_native.c: New file.
46357 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46359         [BZ #13629]
46360         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46361         if larger part has absolute value 1.0.
46362         * math/s_clog10.c (__clog10): Likewise.
46363         * math/s_clog10f.c (__clog10f): Likewise.
46364         * math/s_clog10l.c (__clog10l): Likewise.
46365         * math/s_clogf.c (__clogf): Likewise.
46366         * math/s_clogl.c (__clogl): Likewise.
46367         * math/libm-test.inc (clog_test): Add more tests.
46368         (clog10_test): Likewise.
46369         * sysdeps/i386/fpu/libm-test-ulps: Update.
46370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46372         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46373         (pltexit): Likewise.
46374         (La_regs): Likewise.
46375         (La_retval): Likewise.
46376         (int_retval): Likewise.
46377         Update #error for removed macros to refer only to definitions in
46378         tst-audit.h.
46379         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46380         macro.
46381         (pltexit): Likewise.
46382         (La_regs): Likewise.
46383         (La_retval): Likewise.
46384         (int_retval): Likewise.
46385         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46386         macro.
46387         (pltexit): Likewise.
46388         (La_regs): Likewise.
46389         (La_retval): Likewise.
46390         (int_retval): Likewise.
46391         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46392         macro.
46393         (pltexit): Likewise.
46394         (La_regs): Likewise.
46395         (La_retval): Likewise.
46396         (int_retval): Likewise.
46397         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46398         macro.
46399         (pltexit): Likewise.
46400         (La_regs): Likewise.
46401         (La_retval): Likewise.
46402         (int_retval): Likewise.
46403         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46404         macro.
46405         (pltexit): Likewise.
46406         (La_regs): Likewise.
46407         (La_retval): Likewise.
46408         (int_retval): Likewise.
46409         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46410         macro.
46411         (pltexit): Likewise.
46412         (La_regs): Likewise.
46413         (La_retval): Likewise.
46414         (int_retval): Likewise.
46415         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46416         macro definitions in tst-audit.h.
46417         * sysdeps/i386/tst-audit.h: New file.
46418         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46419         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46420         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46421         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46422         * sysdeps/sh/tst-audit.h: Likewise.
46423         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46424         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46425         * sysdeps/x86_64/tst-audit.h: Likewise.
46427 2012-07-26  Andreas Jaeger  <aj@suse.de>
46429         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46430         ptrace.
46432         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46433         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46434         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46435         PTRACE_O_MASK.
46436         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46437         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46438         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46440         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46441         value.
46443         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46444         _sigsys.
46445         (si_call_addr, si_syscall, si_arch): Define new macro.
46446         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46447         _sigsys.
46448         (si_call_addr, si_syscall, si_arch): Define new marcro.
46449         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46450         _sigsys.
46451         (si_call_addr, si_syscall, si_arch): Define new macro.
46452         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46453         _sigsys.
46454         (si_call_addr, si_syscall, si_arch): Define new macro.
46456 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46458         [BZ #13717]
46459         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46460         Change to 2.4.21 where previously 2.4.1.
46461         * sysdeps/unix/sysv/linux/configure: Regenerated.
46462         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46463         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46464         Linux kernel version.
46465         (__ASSUME_STD_AUXV): Remove.
46466         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46467         kernel version.
46468         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46469         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46470         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46471         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46472         (__ASSUME_NETLINK_SUPPORT): Likewise.
46473         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46474         (__no_netlink_support): Remove conditional definition.
46475         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46476         Remove.
46477         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46478         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46479         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46480         (if_nameindex_ioctl): Remove.
46481         (if_nameindex_netlink): Do not handle __no_netlink_support.
46482         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46483         code.
46484         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46485         Remove conditional code.
46486         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46487         code.
46488         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46489         unconditional.
46490         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46491         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46492         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46493         Remove.
46494         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46495         [!__ASSUME_STD_AUXV]: Remove conditional code.
46496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46497         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46498         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46500         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46501         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46502         code.
46503         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46505         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46506         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46507         conditional code.
46508         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46510         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46511         code.
46512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46513         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46514         conditional code.
46515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46516         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46517         code unconditional.
46518         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46519         conditional code.
46520         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46521         unconditional.
46522         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46523         conditional code.
46524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46525         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46526         unconditional.
46527         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46528         conditional code.
46529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46530         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46531         code unconditional.
46532         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46533         conditional code.
46534         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46535         unconditional.
46536         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46537         conditional code.
46538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46539         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46540         code unconditional.
46541         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46542         conditional code.
46543         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46544         unconditional.
46545         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46546         conditional code.
46548 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46550         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46551         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46552         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46553         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46554         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46555         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46556         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46557         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46558         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46559         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46560         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46561         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46562         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46563         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46564         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46565         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46566         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46567         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46568         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46570         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46571         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46572         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46574 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46576         * Versions.def: Add GLIBC_2.17.
46577         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46578         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46579         Introduce __libc_secure_getenv.
46580         * stdlib/Versions (2.17): Add secure_getenv
46581         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46582         * stdlib/secure-getenv.c: Rename __secure_getenv to
46583         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46584         symbol __secure_getenv for GLIBC_2.0.
46585         * stdlib/tst-secure-getenv.c: New.
46586         * stdlib/Makefile (tests): Add testcase.
46587         * manual/startup.texi (Environment Access): Document
46588         secure_getenv.
46589         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46590         __libc_secure_getenv.
46591         * inet/ruserpass.c (ruserpass): Likewise.
46592         * malloc/mtrace.c (mtrace): Likewise.
46593         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46594         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46595         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46596         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46597         HAVE_SECURE_GETENV.
46598         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46599         __secure_getenv to __libc_secure_getenv.
46600         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46602         Likewise.
46603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46604         Likewise.
46605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46607         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46613 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46615         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46616         (struct La_i86_retval): Likewise.
46617         (struct La_x86_64_regs): Likewise.
46618         (struct La_x86_64_retval): Likewise.
46619         (struct La_x32_regs): Likewise.
46620         (struct La_x32_retval): Likewise.
46621         (struct La_ppc32_regs): Likewise.
46622         (struct La_ppc32_retval): Likewise.
46623         (struct La_ppc64_regs): Likewise.
46624         (struct La_ppc64_retval): Likewise.
46625         (struct La_sh_regs): Likewise.
46626         (struct La_sh_retval): Likewise.
46627         (struct La_s390_32_regs): Likewise.
46628         (struct La_s390_32_retval): Likewise.
46629         (struct La_s390_64_regs): Likewise.
46630         (struct La_s390_64_retval): Likewise.
46631         (struct La_sparc32_regs): Likewise.
46632         (struct La_sparc32_retval): Likewise.
46633         (struct La_sparc64_regs): Likewise.
46634         (struct La_sparc64_retval): Likewise.
46635         (struct audit_ifaces): Remove architecture-specific pltenter and
46636         pltexit members.
46637         * sysdeps/i386/ldsodefs.h: New file.
46638         * sysdeps/powerpc/ldsodefs.h: Likewise.
46639         * sysdeps/s390/ldsodefs.h: Likewise.
46640         * sysdeps/sh/ldsodefs.h: Likewise.
46641         * sysdeps/sparc/ldsodefs.h: Likewise.
46642         * sysdeps/x86_64/ldsodefs.h: Likewise.
46644 2012-07-25  Marek Polacek  <polacek@redhat.com>
46646         [BZ #6808]
46647         * math/libm-test.inc (yn_test): Add another test.
46648         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46649         to ERANGE when the result is +-Inf.
46650         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46651         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46652         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46653         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46655 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46657         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46658         equal to 0.
46659         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46660         clock_t.
46661         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46663 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46665         * configure.in <sysdeps resolving>: Correct printing
46666         Implies_before.
46667         * configure: Regenerate.
46669 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46671         * math/w_ilogb.c: Include <limits.h>.
46672         * math/w_ilogbl.c: Likewise.
46674 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46676         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46677         va_copy.  Document allowing for unavailable va_copy only as
46678         pre-C99 compatibility.
46679         * manual/string.texi (Copying and Concatenation): Use va_copy
46680         instead of __va_copy in concat example.
46682 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46684         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46685         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46686         it if not null.
46688         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46689         with O_NOLINK passed to __file_name_lookup.
46691         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46692         with O_NOLINK passed to __file_name_lookup.
46694         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46695         negative N or less than NGIDS.
46697         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46698         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46699         enough.  Use memcpy instead of strncpy.
46701 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46703         * elf/Makefile (check-data): Remove.
46704         (localplt.data): New vpath directive.
46705         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46706         instead of $(check-data).
46707         * scripts/data/localplt-generic.data: Move to ...
46708         * sysdeps/generic/localplt.data: ... here.
46709         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46710         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46711         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46713         ... here.
46714         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46716         ... here.
46717         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46719         ... here.
46720         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46722         ... here.
46723         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46725         ... here.
46726         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46728         ... here.
46730 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46732         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46733         PPC32 and PPC64 files.
46734         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46735         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46737 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46739         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46740         __makecontext_ret to ...
46741         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46742         ... here and call exit if uc_link is NULL.  New file.
46743         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46744         __makecontext_ret.S.
46745         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46746         __makecontext_ret to ...
46747         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46748         ... here and call exit if uc_link is NULL.  New file.
46749         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46750         __makecontext_ret.S.
46752 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46754         * elf/elf.h (R_390_IRELATIVE): New definition.
46755         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46756         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46757         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46758         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46759         (elf_machine_lazy_rel): Likewise.
46760         * sysdeps/s390/dl-irel.h: New file.
46761         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46762         * sysdeps/s390/s390-64/memset.S: New asm code.
46763         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46764         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46765         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46766         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46767         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46768         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46769         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46770         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46771         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46772         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46773         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46774         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46775         * sysdeps/s390/s390-32/memset.S: New asm code.
46776         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46778 2012-07-17  Marek Polacek  <polacek@redhat.com>
46780         [BZ #14349]
46781         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46782         * sysdeps/s390/s390-64/configure.in: Likewise.
46783         * sysdeps/sparc/configure.in: Likewise.
46784         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46785         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46786         * sysdeps/i386/configure.in: Likewise.
46787         * sysdeps/x86_64/configure.in: Likewise.
46788         * sysdeps/sh/configure.in: Likewise.
46789         * sysdeps/s390/s390-32/configure: Regenerated.
46790         * sysdeps/s390/s390-64/configure: Likewise.
46791         * sysdeps/x86_64/configure: Likewise.
46792         * sysdeps/sh/configure: Likewise.
46793         * sysdeps/powerpc/powerpc64/configure: Likewise.
46794         * sysdeps/powerpc/powerpc32/configure: Likewise.
46795         * sysdeps/sparc/configure: Likwise.
46796         * sysdeps/i386/configure: Likewise.
46798         * elf/dl-open.c: Comment fixes.
46800 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46802         * Makefile [CXX] (check-data): Remove.
46803         [CXX] (c++-types.data): New vpath directive.
46804         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46805         vpath.  Do not allow for C++ type data being missing.
46806         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46807         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46808         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46809         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46810         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46811         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46812         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46814         ... here.
46815         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46817         ... here.
46818         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46820         ... here.
46821         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46823         ... here.
46824         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46826         ... here.
46827         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46829         ... here.
46830         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46832         ... here.
46833         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46836         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46837         definitions to architecture-specific files.
46838         (TLS_IE): Likewise.
46839         (TLS_LD): Likewise.
46840         (TLS_GD): Likewise.
46841         * sysdeps/i386/tls-macros.h: New file.
46842         * sysdeps/powerpc/tls-macros.h: Likewise.
46843         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46844         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46845         * sysdeps/sh/tls-macros.h: Likewise.
46846         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46847         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46848         * sysdeps/x86_64/tls-macros.h: Likewise.
46850 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46852         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46853         zero value for regular exit case.
46855         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46856         (__start_context): Preserve zero value for regular exit case.
46858 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46859             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46861         * manual/setjmp.texi (setcontext): Clarify normal process
46862         termination when uc_link is the null pointer.
46863         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46864         exit call.
46866 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46868         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46869         preprocessor.  Test for each exception mask separately.
46871 2012-07-16  Andreas Jaeger  <aj@suse.de>
46873         * po/ru.po: Update from translation team.
46875 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46877         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46878         equal to 0.
46879         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46880         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46881         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46882         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46883         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46885 2012-07-13  Andreas Jaeger  <aj@suse.de>
46887         * po/fr.po: Update from translation team.
46889 2012-07-12  Marek Polacek  <polacek@redhat.com>
46891         [BZ #14173]
46892         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46893         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46894         loop condition.
46896 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46898         [BZ #13717]
46899         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46900         Change to 2.4.1 where previously 2.4.0.
46901         * sysdeps/unix/sysv/linux/configure: Regenerated.
46902         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46903         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46904         version.
46905         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46906         (__ASSUME_AT_CLKTCK): Remove.
46907         (__ASSUME_AT_PAGESIZE): Likewise.
46908         (__ASSUME_AT_XID): Likewise.
46909         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46910         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46911         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46912         unconditionally.
46913         (HAVE_AUX_PAGESIZE): Likewise.
46914         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46915         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46916         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46918 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46920         [BZ #14307]
46921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46922         the temporary buffer used to invoke __gethostbyname2_r,
46923         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46924         host_data / struct gaih_addrtuple.
46925         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46926         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46927         header file nss/nsswitch.h.
46928         * nss/nsswitch.h (global scope): Add definition of implementation
46929         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46930         resolv/nss_dns/dns-host.c).
46932 2012-07-11  Andreas Jaeger  <aj@suse.de>
46934         * po/fr.po: Update from translation team.
46936         * po/sv.po: Update from translation team
46937         * po/fr.po: Another update from translation team.
46939 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46941         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46942         for subnormals or multiply small sinh result by itself.
46943         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46946 2012-07-11  David S. Miller  <davem@davemloft.net>
46948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46950 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46952         [BZ #14347]
46953         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46954         (INTERNAL_MARK): Shift it here.
46956 2012-07-10  Marek Polacek  <polacek@redhat.com>
46958         [BZ #14151]
46959         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46960         libc_cv_asm_global_directive with .globl.
46961         * configure: Regenerated.
46962         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46963         with .globl.
46964         * sysdeps/i386/configure: Regenerated.
46965         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46966         with .globl.
46967         * sysdeps/x86_64/configure: Regenerated.
46968         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46969         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46970         * elf/tst-unique2mod2.c: Likewise.
46971         * elf/tst-unique2mod1.c: Likewise.
46972         * elf/tst-unique1mod2.c: Likewise.
46973         * elf/tst-unique1mod1.c: Likewise.
46974         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46975         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46976         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46977         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46978         * sysdeps/mach/sysdep.h: Likewise.
46979         * sysdeps/i386/sysdep.h: Likewise.
46980         * sysdeps/i386/i386-mcount.S: Likewise.
46981         * sysdeps/x86_64/_mcount.S: Likewise.
46982         * sysdeps/x86_64/sysdep.h: Likewise.
46983         * sysdeps/sh/_mcount.S: Likewise.
46984         * sysdeps/sh/sysdep.h: Likewise.
46985         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46986         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46987         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46988         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46989         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46990         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46991         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46992         * locale/localeinfo.h: Likewise.
46993         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46994         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46996 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46998         [BZ #14336]
46999         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47000         system".
47001         * manual/message.texi (The Uniforum approach): Likewise.
47002         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47003         (glibc iconv Implementation): Likewise.
47005 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47007         [BZ #14337]
47008         * math/s_clog.c (__clog): Avoid scaling a value down where that
47009         could result in underflow.
47010         * math/s_clog10.c (__clog10): Likewise.
47011         * math/s_clog10f.c (__clog10f): Likewise.
47012         * math/s_clog10l.c (__clog10l): Likewise.
47013         * math/s_clogf.c (__clogf): Likewise.
47014         * math/s_clogl.c (__clogl): Likewise.
47015         * math/libm-test.inc (clog_test): Add more tests.
47016         (clog10_test): Likewise.
47017         * sysdeps/i386/fpu/libm-test-ulps: Update.
47018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47020 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47022         [BZ #14283]
47023         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47024         by 7 not 8 to examine high bit of fractional part.
47026         [BZ #14042]
47027         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47028         for call to __mcount_internal.
47029         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47030         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47031         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47033 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47035         [BZ #14154]
47036         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47037         approximation for values within 0x1p-13f of an odd multiple of
47038         pi/4.
47039         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47040         exception.  Add more tests.
47041         * sysdeps/i386/fpu/libm-test-ulps: Update.
47043         [BZ #6778]
47044         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47045         inputs and return -1 for them.  Do not check for +Inf in case not
47046         reachable for +Inf.
47047         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47048         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47049         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47050         and return -1 for them.  Do not check for +Inf in case not
47051         reachable for +Inf.
47052         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47053         define.
47054         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47055         and return -1 for them.  Do not check for +Inf in case not
47056         reachable for +Inf.
47057         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47058         spurious underflow.
47059         * sysdeps/i386/fpu/libm-test-ulps: Update.
47060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47062 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47064         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47066 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47068         [BZ #14157]
47069         [BZ #14331]
47070         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47071         could result in spurious underflow.  Scale down values above
47072         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47073         * math/s_csqrtf.c (__csqrtf): Likewise.
47074         * math/s_csqrtl.c (__csqrtl): Likewise.
47075         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47076         spurious underflow.
47077         * sysdeps/i386/fpu/libm-test-ulps: Update.
47078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47080 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47082         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47083         xopen-msg.sed.
47084         * catgets/xopen-msg.awk: New file.
47085         * catgets/xopen-msg.sed: Removed.
47087         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47088         po2text.sed.
47089         * intl/po2test.awk: New file.
47090         * intl/po2test.sed: Removed.
47092 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47094         [BZ #14328]
47095         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47096         or multiply small sinh result by itself.
47097         * math/s_ctanf.c (__ctanf): Likewise.
47098         * math/s_ctanh.c (__ctanh): Likewise.
47099         * math/s_ctanhf.c (__ctanhf): Likewise.
47100         * math/s_ctanhl.c (__ctanhl): Likewise.
47101         * math/s_ctanl.c (__ctanl): Likewise.
47102         * math/libm-test.inc (ctan_test_tonearest): New function.
47103         (ctan_test_towardzero): Likewise.
47104         (ctan_test_downward): Likewise.
47105         (ctan_test_upward): Likewise.
47106         (ctanh_test_tonearest): Likewise.
47107         (ctanh_test_towardzero): Likewise.
47108         (ctanh_test_downward): Likewise.
47109         (ctanh_test_upward): Likewise.
47110         (main): Call these new functions.
47111         * sysdeps/i386/fpu/libm-test-ulps: Update.
47112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47114 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47116         * .gitignore: Delete /ports entry.
47118 2012-07-03  Andreas Jaeger  <aj@suse.de>
47120         * po/bg.po: Update from translation team.
47121         * po/cs.po: Likewise.
47122         * po/de.po: Likewise.
47123         * po/hr.po: Likewise.
47124         * po/nl.pl: Likewise.
47125         * po/pl.po: Likewise.
47126         * po/vi.po: Likewise.
47128 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47130         * Makeconfig [!+link] (+link-before-libc): New variable.
47131         [!+link] (+link-after-libc): Likewise.
47132         [!+link] (+link-tests): Likewise.
47133         [!+link] (+link): Define in terms of $(+link-before-libc) and
47134         $(+link-after-libc).
47135         [!+link-static] (+link-static-before-libc): New variable.
47136         [!+link-static] (+link-static-after-libc): Likewise.
47137         [!+link-static] (+link-static-tests): Likewise.
47138         [!+link-static] (+link-static): Define in terms of
47139         $(+link-static-before-libc) and $(+link-static-after-libc).
47140         [build-shared] (link-libc-before-gnulib): New variable.
47141         [build-shared] (link-libc-tests): Likewise.
47142         [build-shared] (link-libc): Define in terms of
47143         $(link-libc-before-gnulib).
47144         [!build-shared] (link-libc-tests): New variable.
47145         (link-libc-static-tests): New variable.
47146         [!gnulib] (gnulib-arch): New variable.
47147         [!gnulib] (gnulib-tests): Likewise.
47148         [!gnulib] (static-gnulib-arch): Likewise.
47149         [!gnulib] (static-gnulib-tests): Likewise.
47150         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47151         Define with "=" instead of ":=".
47152         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47153         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47154         * Rules (binaries-all-notests): New variable.
47155         (binaries-all-tests): Likewise.
47156         (binaries-static-notests): Likewise.
47157         (binaries-static-tests): Likewise.
47158         (binaries-all): Define using $(binaries-all-notests) and
47159         $(binaries-all-tests).
47160         (binaries-static): Define using $(binaries-static-notests) and
47161         $(binaries-static-tests).
47162         (binaries-shared-tests): New variable.
47163         (binaries-shared-notests): Likewise.
47164         (binaries-shared): Remove variable.
47165         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47166         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47167         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47168         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47169         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47170         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47171         * elf/Makefile (sln-modules): New variable.
47172         (extra-objs): Add $(sln-modules:=.o).
47173         (ldconfig-modules): Add static-stubs.
47174         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47175         * elf/static-stubs.c: New file.
47177         [BZ #14283]
47178         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47179         by 7 not 8 to examine high bit of fractional part.  Use volatile
47180         variables when splitting into final array of floats if
47181         __FLT_EVAL_METHOD__ != 0.
47182         * math/libm-test.inc (cos_test): Add another test.
47183         (sin_test): Likewise.
47184         * sysdeps/i386/fpu/libm-test-ulps: Update.
47186         [BZ #14273]
47187         * math/libm-test.inc (cosh_test): Add more tests.
47189         * version.h (RELEASE): Set to "development".
47190         (VERSION): Set to "2.16.90".
47192 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47194         * NEWS: Update copyright. Remove last-updated date.
47195         Mention math library bug fixes and timezone data changes.
47196         * README: Mention GNU/Hurd, x32, and HPPA support status.
47198 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47200         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47202 2012-06-27  Andreas Jaeger  <aj@suse.de>
47204         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47206 2012-06-25  Andreas Jaeger  <aj@suse.de>
47208         * sysdeps/s390/fpu/libm-test-ulps: Update.
47210 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47211             Thomas Schwinge  <thomas@codesourcery.com>
47213         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47214         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47215         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47216         fanotify_mark.
47218 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47220         * sysdeps/mach/start.c: Remove file.
47221         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47222         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47223         * sysdeps/sh/init-first.c: Likewise.
47225         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47226         registers for frame unwinding purposes, add CFI directives.
47227         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47228         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47229         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47230         Likewise.
47232         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47233         __fortify_fail returning.
47234         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47236         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47237         sysdeps/sh/____longjmp_chk.S.
47238         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47239         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47240         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47241         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47243         * sysdeps/sh/abort-instr.h: New file.
47244         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47245         process in case exit returns.
47247         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47248         initialize the GOT register before use.
47250         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47251         calculation of ARGC > 4.
47253         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47254         meaningful names to some local labels.
47256 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47257             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47259         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47260         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47261         (__arch_compare_and_exchange_val_16_acq): Likewise.
47262         (__arch_compare_and_exchange_val_32_acq): Likewise.
47263         (atomic_exchange_and_add): Fix gUSA sequence.
47264         (atomic_add): Likewise.
47265         (atomic_add_negative): Likewise.
47266         (atomic_add_zero): Likewise.
47267         (atomic_bit_test_set): Likewise.
47269 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47271         [BZ #13579]
47272         * include/link.h (struct link_map): Add l_free_initfini.
47273         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47274         l_initfini.
47275         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47276         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47277         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47278         set.
47280 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47282         * configure.in: Use AC_LANG_SOURCE.
47283         * configure: Regenerate.
47285 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47287         * configure.in (libc_cv_localstatedir): New substituted variable.
47288         * configure: Regenerated.
47289         * config.make.in (localstatedir): New variable, substituted from
47290         libc_cv_localstatedir.
47291         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47292         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47293         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47294         * sysdeps/gnu/configure: Regenerated.
47296 2012-06-21  Jeff Law  <law@redhat.com>
47298         [BZ #14277]
47299         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47300         free.  Simplify list management for _LIBC case.
47302 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47304         [BZ #14273]
47305         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47306         Clear sign bit of 64-bit integer value before comparing against
47307         overflow value.
47309         * sysdeps/mach/configure: Regenerated.
47311 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47313         [BZ #14278]
47314         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47316 2012-06-21  Jeff Law  <law@redhat.com>
47318         [BZ #13882]
47319         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47320         uint16_t for elements in the "seen" array to avoid char overflows.
47321         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47322         * elf/dl-open.c (dl_open_worker): Likewise.
47324 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47326         * scripts/list-sources.sh: Scan PORTS for translations.
47327         * po/libc.pot: Regenerated.
47329 2012-06-21  Andreas Jaeger  <aj@suse.de>
47331         [BZ #12194]
47332         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47333         warning.
47334         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47335         * bits/byteswap-16.h (__bswap_16): Likewise.
47336         * bits/byteswap.h (__bswap_constant_16): Likewise.
47338 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47340         [BZ #14117]
47341         * sysdeps/i386/fpu_control.h: Removed.
47342         * sysdeps/x86_64/fpu_control.h: Moved to ...
47343         * sysdeps/x86/fpu_control.h: Here.
47345         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47346         (_FPU_SETCW): Likewise.
47348 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47350         [BZ #14117]
47351         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47352         * sysdeps/x86/fpu/bits/mathinline.h: This.
47353         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47355         [BZ #14050]
47356         [BZ #14117]
47357         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47358         functions if __x86_64__ is defined.
47360 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47362         * string/endian.h: Add !__ASSEMBLER__ condition for including
47363         conversion interfaces.
47365 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47367         [BZ #14241]
47368         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47369         of ABS(x) in calculating zero to negative powers other than odd
47370         integers.
47371         * math/libm-test.inc (pow_test): Add more tests.
47373 2012-06-15  Andreas Jaeger  <aj@suse.de>
47375         * manual/contrib.texi (Contributors): Update entry of Liubov
47376         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47377         Machado Filho.
47379 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47381         * string/string.h: Add __wur to GNU version of strerror_r.
47383 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47385         [BZ #14229]
47386         * string/Makefile (tests): Add tst-strtok_r.
47387         * string/tst-strtok_r.c: New file.
47388         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47389         RAX_LP/RDX_LP on SAVE_PTR.
47391 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47393         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47395 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47397         * libm_test.inc (csqrt_test): Allow more spurious underflow
47398         exceptions.
47399         (j0_test): Likewise.
47400         (j1_test): Likewise.
47401         (y0_test): Likewise.
47402         (y1_test): Likewise.
47404 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47406         * po/Makefile (libc.pot): Use UTF-8 charset.
47408 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47410         [BZ #14210]
47411         Suppress sign-conversion warning from FD_SET.
47412         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47413         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47414         not unsigned long int.
47415         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47417 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47419         [BZ #14050]
47420         [BZ #14117]
47421         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47422         __extern_always_inline instead of __extern_inline.
47423         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47424         (__signbit): Likewise.
47425         (__signbitl): Support C++ namespace.
47426         (lrintf): New inline function.
47427         (lrint): Likewise.
47428         (llrintf): Likewise.
47429         (llrint): Likewise.
47430         (fmaxf): Likewise.
47431         (fmax): Likewise.
47432         (fminf): Likewise.
47433         (fmin): Likewise.
47434         (rint): Likewise.
47435         (rintf): Likewise.
47436         (ceil): Likewise.
47437         (ceilf): Likewise.
47438         (floor): Likewise.
47439         (floorf): Likewise.
47440         (nearbyint): Likewise.
47441         (nearbyintf): Likewise.
47443 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47445         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47446         non-default versions.
47448 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47450         [BZ #14218]
47451         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47453 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47455         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47456         (FE_UPWARD, FE_DOWNWARD): Don't define.
47457         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47458         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47460         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47461         reading it.
47462         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47463         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47465 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47467         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47468         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47469         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47470         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47472 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47474         [BZ #14117]
47475         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47476         * sysdeps/i386/fpu/Implies: New file.
47477         * sysdeps/x86_64/fpu/Implies: Likewise.
47478         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47479         * sysdeps/x86/fpu/bits/fenv.h: This.
47481         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47482         __SSE_MATH__.
47484 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47486         [BZ #14134]
47487         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47488         character 0xffff that matches the last element of the
47489         conversion table.
47491 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47493         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47494         fmodl commit.
47496 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47498         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47499         values higher than 25.6283.
47501 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47503         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47504         subnormal exponent extraction and add some __builtin_expect.
47505         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47506         Fix for subnormal mantissa calculation.
47508 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47510         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47511         cpu2 is -1 and errno is not ENOSYS.
47513 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47515         [BZ #14117]
47516         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47517         * sysdeps/x86/bits/string.h: This.
47518         * sysdeps/x86_64/bits/string.h: Removed.
47520         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47521         if not compiling for x86-64, but compiling for >= i486.
47523         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47524         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47526         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47527         New macro from Linux kernel 3.4.0.
47528         (FP_XSTATE_MAGIC2): Likewise.
47529         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47530         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47531         (struct _fpx_sw_bytes): New struct.
47532         (struct _xsave_hdr): Likewise.
47533         (struct _ymmh_state): Likewise.
47534         (struct _xstate): Likewise.
47536         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47537         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47538         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47539         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47540         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47541         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47543         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47544         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47545         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47546         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47547         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47548         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47550 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47552         [BZ #13743]
47553         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47554         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47555         (sysdep_headers): Include sys/platform/ppc.h.
47556         * sysdeps/powerpc/test-gettimebase.c: Test for
47557         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47558         * manual/Makefile (appendices): Include platform.texi.
47559         * manual/contrib.texi (Contributors): Update @node pointers.
47560         * manual/maint.texi (Maintenance): Likewise.
47561         (Platform): New node.
47562         * manual/platform.texi: New file.  Document the new features.
47564 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47565             Jakub Jelinek  <jakub@redhat.com>
47567         [BZ #14188]
47568         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47569         where __builtin_expect is unavailable.
47571 2012-06-03  David S. Miller  <davem@davemloft.net>
47573         * stdlib/longlong.h: Updated from GCC.
47575 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47577         [BZ #14042]
47578         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47579         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47580         __mcount_internal.
47581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47582         (GLIBC_2.16): Likewise.
47584 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47586         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47588 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47591         (default-abi): New variable.
47592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47593         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47594         variable.
47595         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47596         Likewise.
47597         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47598         Likewise.
47599         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47600         Likewise.
47602         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47603         definition.  Document in comment.
47605 2012-06-01  David S. Miller  <davem@davemloft.net>
47607         * stdlib/longlong.h: Updated from GCC.
47609 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47611         [BZ #14117]
47612         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47613         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47614         sys/debugreg.h sys/io.h here.
47615         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47616         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47617         sys/io.h.
47618         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47619         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47620         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47621         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47622         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47623         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47625         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47626         Define only if __x86_64__ is defined.
47628 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47630         [BZ #14048]
47631         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47632         Use int64_t for variable i.
47633         * math/libm-test.inc (fmod_test): Add more tests.
47635         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47636         z computation is not scheduled after fetestexcept.
47637         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47638         Use math_force_eval instead of asm to ensure calculation scheduled
47639         before exception test.
47640         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47641         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47643 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47646         computation is not scheduled after fetestexcept.
47648 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47650         [BZ #14117]
47651         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47652         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47654 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47656         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47657         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47659 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47661         [BZ #14117]
47662         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47663         <bits/wordsize.h>.
47664         (__WCHAR_MIN): Support __WORDSIZE == 64.
47665         (__WCHAR_MAX): Likewise.
47667         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47668         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47670         [BZ #14183]
47671         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47672         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47674         [BZ #14117]
47675         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47676         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47678         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47679         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47681         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47682         Defined to 1 if __x86_64__ isn't defined.
47683         (_STAT_VER_LINUX_OLD): New.
47684         (st_atime): Remove duplicate.
47685         (st_mtime): Likewise.
47686         (st_ctime): Likewise.
47688 2012-05-31  David S. Miller  <davem@davemloft.net>
47690         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47691         entries.
47693 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47695         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47696         gen-libm-test.pl.
47698         [BZ #14132]
47699         * elf/dl-reloc.c: Include <_itoa.h>.
47700         (_dl_reloc_bad_type): Remove use of INTUSE.
47701         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47702         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47703         * stdio-common/psiginfo.c (psiginfo): Likewise.
47704         * stdio-common/psignal.c (psignal): Likewise.
47705         * string/strsignal.c (strsignal): Likewise.
47706         * include/signal.h (_sys_siglist): Declare hidden proto.
47707         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47708         INTVARDEF with libc_hidden_data_def.
47709         * stdio-common/itoa-udigits.c: Likewise.
47710         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47711         (_itoa_lower_digits_internal): Remove declaration.
47712         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47713         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47714         (_sys_sigabbrev_internal): Remove aliases.
47715         (_sys_siglist): Define hidden alias.
47717 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47720         bits/sysctl.h.
47722 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47724         [BZ #14117]
47725         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47726         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47728         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47729         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47730         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47731         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47732         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47733         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47735         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47736         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47737         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47739         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47740         with __addr.
47741         (insw): Likewise.
47742         (insl): Likewise.
47743         (outsb): Likewise.
47744         (outsw): Likewise.
47745         (outsl): Likewise.
47747         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47748         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47749         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47751         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47752         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47753         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47754         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47755         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47756         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47758         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47759         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47761         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47762         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47764         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47765         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47766         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47768         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47769         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47770         to ...
47771         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47773         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47774         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47775         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47777         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47778         for x86-64.
47779         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47781 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47783         * math/math.h (M_El): Use two more decimal places.
47784         (M_LOG2El): Likewise.
47785         (M_LOG10El): Likewise.
47786         (M_LN2l): Likewise.
47787         (M_LN10l): Likewise.
47788         (M_PIl): Likewise.
47789         (M_PI_2l): Likewise.
47790         (M_PI_4l): Likewise.
47791         (M_1_PIl): Likewise.
47792         (M_2_PIl): Likewise.
47793         (M_2_SQRTPIl): Likewise.
47794         (M_SQRT2l): Likewise.
47795         (M_SQRT1_2l): Likewise.
47797 2012-05-31  David S. Miller  <davem@davemloft.net>
47799         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47800         values between float registers.
47801         * sysdeps/sparc/sparc64/memset.S: Likewise.
47802         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47804 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47806         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47807         -D_FORTIFY_SOURCE=1.
47808         (CPPFLAGS-tst-longjmp_chk.c): Define.
47809         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47810         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47811         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47812         CFLAGS-tst-wchar-h.c.
47814 2012-05-31  Marek Polacek  <polacek@redhat.com>
47816         [BZ #14132]
47817         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47818         __endmntent_internal): Remove declaration.
47819         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47820         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47821         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47823 2012-05-30  David S. Miller  <davem@davemloft.net>
47825         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47826         (___Q_simulate_exceptions): Use real FP ops rather than writing
47827         into the %fsr.
47828         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47829         Likewise.
47831 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47833         [BZ #14117]
47834         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47835         * sysdeps/x86/bits/xtitypes.h: This.
47837         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47838         * sysdeps/x86/bits/wordsize.h: This.
47840         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47841         * sysdeps/x86/bits/huge_vall.h: This.
47843         * sysdeps/i386/bits/select.h: Removed.
47844         * sysdeps/x86_64/bits/select.h: Renamed to ...
47845         * sysdeps/x86/bits/select.h: This.
47847         * sysdeps/i386/bits/setjmp.h: Removed.
47848         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47849         * sysdeps/x86/bits/setjmp.h: This.
47851         * sysdeps/i386/bits/mathdef.h: Removed.
47852         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47853         * sysdeps/x86/bits/mathdef.h: This.
47855 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47857         [BZ #14132]
47858         * include/sys/socket.h (__connect_internal)
47859         (__libc_sa_len_internal): Remove declaration.
47860         (__connect, __libc_sa_len): Declare hidden_proto.
47861         (SA_LEN): Remove use of INTUSE.
47862         * socket/connect.c: Add libc_hidden_def.
47863         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47864         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47865         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47866         alias.
47867         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47868         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47869         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47870         of adding _internal alias.
47872 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47874         [BZ #14117]
47875         * sysdeps/i386/bits/link.h: Removed.
47876         * sysdeps/i386/bits/linkmap.h: Likewise.
47877         * sysdeps/x86_64/bits/link.h: Renamed to ...
47878         * sysdeps/x86/bits/link.h: This.
47879         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47880         * sysdeps/x86/bits/linkmap.h: This.
47882         * sysdeps/i386/bits/endian.h: Removed.
47883         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47884         * sysdeps/x86/bits/endian.h: This.
47886         * sysdeps/i386/bits/byteswap.h: Removed.
47887         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47888         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47889         * sysdeps/x86/bits/byteswap.h: This.
47890         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47891         * sysdeps/x86/bits/byteswap-16.h: This.
47892         * sysdeps/i386/Implies: Add x86.
47893         * sysdeps/x86_64/Implies: Likewise.
47895 2012-05-30  David S. Miller  <davem@davemloft.net>
47897         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47898         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47899         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47900         (FP_TRAPPING_EXCEPTIONS): Define.
47901         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47902         (FP_TRAPPING_EXCEPTIONS): Define.
47903         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47904         subnormals only when inexact has been signalled or underflow
47905         exceptions are enabled.
47906         (_FP_PACK_CANONICAL): Likewise.
47908 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47910         [BZ #14183]
47911         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47912         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47914 2012-05-30  Richard Henderson  <rth@twiddle.net>
47916         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47917         with #ifndef NOT_IN_libc.
47919         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47920         marked to avoid plt entry.
47922 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47924         [BZ #14112]
47925         * Makeconfig (default-abi): New macro.
47926         (abi-includes): Likewise.
47927         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47928         $(abi-$(default-abi)-lib-soname) for soname if defined.
47929         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47930         abi-variants.
47931         * Makefile (installed-stubs): Likewise.
47932         * include/stubs-biarch.h: Removed.
47933         * scripts/lib-names.awk: Only handle one library at a time.
47934         * scripts/soversions.awk: Remove WORDSIZE support.
47935         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47936         entries.
47937         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47938         Removed.
47939         (syscall-list-default-condition): Likewise.
47940         (syscall-list-default-condition): Likewise.
47941         (syscall-list-includes): Likewise.
47942         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47943         syscall-list-* with abi-*.  Handle undefined abi-variants.
47944         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47945         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47946         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47947         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47948         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47949         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47950         Removed.
47951         (syscall-list-32-options): Likewise.
47952         (syscall-list-32-condition): Likewise.
47953         (syscall-list-64-options): Likewise.
47954         (syscall-list-64-condition): Likewise.
47955         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47956         macro.
47957         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47958         Renamed to ...
47959         (abi-*): This.
47960         (abi-64-ld-soname): New macro.
47961         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47962         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47963         Renamed to ...
47964         (abi-*): This.
47965         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47966         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47968 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47970         * sysdeps/unix/sysv/linux/kernel-features.h
47971         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47972         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47973         include <kernel-features.h>.
47974         [!__NR_ftruncate64]: Remove conditional code.
47975         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47976         [__NR_ftruncate64]: Make code unconditional.
47977         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47978         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47979         include <kernel-features.h>.
47980         [!__NR_ftruncate64]: Remove conditional code.
47981         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47982         [__NR_ftruncate64]: Make code unconditional.
47983         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47985         include <kernel-features.h>.
47986         [!__NR_ftruncate64]: Remove conditional code.
47987         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47988         [__NR_ftruncate64]: Make code unconditional.
47989         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47991         include <kernel-features.h>.
47992         [!__NR_ftruncate64]: Remove conditional code.
47993         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47994         [__NR_ftruncate64]: Make code unconditional.
47995         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47997         * configure.in (libc_cv_fpie): Weaken to a compile test using
47998         LIBC_TRY_CC_OPTION.
47999         * configure: Regenerated.
48001 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48007         Refreshed.
48008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48014         Refreshed.
48016 2012-05-27  David S. Miller  <davem@davemloft.net>
48018         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48019         (___Q_zero): New.
48020         (__Q_simulate_exceptions): Return void.  Change to simulate
48021         exceptions by writing into the %fsr.
48022         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48023         (__Qp_handle_exceptions): Likewise.
48024         (numbers): Delete.
48025         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48026         __Qp_handle_exceptions.
48027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48028         __Qp_handle_exceptions.
48029         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48030         as unused and give dummy FP_RND_NEAREST initializer.
48031         (FP_INHIBIT_RESULTS): Define.
48032         (___Q_simulate_exceptions): Update declaration.
48033         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48034         formatting.
48035         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48036         as unused and give dummy FP_RND_NEAREST initializer.
48037         (__Qp_handle_exceptions): Update declaration.
48038         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48039         formatting.
48041 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48043         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48044         the temporary FPU control word.
48045         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48046         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48047         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48048         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48049         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48050         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48051         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48052         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48053         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48054         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48055         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48057 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48059         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48060         fields.
48062 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48064         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48065         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48066         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48067         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48068         Likewise.
48069         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48070         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48071         Likewise.
48073 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48075         * po/h.po: Update from translation team.
48077 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48079         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48081         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48082         handling of denormals.
48083         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48084         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48085         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48086         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48087         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48088         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48089         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48090         Likewise.
48092 2012-05-26  Marek Polacek  <polacek@redhat.com>
48094         [BZ #14152]
48095         * math/libm-test.inc (fma_test): Don't always expect underflow
48096         exception.
48098 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48100         [BZ #12416]
48101         * elf/tst-execstack.c: Include stackinfo.h.
48102         (do_test): Adjust test case to ensure that pthread_getattr_np
48103         behaviour remains the same after marking stack executable.
48105 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48107         * sysdeps/unix/sysv/linux/kernel-features.h
48108         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48109         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48110         kernel-features.h.
48111         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48112         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48113         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48114         kernel-features.h.
48115         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48116         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48118 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48120         * configure.in: Define the default includes to being none.
48121         * configure: Regenerated.
48123 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48125         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48126         * sysdeps/x86_64/setjmp.S: Likewise.
48127         * sysdeps/i386/bsd-setjmp.S: Likewise.
48128         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48129         * sysdeps/i386/setjmp.S: Likewise.
48130         * sysdeps/i386/__longjmp.S: Likewise.
48131         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48132         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48134         * include/stap-probe.h: New file.
48135         * configure.in: Handle --enable-systemtap.
48136         * configure: Regenerated.
48137         * config.h.in (USE_STAP_PROBE): New #undef.
48138         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48139         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48140         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48142 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48144         [BZ #13717]
48145         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48146         to 2.4.0 where earlier.
48147         * sysdeps/unix/sysv/linux/configure: Regenerated.
48148         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48149         <kernel-features.h>.
48150         [__ASSUME_32BITUIDS]: Make code unconditional.
48151         [!__ASSUME_32BITUIDS]: Remove conditional code.
48152         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48153         <kernel-features.h>.
48154         [__ASSUME_32BITUIDS]: Make code unconditional.
48155         [!__ASSUME_32BITUIDS]: Remove conditional code.
48156         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48157         [__ASSUME_32BITUIDS]: Make code unconditional.
48158         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48159         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48160         <kernel-features.h>.
48161         [__ASSUME_32BITUIDS]: Make code unconditional.
48162         [!__ASSUME_32BITUIDS]: Remove conditional code.
48163         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48164         <kernel-features.h>.
48165         [__ASSUME_32BITUIDS]: Make code unconditional.
48166         [!__ASSUME_32BITUIDS]: Remove conditional code.
48167         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48168         <kernel-features.h>.
48169         [__ASSUME_32BITUIDS]: Make code unconditional.
48170         [!__ASSUME_32BITUIDS]: Remove conditional code.
48171         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48172         <kernel-features.h>.
48173         [__ASSUME_32BITUIDS]: Make code unconditional.
48174         [!__ASSUME_32BITUIDS]: Remove conditional code.
48175         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48176         <kernel-features.h>.
48177         [__ASSUME_32BITUIDS]: Make code unconditional.
48178         [!__ASSUME_32BITUIDS]: Remove conditional code.
48179         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48180         <kernel-features.h>.
48181         [__ASSUME_32BITUIDS]: Make code unconditional.
48182         [!__ASSUME_32BITUIDS]: Remove conditional code.
48183         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48184         <kernel-features.h>.
48185         [__ASSUME_32BITUIDS]: Make code unconditional.
48186         [!__ASSUME_32BITUIDS]: Remove conditional code.
48187         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48188         <kernel-features.h>.
48189         [__ASSUME_32BITUIDS]: Make code unconditional.
48190         [!__ASSUME_32BITUIDS]: Remove conditional code.
48191         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48192         <kernel-features.h>.
48193         [__ASSUME_32BITUIDS]: Make code unconditional.
48194         [!__ASSUME_32BITUIDS]: Remove conditional code.
48195         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48196         <kernel-features.h>.
48197         [__ASSUME_32BITUIDS]: Make code unconditional.
48198         [!__ASSUME_32BITUIDS]: Remove conditional code.
48199         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48200         <kernel-features.h>.
48201         [__NR_setresgid] (__setresgid): Do not declare.
48202         [__ASSUME_32BITUIDS]: Make code unconditional.
48203         [!__ASSUME_32BITUIDS]: Remove conditional code.
48204         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48205         <kernel-features.h>.
48206         [__NR_setresuid] (__setresuid): Do not declare.
48207         [__ASSUME_32BITUIDS]: Make code unconditional.
48208         [!__ASSUME_32BITUIDS]: Remove conditional code.
48209         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48210         <kernel-features.h>.
48211         [__ASSUME_32BITUIDS]: Make code unconditional.
48212         [!__ASSUME_32BITUIDS]: Remove conditional code.
48213         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48214         <kernel-features.h>.
48215         [__ASSUME_32BITUIDS]: Make code unconditional.
48216         [!__ASSUME_32BITUIDS]: Remove conditional code.
48217         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48218         <kernel-features.h>.
48219         [__ASSUME_32BITUIDS]: Make code unconditional.
48220         [!__ASSUME_32BITUIDS]: Remove conditional code.
48221         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48222         <kernel-features.h>.
48223         [__ASSUME_32BITUIDS]: Make code unconditional.
48224         [!__ASSUME_32BITUIDS]: Remove conditional code.
48225         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48226         <kernel-features.h>.
48227         [__ASSUME_32BITUIDS]: Make code unconditional.
48228         [!__ASSUME_32BITUIDS]: Remove conditional code.
48229         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48230         <kernel-features.h>.
48231         [__ASSUME_32BITUIDS]: Make code unconditional.
48232         [!__ASSUME_32BITUIDS]: Remove conditional code.
48233         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48234         <kernel-features.h>.
48235         [__ASSUME_32BITUIDS]: Make code unconditional.
48236         [!__ASSUME_32BITUIDS]: Remove conditional code.
48237         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48238         <kernel-features.h>.
48239         [__ASSUME_32BITUIDS]: Make code unconditional.
48240         [!__ASSUME_32BITUIDS]: Remove conditional code.
48241         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48242         <kernel-features.h>.
48243         [__ASSUME_32BITUIDS]: Make code unconditional.
48244         [!__ASSUME_32BITUIDS]: Remove conditional code.
48245         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48246         <kernel-features.h>.
48247         [__ASSUME_32BITUIDS]: Make code unconditional.
48248         [!__ASSUME_32BITUIDS]: Remove conditional code.
48249         * sysdeps/unix/sysv/linux/kernel-features.h
48250         (__ASSUME_SETRESUID_SYSCALL): Remove.
48251         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48252         (__ASSUME_32BITUIDS): Likewise.
48253         (__ASSUME_LDT_WORKS): Likewise.
48254         (__ASSUME_O_DIRECTORY): Likewise.
48255         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48256         architecture but not kernel version.
48257         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48258         (__ASSUME_MMAP2_SYSCALL): Likewise.
48259         (__ASSUME_STAT64_SYSCALL): Likewise.
48260         (__ASSUME_IPC64): Likewise.
48261         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48262         <kernel-features.h>.
48263         [__ASSUME_32BITUIDS]: Make code unconditional.
48264         [!__ASSUME_32BITUIDS]: Remove conditional code.
48265         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48266         <kernel-features.h>.
48267         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48268         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48269         132096]: Remove conditional code.
48270         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48271         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48272         <kernel-features.h>.
48273         [__ASSUME_32BITUIDS]: Make code unconditional.
48274         [!__ASSUME_32BITUIDS]: Remove conditional code.
48275         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48276         <kernel-features.h>.
48277         [__ASSUME_32BITUIDS]: Make code unconditional.
48278         [!__ASSUME_32BITUIDS]: Remove conditional code.
48279         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48280         <kernel-features.h>.
48281         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48282         unconditional.
48283         (__setresgid): Do not declare.
48284         [__ASSUME_32BITUIDS]: Make code unconditional.
48285         [!__ASSUME_32BITUIDS]: Remove conditional code.
48286         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48287         <kernel-features.h>.
48288         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48289         unconditional.
48290         (__setresuid): Do not declare.
48291         [__ASSUME_32BITUIDS]: Make code unconditional.
48292         [!__ASSUME_32BITUIDS]: Remove conditional code.
48293         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48294         <kernel-features.h>.
48295         [__ASSUME_32BITUIDS]: Make code unconditional.
48296         [!__ASSUME_32BITUIDS]: Remove conditional code.
48297         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48298         <kernel-features.h>.
48299         [__ASSUME_32BITUIDS]: Make code unconditional.
48300         [!__ASSUME_32BITUIDS]: Remove conditional code.
48302 2012-05-25  Richard Henderson  <rth@twiddle.net>
48304         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48305         dl_hwcap to ifunc resolver.
48306         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48307         elf_ifunc_invoke.
48308         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48309         dl_hwcap to ifunc resolver.
48310         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48312 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48314         [BZ #14153]
48315         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48316         for |x| <= 2**-26, not 2**-57.
48317         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48318         exception.
48320 2012-05-24  Jeff Law  <law@redhat.com>
48322         * stdio-common/Makefile (tests): Add bug25.
48323         * stdio-common/bug25.c: New test.
48325 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48327         [BZ #13576]
48328         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48329         multiple of MALLOC_ALIGNMENT in size.
48330         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48332 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48334         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48335         Require >= 256.
48336         (FILENAME_MAX): Use macro-int-constant.
48337         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48338         (_IOFBF): Use macro-int-constant.
48339         (_IOLBF): Likewise.
48340         (_IONBF): Likewise.
48341         (SEEK_CUR): Likewise.
48342         (SEEK_END): Likewise.
48343         (SEEK_SET): Likewise.
48344         (TMP_MAX): Likewise.
48345         (EOF): Use macro-int-constant.  Require < 0.
48346         (NULL): Use macro-constant.  Require == 0.
48347         (stdin): Require type to be FILE *.
48348         (stdout): Likewise.
48349         (stderr): Likewise.
48350         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48351         macro-int-constant.
48352         (EXIT_SUCCESS): Likewise.
48353         (NULL): Use macro-constant.  Require == 0.
48354         (RAND_MAX): Use macro-int-constant.
48355         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48356         [C99-based standards] (strtof): Require function.
48357         [C99-based standards] (strtold): Likewise.
48358         [C99-based standards] (strtoll): Likewise.
48359         [C99-based standards] (strtoull): Likewise.
48360         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48361         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48362         [ISO || ISO99 || ISO11] (math.h): Likewise.
48363         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48364         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48365         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48367 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48369         [BZ #14132]
48370         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48371         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48372         * intl/dgettext.c (DCGETTEXT): Likewise.
48373         * intl/gettext.c (DCGETTEXT): Likewise.
48374         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48375         * posix/regex_internal.h (gettext): Likewise.
48376         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48377         Remove declaration.
48378         * include/argz.h (__argz_count_internal)
48379         (__argz_stringify_internal): Remove declaration.
48380         (__argz_count, __argz_stringify): Declare hidden proto.
48381         * intl/dcgettext.c: Remove use of INTDEF.
48382         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48383         * string/argz-stringify.c: Likewise.
48384         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48385         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48386         Declare hidden proto.
48387         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48388         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48389         Declare hidden proto.
48390         * include/stdio.h (__asprintf_internal): Don't declare.
48391         (__asprintf): Don't define as macro.  Declare hidden proto.
48392         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48393         (__fsetlocking): Declare hidden proto.
48394         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48395         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48396         hidden proto.
48397         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48398         (_IO_setlinebuf): Remove use of INTUSE.
48399         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48400         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48401         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48402         Remove declaration.
48403         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48404         (_IO_do_flush): Remove use of INTUSE.
48405         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48406         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48407         (_IO_adjust_column, _IO_least_wmarker)
48408         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48409         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48410         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48411         (_IO_default_doallocate, _IO_wdefault_doallocate)
48412         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48413         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48414         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48415         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48416         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48417         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48418         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48419         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48420         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48421         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48422         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48423         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48424         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48425         proto.
48426         (_IO_flush_all_internal, _IO_adjust_column_internal)
48427         (_IO_default_uflow_internal, _IO_default_finish_internal)
48428         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48429         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48430         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48431         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48432         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48433         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48434         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48435         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48436         (_IO_file_close_internal, _IO_file_close_it_internal)
48437         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48438         (_IO_file_init_internal, _IO_file_attach_internal)
48439         (_IO_file_fopen_internal, _IO_file_read_internal)
48440         (_IO_file_sync_internal, _IO_file_seek_internal)
48441         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48442         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48443         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48444         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48445         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48446         (_IO_list_all_internal, _IO_link_in_internal)
48447         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48448         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48449         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48450         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48451         (_IO_do_write_internal, _IO_padn_internal)
48452         (_IO_getline_info_internal, _IO_getline_internal)
48453         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48454         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48455         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48456         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48457         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48458         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48459         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48460         with libc_hidden_ver, remove use of INTUSE.
48461         * libio/genops.c: Likewise.
48462         * libio/freopen.c: Likewise.
48463         * libio/freopen64.c: Likewise.
48464         * libio/iofclose.c: Likewise.
48465         * libio/iofdopen.c: Likewise.
48466         * libio/iofflush.c: Likewise.
48467         * libio/iofflush_u.c: Likewise.
48468         * libio/iofgets.c: Likewise.
48469         * libio/iofgets_u.c: Likewise.
48470         * libio/iofopen.c: Likewise.
48471         * libio/iofopncook.c: Likewise.
48472         * libio/iofread.c: Likewise.
48473         * libio/iofread_u.c: Likewise.
48474         * libio/ioftell.c: Likewise.
48475         * libio/iofwrite.c: Likewise.
48476         * libio/iogetline.c: Likewise.
48477         * libio/iogets.c: Likewise.
48478         * libio/iogetwline.c: Likewise.
48479         * libio/iopadn.c: Likewise.
48480         * libio/iopopen.c: Likewise.
48481         * libio/ioseekoff.c: Likewise.
48482         * libio/ioseekpos.c: Likewise.
48483         * libio/iosetbuffer.c: Likewise.
48484         * libio/iosetvbuf.c: Likewise.
48485         * libio/ioungetc.c: Likewise.
48486         * libio/ioungetwc.c: Likewise.
48487         * libio/iovdprintf.c: Likewise.
48488         * libio/iovsprintf.c: Likewise.
48489         * libio/iovsscanf.c: Likewise.
48490         * libio/memstream.c: Likewise.
48491         * libio/obprintf.c: Likewise.
48492         * libio/oldfileops.c: Likewise.
48493         * libio/oldiofclose.c: Likewise.
48494         * libio/oldiofdopen.c: Likewise.
48495         * libio/oldiofopen.c: Likewise.
48496         * libio/oldiopopen.c: Likewise.
48497         * libio/oldstdfiles.c: Likewise.
48498         * libio/putc.c: Likewise.
48499         * libio/setbuf.c: Likewise.
48500         * libio/setlinebuf.c: Likewise.
48501         * libio/stdfiles.c: Likewise.
48502         * libio/strops.c: Likewise.
48503         * libio/vasprintf.c: Likewise.
48504         * libio/vscanf.c: Likewise.
48505         * libio/vsnprintf.c: Likewise.
48506         * libio/vswprintf.c: Likewise.
48507         * libio/wfiledoalloc.c: Likewise.
48508         * libio/wfileops.c: Likewise.
48509         * libio/wgenops.c: Likewise.
48510         * libio/wmemstream.c: Likewise.
48511         * libio/wstrops.c: Likewise.
48512         * libio/__fpurge.c: Likewise.
48513         * libio/__fsetlocking.c: Likewise.
48514         * assert/assert.c: Likewise.
48515         * debug/fgets_chk.c: Likewise.
48516         * debug/fgets_u_chk.c: Likewise.
48517         * debug/fread_chk.c: Likewise.
48518         * debug/fread_u_chk.c: Likewise.
48519         * debug/gets_chk.c: Likewise.
48520         * debug/obprintf_chk.c: Likewise.
48521         * debug/vasprintf_chk.c: Likewise.
48522         * debug/vdprintf_chk.c: Likewise.
48523         * debug/vsnprintf_chk.c: Likewise.
48524         * debug/vsprintf_chk.c: Likewise.
48525         * malloc/mtrace.c: Likewise.
48526         * misc/error.c: Likewise.
48527         * misc/syslog.c: Likewise.
48528         * stdio-common/asprintf.c: Likewise.
48529         * stdio-common/fxprintf.c: Likewise.
48530         * stdio-common/getw.c: Likewise.
48531         * stdio-common/isoc99_fscanf.c: Likewise.
48532         * stdio-common/isoc99_scanf.c: Likewise.
48533         * stdio-common/isoc99_vfscanf.c: Likewise.
48534         * stdio-common/isoc99_vscanf.c: Likewise.
48535         * stdio-common/isoc99_vsscanf.c: Likewise.
48536         * stdio-common/printf-prs.c: Likewise.
48537         * stdio-common/printf_fp.c: Likewise.
48538         * stdio-common/printf_fphex.c: Likewise.
48539         * stdio-common/printf_size.c: Likewise.
48540         * stdio-common/putw.c: Likewise.
48541         * stdio-common/scanf.c: Likewise.
48542         * stdio-common/sprintf.c: Likewise.
48543         * stdio-common/tmpfile.c: Likewise.
48544         * stdio-common/vfprintf.c: Likewise.
48545         * stdio-common/vfscanf.c: Likewise.
48546         * stdlib/strfmon_l.c: Likewise.
48547         * sunrpc/openchild.c: Likewise.
48548         * sunrpc/xdr_stdio.c: Likewise.
48549         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48550         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48552 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48554         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48556         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48557         in the third column, to generate for the shared library an IFUNC
48558         that uses _dl_vdso_vsym.
48559         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48560         * Makeconfig (object-suffixes-noshared): New variable.
48562         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48563         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48564         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48565         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48567         [BZ #14132]
48568         * include/sys/time.h (__gettimeofday): Remove macro.
48569         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48570         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48571         Remove INTDEF.
48572         (__gettimeofday): Add libc_hidden_def.
48573         (gettimeofday): Add libc_hidden_weak.
48574         * sysdeps/mach/gettimeofday.c: Likewise.
48575         * sysdeps/posix/gettimeofday.c: Likewise.
48576         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48577         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48578         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48579         (__gettimeofday_internal): Remove strong_alias.
48580         (__gettimeofday): Add libc_hidden_def.
48581         (gettimeofday): Add libc_hidden_weak.
48582         * sysdeps/unix/syscalls.list (gettimeofday):
48583         Remove __gettimeofday_internal alias.
48585 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48586             H.J. Lu  <hongjiu.lu@intel.com>
48588         [BZ #12495]
48589         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48590         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48591         (largebin_index_32_big): New.
48592         (largebin_index): Use it for 16-byte alignment.
48593         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48594         correction with front_misalign.
48596 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48600         Likewise.
48601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48602         Likewise.
48603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48604         Likewise.
48605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48606         Likewise.
48607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48608         Likewise.
48609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48610         Likewise.
48611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48612         Likewise.
48613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48614         Likewise.
48615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48616         Likewise.
48617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48618         Likewise.
48619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48620         Likewise.
48621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48622         Likewise.
48624         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48625         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48627 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48629         [BZ #10846]
48630         [BZ #14036]
48631         * math/libm-test.inc (exp_test): Add test from bug 14036.
48632         (pow_test): Add test from bug 10846.
48634         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48635         and other flags.
48636         (special_function): Do not include flags in test name.
48637         (parse_args): Likewise.
48638         * sysdeps/i386/fpu/libm-test-ulps: Update.
48639         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48640         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48641         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48644         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48645         exceptions.
48646         * math/libm-test.inc ("Philosophy"): Update comment about
48647         exception testing.
48648         (UNDERFLOW_EXCEPTION): New macro.
48649         (UNDERFLOW_EXCEPTION_OK): Likewise.
48650         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48651         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48652         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48653         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48654         (INVALID_EXCEPTION_OK): Update value.
48655         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48656         (OVERFLOW_EXCEPTION_OK): Likewise.
48657         (IGNORE_ZERO_INF_SIGN): Likewise.
48658         (test_exceptions): Handle underflow exceptions.
48659         (acos_test): Update for underflow exception expectations.
48660         (cexp_test): Likewise.
48661         (clog_test): Likewise.
48662         (clog10_test): Likewise.
48663         (csqrt_test): Likewise.
48664         (ctan_test): Likewise.
48665         (ctanh_test): Likewise.
48666         (exp_test): Likewise.
48667         (exp10_test): Likewise.
48668         (exp2_test): Likewise.
48669         (expm1_test): Likewise.
48670         (fma_test): Likewise.
48671         (j0_test): Likewise.
48672         (jn_test): Likewise.
48673         (nexttoward_test): Likewise.
48674         (pow_test): Likewise.
48675         (scalbn_test): Likewise.
48676         (scalbln_test): Likewise.
48677         (tan_test): Likewise.
48678         (y1_test): Likewise.
48679         * sysdeps/i386/fpu/libm-test-ulps: Update.
48680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48682 2012-05-23  David S. Miller  <davem@davemloft.net>
48684         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48685         (__libc_sigaction): Remove unused local variables.
48687 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48689         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48691 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48693         mktime: avoid signed integer overflow
48694         * time/mktime.c (__mktime_internal): Do not mishandle the case
48695         where diff == INT_MIN.
48697         mktime: simplify computation of average
48698         * time/mktime.c (ranged_convert): Use new time_t_avg function
48699         instead of rolling our own (probably-slower) code.
48701         mktime: do not assume signed right shift propagates sign bit
48702         * time/mktime.c (isdst_differ): New static function.
48703         (__mktime_internal): No need to normalize tm_isdst now.
48704         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48705         tm_isdst values.
48707         mktime: merge another wrapv change from gnulib
48708         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48709         from some compilers.
48711         mktime: remove incorrect attempt at unusual arithmetics
48712         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48713         The code didn't really work on such machines anyway.
48714         (TYPE_MINIMUM): Assume two's complement.
48715         (twos_complement_arithmetic): Verify that long_int and time_t
48716         are two's complement (or unsigned, in the latter case).
48718         mktime: check signed shifts on long_int and time_t, too
48719         * time/mktime.c (SHR): Check that shifts work as desired
48720         on the types long_int and time_t too, as SHR is used on
48721         such types.
48723         mktime: do not assume 'long' is wide enough
48724         * time/mktime.c (verify): Move decl up.
48725         (long_int): New type.
48726         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48727         to remove assumption in the code that 'long' is wide enough to
48728         store year values.  This assumption is not true on x32 and on
48729         some non-glibc platforms.
48731         mktime: merge wrapv change from gnulib
48732         * time/mktime.c (WRAPV): New macro.
48733         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48734         (guess_time_tm, __mktime_internal): Do not assume that signed
48735         integer overflow wraps around; modern compilers generate code
48736         where this assumption is no longer valid.
48738 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48740         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48741         Replace "jmp L(pseudo_end)" with "ret".
48742         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48743         Likewise.
48745 2012-05-23  Andreas Jaeger  <aj@suse.de>
48747         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48748         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48750 2012-05-23  Andreas Jaeger  <aj@suse.de>
48751             Maximilian Attems  <max@stro.at>
48753         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48754         New macros.
48756 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48758         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48759         code so that pseudo_end is just ret and the stack pointer is
48760         correct also for static library in error case.
48762 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48764         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48765         move to syscalls.list.
48766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48771         * manual/install.texi (Running make install): Do not mention Linux
48772         kernel version for which pt_chown is not needed.
48773         (Linux): Do not mention problems with nscd with 2.0 kernels.
48774         * INSTALL: Regenerated.
48776 2012-05-23  Andreas Jaeger  <aj@suse.de>
48778         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48779         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48780         macro.
48781         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48782         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48783         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48784         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48785         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48786         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48787         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48788         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48789         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48790         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48791         * sysdeps/unix/sysv/linux/bits/in.h
48792         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48794 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48796         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48797         (PREPARE_VERSION): Just use assert instead, it will be elided
48798         under [NDEBUG] anyway.
48800 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48802         * sysdeps/unix/sysv/linux/Makefile: Include
48803         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48804         (sysdep_routines): Remove sysctl.
48805         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48806         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48807         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48808         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48809         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48811 2012-05-22  Andreas Jaeger  <aj@suse.de>
48813         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48814         that pseudo_end is just ret and the stack pointer is correct also
48815         for static library in error case.
48817 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48819         [BZ #14122]
48820         * nss/nsswitch.c (defconfig_entries): New variable.
48821         (__nss_database_lookup): Don't leak defconfig entries.
48822         (nss_parse_service_list): Don't leak on error paths.
48823         (free_database_entries): New function.
48824         (free_defconfig): New function.
48825         (free_mem): Move common code to free_database_entries.
48827 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48829         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48830         Add arch_prctl.
48831         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48833         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48834         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48835         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48836         New macro.
48837         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48838         (INTERNAL_SYSCALL_TYPES): Likewise.
48839         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48840         (LOAD_REGS_TYPES_[1-6]): Likewise.
48841         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48842         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48844 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48846         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48847         copysignl for GLIBC_2_0.
48848         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48849         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48850         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48851         logbl for GLIBC_2_0.
48852         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48853         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48855 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48857         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48858         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48860         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48861         Use "neg %eax".
48863         * time/mktime.c: Update copyright years.
48865 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48867         mktime: merge comment-quoting-style change from gnulib
48868         * time/mktime.c: Quote 'like this' in comments.
48869         The GNU coding standards suggest that we no longer quote `like this',
48870         as "`" and "'" are typically rendered asymmetrically nowadays.
48871         The typical gnulib style is to quote 'like this' when quoting
48872         code, and "like this" when quoting English.
48874         * time/mktime.c (compile-command): Add "-I.".
48876         mktime: merge mktime-internal.h change from gnulib
48877         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48879         mktime: merge time_r change from gnulib
48880         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48882         mktime: merge DEBUG change from gnulib
48883         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48884         case system <time.h> has a #define.
48886         mktime: merge <sys/types.h> change from gnulib
48887         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48888         since <time.t> is now guaranteed to define time_t.
48890         mktime: merge HAVE_CONFIG_H change from gnulib
48891         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48893 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48896         Use "neg %eax".
48898         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48899         __rlim_t cast.
48900         (struct rusage): Use anonymous union to pad each field to
48901         __syscall_slong_t.
48903 2012-05-21  David S. Miller  <davem@davemloft.net>
48905         * Makefules (o-iterator): Remove .s cases.
48906         (compile-command.s): Delete.
48907         (COMPILE.s): Delete.
48908         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48910 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48912         * configure.in (libc_cv_predef_stack_protector): Only consider
48913         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48914         * configure: Regenerated.
48916 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48918         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48919         New macro.  Use R*LP on int and pointer.
48920         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48921         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48922         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48923         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48925         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48926         [__WORDSIZE_TIME64_COMPAT32] instead of
48927         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48928         (struct utmp): Likewise.
48929         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48930         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48931         Renamed to ...
48932         (__WORDSIZE_TIME64_COMPAT32): This.
48933         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48934         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48935         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48936         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48937         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48938         (__WORDSIZE_TIME64_COMPAT32): New macro.
48940 2012-05-21  Andreas Jaeger  <aj@suse.de>
48942         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48943         only if [SHARED]. Add prototype for __wcschr_ia32.
48945 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48947         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48948         of %rbp unmolested in the jmp_buf while mangling the low bits.
48949         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48950         unmolested high bits of %rbp while demangling the low bits.
48951         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48953 2012-05-21  Andreas Jaeger  <aj@suse.de>
48955         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48956         * sunrpc/svc_simple.c: Use it for registerrpc.
48957         * sunrpc/xcrypt.c: Use it for passwd2des.
48959         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48961 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48963         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48964         Don't define if [__SYSCALL_WORDSIZE != 32].
48965         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48966         New macro.
48968 2012-05-21  Bruno Haible  <bruno@clisp.org>
48969             Andreas Jaeger  <aj@suse.de>
48971         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48972         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48973         inptr and inend for must_buffer_ch.
48974         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48975         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48976         * stdio-common/Makefile (tests): Remove bug15.
48977         (bug15-ENV): Remove macro.
48978         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48979         anymore.
48981 2012-05-19  Andreas Jaeger  <aj@suse.de>
48982             Roland McGrath  <roland@hack.frob.com>
48984         * manual/contrib.texi: Completely rewritten. It contains now an
48985         alphabetical list of contributors and their contributions.
48987 2012-05-21  Richard Henderson  <rth@twiddle.net>
48989         * misc/getauxval.c (__getauxval): Use unsigned long int.
48990         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48991         (getauxval): Use unsigned long int.
48993 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48995         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48997 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48999         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49000         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49001         __alignof__ (long double).
49003 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49007 2012-05-20  Richard Henderson  <rth@twiddle.net>
49009         * misc/getauxval.c: New file.
49010         * misc/sys/auxv.h: New file.
49011         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49012         (routines): Add getauxval.
49013         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49014         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49015         * elf/dl-sysdep.c (_dl_auxv): Remove.
49016         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49017         * elf/dl-support.c (_dl_auxv): New variable.
49018         (_dl_aux_init): Initialize it.
49019         * manual/startup.texi (Auxiliary Vector): New node.
49020         * sysdeps/generic/bits/hwcap.h: New file.
49021         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49022         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49023         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49024         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49025         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49026         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49028         Update.
49029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49032         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49038 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49042 2012-05-19  David S. Miller  <davem@davemloft.net>
49044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49046 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49048         [BZ #14123]
49049         * math/s_ccosh.c: Include <float.h>
49050         (__ccosh): Avoid internal overflow calculating sinh and cosh
49051         values before multiplying by sin and cos values.
49052         * math/s_ccoshf.c: Likewise.
49053         * math/s_ccoshl.c: Likewise.
49054         * math/s_csin.c: Likewise.
49055         * math/s_csinf.c: Likewise.
49056         * math/s_csinl.c: Likewise.
49057         * math/s_csinh.c: Likewise.
49058         * math/s_csinhf.c: Likewise.
49059         * math/s_csinhl.c: Likewise.
49060         * math/libm-test.inc (ccos_test): Add more tests.
49061         (ccosh_test): Likewise.
49062         (csin_test): Likewise.
49063         (csinh_test): Likewise.
49064         * sysdeps/i386/fpu/libm-test-ulps: Update.
49065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49067 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49069         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49070         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49072         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49074 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49076         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49077         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49078         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49079         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49080         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49081         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49082         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49083         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49084         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49085         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49086         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49087         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49088         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49089         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49090         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49091         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49092         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49093         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49094         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49095         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49096         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49097         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49098         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49099         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49100         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49101         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49102         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49103         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49104         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49105         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49106         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49108 2012-05-18  Andreas Jaeger  <aj@suse.de>
49110         * csu/.gitignore: Delete.
49112 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49114         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49115         (timex): Use __syscall_slong_t.
49117 2012-05-18  Andreas Jaeger  <aj@suse.de>
49118             Carlos O'Donell  <carlos_odonell@mentor.com>
49120         * manual/install.texi (Configuring and compiling): Update
49121         description about files modified in the source directory.
49122         * INSTALL: Regenerated.
49124 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49126         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49127         value.  Use "or" to set return value to -1.
49128         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49129         negate return value.
49131 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49133         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49134         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49135         failure if the compiler has Graphite support disabled.
49136         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49137         Likewise.
49138         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49139         (CFLAGS-memmove.c): Likewise.
49140         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49141         Likewise.
49143 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49145         * sysdeps/x86_64/x32/_itoa.h: New file.
49147         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49148         getdents system call only if kernel and user dirents have the
49149         same d_ino and d_off.
49151         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49152         LLONG_MAX != LONG_MAX.
49153         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49154         (_fitoa_word): Likewise.
49156         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49157         years.
49158         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49159         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49160         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49162         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49163         include <bits/wordsize.h>.  Check __x86_64__ instead of
49164         __WORDSIZE.
49165         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49166         if __x86_64__ is defined.  Use anonymous union on fpstate.
49168         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49169         anonymous union.
49171 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49173         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49174         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49175         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49176         Refer to _rtld_local_ro instead of _rtld_global_ro.
49177         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49178         Likewise.
49179         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49180         Likewise.
49181         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49182         Likewise.
49183         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49184         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49185         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49187         [BZ #10882]
49188         * sysdeps/powerpc/powerpc32/dl-machine.c
49189         (__elf_machine_runtime_setup) [PROF]: Don't reference
49190         _dl_prof_resolve.
49192 2012-05-18  Andreas Jaeger  <aj@suse.de>
49194         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49195         function only available for GCCs before 3.4 since GCC 3.4
49196         introduced a builtin.
49197         (lrint): Likewise.
49198         (llrintf): Likewise.
49199         (llrint): Likewise.
49200         (fmaxf): Likewise.
49201         (fmax): Likewise.
49202         (fminf): Likewise.
49203         (fmin): Likewise.
49204         (rint): Likewise.
49205         (rintf): Likewise.
49206         (nearbyint): Likewise.
49207         (nearbyintf): Likewise.
49208         (ceil): Likewise.
49209         (ceilf): Likewise.
49210         (floor): Likewise.
49211         (floorf): Likewise.
49213 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49215         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49216         on both fields and cast pointer to __syscall_ulong_t.
49218         * bits/types.h (__fsword_t): New type.
49219         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49220         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49221         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49222         (__FSWORD_T_TYPE): Likewise.
49223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49224         (__FSWORD_T_TYPE): Likewise.
49225         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49226         (__FSWORD_T_TYPE): Likewise.
49227         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49228         (__FSWORD_T_TYPE): Likewise.
49229         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49230         __SWORD_TYPE with __fsword_t.
49231         (statfs64): Likewise.
49233 2012-05-17  David S. Miller  <davem@davemloft.net>
49235         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49237 2012-05-17  Andreas Jaeger  <aj@suse.de>
49239         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49240         warning.
49242 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49244         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49246 2012-05-17  Andreas Jaeger  <aj@suse.de>
49248         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49249         when it is used.
49251 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49253         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49255 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49257         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49258         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49260 2012-05-17  Andreas Jaeger  <aj@suse.de>
49261             Carlos O'Donell  <carlos_odonell@mentor.com>
49263         [BZ #14059]
49264         * sysdeps/x86_64/multiarch/init-arch.h
49265         (bit_YMM_Usable): Rename to...
49266         (bit_AVX_Usable): ... this.
49267         (bit_FMA4_Usable): New macro.
49268         (bit_XMM_state): New macro.
49269         (bit_YMM_state): New macro.
49270         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49271         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49272         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49273         (CPUID_OSXSAVE): New macro.
49274         (CPUID_AVX): New macro.
49275         (CPUID_FMA4): New macro.
49276         (index_YMM_Usable): Rename to...
49277         (index_AVX_Usable): ... this.
49278         (HAS_AVX): Use HAS_ARCH_FEATURE.
49279         (HAS_FMA4): Likewise.
49280         (HAS_YMM_USABLE): Remove.
49281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49282         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49283         are present.
49284         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49285         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49286         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49287         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49288         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49290 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49292         * math/libm-test.c: Support platforms without multiple rounding modes.
49293         * math/bug-nextafter.c: Support platforms without FP exceptions.
49294         * math/bug-nexttoward.c: Likewise.
49295         * math/test-fenv.c: Likewise.
49296         * math/test-misc.c: Likewise.
49297         * stdlib/bug-getcontext.c: Likewise.
49299 2012-05-17  Andreas Jaeger  <aj@suse.de>
49301         * manual/examples/search.c (critter_cmp): Change signature to
49302         avoid warnings.
49303         * manual/string.texi (Collation Functions): Likewise.
49305 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49307         * bits/types.h: Fold copyright years.
49308         * bits/typesizes.h: Likewise.
49309         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49310         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49311         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49312         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49313         * time/time.h: Likewise.
49315 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49317         [BZ #208]
49318         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49319         in instead of returning them.  Return void.
49320         (__libc_mallinfo): Accumulate over all arenas.
49321         (__malloc_stats): Adjust for change in int_mallinfo interface.
49323 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49325         [BZ #10375]
49326         * configure.in (NM): Add AC_CHECK_TOOL for it.
49327         (libc_extra_cflags): New substituted variable.
49328         Check for -fstack-protector being used implicitly.
49329         * configure: Regenerated.
49330         * config.make.in (config-extra-cflags): New variable,
49331         gets @libc_extra_cflags@.
49332         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49334         [BZ #10375]
49335         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49336         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49337         * configure: Regenerated.
49338         * config.make.in (CPPUNDEFS): New substituted variable.
49339         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49340         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49341         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49343 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49345         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49346         (mq_attr): Use __syscall_slong_t.
49348 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49350         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49351         Check __x86_64__ instead of __WORDSIZE.
49352         (_STAT_VER_LINUX): Likewise.
49353         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49354         __syscall_ulong_t and __syscall_slong_t.
49355         (stat64): Likewise.
49357 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49359         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49361 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49363         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49365 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49367         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49368         __syscall_ulong_t.
49370         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49371         include <bits/wordsize.h>.  Check __x86_64__ instead of
49372         __WORDSIZE.
49373         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49374         defined.
49375         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49377         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49378         include <bits/wordsize.h>.  Check __x86_64__ instead of
49379         __WORDSIZE.
49380         (user_regs_struct): Use "__extension__ unsigned long long"
49381         instead of "unsigned long" if __x86_64__ is defined.
49382         (user): Likewise.  Pad after pointer field if __ILP32__ is
49383         defined.
49385 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49387         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49388         versions 5 to 9.
49389         * configure: Regenerated.
49390         * manual/install.texi (texinfo): Increase version requirement to
49391         4.5 or later.
49392         * INSTALL: Regenerated.
49394         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49396 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49398         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49400         * sysdeps/x86_64/x32/ffs.c: New file.
49402         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49403         __syscall_ulong_t.
49404         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49405         defined.  Use __syscall_ulong_t.
49406         (shminfo): Use __syscall_ulong_t.
49407         (shm_info): Likewise.
49409         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49410         __syscall_ulong_t.
49412         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49413         <bits/wordsize.h>.
49414         (msgqnum_t): Use __syscall_ulong_t.
49415         (msglen_t): Likewise.
49416         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49417         __syscall_ulong_t.
49419         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49420         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49422         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49424         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49425         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49427         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49428         __syscall_slong_t.
49430         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49431         include <bits/wordsize.h>.  Check __x86_64__ instead of
49432         __WORDSIZE.
49434         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49435         "unsigned long long int" if __x86_64__ is defined.
49436         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49438         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49439         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49440         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49442         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49443         <stdint.h>.
49444         (GET_PC): Cast to uintptr_t first.
49445         (GET_FRAME): Likewise.
49446         (GET_STACK): Likewise.
49448         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49449         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49450         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49451         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49452         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49453         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49454         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49455         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49456         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49457         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49458         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49459         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49460         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49461         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49462         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49463         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49464         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49465         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49466         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49467         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49468         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49469         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49470         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49471         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49472         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49473         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49474         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49475         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49476         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49478 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49480         * Makerules (+depfiles): Also collect depfiles from .oS in
49481         $(extra-objs).
49482         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49483         .oS, $(libnldbl-routines)).
49485         * Makerules (native-compile-mkdep-flags): Define.
49486         * sunrpc/Makefile (extra-objs): Add $(addprefix
49487         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49488         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49489         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49490         calling $(make-target-directory).
49492 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49494         * bits/types.h (__snseconds_t): Removed.
49495         * time/time.h (struct timespec): Replace __snseconds_t with
49496         __syscall_slong_t.
49497         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49498         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49499         Likewise.
49500         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49501         (__SNSECONDS_T_TYPE): Likewise.
49502         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49503         (__SNSECONDS_T_TYPE): Likewise.
49504         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49505         (__SNSECONDS_T_TYPE): Likewise.
49507 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49509         * sysdeps/mach/hurd/bits/typesizes.h
49510         (__SYSCALL_SLONG_TYPE): New macro.
49511         (__SYSCALL_ULONG_TYPE): Likewise.
49513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49515         * bits/types.h (__syscall_slong_t): New type.
49516         (__syscall_ulong_t): Likewise.
49518         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49519         (__SYSCALL_ULONG_TYPE): Likewise.
49520         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49521         (__SYSCALL_SLONG_TYPE): Likewise.
49522         (__SYSCALL_ULONG_TYPE): Likewise.
49523         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49524         (__SYSCALL_SLONG_TYPE): Likewise.
49525         (__SYSCALL_ULONG_TYPE): Likewise.
49526         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49527         (__SYSCALL_SLONG_TYPE): Likewise.
49528         (__SYSCALL_ULONG_TYPE): Likewise.
49530 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49532         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49533         Add sigaltstack-offsets.sym.
49534         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49535         <sigaltstack-offsets.h>.
49536         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49537         longjmp_msg pointer.
49538         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49539         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49540         signal stack.
49541         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49543 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49545         * elf/stackguard-macros.h: Remove file.
49546         * sysdeps/generic/stackguard-macros.h: New file.
49547         * sysdeps/i386/stackguard-macros.h: Likewise.
49548         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49549         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49550         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49551         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49552         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49553         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49554         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49555         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49556         <elf/stackguard-macros.h>.
49558         [BZ #14109]
49559         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49560         __aligned__ in attribute.
49561         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49562         (gregset_t): Likewise.
49564 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49566         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49567         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49568         * sysdeps/x86_64/x32/Implies-after: New file.
49570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49572         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49573         and access return value for _dl_profile_fixup.  Use R10_LP to
49574         load frame size.
49576 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49578         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49582         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49583         * sysdeps/x86_64/x32/sysdep.h: New file.
49585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49587         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49588         * sysdeps/x86_64/setjmp.S: Likewise.
49590 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49592         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49593         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49594         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49595         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49596         remove unused global constant.
49598 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49600         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49601         include of <not-cancel.h>.
49603 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49605         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49607 2012-05-15  Jeff Law  <law@redhat.com>
49608             Andreas Jaeger  <aj@suse.de>
49610         [BZ #13594]
49611         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49612         out from...
49613         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49614         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49615         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49616         code changing __hst_map_handle.map.
49618 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49620         * configure.in (sysnames): Look for Implies-before and Implies-after
49621         files.
49622         * configure: Regenerated.
49624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49626         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49627         8-byte data alignment with LP_SIZE alignment.
49629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49631         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49632         into R10_LP.
49634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49636         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49640         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49641         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49642         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49643         Likewise.
49644         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49648         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49649         (stackinfo_sub_sp): Likewise.
49651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49653         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49654         RAX_LP.
49656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49658         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49659         into R*_LP.
49661 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49663         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49664         sizes into R*_LP.
49666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49668         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49672         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49673         into R11_LP and load __x86_64_shared_cache_size_half into
49674         R8_LP.
49676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49678         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49679         R8_LP.
49681 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49683         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49684         logb for POWER7.
49685         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49686         logbf for POWER7.
49687         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49688         logbl for POWER7.
49689         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49690         powerpc32/power7/fpu/s_logb.c via #include.
49691         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49692         powerpc32/power7/fpu/s_logbf.c via #include.
49693         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49694         powerpc32/power7/fpu/s_logbl.c via #include.
49696 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49698         * README.libm: Remove file.
49700 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49702         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49703         count for x32.  Use R*_LP and omit operand-size suffix.
49705 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49707         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49708         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49709         * sysdeps/x86_64/x32/shlib-versions: New file.
49711 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49713         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49714         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49715         Use _dl_fatal_printf instead.
49717 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49719         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49720         set if not set by the user.  Do not allow for being unset.
49721         * sysdeps/unix/sysv/linux/configure: Regenerated.
49723 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49725         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49726         the `q' suffix from lea and replace .quad with ASM_ADDR.
49728 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49731         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49732         instead of $17.
49733         (PTR_DEMANGLE): Likewise.
49735 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49737         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49738         (LP_OP): Likewise.
49739         (ASM_ADDR): Likewise.
49740         (RAX_LP): Likewise.
49741         (RBP_LP): Likewise.
49742         (RBX_LP): Likewise.
49743         (RCX_LP): Likewise.
49744         (RDI_LP): Likewise.
49745         (RSI_LP): Likewise.
49746         (RSP_LP): Likewise.
49747         (R8_LP): Likewise.
49748         (R9_LP): Likewise.
49749         (R10_LP): Likewise.
49750         (R10_LP): Likewise.
49751         (R11_LP): Likewise.
49752         (R12_LP): Likewise.
49753         (R13_LP): Likewise.
49754         (R14_LP): Likewise.
49755         (R15_LP): Likewise.
49757 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49759         * sysdeps/x86_64/x32/dl-machine.h: New file.
49761 2012-05-14  Andreas Jaeger  <aj@suse.de>
49763         * manual/Makefile (subdir): Remove export of subdir.
49764         (all): Remove target.
49765         (.PHONY): Remove all from list.
49766         (mkinstalldirs): Remove.
49767         (.PHONY): Remove installdirs from list.
49768         ($(inst_infodir)/libc.info): Use make-target-directory.
49769         (installdirs): Remove.
49770         (subdir_%): Remove.
49771         (glibc-targets): Remove.
49772         (lib): Remove.
49773         (stubs): Remove.
49774         ($(objpfx)stubs ../po/manual.pot): Remove.
49775         ($(objpfx)stamp%): Remove.
49776         (make-target-directory): Remove.
49777         (subdir_install): Remove.
49778         (routines): Remove.
49779         (aux): Remove.
49780         (sources): Remove.
49781         (objects): Remove.
49782         (headers): Remove.
49784         [BZ #13750]
49785         * manual/.gitignore: Remove, it's not needed anymore.
49786         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49787         all files in it.
49788         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49789         directory.
49790         (texis): Renamed to $(objpfx)texis.
49791         (texis-path): New, contains path to generated files.
49792         (chapters.%): Use texis-path for complete path, add extra argument
49793         libc-texinfo.sh.
49794         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49795         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49796         (summary,texi, stamp-summary): Use complete path of
49797         files. Generate files in build dir.
49798         (dir-add.texi): Build in build dir.
49799         (libm-err.texi,stamp-libm-err): Likewise.
49800         (version.texi, stamp-version): Likewise.
49801         (.%c.texi): Likewise.
49802         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49803         (mostlyclean): Remove target.
49804         (realclean): Remove target.
49805         (generated): Add new variable with contents from mostlyclean and
49806         realclean, remove entries duplicated in common-mostlyclean, add
49807         stamp-libm-err and stamp-version.
49808         (generated-dirs): Add libc directory.
49809         ($(inst_infodir)/libc.info): Install files from build dir.
49811         * manual/install.texi (Configuring and compiling): Adjust since
49812         the info files are not part of the tar ball anymore.
49814 2012-05-14  Andreas Jaeger  <aj@suse.de>
49816         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49817         variable.
49819 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49821         [BZ #13717]
49822         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49823         to 2.2.0 where earlier.
49824         * sysdeps/unix/sysv/linux/configure: Regenerated.
49825         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49826         Remove conditional code.
49827         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49828         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49829         Remove conditional code.
49830         [!__NR_lchown]: Likewise.
49831         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49832         [__NR_lchown]: Likewise.
49833         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49834         comment referencing __ASSUME_LCHOWN_SYSCALL.
49835         * sysdeps/unix/sysv/linux/i386/sigaction.c
49836         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49837         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49838         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49839         Remove conditional code.
49840         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49841         (__protocol_available): Remove #if 0 code.
49842         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49843         conditional code.
49844         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49845         * sysdeps/unix/sysv/linux/kernel-features.h
49846         (__ASSUME_GETCWD_SYSCALL): Don't define.
49847         (__ASSUME_REALTIME_SIGNALS): Likewise.
49848         (__ASSUME_PREAD_SYSCALL): Likewise.
49849         (__ASSUME_PWRITE_SYSCALL): Likewise.
49850         (__ASSUME_POLL_SYSCALL): Likewise.
49851         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49852         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49853         non-SPARC.
49854         (__ASSUME_SIOCGIFNAME): Don't define.
49855         (__ASSUME_MSG_NOSIGNAL): Likewise.
49856         (__ASSUME_SENDFILE): Define unconditionally.
49857         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49858         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49859         conditional code.
49860         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49861         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49862         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49863         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49864         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49865         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49866         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49868         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49869         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49871         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49872         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49874         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49875         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49877         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49878         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49880         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49881         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49883         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49884         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49886         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49887         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49889         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49890         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49891         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49892         Remove conditional code.
49893         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49894         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49895         Remove conditional code.
49896         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49897         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49898         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49899         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49900         Remove conditional code.
49901         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49902         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49903         Remove conditional code.
49904         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49905         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49906         Remove conditional code.
49907         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49908         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49909         Remove conditional code.
49910         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49911         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49912         Remove conditional code.
49913         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49914         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49915         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49916         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49917         * sysdeps/unix/sysv/linux/sigaction.c
49918         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49919         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49920         * sysdeps/unix/sysv/linux/sigpending.c
49921         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49922         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49923         * sysdeps/unix/sysv/linux/sigprocmask.c
49924         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49925         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49926         * sysdeps/unix/sysv/linux/sigsuspend.c
49927         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49928         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49929         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49930         (__libc_missing_rt_sigs): Remove.
49931         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49932         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49933         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49934         Remove conditional code.
49935         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49936         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49937         return 1.
49938         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49939         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49940         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49941         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49943 2012-05-14  Andreas Jaeger  <aj@suse.de>
49945         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49946         it's not used in glibc.
49947         (__coshm1): Likewise.
49948         (__acosh1p): Likewise.
49949         (__sgn): Likewise.
49951         * manual/string.texi (Copying and Concatenation): Add missing
49952         variable in concat example.
49953         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49955 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49957         [BZ #14103]
49958         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49959         __builtin_clzl with __builtin_clzll.
49961 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49963         [BZ #14104]
49964         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49965         libc_freeres_ptr.
49967 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49969         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49970         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49971         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49972         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49974 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49976         * NEWS: Update ia64 info.
49978 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49980         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49981         used as bcopy.
49983 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49985         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49986         * sysdeps/unix/syscalls.list (dup3): Likewise.
49987         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49988         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49990 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49992         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49993         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49995 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49997         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49998         thread pointer.
49999         (TLS_IE): Use mov/add instead of movq/addq to load thread
50000         pointer.
50001         (TLS_GD_PREFIX): New.
50002         (TLS_GD): Use it.
50004 2012-05-11  David S. Miller  <davem@davemloft.net>
50006         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50007         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50008         (_FPU_SETCW): Likewise.
50010 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50012         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50013         is 32-byte aligned.
50015 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50017         [BZ #11837]
50018         * iconvdata/gb18030.c: Update tables.
50019         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50020         characters specially.
50021         (BODY for TO_LOOP): Add encoding of missing ranges.
50023 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50025         [BZ #13673]
50026         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50027         * sysdeps/mach/hurd/dup3.c: Likewise.
50028         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50029         * sysdeps/powerpc/memmove.c:: Likewise.
50031 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50033         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50034         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50036 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50038         * elf/elf.h (R_X86_64_RELATIVE64): New.
50039         (R_X86_64_NUM): Updated.
50040         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50041         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50042         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50043         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50044         tst-quad1pie tst-quad2pie
50045         (modules-names): Add tst-quadmod1 tst-quadmod2.
50046         ($(objpfx)tst-quad1): New dependency.
50047         ($(objpfx)tst-quad2): Likewise.
50048         ($(objpfx)tst-quad1pie): Likewise.
50049         ($(objpfx)tst-quad2pie): Likewise.
50050         * sysdeps/x86_64/tst-quad1.c: New file.
50051         * sysdeps/x86_64/tst-quad1pie.c: New file.
50052         * sysdeps/x86_64/tst-quad2.c: Likewise.
50053         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50054         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50055         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50056         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50057         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50059 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50061         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50062         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50063         * streams/stropts.h (t_scalar_t): Define type.
50065         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50066         (_PATH_PRESERVE): Set to "/var/lib".
50067         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50069         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50070         instead of int.
50072         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50073         if __dir_mkfile succeeded.
50075         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50076         checking for _hurd_dtablesize.  Unlock it right after having
50077         finished _hurd_dtable allocation.
50079 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50081         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50082         * sysdeps/mach/hurd/configure: Regenerated.
50083         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50084         special-casing to...
50085         * sysdeps/gnu/configure.in: ... this new file.
50086         * sysdeps/unix/sysv/linux/configure: Regenerated.
50087         * sysdeps/gnu/configure: New generated file.
50089         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50090         for Linux: use nsec instead of usec, as well as:
50091         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50092         members of type struct timespec.
50093         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50094         New macros.
50095         (struct stat64): Likewise.
50096         (_STATBUF_ST_NSEC): New macro.
50097         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50099         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50100         __strtoul_internal rather than strtoul.
50102 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50104         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50105         and reject them.
50107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50109         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50110         which preserves existing values.
50111         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50113 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50115         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50116         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50117         greater than FD_SETSIZE.
50119 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50121         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50122         allocated, call __vm_protect to finish enabling the existing space, and
50123         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50124         allocate the remainder.
50126 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50128         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50129         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50131 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50133         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50134         sysdeps/mach/hurd/readlink.c.
50136         * posix/tst-sysconf.c (posix_options): Only use
50137         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50138         _POSIX_SYNCHRONIZED_IO when they are defined
50139         * sysdeps/mach/hurd/bits/posix_opt.h:
50140         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50141         (_XOPEN_REALTIME): Undefine macro.
50142         (_XOPEN_REALTIME_THREADS): Undefine macro.
50143         (_XOPEN_SHM): Undefine macro.
50144         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50145         macro to -1.
50146         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50147         macro to -1.
50148         (_POSIX_ASYNC_IO): Undefine macro.
50149         (_POSIX_PRIORITIZED_IO): Undefine macro.
50150         (_POSIX_SPIN_LOCKS): Define macro to -1.
50152         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50153         SA_NODEFER, SA_RESETHAND.
50154         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50155         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50156         F_DUPFD_CLOEXEC.
50158 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50160         * elf/Makefile (pldd-modules): Define unconditionally.
50162 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50164         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50166 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50168         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50169         Return ENOENT when name is empty.
50170         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50172 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50174         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50176         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50178 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50180         Fix mlock in all cases except non-readable pages.
50181         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50182         instead of VM_PROT_ALL as parameter to __vm_wire function.
50184         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50185         (__mkdir): When path is `/', just fail with EEXIST.
50186         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50188 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50190         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50191         <sys/uio.h> (for writev).
50192         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50193         and <sys/param.h> (for MIN).
50195 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50197         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50198         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50199         if interrupted.
50201 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50203         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50204         Depend on against $(link-rpcuserlibs).
50206 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50208         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50209         (__libc_stack_end): Do not use attribute_relro.
50210         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50211         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50212         to libthread-provided value.
50213         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50214         attribute_relro.
50216 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50218         [BZ #3748]
50219         * bits/libc-lock.h (__libc_once_get): New macro.
50220         * sysdeps/mach/bits/libc-lock.h: Likewise.
50221         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50222         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50223         instead of using implementation details.
50225         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50226         * libio/freopen.c: Likewise.
50227         * libio/freopen64.c: Likewise.
50228         * misc/syslog.c: Likewise.
50229         * nscd/connections.c: Likewise.
50230         * nscd/netgroupcache.c: Likewise.
50231         * sysdeps/posix/getcwd.c: Likewise.
50233 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50235         * math/w_ilogbf.c: Add #include <limits.h>.
50237 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50239         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50240         path instead of returning without unlocking.
50242         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50243         immediate-write ioctls.
50244         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50246 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50248         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50249         __builtin_frame_address instead of making assumptions about the
50250         location of the return address relative to DATA.  Force early load of
50251         the return address.
50252         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50253         __builtin_frame_address.
50255         dup3 for GNU Hurd.
50256         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50257         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50258         implement dup3 and do some further code clean-ups.
50259         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50260         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50262 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50264         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50266         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50267         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50268         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50269         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50270         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50271         d->port.lock.
50273         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50274         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50275         when handler == SIG_ERR, not when handler != SIG_ERR.
50277 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50279         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50280         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50281         definitions.
50283         accept4 for GNU Hurd.
50284         * include/sys/socket.h (__libc_accept4): New prototype.
50285         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50286         to implement __libc_accept4.
50287         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50288         __libc_accept4.
50289         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50291         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50292         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50293         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50294         signal-defines.sym.
50296 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50298         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50300 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50302         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50303         assertion on O_CLOEXEC flag.
50304         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50305         * hurd/intern-fd.c: Likewise.
50306         * hurd/port2fd.c: Likewise.
50308 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50310         [BZ #3906]
50311         * bits/in.h (IPV6_PKTINFO): Define new macro.
50312         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50314 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50316         [BZ #13954]
50317         [BZ #13955]
50318         [BZ #13956]
50319         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50320         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50321         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50322         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50323         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50324         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50325         * math/libm-test.inc (logb_test) : Additional logb tests.
50327 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50328             Andreas Jaeger  <aj@suse.de>
50330         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50331         * configure: Regenerated.
50332         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50333         * config.make.in (link-obsolete-rpc): New substituted variable.
50334         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50335         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50336         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50337         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50338         so that libc.a contains the symbols.
50339         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50340         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50341         * sunrpc/auth_none.c: Likewise.
50342         * sunrpc/auth_unix.c: Likewise.
50343         * sunrpc/authdes_prot.c: Likewise.
50344         * sunrpc/authuxprot.c: Likewise.
50345         * sunrpc/clnt_gen.c: Likewise.
50346         * sunrpc/clnt_perr.c: Likewise.
50347         * sunrpc/clnt_raw.c: Likewise.
50348         * sunrpc/clnt_simp.c: Likewise.
50349         * sunrpc/clnt_tcp.c: Likewise.
50350         * sunrpc/clnt_udp.c: Likewise.
50351         * sunrpc/clnt_unix.c: Likewise.
50352         * sunrpc/des_crypt.c: Likewise.
50353         * sunrpc/des_soft.c: Likewise.
50354         * sunrpc/get_myaddr.c: Likewise.
50355         * sunrpc/key_call.c: Likewise.
50356         * sunrpc/key_prot.c: Likewise.
50357         * sunrpc/netname.c: Likewise.
50358         * sunrpc/pm_getmaps.c: Likewise.
50359         * sunrpc/pm_getport.c: Likewise.
50360         * sunrpc/pmap_clnt.c: Likewise.
50361         * sunrpc/pmap_prot.c: Likewise.
50362         * sunrpc/pmap_prot2.c: Likewise.
50363         * sunrpc/pmap_rmt.c: Likewise.
50364         * sunrpc/publickey.c: Likewise.
50365         * sunrpc/rpc_cmsg.c: Likewise.
50366         * sunrpc/rpc_common.c: Likewise.
50367         * sunrpc/rpc_dtable.c: Likewise.
50368         * sunrpc/rpc_prot.c: Likewise.
50369         * sunrpc/rpc_thread.c: Likewise.
50370         * sunrpc/rtime.c: Likewise.
50371         * sunrpc/svc.c: Likewise.
50372         * sunrpc/svc_auth.c: Likewise.
50373         * sunrpc/svc_raw.c: Likewise.
50374         * sunrpc/svc_run.c: Likewise.
50375         * sunrpc/svc_tcp.c: Likewise.
50376         * sunrpc/svc_udp.c: Likewise.
50377         * sunrpc/svc_unix.c: Likewise.
50378         * sunrpc/svcauth_des.c: Likewise.
50379         * sunrpc/xcrypt.c: Likewise.
50380         * sunrpc/xdr.c: Likewise.
50381         * sunrpc/xdr_array.c: Likewise.
50382         * sunrpc/xdr_float.c: Likewise.
50383         * sunrpc/xdr_intXX_t.c: Likewise.
50384         * sunrpc/xdr_mem.c: Likewise.
50385         * sunrpc/xdr_rec.c: Likewise.
50386         * sunrpc/xdr_ref.c: Likewise.
50387         * sunrpc/xdr_sizeof.c: Likewise.
50388         * sunrpc/xdr_stdio.c: Likewise.
50390 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50392         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50393         change.  Update copyright years.
50395 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50397         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50399 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50400             Joseph Myers  <joseph@codesourcery.com>
50401             Paul Pluzhnikov  <ppluzhnikov@google.com>
50403         [BZ #14012]
50404         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50405         requiring rpcgen.
50406         [cross-compiling] (extra-libs): Likewise.
50407         [cross-compiling] (extra-libs-others): Likewise.
50408         [cross-compiling] (librpcsvc-routines): Likewise.
50409         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50410         [cross-compiling] (omit-deps): Likewise.
50411         (sunrpc-CPPFLAGS): New variable.
50412         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50413         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50414         (cross-rpcgen-objs): New variable.
50415         (extra-objs): Append $(cross-rpcgen-objs).
50416         ($(cross-rpcgen-objs)): New rule.
50417         ($(objpfx)cross-rpcgen): Likewise.
50418         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50419         comment.
50420         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50421         ($(objpfx)x%.stmp): Likewise.
50422         * sunrpc/proto.h [IS_IN_build] (_): Define.
50423         [IS_IN_build] (_libc_intl_domainname): Likewise.
50425 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50427         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50428         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50429         and R_X86_64_TPOFF64.
50431 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50433         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50434         sysdeps/unix/sysv/syscalls.list.
50435         (stime): Likewise.
50436         (utime): Likewise.
50437         * sysdeps/unix/sysv/syscalls.list: Remove file.
50439 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50441         [BZ #3440]
50442         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50443         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50444         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50445         (__LC_IDENTIFICATION): Make these macros useful in #if
50446         expressions, as required by C99.
50448 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50450         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50451         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50452         after this.
50454 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50456         * stdlib/longlong.h: Updated from GCC.
50458 2012-05-09  Andreas Jaeger  <aj@suse.de>
50460         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50461         default is first entry.
50462         (run_mode): Set type.
50463         (main): Remove informal message about syslog.
50464         (options): Fix typo.
50466         [BZ #14053]
50467         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50468         to asm.
50469         (lrint): Likewise.
50470         (llrintf): Likewise.
50471         (llrint): Likewise.
50472         (rint): Likewise.
50473         (rintf): Likewise.
50474         (nearbyint): Likewise.
50475         (nearbyintf): Likewise.
50477 2012-05-09  Andreas Jaeger  <aj@suse.de>
50478             Pedro Alves  <palves@redhat.com>
50480         * nscd/nscd.c (run_mode): Use enum.
50481         (main): Cleanup coding style issue.
50483 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50484             Andreas Jaeger  <aj@suse.de>
50486         * nscd/nscd.c (go_background): Replaced with...
50487         (run_mode): ... this.
50488         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50489         (options): Add -F --foreground.
50490         (main): Implement it.
50491         (parse_opt): Parse it.
50493 2012-05-09  Andreas Jaeger  <aj@suse.de>
50495         [BZ #14083]
50496         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50497         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50498         -Wconversion warning.
50499         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50500         Likewise.
50502 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50504         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50505         == 0.
50506         (LC_ALL): Use macro-int-constant.
50507         (LC_COLLATE): Likewise.
50508         (LC_CTYPE): Likewise.
50509         (LC_MESSAGES): Likewise.
50510         (LC_MONETARY): Likewise.
50511         (LC_NUMERIC): Likewise.
50512         (LC_TIME): Likewise.
50513         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50514         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50515         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50516         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50517         Specify type.
50518         [C99-based standards] (float_t): Expect type.
50519         [C99-based standards] (double_t): Expect type.
50520         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50521         type.
50522         [C99-based standards] (HUGE_VALL): Likewise.
50523         [C99-based standards] (INFINITY): Likewise.
50524         [C99-based standards] (NAN): Likewise.
50525         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50526         [C99-based standards] (FP_NAN): Likewise.
50527         [C99-based standards] (FP_NORMAL): Likewise.
50528         [C99-based standards] (FP_SUBNORMAL): Likewise.
50529         [C99-based standards] (FP_ZERO): Likewise.
50530         [C99-based standards] (FP_FAST_FMA): Use
50531         optional-macro-int-constant.  Specify type.  Require == 1.
50532         [C99-based standards] (FP_FAST_FMAF): Likewise.
50533         [C99-based standards] (FP_FAST_FMAL): Likewise.
50534         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50535         [C99-based standards] (FP_ILOGBNAN): Likewise.
50536         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50537         Specify type.
50538         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50539         [C99-based standards] (math_errhandling): Specify type.
50540         [ISO99 || ISO11] (signgam): Do not allow.
50541         [non-C99-based standards] (copysignf): Do not allow.
50542         [non-C99-based standards] (exp2f): Likewise.
50543         [non-C99-based standards] (log2f): Likewise.
50544         [non-C99-based standards] (modff): Allow.
50545         [non-C99-based standards] (erff): Do not allow.
50546         [non-C99-based standards] (erfcf): Likewise.
50547         [non-C99-based standards] (gammaf): Likewise.
50548         [non-C99-based standards] (hypotf): Likewise.
50549         [non-C99-based standards] (j0f): Likewise.
50550         [non-C99-based standards] (j1f): Likewise.
50551         [non-C99-based standards] (jnf): Likewise.
50552         [non-C99-based standards] (lgammaf): Likewise.
50553         [non-C99-based standards] (tgammaf): Likewise.
50554         [non-C99-based standards] (y0f): Likewise.
50555         [non-C99-based standards] (y1f): Likewise.
50556         [non-C99-based standards] (ynf): Likewise.
50557         [non-C99-based standards] (isnanf): Likewise.
50558         [non-C99-based standards] (acoshf): Likewise.
50559         [non-C99-based standards] (asinhf): Likewise.
50560         [non-C99-based standards] (atanhf): Likewise.
50561         [non-C99-based standards] (cbrtf): Likewise.
50562         [non-C99-based standards] (expm1f): Likewise.
50563         [non-C99-based standards] (ilogbf): Likewise.
50564         [non-C99-based standards] (log1pf): Likewise.
50565         [non-C99-based standards] (logbf): Likewise.
50566         [non-C99-based standards] (nextafterf): Likewise.
50567         [non-C99-based standards] (remainderf): Likewise.
50568         [non-C99-based standards] (rintf): Likewise.
50569         [non-C99-based standards] (scalbf): Likewise.
50570         [non-C99-based standards] (copysignl): Likewise.
50571         [non-C99-based standards] (exp2l): Likewise.
50572         [non-C99-based standards] (log2l): Likewise.
50573         [non-C99-based standards] (modfl): Allow.
50574         [non-C99-based standards] (erfl): Do not allow.
50575         [non-C99-based standards] (erfcl): Likewise.
50576         [non-C99-based standards] (gammal): Likewise.
50577         [non-C99-based standards] (hypotl): Likewise.
50578         [non-C99-based standards] (j0l): Likewise.
50579         [non-C99-based standards] (j1l): Likewise.
50580         [non-C99-based standards] (jnl): Likewise.
50581         [non-C99-based standards] (lgammal): Likewise.
50582         [non-C99-based standards] (tgammal): Likewise.
50583         [non-C99-based standards] (y0l): Likewise.
50584         [non-C99-based standards] (y1l): Likewise.
50585         [non-C99-based standards] (ynl): Likewise.
50586         [non-C99-based standards] (isnanl): Likewise.
50587         [non-C99-based standards] (acoshl): Likewise.
50588         [non-C99-based standards] (asinhl): Likewise.
50589         [non-C99-based standards] (atanhl): Likewise.
50590         [non-C99-based standards] (cbrtl): Likewise.
50591         [non-C99-based standards] (expm1l): Likewise.
50592         [non-C99-based standards] (ilogbl): Likewise.
50593         [non-C99-based standards] (log1pl): Likewise.
50594         [non-C99-based standards] (logbl): Likewise.
50595         [non-C99-based standards] (nextafterl): Likewise.
50596         [non-C99-based standards] (remainderl): Likewise.
50597         [non-C99-based standards] (rintl): Likewise.
50598         [non-C99-based standards] (scalbl): Likewise.
50599         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50600         [non-C99-based standards] (FP_*): Do not allow.
50601         [C99-based standards] (FP_*): Change to
50602         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50603         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50604         allow.
50605         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50606         (SIG_ERR): Likewise.
50607         [X/Open-based standards] (SIG_HOLD): Likewise.
50608         (SIG_IGN): Likewise.
50609         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50610         positive value.
50611         (SIGFPE): Likewise.
50612         (SIGILL): Likewise.
50613         (SIGINT): Likewise.
50614         (SIGSEGV): Likewise.
50615         (SIGTER): Likewise.
50616         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50617         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50618         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50619         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50620         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50621         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50622         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50623         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50624         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50625         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50626         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50627         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50628         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50629         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50630         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50631         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50632         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50633         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50634         [X/Open-based standards] (SIGTRAP): Likewise.
50635         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50636         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50637         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50638         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50639         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50640         allow.
50642 2012-05-08  Ian Wienand  <ianw@vmware.com>
50644         [BZ #14080]
50645         * time/tzset.c (__tzset_parse_tz): Update default rules for
50646         daylight time changes in the Energy Policy Act of 2005.
50648 2012-05-09  Andreas Jaeger  <aj@suse.de>
50650         [BZ #13983]
50651         * elf/ldconfig.c (parse_conf): Change string to make clear that
50652         ldconfig only issued a warning if ld.so.conf does not exist.
50654 2012-05-08  David S. Miller  <davem@davemloft.net>
50656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50657         movxtod instead of popping the value on the stack.
50659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50661 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50663         * config.h.in: Add HAVE_ARM_PCS_VFP.
50665 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50667         [BZ #13979]
50668         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50669         checking but the checks are disabled for any reason.
50671 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50673         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50674         and ELF64_R_TYPE with ELFW(R_TYPE).
50676 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50678         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50679         (ulimit): Likewise.
50681         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50682         (settimeofday): Likewise.
50684 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50686         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50687         a struct th_u2 inside the union, and move tu_block/tu_code into
50688         a new th_u3 union of tu_block/tu_code inside of that.  Move
50689         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50690         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50691         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50692         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50693         (th_stuff): Change to th_u1.tu_stuff.
50694         (th_data): Define.
50695         (th_msg): Change to th_u1.th_u2.tu_data.
50697 2012-05-07  David S. Miller  <davem@davemloft.net>
50699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50701         [BZ #14074]
50702         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50703         (SETUP_PIC_REG): Use it.
50704         (SETUP_PIC_REG_LEAF): Use it.
50706 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50708         [BZ #13885]
50709         [BZ #13923]
50710         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50711         USE_AS_EXPM1L.
50712         (EXPL_FINITE): Likewise.
50713         (FLDLOG): Likewise.
50714         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50715         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50716         e_expl.S.
50717         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50718         USE_AS_EXPM1L.
50719         (EXPL_FINITE): Likewise.
50720         (FLDLOG): Likewise.
50721         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50722         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50723         e_expl.S.
50724         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50725         test of -max_value argument for long double.
50726         * sysdeps/i386/fpu/libm-test-ulps: Update.
50727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50729 2012-05-06  David S. Miller  <davem@davemloft.net>
50731         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50732         quad soft-float symbols whose references which are compiler
50733         generated.
50734         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50736 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50738         [BZ #13884]
50739         [BZ #13914]
50740         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50741         USE_AS_EXP10L.
50742         (EXPL_FINITE): Likewise.
50743         (FLDLOG): Likewise.
50744         (c0): Likewise.
50745         (c1): Likewise.
50746         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50747         Adjust comments for base varying.
50748         (__expl_finite): Change alias to EXPL_FINITE.
50749         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50750         e_expl.S.
50751         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50752         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50753         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50754         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50755         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50756         USE_AS_EXP10L.
50757         (EXPL_FINITE): Likewise.
50758         (FLDLOG): Likewise.
50759         (c0): Likewise.
50760         (c1): Likewise.
50761         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50762         Adjust comments for base varying.
50763         (__expl_finite): Change alias to EXPL_FINITE.
50764         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50765         tests for bugs.
50766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50768         [BZ #14064]
50769         * math/libm-test.inc (check_float_internal): Correct ulp
50770         calculation for subnormal expected results.
50772 2012-05-06  Andreas Jaeger  <aj@suse.de>
50774         * Makeconfig (+math-flags): New, set to -frounding-math.
50775         (+cflags): Add +math-flags so that all of glibc gets compiled with
50776         it.
50778         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50780 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50782         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50783         Disable one test.
50785         [BZ #13787]
50786         [BZ #13922]
50787         [BZ #14036]
50788         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50789         (__ieee754_expl): Allow for and saturate large arguments.
50790         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50791         (u_threshold): Likewise.
50792         (__exp): Call __ieee754_exp before checking for overflow and
50793         underflow.
50794         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50795         (u_threshold): Likewise.
50796         (__expf): Call __ieee754_expf before checking for overflow and
50797         underflow.
50798         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50799         (u_threshold): Likewise.
50800         (__expl): Call __ieee754_expl before checking for overflow and
50801         underflow.
50802         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50803         (__ieee754_expl): Allow for and saturate large arguments.
50804         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50805         missing overflow exception on overflow.
50806         (expm1_test): Do not allow missing overflow exception on overflow.
50808         * sysdeps/i386/fpu/e_expl.c: Move to ...
50809         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50810         rather than using inline asm.
50811         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50812         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50813         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50815         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50816         (nice): Likewise.
50817         (poll): Likewise.
50818         (signal): Likewise.
50819         (time): Likewise.
50820         (times): Likewise.
50822 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50824         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50825         sysdeps/unix/common/syscalls.list.
50826         (fchmod): Likewise.
50827         (fchown): Likewise.
50828         (ftruncate): Likewise.
50829         (getrusage): Likewise.
50830         (gettimeofday): Likewise.
50831         (setpgid): Likewise.
50832         (setregid): Likewise.
50833         (setreuid): Likewise.
50834         (sigaction): Likewise.
50835         (truncate): Likewise.
50836         (vhangup): Likewise.
50837         * sysdeps/unix/common/syscalls.list: Remove file.
50838         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50839         * sysdeps/unix/sysv/linux/Implies: Likewise.
50841 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50843         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50845         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50846         Moved to ...
50847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50848         Here.
50849         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50850         to ...
50851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50852         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50853         to ...
50854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50855         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50856         to ...
50857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50858         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50859         to ...
50860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50861         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50862         to ...
50863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50864         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50865         to ...
50866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50867         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50868         to ...
50869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50870         Here.
50871         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50872         to ...
50873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50874         Here.
50875         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50876         to ...
50877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50878         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50879         Moved to ...
50880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50881         Here.
50882         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50883         to ...
50884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50886 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50888         * sysdeps/unix/common/bits/dirent.h: Remove file.
50889         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50891         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50892         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50893         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50894         * sysdeps/unix/bsd/isatty.c: Likewise.
50895         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50896         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50897         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50899 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50901         [BZ #13563]
50902         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50903         long double comparison inaccuracies.
50904         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50907 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50909         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50910         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50912 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50914         [BZ #14049]
50915         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50916         nonzero digits before rounding a hex value.
50917         * stdlib/tst-strtod.c (tests): Add another test.
50919 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50921         * sysdeps/s390/fpu/libm-test-ulps: Update.
50923 2012-05-03  Andreas Jaeger  <aj@suse.de>
50925         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50926         does not get optimized out.
50927         (malloc_opt_barrier): New.
50929 2012-05-03  Andreas Jaeger  <aj@suse.de>
50930             Roland McGrath  <roland@hack.frob.com>
50932         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50933         intermediate file deletion.
50934         (generated): Add .symlist files.
50936 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50938         [BZ #13775]
50939         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50940         Redirect under this condition.
50941         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50942         [__USE_GNU] (__dprintf_chk): Not under this condition.
50943         [__USE_GNU] (__vdprintf_chk): Likewise.
50944         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50945         under this condition.
50946         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50947         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50948         [__USE_XOPEN2K8] (vdprintf): Likewise.
50949         [__USE_GNU] (__dprintf_chk): Not under this condition.
50950         [__USE_GNU] (__vdprintf_chk): Likewise.
50951         [__USE_GNU] (dprintf): Likewise.
50952         [__USE_GNU] (vdprintf): Likewise.
50954 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50956         * elf/Makefile (common-generated): Set this instead of generated for
50957         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50958         $(all-built-dso)-derived lists.
50960 2012-05-03  Andreas Jaeger  <aj@suse.de>
50962         * sysdeps/i386/fpu/libm-test-ulps: Update.
50964         * FAQ: Removed.
50965         * FAQ.in: Likewise.
50966         * scripts/gen-FAQ.pl: Likewise.
50967         * manual/install.texi (Installation): Point to online location of
50968         FAQ.
50969         * Makefile (files-for-dist): Remove FAQ.
50970         (FAQ): Remove.
50972 2012-05-02  Allan McRae  <allan@archlinux.org>
50974         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50975         (LDFLAGS-reldepmod5.so): Likewise.
50976         (LDFLAGS-reldep6mod1.so): Likewise.
50977         (LDFLAGS-reldep6mod4.so): Likewise.
50978         (LDFLAGS-reldep8mod3.so): Likewise.
50979         (LDFLAGS-unload4mod1.so): Likewise.
50980         (LDFLAGS-unload4mod2.so): Likewise.
50981         (LDFLAGS-tst-initorder): Likewise.
50982         (LDFLAGS-tst-initordera2.so): Likewise.
50983         (LDFLAGS-tst-initordera3.so): Likewise.
50984         (LDFLAGS-tst-initordera4.so): Likewise.
50985         (LDFLAGS-tst-initorderb2.so): Likewise.
50986         (LDFLAGS-noload): Likewise.
50987         (LDFLAGS-next): Likewise.
50988         (LDFLAGS-order2mod1.so): Likewise.
50989         (LDFLAGS-order2mod2.so): Likewise.
50990         (LDFLAGS-tst-initorder2): Likewise.
50991         (LDFLAGS-tst-initorder2a.so): Likewise.
50992         (LDFLAGS-tst-initorder2b.so): Likewise.
50993         (LDFLAGS-tst-initorder2c.so): Likewise.
50994         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50996 2012-05-02  David S. Miller  <davem@davemloft.net>
50998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51000 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51002         [BZ #14055]
51003         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51005 2012-05-02  Andreas Jaeger  <aj@suse.de>
51007         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51008         since we manipulate rounding mode.
51009         (CPPFLAGS-test-idouble.c): Likewise.
51010         (CPPFLAGS-test-ifloat.c): Likewise.
51011         (CFLAGS-test-ldouble.c): Likewise.
51012         (CFLAGS-test-double.c): Likewise.
51013         (CFLAGS-test-float.c): Likewise.
51014         (CFLAGS-test-misc.c): Likewise.
51015         (CFLAGS-test-test-fenv.c): Likewise.
51017 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51019         [BZ #2550]
51020         [BZ #2570]
51021         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51022         comparisons to determine direction to adjust input.
51024 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51026         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51027         output to the target.
51029         * scripts/localplt.awk: New file.
51030         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51031         (check-localplt-CFLAGS): Variable removed.
51032         ($(all-built-dso:=.jmprel)): New static pattern rule.
51033         (generated): Add those targets.
51034         (localplt-built-dso): New variable.
51035         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51037         * elf/check-localplt.c: File removed.
51039         * scripts/check-execstack.awk: New file.
51040         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51041         (check-execstack-CFLAGS): Variable removed.
51042         ($(objpfx)check-execstack.h): Target removed.
51043         ($(objpfx)execstack-default): New target.
51044         (generated): Add that instead of check-execstack.h.
51045         ($(all-built-dso:=.phdr)): New static pattern rule.
51046         (generated): Add those targets.
51047         * elf/check-execstack.c: File removed.
51049         * scripts/check-textrel.awk: New file.
51050         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51051         (check-textrel-CFLAGS): Variable removed.
51052         (all-built-dso): Use := to define.o
51053         ($(all-built-dso:=.dyn)): New static pattern rule.
51054         (generated): Add those targets.
51055         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51056         * config.make.in (READELF): New substituted variable.
51057         * elf/check-textrel.c: File removed.
51059 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51061         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51062         allow.
51063         * conform/data/ctype.h-data [C99-based standards] (isblank):
51064         Expect function.
51065         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51066         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51067         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51068         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51069         Specify type.  Require positive value.
51070         (EILSEQ): Likewise.
51071         (ERANGE): Likewise.
51072         [ISO || POSIX] (EILSEQ): Do not expect.
51073         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51074         Specify type.  Require positive value.
51075         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51076         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51077         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51078         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51079         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51080         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51081         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51082         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51083         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51084         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51085         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51086         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51087         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51088         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51089         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51090         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51091         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51092         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51093         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51094         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51095         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51096         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51097         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51098         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51099         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51100         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51101         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51102         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51103         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51104         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51105         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51106         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51107         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51108         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51109         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51110         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51111         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51112         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51113         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51114         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51115         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51116         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51117         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51118         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51119         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51120         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51121         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51122         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51123         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51124         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51125         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51126         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51127         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51128         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51129         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51130         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51131         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51132         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51133         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51134         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51135         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51136         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51137         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51138         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51139         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51140         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51141         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51142         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51143         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51144         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51145         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51146         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51147         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51148         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51149         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51150         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51151         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51152         Require >= 2.
51153         (FLT_ROUNDS): Expect as macro, not constant.
51154         (FLT_MANT_DIG): Use macro-int-constant.
51155         (DBL_MANT_DIG): Likewise.
51156         (LDBL_MANT_DIG): Likewise.
51157         (FLT_DIG): Likewise.
51158         (DBL_DIG): Likewise.
51159         (LDBL_DIG): Likewise.
51160         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51161         (DBL_MIN_EXP): Likewise.
51162         (LDBL_MIN_EXP): Likewise.
51163         (FLT_MAX_EXP): Use macro-int-constant.
51164         (DBL_MAX_EXP): Likewise.
51165         (LDBL_MAX_EXP): Likewise.
51166         (FLT_MAX_10_EXP): Likewise.
51167         (DBL_MAX_10_EXP): Likewise.
51168         (LDBL_MAX_10_EXP): Likewise.
51169         (FLT_MAX): Use macro-constant.
51170         (DBL_MAX): Likewise.
51171         (LDBL_MAX): Likewise.
51172         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51173         (DBL_EPSILON): Likewise.
51174         (LDBL_EPSILON): Likewise.
51175         (FLT_MIN): Likewise.
51176         (DBL_MIN): Likewise.
51177         (LDBL_MIN): Likewise.
51178         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51179         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51180         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51181         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51182         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51183         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51184         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51185         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51186         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51187         [ISO11] (FLT_TRUE_MIN): Likewise.
51188         [ISO11] (LDBL_TRUE_MIN): Likewise.
51189         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51190         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51191         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51192         (SCHAR_MAX): Likewise.
51193         (UCHAR_MAX): Likewise.
51194         (CHAR_MIN): Likewise.
51195         (CHAR_MAX): Likewise.
51196         (MB_LEN_MAX): Use macro-int-constant.
51197         (SHRT_MIN): Use macro-int-constant.  Specify type.
51198         (SHRT_MAX): Likewise.
51199         (USHRT_MAX): Likewise.
51200         (INT_MAX): Likewise.
51201         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51202         bound negative.
51203         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51204         bound with "U".
51205         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51206         bound with "L".
51207         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51208         bound negative.  Suffix upper bound with "L".
51209         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51210         bound with "UL".
51211         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51212         Specify type.
51213         [C99-based standards] (LLONG_MAX): Likewise.
51214         [C99-based standards] (ULLONG_MAX): Likewise.
51215         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51216         == 0.
51217         [ISO11] (max_align_t): Require type.
51218         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51220         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51221         from $CFLAGS, without defining away __attribute__ calls.
51222         (checknamespace): Use $CFLAGS_namespace.
51224         * conform/conformtest.pl (@keywords): Only include C99 keywords
51225         for standards based on C99 or C11.
51227         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51228         Disable tests.
51229         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51230         UNIX98]: Likewise.
51232         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51233         usability of symbols in #if.
51235         * conform/conformtest.pl: If macro or constant types start
51236         "promoted:", expect the symbol to be of the following type
51237         promoted by the integer promotions.
51239         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51240         in one place.  Also handle "macro-constant".
51242         * conform/conformtest.pl: Only accept expected macro values with
51243         "==".  Parse all "macro" lines in one place.
51244         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51246         * conform/conformtest.pl: Handle braced types on "constant" lines
51247         instead of handling "typed-constant".
51248         * conform/data/signal.h-data: Use "constant" instead of
51249         "typed-constant".
51251         * conform/conformtest.pl: Handle "optional-" at start of lines in
51252         one place rather than duplicating several cases.  Handle each
51253         format of "macro" line with initial "optional-".
51255         * conform/conformtest.pl: Only accept expected constant or
51256         optional-constant values with "==".  Parse all "constant" lines in
51257         one place.  Parse all "optional-constant" lines in one place.
51258         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51259         * conform/data/fmtmsg.h-data: Likewise.
51260         * conform/data/netinet/in.h-data: Likewise.
51261         * conform/data/tar.h-data: Likewise.
51262         * conform/data/limits.h-data: Use "==" form on "constant" and
51263         "optional-constant" lines.
51265         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51266         Use -std=c99 for XOPEN2K.
51267         (@knownproblems): Remove.
51268         (newtoken): Don't check %isknown.
51270         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51271         Do not expect macro.
51272         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51273         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51274         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51275         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51276         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51277         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51278         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51279         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51280         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51281         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51282         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51283         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51284         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51285         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51286         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51287         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51288         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51289         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51290         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51291         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51292         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51293         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51294         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51295         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51296         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51297         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51298         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51299         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51300         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51301         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51302         [XPG3] (acosh): Likewise.
51303         [XPG3] (asinh): Likewise.
51304         [XPG3] (atanh): Likewise.
51305         [XPG3] (cbrt): Likewise.
51306         [XPG3] (expm1): Likewise.
51307         [XPG3] (ilogb): Likewise.
51308         [XPG3] (log1p): Likewise.
51309         [XPG3] (logb): Likewise.
51310         [XPG3] (nextafter): Likewise.
51311         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51312         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51313         [XPG3] (remainder): Likewise.
51314         [XPG3] (rint): Likewise.
51315         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51316         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51317         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51318         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51319         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51320         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51321         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51322         [UNIX98 || XOPEN2K] (scalb): Expect.
51323         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51324         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51325         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51326         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51327         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51328         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51329         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51330         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51331         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51332         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51333         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51334         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51335         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51336         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51337         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51338         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51339         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51340         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51341         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51342         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51343         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51344         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51345         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51346         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51347         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51348         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51349         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51350         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51351         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51352         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51353         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51354         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51355         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51356         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51357         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51358         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51359         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51360         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51361         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51362         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51363         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51364         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51365         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51366         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51367         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51368         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51369         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51370         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51371         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51372         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51373         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51374         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51375         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51376         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51377         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51378         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51379         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51380         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51381         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51382         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51383         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51384         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51385         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51386         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51387         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51388         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51389         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51390         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51391         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51392         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51393         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51394         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51395         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51396         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51397         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51398         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51399         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51400         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51401         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51402         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51403         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51404         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51405         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51406         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51407         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51408         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51409         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51410         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51411         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51412         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51413         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51414         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51415         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51416         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51417         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51418         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51419         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51420         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51421         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51422         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51423         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51424         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51425         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51426         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51427         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51428         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51429         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51430         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51431         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51432         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51433         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51434         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51435         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51436         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51437         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51438         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51439         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51440         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51441         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51442         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51443         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51444         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51445         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51446         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51447         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51448         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51449         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51450         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51451         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51452         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51453         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51454         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51455         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51456         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51457         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51458         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51459         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51461         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51462         _XOPEN_SOURCE_EXTENDED for XPG4.
51464         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51466         * Makeconfig (localtime): Remove variable.
51467         (inst_localtime-file): Likewise.
51469 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51472         Update.
51473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51474         Update.
51475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51476         Update.
51477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51478         Update.
51479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51480         Update.
51481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51482         Update.
51483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51484         Update.
51485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51486         Update.
51487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51488         Update.
51490 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51492         [BZ #2550]
51493         [BZ #2570]
51494         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51495         comparisons to determine direction to adjust input.
51496         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51497         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51498         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51499         Likewise.
51500         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51501         Likewise.
51502         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51503         Likewise.
51504         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51505         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51506         Likewise.
51507         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51508         Likewise.
51509         * math/libm-test.inc (nexttoward_test): Add more tests.
51511 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51513         [BZ #14040]
51514         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51515         in version GLIBC_2.1, not GLIBC_2.0.
51516         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51517         Likewise.
51519 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51521         [BZ #13942]
51522         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51523         (1 - x) * (1 + x).
51524         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51525         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51526         * math/libm-test.inc (acos_test): Add more tests.
51527         (asin_test): Likewise.
51528         * sysdeps/i386/fpu/libm-test-ulps: Update.
51529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51531         [BZ #14034]
51532         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51533         of square root.
51534         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51535         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51536         * math/libm-test.inc (acos_test_tonearest): New function.
51537         (acos_test_towardzero): Likewise.
51538         (acos_test_downward): Likewise.
51539         (acos_test_upward): Likewise.
51540         (asin_test_tonearest): Likewise.
51541         (asin_test_towardzero): Likewise.
51542         (asin_test_downward): Likewise.
51543         (asin_test_upward): Likewise.
51544         (main): Call the new functions.
51545         * sysdeps/i386/fpu/libm-test-ulps: Update.
51546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51548         [BZ #13884]
51549         [BZ #13924]
51550         * math/e_exp10.c: Include <float.h>.
51551         (__ieee754_exp10): Handle underflow here rather than multiplying
51552         large negative argument by M_LN10.
51553         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51554         of __ieee754_expf.
51555         * math/e_exp10l.c: Include <float.h>.
51556         (__ieee754_exp10l): Handle underflow here rather than multiplying
51557         large negative argument by M_LN10l.
51558         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51559         spurious overflow exception on underflow.
51561 2012-04-29  Marek Polacek  <polacek@redhat.com>
51563         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51564         (__fortify_function): New macro.
51565         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51566         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51567         __extern_always_inline.
51568         * libio/bits/stdio2.h: Likewise.
51569         * libio/bits/stdio.h: Likewise.
51570         * string/string.h: Likewise.
51571         * string/bits/string3.h: Likewise.
51572         * include/stdio.h: Likewise.
51573         * stdlib/bits/stdlib.h: Likewise.
51574         * stdlib/stdlib.h: Likewise.
51575         * rt/bits/mqueue2.h: Likewise.
51576         * rt/mqueue.h: Likewise.
51577         * posix/bits/unistd.h: Likewise.
51578         * posix/unistd.h: Likewise.
51579         * io/bits/poll2.h: Likewise.
51580         * io/bits/fcntl2.h: Likewise.
51581         * io/fcntl.h: Likewise.
51582         * io/sys/poll.h: Likewise.
51583         * misc/bits/syslog.h: Likewise.
51584         * misc/bits/syslog-ldbl.h: Likewise.
51585         * misc/sys/syslog.h: Likewise.
51586         * socket/bits/socket2.h: Likewise.
51587         * socket/sys/socket.h: Likewise.
51588         * debug/tst-chk1.c: Likewise.
51589         * wcsmbs/bits/wchar2.h: Likewise.
51590         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51591         * wcsmbs/wchar.h: Likewise.
51593 2012-04-29  Andreas Jaeger  <aj@suse.de>
51595         * Makerules (tests): Remove enable-check-abi protection.
51596         (check-abi-warn): Remove.
51597         (check-abi-%): Remove check-abi-warn usage.
51599         * configure.in: Remove check-abi configure option.
51600         * configure: Regenerated.
51601         * config.make.in (enable-check-abi): Remove.
51603 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51605         [BZ #14033]
51606         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51607         double functions to double *_finite functions.
51609         [BZ #13941]
51610         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51611         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51612         LDBL_MIN_EXP.
51613         * stdio-common/Makefile (tests): Add tst-sprintf3.
51614         * stdio-common/tst-sprintf3.c: New file.
51616         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51617         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51619 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51621         * conform/conformtest.pl: Remove duplicate typed-constant
51622         handling.
51624 2012-04-28  David S. Miller  <davem@davemloft.net>
51626         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51627         (check-abi-%): Remove AWK script prerequisite and explicit
51628         abilist directory.
51629         (check-abi): Rewrite to just diff the symlist with the abilist.
51630         (config-tls, config-abi-config): Delete, no longer used.
51631         (update-abi-%): Remove AWK script and explicit abilist directory.
51632         (update-abi): Rewrite to simply compare and conditionally copy the
51633         symlist and the sysdep abilist file.  Remove update-abi-config
51634         checks.
51635         * abilist/ld.abilist: Remove.
51636         * abilist/libBrokenLocale.abilist: Remove.
51637         * abilist/libanl.abilist: Remove.
51638         * abilist/libcrypt.abilist: Remove.
51639         * abilist/libdl.abilist: Remove.
51640         * abilist/librt.abilist: Remove.
51641         * abilist/libthread_db.abilist: Remove.
51642         * abilist/libutil.abilist: Remove.
51643         * scripts/extract-abilist.awk: Remove.
51644         * scripts/merge-abilist.awk: Remove.
51645         * sysdeps/generic/libcidn.abilist: New file.
51646         * sysdeps/generic/libnss_compat.abilist: New file.
51647         * sysdeps/generic/libnss_db.abilist: New file.
51648         * sysdeps/generic/libnss_dns.abilist: New file.
51649         * sysdeps/generic/libnss_files.abilist: New file.
51650         * sysdeps/generic/libnss_hesiod.abilist: New file.
51651         * sysdeps/generic/libnss_nis.abilist: New file.
51652         * sysdeps/generic/libnss_nisplus.abilist: New file.
51653         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51654         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51655         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51656         file.
51657         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51658         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51659         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51660         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51661         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51662         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51663         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51664         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51665         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51666         file.
51667         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51668         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51669         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51670         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51671         file.
51672         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51673         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51674         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51675         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51676         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51677         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51678         file.
51679         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51680         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51681         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51682         file.
51683         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51684         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51685         New file.
51686         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51687         New file.
51688         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51689         New file.
51690         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51691         New file.
51692         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51693         New file.
51694         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51695         New file.
51696         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51697         New file.
51698         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51699         New file.
51700         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51701         New file.
51702         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51703         New file.
51704         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51705         New file.
51706         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51707         New file.
51708         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51709         New file.
51710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51711         file.
51712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51713         New file.
51714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51715         New file.
51716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51717         file.
51718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51719         New file.
51720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51721         New file.
51722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51723         file.
51724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51725         New file.
51726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51727         New file.
51728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51729         New file.
51730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51731         New file.
51732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51733         New file.
51734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51735         New file.
51736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51738         file.
51739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51740         New file.
51741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51742         file.
51743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51744         file.
51745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51746         file.
51747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51748         file.
51749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51750         file.
51751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51752         New file.
51753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51754         file.
51755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51756         file.
51757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51758         New file.
51759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51760         file.
51761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51763         file.
51764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51765         New file.
51766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51767         file.
51768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51769         file.
51770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51771         file.
51772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51773         file.
51774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51775         file.
51776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51777         New file.
51778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51779         file.
51780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51781         file.
51782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51783         New file.
51784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51785         file.
51786         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51787         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51788         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51789         file.
51790         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51791         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51792         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51793         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51794         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51795         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51796         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51797         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51798         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51799         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51802         file.
51803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51804         New file.
51805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51806         file.
51807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51808         file.
51809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51810         file.
51811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51812         file.
51813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51814         file.
51815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51816         New file.
51817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51818         New file.
51819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51820         file.
51821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51822         New file.
51823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51824         file.
51825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51827         file.
51828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51829         New file.
51830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51831         file.
51832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51833         file.
51834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51835         file.
51836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51837         file.
51838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51839         file.
51840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51841         New file.
51842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51843         New file.
51844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51845         file.
51846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51847         New file.
51848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51849         file.
51851 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51853         * conform/conformtest.pl: Fix typo in handling typed-constant from
51854         allow-header.
51856 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51858         * README: Cut down references to pre-2.6 Linux kernels and
51859         Linuxthreads.  Update lists of configurations in libc and ports
51860         and sort alphabetically.  Say "or newer" with Linux kernel version
51861         requirements.
51863         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51865 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51867         [BZ #887]
51868         * math/libm-test.inc (logb_test_downward): New test to expose
51869         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51870         rounding mode.
51872 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51874         [BZ #14027]
51875         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51876         to be done.
51877         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51878         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51880 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51882         * sysdeps/unix/i386/brk.S: Remove file.
51883         * sysdeps/unix/i386/dl-brk.S: Likewise.
51884         * sysdeps/unix/i386/pipe.S: Likewise.
51885         * sysdeps/unix/i386/sigreturn.S: Likewise.
51886         * sysdeps/unix/i386/syscall.S: Likewise.
51887         * sysdeps/unix/i386/vfork.S: Likewise.
51888         * sysdeps/unix/i386/wait.S: Likewise.
51890         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51891         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51893         * configure.in (arm*-none*): Do not allow without
51894         --enable-hacker-mode.
51895         (netbsd*): Remove case setting base_os.
51896         (386bsd*): Likewise.
51897         (freebsd*): Likewise.
51898         (bsdi*): Likewise.
51899         (osf*): Likewise.
51900         (sunos*): Likewise.
51901         (ultrix*): Likewise.
51902         (newsos*): Likewise.
51903         (dynix*): Likewise.
51904         (*bsd*): Likewise.
51905         (sysv*): Likewise.
51906         (isc*): Likewise.
51907         (esix*): Likewise.
51908         (sco*): Likewise.
51909         (minix*): Likewise.
51910         (irix4*): Likewise.
51911         (irix6*): Likewise.
51912         (solaris[2-9]*): Likewise.
51913         (none): Likewise.
51914         * configure: Regenerated.
51916 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51918         [BZ #11521]
51919         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51920         overflow or cancellation in calculating denominator.
51921         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51922         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51923         down expression to avoid unexpected rounding in newer GCCs.
51924         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51926 2012-04-26  David S. Miller  <davem@davemloft.net>
51928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51929         long-double compat symbols.
51930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51944 2012-04-25  David S. Miller  <davem@davemloft.net>
51946         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51947         HWCAP_* values only after the memory barriers have been defined.
51948         (atomic_full_barrier): Define.
51949         (atomic_read_barrier): Define.
51950         (atomic_write_barrier): Define.
51952 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51954         * shlib-versions: Add libgcc_s version information.
51955         * sysdeps/generic/libgcc_s.h: Remove.
51956         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51957         libgcc_s.h.
51958         * sysdeps/gnu/unwind-resume.c: Likewise.
51959         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51961 2012-04-25  David S. Miller  <davem@davemloft.net>
51963         * sysdeps/unix/sparc/brk.S: Delete.
51964         * sysdeps/unix/sparc/dl-brk.S: Delete.
51965         * sysdeps/unix/sparc/pipe.S: Delete.
51966         * sysdeps/unix/sparc/sysdep.S: Delete.
51967         * sysdeps/unix/sparc/sysdep.h: Delete.
51968         * sysdeps/unix/sparc/vfork.S: Delete.
51969         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51970         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51971         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51972         (ret_ERRVAL, r0, r1, MOVE): Define.
51973         (JUMPTARGET): Remove.
51974         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51975         sysdeps/unix/sparc/sysdep.h
51976         (ENTRY, END): Remove.
51977         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51979 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51981         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51982         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51983         -DIS_IN_build.
51985         * timezone/README: Update upstream location and email address for
51986         tzcode and tzdata.
51987         * timezone/zdump.c: Update from tzcode 2012b.
51988         * timezone/zic.c: Likewise.
51990         * configure.in (libc_cv_as_needed): Remove test.
51991         * configure: Regenerated.
51992         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51993         conditional definition.
51994         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51995         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51996         * config.make.in (have-as-needed): Remove variable.
51998 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51999             Paul Pluzhnikov  <ppluzhnikov@google.com>
52001         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52002         strings correctly.
52004 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52006         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52007         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52008         * sysdeps/sh/strlen.S: Likewise.
52010 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52012         * sysdeps/unix/fork.S: Remove file.
52013         * sysdeps/unix/i386/fork.S: Likewise.
52014         * sysdeps/unix/sparc/fork.S: Likewise.
52016         * sysdeps/unix/system.c: Remove file.
52017         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52019         * sysdeps/unix/getegid.S: Remove file.
52020         * sysdeps/unix/geteuid.S: Likewise.
52022 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52024         * scripts/check-localplt.awk: New file.
52025         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52026         of diff.
52027         * scripts/data/localplt-generic.data: Add a comment.
52029         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52030         NODE when __dir_mkfile failed.
52031         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52032         Reported by Ludovic Courtès <ludo@gnu.org>.
52034 2012-04-24  Andreas Jaeger  <aj@suse.de>
52036         * Makerules (common-clean): Also remove gen-as-const-headers
52037         files.
52039 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52041         * Makerules (native-compile): Do not change working directory for
52042         build.  Use $(OUTPUT_OPTION) in command.
52043         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52045 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52047         [BZ #13886]
52048         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52049         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52050         * math/libm-test.inc (floor_test): Add more tests.
52051         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52053 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52055         * sysdeps/unix/getdents.c: Remove file.
52056         * sysdeps/unix/sysv/getdents.c: Likewise.
52057         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52059         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52060         sysdeps/unix/mman/syscalls.list.
52061         (mmap): Likewise.
52062         (mprotect): Likewise.
52063         (msync): Likewise.
52064         (munmap): Likewise.
52065         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52066         * sysdeps/unix/mman/syscalls.list: Remove.
52067         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52069         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52070         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52071         * configure: Regenerated.
52072         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52073         $(libgcc_s_suffix).
52074         * config.make.in (libgcc_s_suffix): Remove variable.
52076 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52078         * sysdeps/unix/sysv/gethostname.c: Move to ...
52079         * sysdeps/posix/gethostname.c: ... here.
52081         * sysdeps/unix/execve.S: Remove file.
52083         * sysdeps/unix/_exit.S: Remove file.
52085 2012-04-23  Andreas Jaeger  <aj@suse.de>
52087         [BZ #13739]
52088         * manual/Makefile: Remove make dist support, there's no
52089         need for a stand-alone documentation tar ball.
52090         (TEXI2DVI): Define always, it's not in Makeconfig.
52091         (dist): Removed.
52092         (tar-it): Removed.
52093         (edition): Removed.
52094         (glibc-doc-$(edition).tar): Removed
52095         (%.Z): Removed.
52096         (%.gz): Removed.
52097         (%.uu): Removed.
52098         (ETAGS): Remove, it's in Makeconfig.
52099         (move-if-change): Remove, it's in Makeconfig.
52101 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52103         [BZ #13970]
52104         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52105         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52106         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52107         (strtod_l, strtof_l, strtold_l): Remove __wur.
52108         It is not necessarily an error to ignore strtol's return value.
52109         One can reliably look at the stored endptr to decide whether
52110         the number had valid syntax.
52112 2012-04-21  Andreas Jaeger  <aj@suse.de>
52114         [BZ #13739]
52115         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52117 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52119         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52120         * sysdeps/unix/sysv/Versions: Remove file.
52122 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52124         [BZ #13927]
52125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52127 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52129         [BZ #7064]
52130         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52131         version from __vm86.
52133 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52135         * sysdeps/unix/common/lxstat.c: Remove file.
52136         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52138         * sysdeps/unix/sysv/Makefile: Remove file.
52140         * sysdeps/unix/sysv/direct.h: Remove file.
52142         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52143         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52144         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52145         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52146         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52147         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52148         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52150         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52152         * sysdeps/unix/xmknod.c: Remove file.
52153         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52155         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52157         * sysdeps/unix/sysv/i386/time.S: Remove file.
52159         * sysdeps/unix/fxstat.c: Remove file.
52160         * sysdeps/unix/xstat.c: Likewise.
52161         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52163         * sysdeps/unix/sysv/sigaction.c: Remove file.
52165         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52166         (sysdep_headers): Remove variable.
52167         [termio.h not in sysdep_headers] (generated): Likewise.
52168         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52169         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52170         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52171         * sysdeps/unix/sysv/tcflow.c: Likewise.
52172         * sysdeps/unix/sysv/tcflush.c: Likewise.
52173         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52174         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52175         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52176         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52177         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52179         * sysdeps/unix/siglist.c: Remove file.
52181         * sysdeps/unix/getppid.S: Remove file.
52183         * sysdeps/unix/mkdir.c: Remove file.
52184         * sysdeps/unix/rmdir.c: Likewise.
52186 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52188         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52189         ERR_MAX value.
52190         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52191         errlist-compat value.
52193 2012-04-18  David S. Miller  <davem@davemloft.net>
52195         * sysdeps/generic/memcopy.h (reg_char): Delete.
52196         * debug/strcat_chk.c: Use char, not reg_char.
52197         * debug/strcpy_chk.c: Likewise.
52198         * debug/strncat_chk.c: Likewise.
52199         * debug/strncpy_chk.c: Likewise.
52200         * string/memchr.c: Likewise.
52201         * string/memrchr.c: Likewise.
52202         * string/rawmemchr.c: Likewise.
52203         * string/strcat.c: Likewise.
52204         * string/strchr.c: Likewise.
52205         * string/strchrnul.c: Likewise.
52206         * string/strcmp.c: Likewise.
52207         * string/strcpy.c: Likewise.
52208         * string/strncat.c: Likewise.
52209         * string/strncmp.c: Likewise.
52210         * string/strncpy.c: Likewise.
52212 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52214         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52215         __builtin_memcopy is called when src and dest ranges are known to not
52216         overlap.
52218 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52220         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52221         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52222         fwd_align_merge macro call.
52223         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52224         bwd_align_merge macro call.
52225         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52227 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52229         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52230         bwd_align_merge macros.
52231         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52232         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52233         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52235 2012-04-18  David S. Miller  <davem@davemloft.net>
52237         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52239 2012-04-18  Andreas Jaeger  <aj@suse.de>
52241         [BZ# 6794]
52242         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52243         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52244         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52246         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52247         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52248         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52250         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52251         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52252         Adjust for changed ldbl-128 files.
52254         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52255         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52256         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52258 2012-04-17  David S. Miller  <davem@davemloft.net>
52260         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52262 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52264         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52265         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52266         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52267         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52268         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52269         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52271 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52273         [BZ #6794]
52274         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52275         * math/libm-test.inc: Add ilogb errno and exception tests.
52276         * math/w_ilogb.c: New file: ilogb wrapper.
52277         * math/w_ilogbf.c: New file: ilogbf wrapper.
52278         * math/w_ilogbl.c: New file: ilogbl wrapper.
52279         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52280         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52281         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52282         exception being thrown with 0.0 as argument.
52283         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52284         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52285         exception being thrown with 0.0 as argument.
52286         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52287         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52288         exception being thrown with 0.0 as argument.
52289         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52290         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52291         exception being thrown with 0.0 as argument.
52292         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52293         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52294         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52295         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52296         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52297         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52298         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52299         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52300         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52302 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52304         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52305         with altivec.
52307 2012-04-16  Marek Polacek  <polacek@redhat.com>
52309         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52311 2012-04-16  Marek Polacek  <polacek@redhat.com>
52313         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52314         operands of fdivp instruction.
52316 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52318         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52319         * elf/tst-auditmod3b.c: Likewise.
52320         * elf/tst-auditmod4b.c: Likewise.
52321         * elf/tst-auditmod5b.c: Likewise.
52322         * elf/tst-auditmod6b.c: Likewise.
52323         * elf/tst-auditmod6c.c: Likewise.
52324         * elf/tst-auditmod7b.c: Likewise.
52325         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52326         * sysdeps/x86_64/preconfigure.in: Likewise.
52327         * sysdeps/x86_64/preconfigure: Regenerated.
52329 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52331         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52332         __ILP32__.
52334 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52336         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52337         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52339 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52341         [BZ #13973]
52342         * locale/iso-639.def: Fix gl language name. Spotted by
52343         Yaron Shahrabani.
52345 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52347         [BZ #2074]
52348         * libio/libio.h (__io_write_fn): Update comment.
52350 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52352         [BZ #2074]
52353         * stdio.texi (Hook Functions): The user provided writer function
52354         is not allowed to return -1.
52356 2012-04-11  David S. Miller  <davem@davemloft.net>
52358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52360 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52362         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52363         Add a leading slash to rtkaio.
52365 2012-04-11  Jim Meyering  <meyering@redhat.com>
52367         [BZ #11959]
52368         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52369         It is not necessarily an error to ignore fwrite's return
52370         value.  One can reliably use ferror to test for errors after
52371         the fact.
52373 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52375         * bits/types.h (__snseconds_t): New type.
52376         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52378         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52379         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52380         (__SNSECONDS_T_TYPE): Likewise.
52381         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52382         (__SNSECONDS_T_TYPE): Likewise.
52383         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52384         (__SNSECONDS_T_TYPE): Likewise.
52386 2012-04-10  Andreas Jaeger  <aj@suse.de>
52388         [BZ #2636]
52389         * manual/time.texi (Processor Time): Return type of times is
52390         elapsed real time since an arbitrary point in the past.
52391         (CPU Time): Move CLK_TCK from here...
52392         (Processor Time): ...to here.  Correct description.
52393         * manual/conf.texi (Constants for Sysconf): Correct description of
52394         _SC_CLK_TCK.
52396 2012-04-10  David S. Miller  <davem@davemloft.net>
52398         [BZ #13967]
52399         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52400         where the is a gap between DT_REL(A) and DT_JMPREL.
52402 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52404         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52405         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52406         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52408 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52410         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52411         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52412         (dl_main): Handle --inhibit-cache.
52413         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52414         _dl_inhibit_cache.
52415         * elf/dl-load.c (_dl_map_object): Use it.
52416         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52418 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52420         [BZ #13872]
52421         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52422         (__ieee754_powl): Saturate large exponents rather than testing for
52423         overflow of y*log2(x).
52424         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52425         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52426         exceptions.
52428         [BZ #11521]
52429         * math/s_ctan.c: Include <float.h>.
52430         (__ctan): Avoid internal overflow or cancellation in calculating
52431         denominator.
52432         * math/s_ctanf.c: Likewise.
52433         * math/s_ctanl.c: Likewise.
52434         * math/s_ctanh.c: Likewise.
52435         * math/s_ctanhf.c: Likewise.
52436         * math/s_ctanhl.c: Likewise.
52437         * math/libm-test.inc (ctan_test): Add more tests.
52438         (ctanh_test): Likewise.
52439         * sysdeps/i386/fpu/libm-test-ulps: Update.
52440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52442 2012-04-09  Andreas Jaeger  <aj@suse.de>
52444         [BZ #6894]
52445         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52446         is an optional BSD extension.
52448         [BZ #10254]
52449         * manual/stdio.texi (Opening Streams): Document additional fopen
52450         parameters.
52452 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52454         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52455         %eax without telling the compiler.
52457 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52459         [BZ # 13963]
52460         * manual/install.texi: Use sourceware.org.
52462 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52464         [BZ #13873]
52465         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52466         (__ieee754_pow): Generate overflow and underflow using huge*huge
52467         and tiny*tiny rather than just returning constant infinity or zero
52468         for large exponents.
52469         * math/libm-test.inc (pow_test): Require overflow exceptions for
52470         applicable cases of large exponents.
52472         [BZ #706]
52473         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52474         (__ieee754_pow): Use iterative multiplication algorithm only for
52475         integer exponents with absolute value below 1024.  Check for odd
52476         integer exponents when using algorithm for real exponents.
52477         * math/libm-test.inc (pow_test): Add more tests.
52478         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52480 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52482         [BZ #13705]
52483         * math/libm-test.inc (exp_test): Do not allow overflow exception
52484         on underflow test.
52486 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52488         [BZ #13705]
52489         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52490         instead of __kernel_standard_f.
52492 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52494         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52495         * sysdeps/x86_64/memset_chk.S: Likewise.
52497 2012-04-08  Andreas Jaeger  <aj@suse.de>
52499         [BZ #10153]
52500         * manual/startup.texi (Environment Access): Describe return value
52501         for putenv and setenv.
52503         [BZ #6895]
52504         * manual/filesys.texi (Directory Entries): Add description for
52505         DT_LNK.
52507         [BZ #6890]
52508         * manual/filesys.texi (Directory Entries): Clarify that it's file
52509         system not operating system in the description of DT_UNKNOWN.
52511         [BZ #6578]
52512         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52514 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52516         [BZ #6649]
52517         * manual/llio.texi (Opening and Closing Files): Add cross
52518         reference to explain mode argument.
52520 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52522         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52523         * sysdeps/x86_64/memset_chk.S: Likewise.
52525 2012-04-07  David S. Miller  <davem@davemloft.net>
52527         * elf/elf.h (R_SPARC_WDISP10): Define.
52528         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52529         R_SPARC_SIZE32.
52530         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52531         R_SPARC_SIZE64 and R_SPARC_H34.
52533 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52535         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52536         conditions and remove no longer applicable assertion.
52538 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52540         * bits/byteswap.h: Include <features.h>.
52541         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52542         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52544 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52546         * bits/byteswap.h (__bswap_16): Removed.
52547         Include <bits/byteswap-16.h> to get __bswap_16.
52548         * sysdeps/i386/bits/byteswap.h: Likewise.
52549         * sysdeps/s390/bits/byteswap.h: Likewise.
52550         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52551         * bits/byteswap-16.h: New file.
52552         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52553         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52554         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52555         * string/Makefile (headers): Add bits/byteswap-16.h.
52557 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52559         [BZ #13895]
52560         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52561         extra indirection.
52562         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52563         * nss/tst-nss-static.c: New.
52565 2012-04-06  Robert Millan  <rmh@gnu.org>
52567         [BZ #6486]
52568         * manual/llio.texi (File Position Primitive): lseek
52569         refers to WHENCE when it really means OFFSET.
52571 2012-04-06  Andreas Jaeger  <aj@suse.de>
52573         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52574         strncmp declarations.
52576         * abilist/libc.abilist: Add __poll and __ppoll.
52578 2012-04-05  David S. Miller  <davem@davemloft.net>
52580         * scripts/check-local-headers.sh: Accept a host triplet in the
52581         path matched by the exclude regexp.
52583         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52584         definition.
52585         * sysdeps/powerpc/powerpc32/dl-machine.h
52586         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52587         * sysdeps/s390/s390-32/dl-machine.h
52588         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52589         * sysdeps/sparc/sparc32/dl-machine.h
52590         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52591         * sysdeps/sparc/sparc64/dl-machine.h
52592         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52594         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52595         lazy binding.
52596         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52597         undefined symbol errors.
52599         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52600         DT_NEEDED entries.
52602 2012-04-05  Michael Matz  <matz@suse.de>
52604         [BZ #13592]
52605         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52607 2012-04-05  Andreas Jaeger  <aj@suse.de>
52609         [BZ #13908]
52610         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52611         comment.
52613 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52615         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52616         which ROUND is no valid rounding mode.
52618 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52620         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52621         read again.
52622         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52624 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52626         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52627         an exception using FPU order intentionally.
52629 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52631         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52632         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52633         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52634         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52636 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52638         [BZ #12340]
52639         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52640         EINVAL when BUFLEN is too smal.
52642 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52644         [BZ #13553]
52645         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52646         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52648 2012-04-03  Andreas Jaeger  <aj@suse.de>
52650         [BZ #13938]
52651         * manual/setjmp.texi (System V contexts): Fix sentence.
52653         [BZ #13926]
52654         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52655         New macro for this case.
52656         [!__GNUC__] (__bswap_64): New inline function for this case.
52657         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52658         * bits/byteswap.h: Likewise.
52659         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52660         ull, guard with __GLIBC_HAVE_LONG_LONG.
52662         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52663         __GLIBC_HAVE_LONG_LONG.
52665         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52666         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52668 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52670         [BZ #13691]
52671         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52672         inptr and inend, rather than using last_ch.
52674 2012-04-02  David S. Miller  <davem@davemloft.net>
52676         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52677         * stdio-common/printf-parse.h (read_int): Change return type to
52678         'int', return -1 on INT_MAX overflow.
52679         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52680         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52681         overflows INT_MAX.  Check for overflow of in-format-string precision
52682         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52683         SIZE_MAX not INT_MAX for integer overflow test.
52684         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52685         skip the construct in the format string but do not record anything.
52686         * stdio-common/bug22.c: Adjust to test both width/prevision
52687         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52688         explicitly for proper errno values.
52690 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52692         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52693         CHAR_MAX.
52694         * string/test-strcmp.c [! WIDE]: Likewise.
52695         * time/tst-mktime2.c: Likewise for INT_MAX.
52696         * string/test-string.h: #include <sys/param.h> for MIN.
52698         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52699         * sysdeps/i386/init-first.c (init): Likewise.
52700         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52701         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52702         * sysdeps/sh/init-first.c (init): Likewise.
52704 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52706         * po/ru.po: Update from translation team.
52707         * po/vi.po: Likewise.
52709 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52711         * resolv/nss_dns/dns-host.c: Merge copyright years.
52713 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52715         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52716         Optimize memcpy with prefetch if
52717         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52718         src, dst pointers have unequal 16 byte alignments.
52720 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52722         [BZ #13928]
52723         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52724         from a CNAME entry and return the minimum ttl for the query.
52725         (gaih_getanswer_slice): Likewise.
52727 2012-03-30  Jeff Law  <law@redhat.com>
52729         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52730         due to long keys.
52731         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52732         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52734         * resolv/nss_dns/dns-host.c: Update copyright year.
52736 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52738         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52739         requests to save a system call.  Fix check that all bytes are sent.
52741         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52742         comments for sendmmsg.
52744 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52746         [BZ #13691]
52747         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52748         with only 1 character between 0x0041 and 0x01b0.
52749         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52750         * wcsmbs/tst-mbsnrtowcs.c: New file.
52752 2012-03-29  David S. Miller  <davem@davemloft.net>
52754         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52755         small copies by hand.
52757 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52759         [BZ #13761]
52760         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52761         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52762         group memberships.
52764 2012-03-28  David S. Miller  <davem@davemloft.net>
52766         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52767         that branches into memcpy.
52768         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52769         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52770         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52771         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52772         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52773         bits.
52774         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52775         implementation too.
52776         * sysdeps/sparc/mempcpy.S: New file.
52778         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52779         the IFUNC routine in the libc case.
52780         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52782         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52783         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52784         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52785         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52786         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52787         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52788         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52789         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52791         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52792         loop to 256 bytes instead of 64 bytes and fix test signedness.
52794         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52795         * sysdeps/sparc/sparc32/Makefile: rather than here...
52796         * sysdeps/sparc/sparc64/Makefile: and here.
52798 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52800         * malloc/mallocbug.c: Avoid warnings about unused variables.
52802 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52804         [BZ #13760]
52805         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52806         in the right place. Discard and retry query if response is
52807         larger than input buffer size.
52809 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52811         [BZ #369]
52812         [BZ #2678]
52813         [BZ #3866]
52814         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52815         x for large integer exponent.
52816         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52817         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52818         sign of result as needed afterwards.
52819         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52820         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52821         result for underflowing pow the same as for overflow.
52822         (__kernel_standard_l): Handle powl overflow and underflow here
52823         rather than calling __kernel_standard.
52824         * math/libm-test.inc (pow_test): Add more tests.
52826         [BZ #3868]
52827         [BZ #13879]
52828         [BZ #13910]
52829         [BZ #13911]
52830         [BZ #13912]
52831         [BZ #13913]
52832         [BZ #13915]
52833         [BZ #13916]
52834         [BZ #13917]
52835         [BZ #13918]
52836         [BZ #13919]
52837         [BZ #13920]
52838         [BZ #13921]
52839         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52840         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52841         (__kernel_standard_l): New function.
52842         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52843         __kernel_standard.
52844         * math/w_acosl.c (__acosl): Likewise.
52845         * math/w_asinl.c (__asinl): Likewise.
52846         * math/w_atan2l.c (__atan2l): Likewise.
52847         * math/w_atanhl.c (__atanhl): Likewise.
52848         * math/w_coshl.c (__coshl): Likewise.
52849         * math/w_exp10l.c (__exp10l): Likewise.
52850         * math/w_exp2l.c (__exp2l): Likewise.
52851         * math/w_fmodl.c (__fmodl): Likewise.
52852         * math/w_hypotl.c (__hypotl): Likewise.
52853         * math/w_j0l.c (__j0l, __y0l): Likewise.
52854         * math/w_j1l.c (__j1l, __y1l): Likewise.
52855         * math/w_jnl.c (__jnl, __ynl): Likewise.
52856         * math/w_lgammal.c (__lgammal): Likewise.
52857         * math/w_log10l.c (__log10l): Likewise.
52858         * math/w_log2l.c (__log2l): Likewise.
52859         * math/w_logl.c (__logl): Likewise.
52860         * math/w_powl.c (__powl): Likewise.
52861         * math/w_remainderl.c (__remainderl): Likewise.
52862         * math/w_scalbl.c (sysv_scalbl): Likewise.
52863         * math/w_sinhl.c (__sinhl): Likewise.
52864         * math/w_sqrtl.c (__sqrtl): Likewise.
52865         * math/w_tgammal.c (__tgammal): Likewise.
52866         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52867         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52868         * math/libm-test.inc (acos_test): Add more tests.
52869         (acosh_test): Likewise.
52870         (asin_test): Likewise.
52871         (atanh_test): Likewise.
52872         (exp_test): Likewise.
52873         (exp10_test): Likewise.
52874         (exp2_test): Likewise.
52875         (expm1_test): Likewise.
52876         (lgamma_test): Likewise.
52877         (log_test): Likewise.
52878         (log10_test): Likewise.
52879         (log1p_test): Likewise.
52880         (log2_test): Likewise.
52881         (pow_test): Do not allow some spurious overflow exceptions.
52882         (sqrt_test): Add more tests.
52883         (tgamma_test): Likewise.
52884         (y0_test): Likewise.
52885         (y1_test): Likewise.
52886         (yn_test): Likewise.
52888 2012-03-27  Anton Blanchard  <anton@samba.org>
52890         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52891         MAP_HUGETLB.
52892         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52893         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52894         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52896 2012-03-27  David S. Miller  <davem@davemloft.net>
52898         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52900         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52901         have-as-vis3 check.
52903 2012-03-27  Andreas Jaeger  <aj@suse.de>
52905         * sysdeps/x86_64/elf/configure.in: Moved to ...
52906         * sysdeps/x86_64/configure.in: ... here.
52907         * sysdeps/x86_64/elf/start.S: Moved to ...
52908         * sysdeps/x86_64/start.S: ... here.
52909         * sysdeps/x86_64/elf/configure: Delete.
52911         * sysdeps/x86_64/configure.in: Merge contents from
52912         sysdeps/i386/configure.in (without i686 check).
52914         * sysdeps/i386/elf/Versions: Merge into ...
52915         * sysdeps/i386/Versions: ... this.
52916         * sysdeps/i386/elf/Versions: Delete file.
52917         * sysdeps/i386/elf/start.S: Moved to ...
52918         * sysdeps/i386/start.S: ...here.
52919         * sysdeps/i386/elf/configure.in: Merge into...
52920         * sysdeps/i386/configure.in: ...here.
52921         * sysdeps/i386/elf/configure.in: Delete file.
52922         * sysdeps/i386/elf/configure: Delete file.
52924         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52925         * debug/backtracesyms.c: ... here.
52926         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52927         * debug/backtracesymsfd.c: ... here.
52928         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52929         * sysdeps/generic/ifunc-sel.h: ... here.
52931         * sysdeps/unix/i386/start.c: Delete file.
52932         * sysdeps/unix/sparc/start.c: Delete file.
52933         * sysdeps/unix/start.c: Delete file.
52935         * sysdeps/sh/elf/configure.in: Moved to ...
52936         * sysdeps/sh/configure.in: ... here.
52937         * sysdeps/sh/elf/start.S: Moved to ...
52938         * sysdeps/sh/start.S: ... here.
52939         * sysdeps/sh/elf/configure: Delete file.
52941         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52942         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52943         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52944         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52945         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52946         * sysdeps/powerpc/powerpc64/start.S: here.
52947         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52948         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52949         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52950         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52951         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52953         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52954         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52955         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52956         * sysdeps/powerpc/powerpc32/start.S: ... here.
52957         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52958         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52959         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52961         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52962         * sysdeps/powerpc/ifunc-sel.h: ... here.
52963         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52964         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52966         * sysdeps/sparc/elf/configure.in: Moved to ...
52967         * sysdeps/sparc/configure.in: ... here.
52968         * sysdeps/sparc/elf/configure: Delete file.
52969         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52970         * sysdeps/sparc/sparc32/start.S: ... here.
52971         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52972         * sysdeps/sparc/sparc64/start.S: ... here.
52973         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52974         * sysdeps/sparc/sparc32/Makefile: ... this.
52975         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52976         * sysdeps/sparc/sparc64/Makefile: ... this.
52978         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52979         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52980         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52981         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52982         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52983         * sysdeps/s390/s390-32/setjmp.S: ... here.
52984         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52985         * sysdeps/s390/s390-32/configure.in: ... here.
52986         * sysdeps/s390/s390-32/elf/configure: Delete file.
52987         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52988         * sysdeps/s390/s390-32/start.S: ... here.
52990         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52991         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52992         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52993         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52994         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52995         * sysdeps/s390/s390-64/setjmp.S: ... here.
52996         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52997         * sysdeps/s390/s390-64/configure.in: ... here
52998         * sysdeps/s390/s390-64/elf/configure: Delete file.
52999         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53000         * sysdeps/s390/s390-64/start.S: ... here.
53001         * sysdeps/s390/s390-64/elf/configure: Delete.
53003         * configure.in: Remove support for elf directories in sysdeps.
53005         * configure: Regenerated.
53006         * sysdeps/i386/configure: Regenerated.
53007         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53008         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53009         * sysdeps/s390/s390-32/configure: Regenerated.
53010         * sysdeps/s390/s390-64/configure: Regenerated.
53011         * sysdeps/sh/configure: Regenerated.
53012         * sysdeps/sparc/configure: Regenerated.
53013         * sysdeps/x86_64/configure: Regenerated.
53015 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53019         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53020         denormal result into account.
53022 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53024         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53025         Reported by Allan McRae <allan@archlinux.org>.
53027 2012-03-23  Jeff Law  <law@redhat.com>
53029         * nss/getnssent.c (__nss_getent): Fix typo.
53031 2012-03-23  David S. Miller  <davem@davemloft.net>
53033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53035 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53037         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53038         to pad to uint64_t for each field.
53039         (dl_tls_index): Replace unsigned long with uint64_t.
53041 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53042         Paul Pluzhnikov  <ppluzhnikov@google.com>
53044         [BZ #6528]
53045         * grp/Makefile (otherlibs): Don't set it.
53046         * inet/Makefile (otherlibs): Likewise.
53047         * login/Makefile (otherlibs): Likewise.
53048         * nscd/Makefile (otherlibs): Likewise.
53049         * posix/Makefile (otherlibs): Likewise.
53050         * pwd/Makefile (otherlibs): Likewise.
53051         * rt/Makefile (otherlibs): Likewise.
53052         * sunrpc/Makefile (otherlibs): Likewise.
53053         * nss/Makefile (otherlibs): Likewise.
53054         Add libnss_files to routines and static-only-routines.
53055         ($(objpfx)getent): Remove rule.
53056         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53057         static-only-routines.
53059 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53061         [BZ #13892]
53062         * math/s_cexp.c: Include <float.h>.
53063         (__cexp): Handle exp result overflowing not necessarily
53064         overflowing both real and imaginary parts of result.
53065         * math/s_cexpf.c: Likewise.
53066         * math/s_cexpl.c: Likewise.
53067         * math/libm-test.inc (cexp_test): Add more tests.
53068         * sysdeps/i386/fpu/libm-test-ulps: Update.
53069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53071 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53073         * include/link.h (ELFW): New macro.
53074         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53075         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53077 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53079         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53080         with uint64_t.
53082 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53084         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53085         declaration.
53086         (struct La_x32_retval): Likewise.
53088 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53090         * sysdeps/x86_64/preconfigure.in: New file.
53091         * sysdeps/x86_64/preconfigure: New generated file.
53093 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53095         [BZ #13824]
53096         * math/e_exp2l.c: Include <float.h>.
53097         (__ieee754_exp2l): Handle overflow and underflow cases
53098         separately.  Only pass fractional part of argument to
53099         __ieee754_expl.
53100         * math/libm-test.inc (exp2_test): Add more tests.
53102         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53103         negating x to take absolute value.
53104         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53105         Likewise.
53106         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53107         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53108         Likewise.
53109         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53110         computing low part if x was negated.
53111         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53113 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53115         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53116         la_x32_gnu_pltexit.
53117         (pltexit): Cast int_retval to ptrdiff_t.
53118         * elf/tst-auditmod3b.c: Likewise.
53119         * elf/tst-auditmod4b.c: Likewise.
53120         * elf/tst-auditmod5b.c: Likewise.
53121         * elf/tst-auditmod6b.c: Likewise.
53122         * elf/tst-auditmod6c.c: Likewise.
53123         * elf/tst-auditmod7b.c: Likewise.
53125         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53126         and x32_gnu_pltexit.
53128         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53129         __ELF_NATIVE_CLASS.
53130         (La_x32_regs): New macro.
53131         (La_x32_retval): Likewise.
53132         (la_x32_gnu_pltenter): New function prototype.
53133         (la_x32_gnu_pltexit): Likewise.
53135 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53137         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53138         exponent.
53140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53142         * configure.in (libc_cv_cc_nofma): Check for option to disable
53143         generation of FMA instructions.
53144         * configure: Regenerate.
53145         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53146         * sysdeps/ieee754/dbl-64/Makefile: New file.
53147         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53148         Remove brandred-fma4.
53149         (CFLAGS-brandred-fma4.c): Remove.
53150         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53151         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53152         define.
53153         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53154         define.
53156 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53158         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53159         LLONG_MAX != LONG_MAX.
53160         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53161         (_fitoa_word): Likewise.
53162         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53163         LLONG_MAX != LONG_MAX.
53164         * stdio-common/_itowa.h: Include <_itoa.h>.
53165         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53166         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53167         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53168         only if not defined.
53169         (_ITOA_WORD_TYPE): Likewise.
53170         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53171         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53173 2012-03-21  David S. Miller  <davem@davemloft.net>
53175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53177 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53179         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53180         of x86_64 when setting libc_cv_slibdir, libdir and
53181         libc_cv_localedir.
53182         * sysdeps/unix/sysv/linux/configure: Regenerated.
53184 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53186         * manual/lang.texi (Old Varargs): Remove section.
53187         (How Variadic): Update menu.
53188         (va_start): Do not mention varargs.h.
53190 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53191             Joseph Myers  <joseph@codesourcery.com>
53193         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53194         link test.
53195         * configure: Regenerated.
53197 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53199         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53200         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53201         conformtest.pl
53203 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53205         * NOTES: Remove.
53206         * Makefile (files-for-dist): Remove NOTES.
53207         (NOTES): Remove rule.
53208         * README: Don't refer to NOTES.
53209         * manual/creature.texi: Don't include macros.texi.
53210         * manual/intro.texi (creature.texi): Remove comment referring to
53211         NOTES.
53213         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53214         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53215         * configure: Regenerated.
53216         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53217         LIBC_TRY_CC_OPTION.
53218         (libc_cv_as_i686): Likewise.
53219         (libc_cv_cc_avx): Likewise.
53220         (libc_cv_cc_sse2avx): Likewise.
53221         (libc_cv_cc_fma4): Likewise.
53222         (libc_cv_cc_novzeroupper): Likewise.
53223         * sysdeps/i386/configure: Regenerated.
53225         [BZ #13883]
53226         * sysdeps/i386/fpu/s_cexp.S: Remove.
53227         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53228         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53229         * math/libm-test.inc (cexp_test): Add more tests.
53230         * sysdeps/i386/fpu/libm-test-ulps: Update.
53231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53233 2012-03-21  Allan McRae  <allan@archlinux.org>
53235         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53237 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53239         [BZ #13871]
53240         * math/w_exp2.c: Do not include <float.h>.
53241         (o_threshold, u_threshold): Remove.
53242         (__exp2): Calculate result before checking finiteness and calling
53243         __kernel_standard.
53244         * math/w_exp2f.c: Likewise.
53245         * math/w_exp2l.c: Likewise.
53246         * math/libm-test.inc (exp2_test): Require overflow exception for
53247         1e6 input.
53249         [BZ #3866]
53250         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53251         range of signed 64-bit integers before using fistpll.  Remove
53252         checks for whether integers fit in mantissa bits.
53253         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53254         the range of signed 32-bit integers before using fistpl.  Remove
53255         checks for whether integers fit in mantissa bits.
53256         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53257         (__ieee754_powl): Test for y outside the range of signed 64-bit
53258         integers before using fistpll.  Reduce 64-bit values to 63-bit
53259         ones as needed.
53260         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53261         divide-by-zero is raised for zero to large negative powers.
53262         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53263         (__ieee754_powl): Test for y outside the range of signed 64-bit
53264         integers before using fistpll.  Reduce 64-bit values to 63-bit
53265         ones as needed.
53266         * math/libm-test.inc (pow_test): Add more tests.
53268 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53270         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53271         <stdio-common/_itoa.h>.
53272         * debug/segfault.c: Likewise.
53273         * elf/dl-cache.c: Likewise.
53274         * elf/dl-minimal.c: Likewise.
53275         * elf/dl-misc.c: Likewise.
53276         * elf/dl-sysdep.c: Likewise.
53277         * elf/dl-version.c: Likewise.
53278         * elf/rtld.c: Likewise.
53279         * hurd/hurdsock.c: Likewise.
53280         * hurd/lookup-retry.c: Likewise.
53281         * malloc/malloc.c: Likewise.
53282         * malloc/mtrace.c: Likewise.
53283         * nscd/nscd_getgr_r.c: Likewise.
53284         * nscd/nscd_getpw_r.c: Likewise.
53285         * nscd/nscd_getserv_r.c: Likewise.
53286         * posix/getopt_init.c: Likewise.
53287         * posix/wordexp.c: Likewise.
53288         * stdio-common/_itoa.c: Likewise.
53289         * stdio-common/printf_fphex.c: Likewise.
53290         * stdio-common/vfprintf.c: Likewise.
53291         * string/_strerror.c: Likewise.
53292         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53293         * sysdeps/i386/i686/hp-timing.h: Likewise.
53294         * sysdeps/mach/_strerror.c: Likewise.
53295         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53296         * sysdeps/mach/hurd/sethostid.c: Likewise.
53297         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53298         * sysdeps/mach/xpg-strerror.c: Likewise.
53299         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53300         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53301         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53302         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53303         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53304         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53305         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53306         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53307         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53308         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53309         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53310         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53311         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53312         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53313         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53314         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53315         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53316         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53317         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53318         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53319         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53321         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53323         * stdio-common/_itoa.h: Moved to ...
53324         * sysdeps/generic/_itoa.h: Here.
53326         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53328         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53329         instead of "_itoa.h" and "_itowa.h".
53330         * stdio-common/vfprintf.: Likewise.
53332 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53334         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53335         <bits/wordsize.h>.
53336         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53337         (__signbit): Likwise.
53338         (llrintf): Likwise.
53339         (llrint): Likwise.
53341 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53343         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53344         __WORDSIZE != 64.
53346 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53348         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53349         OVERFLOW_EXCEPTION_OK.
53350         * math/libm-test.inc ("Philosophy"): Update comment about
53351         exception testing.
53352         (OVERFLOW_EXCEPTION): Define.
53353         (OVERFLOW_EXCEPTION_OK): Likewise.
53354         (INVALID_EXCEPTION_OK): Renumber.
53355         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53356         (IGNORE_ZERO_INF_SIGN): Likewise.
53357         (test_exceptions): Handle FE_OVERFLOW.
53358         (exp10_test): Expect overflow exceptions.
53359         (exp2_test): Likewise.
53360         (expm1_test): Likewise.
53361         (nextafter_test): Likewise.
53362         (pow_test): Likewise.
53363         (scalbn_test): Likewise.
53364         (scalbln_test): Likewise.
53366 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53368         * sysdeps/x86_64/bits/atomic.h
53369         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53370         64bit integer.
53371         (atomic_exchange_acq): Likewise.
53372         (__arch_exchange_and_add_body): Likewise.
53373         (__arch_add_body): Likewise.
53374         (atomic_add_negative): Likewise.
53375         (atomic_add_zero): Likewise.
53377 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53379         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53380         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53382 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53384         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53385         Check __x86_64__ instead of __WORDSIZE.
53387 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53389         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53391 2012-03-19  David S. Miller  <davem@davemloft.net>
53393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53395         * sysdeps/sparc/fpu/fenv_private.h: New file.
53396         * sysdeps/sparc/fpu/math_private.h: Use it.
53397         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53398         Remove.
53399         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53400         (libc_feholdexcept_setroundl): Remove.
53401         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53402         Remove.
53403         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53404         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53406 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53408         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53409         int64_t instead of long int.
53410         (INSERT_WORDS64): Likwise.
53412 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53414         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53415         _Unwind_GetCFA return to _Unwind_Ptr first.
53417 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53419         [BZ #13629]
53420         * math/s_clog.c: Include <float.h>.
53421         (__clog): Scale large or subnormal inputs.
53422         * math/s_clogf.c: Likewise.
53423         * math/s_clogl.c: Likewise.
53424         * math/s_clog10.c: Include <float.h>.
53425         (M_LOG10_2): Define.
53426         (__clog10): Scale large or subnormal inputs.
53427         * math/s_clog10f.c: Likewise.
53428         * math/s_clog10l.c: Likewise.
53429         * math/libm-test.inc (clog_test): Add more tests.
53430         (clog10_test): Likewise.
53431         * sysdeps/i386/fpu/libm-test-ulps: Update.
53432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53434         [BZ #11451]
53435         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53436         x and y.
53437         * math/libm-test.inc (atan2_test): Add another test.
53439         * Makerules (common-objdir-compile): Remove.
53440         * sysdeps/unix/Makefile (config-generated): Do not add
53441         $(unix-generated) to variable.
53442         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53443         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53444         Remove rule.
53445         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53446         Likewise.
53447         [generic bits/local_lim.h] (before-compile): Do not append to
53448         variable.
53449         [generic bits/local_lim.h] (common-generated): Likewise.
53450         [generic sys/param.h] (before-compile): Do not append to variable.
53451         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53452         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53453         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53454         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53455         include.
53456         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53457         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53458         [generic sys/param.h] ($(addprefix
53459         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53460         [generic sys/param.h] (common-generated): Do not append to
53461         variable.
53462         [generic sys/param.h] (sysdep_headers): Likewise.
53463         [generic bits/errno.h] (before-compile): Do not append to
53464         variable.
53465         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53466         rule.
53467         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53468         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53469         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53470         [generic bits/errno.h] (common-generated): Do not append to
53471         variable.
53472         [generic bits/ioctls.h] (before-compile): Do not append to
53473         variable.
53474         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53475         rule.
53476         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53477         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53478         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53479         rule.
53480         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53481         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53482         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53483         [generic bits/ioctls.h] (common-generated): Do not append to
53484         variable.
53485         [generic sys/syscall.h] (syscall.h): Remove variable.
53486         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53487         rule.
53488         [generic sys/syscall.h] (before-compile): Do not append to
53489         variable.
53490         [generic sys/syscall.h] (common-generated): Likewise.
53491         * sysdeps/unix/errnos-tmpl.c: Remove file.
53492         * sysdeps/unix/errnos.awk: Likewise.
53493         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53494         * sysdeps/unix/ioctls.awk: Likewise.
53495         * sysdeps/unix/mk-local_lim.c: Likewise.
53496         * sysdeps/unix/snarf-ioctls: Likewise.
53498 2012-03-19  Richard Henderson  <rth@twiddle.net>
53500         * sysdeps/i386/fpu/fenv_private.h: New file.
53501         * sysdeps/i386/fpu/math_private.h: Use it.
53502         (math_opt_barrier, math_force_eval): Remove.
53503         (libc_feholdexcept_setround_53bit): Remove.
53504         (libc_feupdateenv_53bit): Remove.
53505         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53506         (math_opt_barrier, math_force_eval): Remove.
53507         (libc_feholdexcept): Remove.
53508         (libc_feholdexcept_setround): Remove.
53509         (libc_fetestexcept, libc_fesetenv): Remove.
53510         (libc_feupdateenv_test): Remove.
53511         (libc_feupdateenv, libc_feholdsetround): Remove.
53512         (libc_feresetround): Remove.
53514         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53515         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53517         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53518         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53519         (libc_feupdateenv_testl): New.
53520         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53521         (libc_feupdateenv_testf): New.
53522         (libc_feupdateenv): Use libc_feupdateenv_test.
53523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53524         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53526         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53527         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53528         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53529         (libc_feresetround_noex): New.
53530         (libc_feresetround_noexf): New.
53531         (libc_feresetround_noexl): New.
53532         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53533         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53534         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53535         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53536         SET_RESTORE_ROUND.
53537         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53538         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53539         (__cos): Likewise.
53540         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53541         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53542         SET_RESTORE_ROUND_NOEX.
53543         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53544         SET_RESTORE_ROUND_NOEXF.
53545         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53546         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53547         (libc_feholdsetroundf): New.
53548         (libc_feresetround, libc_feresetroundf): New.
53550         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53551         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53552         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53554         * sysdeps/generic/math_private.h: Include <fenv.h>.
53555         (default_libc_feholdexcept): New.
53556         (default_libc_feholdexcept_setround): New.
53557         (default_libc_fesetenv, default_libc_feupdateenv): New.
53558         (libc_feholdexcept): Only define if undefined.
53559         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53560         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53561         (libc_feholdexcept_setroundl): Likewise.
53562         (libc_feholdexcept_setround_53bit): Likewise.
53563         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53564         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53565         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53566         (libc_feupdateenv_53bit): Likewise.
53567         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53568         (libc_feholdexcept): Convert from macro to inline function.
53569         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53570         (libc_fesetenv, libc_feupdateenv): Likewise.
53572         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53573         not previously defined.
53574         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53575         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53576         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53577         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53578         * sysdeps/ieee754/flt-32/math_private.h: New file.
53579         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53580         math_private.h below SET_FLOAT_WORD.
53581         (__isnan, __isinf_ns, __finite): Remove.
53582         (__isnanf, __isinf_nsf, __finitef): Remove.
53584 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53588 2012-03-17  David S. Miller  <davem@davemloft.net>
53590         [BZ #6471]
53591         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53592         for 2.16.
53594 2012-03-16  David S. Miller  <davem@davemloft.net>
53596         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53597         warnings.
53599         [BZ #6471]
53600         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53601         properly.
53602         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53603         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53604         sysdep_routines when subdir is sysvipc.
53605         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53606         __getshmlba helper.
53608         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53610 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53612         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53613         [__LP64__].
53615 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53617         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53618         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53619         (__lround): Renamed to ...
53620         (__llround): This.  Replace long int with long long int.
53621         Define lround functions as aliases of llround functions.
53622         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53624 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53626         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53627         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53628         adresses to uintptr_t.  Replace "long int" and "unsigned long
53629         int" with "greg_t" on va_arg.
53631 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53633         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53634         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53636         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53637         Move e_machine check before EI_CLASS check.  Handle x32
53638         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53639         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53640         SKIP_EM_IA_64 and include
53641         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53643         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53644         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53645         (add_system_dir): New macro.
53647         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53648         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53650 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53652         [BZ #2551]
53653         [BZ #2552]
53654         [BZ #2553]
53655         [BZ #2554]
53656         [BZ #2562]
53657         [BZ #2563]
53658         [BZ #2565]
53659         [BZ #2566]
53660         [BZ #2576]
53661         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53662         (y0): Likewise.
53663         * math/w_j0f.c (j0f): Likewise.
53664         (y0f): Likewise.
53665         * math/w_j0l.c (__j0l): Likewise.
53666         (__y0l): Likewise.
53667         * math/w_j1.c (j1): Likewise.
53668         (y1): Likewise.
53669         * math/w_j1f.c (j1f): Likewise.
53670         (y1f): Likewise.
53671         * math/w_j1l.c (__j1l): Likewise.
53672         (__y1l): Likewise.
53673         * math/w_jn.c (jn): Likewise.
53674         (yn): Likewise.
53675         * math/w_jnf.c (jnf): Likewise.
53676         (ynf): Likewise.
53677         * math/w_jnl.c (__jnl): Likewise.
53678         (__ynl): Likewise.
53679         * math/libm-test.inc (j0_test): Add more tests.
53680         (j1_test): Likewise.
53681         (jn_test): Likewise.  Add trailing semicolon to existing test.
53682         (y0_test): Likewise.
53683         (y1_test): Likewise.
53684         * sysdeps/i386/fpu/libm-test-ulps: Update.
53685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53687         [BZ #13851]
53688         [BZ #13854]
53689         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53690         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53691         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53692         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53693         (__tanl): Set errno for infinite argument.
53694         * sysdeps/i386/fpu/mptan.c: Remove.
53695         * sysdeps/i386/fpu/s_tan.S: Likewise.
53696         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53697         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53698         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53699         * math/libm-test.inc (tan_test): Add more tests and enable more
53700         tests for double and long double.
53701         * sysdeps/i386/fpu/libm-test-ulps: Update.
53702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53704 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53706         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53707         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53709 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53711         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53712         * configure.in: Use it for both main tree and add-ons.
53713         * configure: Regenerated.
53715 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53717         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53719 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53721         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53722         in comment.
53724         [BZ #13851]
53725         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53726         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53727         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53728         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53729         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53730         infinite argument.
53731         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53732         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53733         != 0 for prec == 2.
53734         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53735         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53736         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53737         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53738         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53739         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53740         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53741         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53742         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53743         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53744         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53745         * math/libm-test.inc (cos_test): Add more tests and enable more
53746         tests for long double.
53747         (sin_test): Likewise.
53748         (sincos_test): Likewise.
53749         * sysdeps/i386/fpu/libm-test-ulps: Update.
53750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53752 2012-03-16  David S. Miller  <davem@davemloft.net>
53754         * sysdeps/sparc/fpu/math_private.h: New file.
53756 2012-03-15  David S. Miller  <davem@davemloft.net>
53758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53759         file.
53760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53762         file.
53763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53766         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53768         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53769         sysdep routines.
53770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53772         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53773         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53775         * sysdeps/sparc/sparc-ifunc.h: New file.
53776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53777         sparc-ifunc.h
53778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53780         Likewise.
53781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53782         Likewise.
53783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53787         Likewise.
53788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53793         Likewise.
53794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53795         Likewise.
53796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53800         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53802         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53803         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53804         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53805         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53807         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53808         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53810         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53811         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53812         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53814         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53815         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53816         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53817         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53818         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53819         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53821 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53823         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53824         scaling.
53825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53827 2012-03-15  Andreas Jaeger  <aj@suse.de>
53829         [BZ #13852]
53830         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53831         ieee754/flt-32 implementation for sin, cos and sincos.
53832         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53833         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53834         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53835         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53836         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53837         ieee754/flt-32 implementation for tan.
53839         * math/libm-test.inc (cos_test): Enable some large input tests for
53840         float as well
53841         (sin_test): Likewise.
53842         (sincos_test): Likewise.
53843         (tan_test): Add tests for large input.
53845         * sysdeps/i386/fpu/libm-test-ulps: Update.
53847 2012-03-15  Andreas Jaeger  <aj@suse.de>
53849         [BZ #13658]
53850         * math/libm-test.inc (cos_test): Add more test cases.
53851         (sin_test): Likewise.
53852         (sincos_test): Likewise.
53854 2012-03-15  Andreas Jaeger  <aj@suse.de>
53856         [BZ #13837]
53857         * math/libm-test.inc (cos_test): Add a test case for large input
53858         value.
53859         (sin_test): Likewise.
53860         (sincos_test): Likewise.
53862 2012-03-15  Andreas Jaeger  <aj@suse.de>
53863             Joseph Myers  <joseph@codesourcery.com>
53865         [BZ #13658]
53866         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53867         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53868         * sysdeps/i386/fpu/branred.c: Likewise.
53869         * sysdeps/i386/fpu/dosincos.c: Likewise.
53870         * sysdeps/i386/fpu/mpa.c: Likewise.
53871         * sysdeps/i386/fpu/s_cos.S: Likewise.
53872         * sysdeps/i386/fpu/s_sin.S: Likewise.
53873         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53874         * sysdeps/i386/fpu/sincos32.c: Likewise.
53876         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53877         Define.
53878         (libc_feupdateenv_53bit): Define.
53879         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53880         Define.
53881         (libc_feupdateenv_53bit): Define.
53883         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53884         53 bit (without extend i386 double precision).
53886         * math/libm-test.inc (sincos_test): Add tests for large input.
53887         (sin): Likewise.
53888         (cos): Likewise.
53890         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53892 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53896 2012-03-15  David S. Miller  <davem@davemloft.net>
53898         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53899         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53900         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53901         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53906         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53907         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53908         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53909         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53912         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53914         file.
53915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53917         file.
53918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53920         file.
53921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53923         file.
53924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53925         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53926         fmin/fmax sysdep routines.
53927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53929 2012-03-14  David S. Miller  <davem@davemloft.net>
53931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53933         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53935         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53936         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53937         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53938         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53939         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53940         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53943         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53944         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53945         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53946         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53947         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53948         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53949         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53950         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53951         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53952         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53953         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53954         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53955         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53956         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53957         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53958         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53959         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53960         routines.
53961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53962         file.
53963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53965         file.
53966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53968         file.
53969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53971         file.
53972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53974         file.
53975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53977         file.
53978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53979         file.
53980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53981         file.
53982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53983         file.
53984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53985         New file.
53986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53987         file.
53988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53989         file.
53990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53992         file.
53993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53995         file.
53996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53998         file.
53999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54001         VIS3 routines.
54003         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54004         New file.
54006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54008         * sysdeps/sparc/configure.in: New file.
54009         * sysdeps/sparc/configure: Generate.
54010         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54011         * configure: Regenerate.
54012         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54013         * config.make.in (have-as-vis3): New.
54014         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54015         available use -Av9d instead of -Av9a.
54016         * sysdeps/sparc/sparc64/Makefile: Likewise.
54017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54019         New file.
54020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54021         file.
54022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54023         New file.
54024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54025         file.
54026         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54027         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54028         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54029         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54030         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54032         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54033         fzeros/fnegs to load 0x80000000 into a float register instead of
54034         using the stack.
54035         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54037 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54040         bits/syscall.h.
54041         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54042         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54043         ($(inst_includedir)/bits/syscall.h): Remove rule.
54044         ($(objpfx)bits/syscall.d): Include instead of
54045         $(objpfx)syscall-list.d.
54046         (generated): Change syscall-list.h and syscall-list.d to
54047         bits/syscall.h and bits/syscall.d.
54049 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54051         [BZ #13846]
54052         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54054 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54056         [BZ #13841]
54057         * math/s_csqrt.c: Include <float.h>.
54058         (__csqrt): Scale large or subnormal inputs.
54059         * math/s_csqrtf.c: Likewise.
54060         * math/s_csqrtl.c: Likewise.
54061         * math/libm-test.inc (csqrt_test): Add more tests.
54062         * sysdeps/i386/fpu/libm-test-ulps: Update.
54063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54065         [BZ #13840]
54066         * math/libm-test.inc (hypot_test): Add more tests.
54068 2012-03-13  David S. Miller  <davem@davemloft.net>
54070         [BZ #13840]
54071         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54072         double-precision for the calculation instead of scaling.
54074 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54076         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54077         manipulate bits before adding and subtracting TWO52[sx].
54078         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54079         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54080         Likewise.
54081         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54083 2012-03-13  David S. Miller  <davem@davemloft.net>
54085         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54086         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54087         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54088         rtld-global-offsets.h
54089         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54091         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54092         large parameters.
54094         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54096         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54097         'err' in the ifdef scope in which it is actually used.
54099         * nss/nss_db/db-init.c: Include string.h
54101 2012-03-12  David S. Miller  <davem@davemloft.net>
54103         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54104         masking out of the most significant byte of random value used.
54105         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54106         Fix coding style in previous change.
54108         * sysdeps/unix/sysv/linux/kernel-features.h
54109         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54110         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54111         expression.
54112         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54113         later.
54115 2012-03-11  David S. Miller  <davem@davemloft.net>
54117         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54118         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54119         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54120         for 'resultvar' otherwise things get truncated on 64-bit.
54122         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54123         Fix masking out of the most significant byte of random value used.
54125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54127 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54131 2012-03-09  David S. Miller  <davem@davemloft.net>
54133         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54134         variables with appropriate CPP guards.
54135         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54136         from the frame pointer, not the stack pointer.  Correct layout
54137         comments.  Fix test on resulting framesize and the management of
54138         the outregs buffer for pltexit.  Preserve floating point return
54139         values across _dl_call_pltexit call.
54140         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54141         framesize and the management of the outregs buffer for pltexit.
54142         Preserve floating point return values across _dl_call_pltexit
54143         call.
54144         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54145         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54146         (la_sparc64_gnu_pltexit): New functions.
54147         (print_exit): Fix format string for return register value.
54149 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54151         * sunrpc/Makefile (others): Add rpcgen.
54152         ($(objpfx)rpcgen): Remove special build rule and dependency on
54153         libc.
54154         * sunrpc/rpcgen.c: New file.
54156 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54158         [BZ #13673]
54159         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54160         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54161         * sysdeps/i386/crti.S: Likewise.
54162         * sysdeps/i386/crtn.S: Likewise.
54163         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54164         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54165         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54166         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54167         * sysdeps/sh/crti.S: Likewise.
54168         * sysdeps/sh/crtn.S: Likewise.
54169         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54171         [BZ #13673]
54172         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54173         with URL.
54174         * locale/programs/locfile-kw.gperf: Likewise.
54175         * locale/programs/charmap-kw.h: Regenerated.
54176         * locale/programs/locfile-kw.h: Likewise.
54178         [BZ #13673]
54179         * intl/plural.y: Replace FSF snail mail address with URL.
54180         * intl/plural.c: Regenerated.
54182 2012-03-09  Richard Henderson  <rth@twiddle.net>
54184         * include/math_private.h: Remove file.
54185         * math/math_private.h: Move file ...
54186         * sysdeps/generic/math_private.h: ... here.
54188         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54189         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54190         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54192         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54193         and <math_private.h>.
54194         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54195         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54196         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54197         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54198         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54199         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54200         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54201         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54202         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54203         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54204         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54205         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54206         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54207         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54208         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54209         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54210         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54211         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54212         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54213         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54214         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54215         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54216         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54217         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54218         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54219         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54220         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54221         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54222         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54223         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54224         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54225         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54226         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54227         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54228         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54229         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54230         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54231         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54232         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54233         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54234         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54235         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54236         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54237         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54238         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54239         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54240         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54241         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54242         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54243         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54244         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54245         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54246         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54247         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54248         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54249         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54250         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54251         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54252         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54253         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54254         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54255         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54256         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54257         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54258         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54259         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54260         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54261         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54262         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54263         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54264         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54265         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54266         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54267         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54268         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54269         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54270         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54271         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54272         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54273         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54274         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54275         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54276         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54277         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54278         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54279         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54280         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54281         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54282         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54283         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54284         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54285         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54286         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54287         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54288         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54289         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54290         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54291         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54292         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54293         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54294         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54295         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54296         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54297         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54298         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54299         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54300         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54301         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54302         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54303         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54304         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54305         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54306         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54307         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54308         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54309         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54310         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54311         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54312         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54313         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54314         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54315         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54316         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54317         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54318         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54319         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54320         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54321         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54322         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54323         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54324         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54325         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54326         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54327         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54328         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54329         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54330         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54331         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54332         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54333         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54334         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54335         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54336         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54337         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54338         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54339         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54340         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54341         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54342         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54343         * sysdeps/ieee754/k_standard.c: Likewise.
54344         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54345         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54346         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54347         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54348         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54349         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54350         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54351         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54352         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54353         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54354         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54355         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54356         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54357         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54358         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54359         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54360         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54361         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54362         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54363         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54364         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54365         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54366         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54367         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54368         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54369         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54370         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54371         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54372         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54373         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54374         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54375         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54376         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54377         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54378         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54379         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54380         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54381         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54382         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54383         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54384         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54385         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54386         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54387         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54388         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54389         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54390         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54391         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54392         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54393         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54394         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54395         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54396         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54397         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54398         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54399         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54400         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54401         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54402         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54403         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54404         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54405         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54406         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54407         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54408         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54409         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54410         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54411         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54412         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54413         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54414         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54415         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54416         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54417         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54418         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54419         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54420         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54421         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54422         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54423         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54424         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54425         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54426         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54427         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54428         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54429         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54430         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54431         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54432         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54433         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54434         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54435         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54436         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54437         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54438         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54439         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54440         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54441         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54442         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54443         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54444         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54445         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54446         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54447         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54448         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54449         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54450         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54451         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54452         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54453         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54454         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54455         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54456         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54457         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54458         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54459         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54460         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54461         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54462         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54463         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54464         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54465         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54466         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54467         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54468         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54469         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54470         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54471         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54472         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54473         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54474         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54475         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54476         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54477         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54478         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54479         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54480         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54481         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54482         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54483         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54484         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54485         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54486         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54487         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54488         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54489         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54490         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54491         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54492         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54493         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54494         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54495         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54496         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54497         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54498         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54499         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54500         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54501         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54502         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54503         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54504         * sysdeps/ieee754/s_lib_version.c: Likewise.
54505         * sysdeps/ieee754/s_matherr.c: Likewise.
54506         * sysdeps/ieee754/s_signgam.c: Likewise.
54507         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54508         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54509         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54510         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54511         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54512         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54513         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54514         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54515         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54516         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54517         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54518         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54519         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54520         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54521         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54522         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54523         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54524         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54525         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54526         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54527         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54529 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54531         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54532         * sunrpc/rpc_main.c: Likewise.
54533         * sunrpc/rpc_svcout.c: Likewise.
54535 2012-03-09  David S. Miller  <davem@davemloft.net>
54537         * include/math_private.h: New file.
54539 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54541         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54542         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54543         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54544         from <bits/socket_type.h>.
54545         (enum __socket_type): Don't define here.
54546         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54548         bits/socket_type.h.
54550         [BZ #13566]
54551         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54552         checking __USE_GNU.
54554         * Makerules ($(inst_includedir)/%.h): New rule.
54555         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54556         (install-others): Remove variable setting.
54557         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54559 2012-03-08  Richard Henderson  <rth@twiddle.net>
54561         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54562         from macro to inline function; merge with the
54563         !__LIBC_INTERNAL_MATH_INLINES version.
54564         (__ieee754_sqrtf): Likewise.
54566         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54567         to inline function.
54568         (__rintf, __floor, __floorf): Likewise.
54570         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54571         macro to inline function.
54572         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54574         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54575         not <math/math_private.h>.
54577 2012-03-08  David S. Miller  <davem@davemloft.net>
54579         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54580         copyright year.
54581         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54583 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54585         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54586         normalization.
54587         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54588         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54590 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54592         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54593         be defined individually, they must be defined as a block.  Define
54594         S for printing a string instead of hidint the different by using a
54595         macro for adding the 'l'.
54596         * stdio-common/tst-fphex-wide.c: Adjust.
54598 2012-03-07  Marek Polacek  <polacek@redhat.com>
54600         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54602 2012-03-08  Marek Polacek  <polacek@redhat.com>
54604         [BZ #13806]
54605         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54606         * stdio-common/tst-fphex.c: Define a few macros to make the
54607         test reusable.  Use them.
54608         * stdio-common/tst-fphex-wide.c: New file.
54610 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54612         [BZ #6911]
54613         * manual/macros.texi (gnusystems): New macro.
54614         (nongnusystems): Likewise.
54615         (gnulinuxhurdsystems): Likewise.
54616         (gnuhurdsystems): Likewise..
54617         (gnulinuxsystems): Likewise.
54618         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54619         variants of the GNU system, not "GNU system".
54620         * manual/conf.texi: Likewise.
54621         * manual/errno.texi: Likewise.  Update example of errno macro
54622         expansion.
54623         * manual/filesys.texi: Likewise.
54624         (getumask): Document as specific to GNU/Hurd.
54625         * manual/install.texi: Likewise.  Reword some references to
54626         GNU/Linux.
54627         * manual/intro.texi: Likewise.
54628         * manual/io.texi: Likewise.
54629         (File Name Portability): Detail which constraints are inapplicable
54630         to all GNU systems and which are only inapplicable to GNU/Hurd.
54631         * manual/job.texi: Likewise.
54632         * manual/llio.texi: Likewise.
54633         (O_NOCTTY): Document as present on GNU/Linux.
54634         * manual/maint.texi: Likewise.
54635         * manual/memory.texi: Likewise.
54636         * manual/pattern.texi: Likewise.
54637         * manual/pipe.texi: Likewise.
54638         * manual/process.texi: Likewise.
54639         * manual/resource.texi: Likewise.
54640         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54641         child on GNU/Hurd.
54642         * manual/setjmp.texi: Likewise.
54643         * manual/signal.texi: Likewise.
54644         * manual/startup.texi: Likewise.
54645         * manual/stdio.texi: Likewise.
54646         * manual/terminal.texi: Likewise.
54647         (ONLCR): Document as POSIX.
54648         (OXTABS): Document availability on GNU/Linux as XTABS.
54649         (ONOEOT): Document availability separately from other bits.
54650         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54651         * manual/time.texi: Likewise.
54652         * manual/users.texi: Likewise.
54653         * INSTALL: Regenerated.
54654         * sysdeps/gnu/errlist.c: Regenerated.
54656         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54657         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54658         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54659         puts.
54660         * configure: Regenerated.
54662 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54664         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54665         default includes instead of AC_HEADER_CHECK.
54666         * sysdeps/i386/configure: Regenerated.
54668         [BZ #10716]
54669         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54670         * math/s_cacoshf.c (__cacoshf): Likewise.
54671         * math/s_cacoshl.c (__cacoshl): Likewise.
54672         * math/s_casinh.c (__casinh): Set signs of result from argument.
54673         * math/s_casinhf.c (__casinhf): Likewise.
54674         * math/s_casinhl.c (__casinhl): Likewise.
54675         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54676         (casinh_test): Add more tests.
54677         * sysdeps/i386/fpu/libm-test-ulps: Update.
54678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54680 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54682         * po/zh_TW.po: Update from translation team.
54684         * login/Makefile (distribute): Remove variable.
54685         * catgets/Makefile: Likewise.
54686         * mach/Makefile: Likewise.
54687         * malloc/Makefile: Likewise.
54688         * misc/Makefile: Likewise.
54689         * iconv/Makefile: Likewise.
54690         * nscd/Makefile: Likewise.
54691         * hurd/Makefile: Likewise.
54692         * manual/Makefile: Likewise.
54693         * locale/Makefile: Likewise.
54694         * intl/Makefile: Likewise.
54695         * conform/Makefile: Likewise.
54696         * nss/Makefile: Likewise.
54697         * time/Makefile: Likewise.
54698         * soft-fp/Makefile: Likewise.
54699         * dirent/Makefile: Likewise.
54700         * gmon/Makefile: Likewise.
54701         * po/Makefile: Likewise.
54702         * rt/Makefile: Likewise.
54703         * socket/Makefile: Likewise.
54704         * math/Makefile: Likewise.
54705         * signal/Makefile: Likewise.
54706         * debug/Makefile: Likewise.
54707         * elf/Makefile: Likewise.
54708         * timezone/Makefile: Likewise.
54709         * stdlib/Makefile: Likewise.
54710         * iconvdata/Makefile: Likewise.
54711         * sunrpc/Makefile: Likewise.
54712         * io/Makefile: Likewise.
54713         * argp/Makefile: Likewise.
54714         * inet/Makefile: Likewise.
54715         * hesiod/Makefile: Likewise.
54716         * grp/Makefile: Likewise.
54717         * csu/Makefile: Likewise.
54718         * wctype/Makefile: Likewise.
54719         * crypt/Makefile: Likewise.
54720         * libio/Makefile: Likewise.
54721         * string/Makefile: Likewise.
54722         * nis/Makefile: Likewise.
54723         * resolv/Makefile: Likewise.
54724         * stdio-common/Makefile: Likewise.
54725         * wcsmbs/Makefile: Likewise.
54726         * dlfcn/Makefile: Likewise.
54727         * posix/Makefile: Likewise.
54729         [BZ #6959]
54730         * timezone/Makefile: Don't install timezone files, just the programs
54731         and scripts.
54733 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54735         * nss/databases.def: Add missing gshadow entry.
54737         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54739 2012-03-06  Marek Polacek  <polacek@redhat.com>
54741         [BZ #13726]
54742         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54743         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54744         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54745         * stdio-common/tst-long-dbl-fphex.c: New file.
54747 2012-03-06  David S. Miller  <davem@davemloft.net>
54749         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54750         (set_obp_int): New function.
54751         (get_obp_int): New function.
54752         (__get_clockfreq_via_dev_openprom): Likewise.
54753         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54754         Avoid unused variable warnings on 'val' and use builtin_expect.
54755         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54756         __builtin_expect.
54757         (INLINE_CLONE_SYSCALL): Likewise.
54759 2012-03-05  David S. Miller  <davem@davemloft.net>
54761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54763 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54767         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54768         only for |x| >= 40.
54769         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54771 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54773         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54774         Replace gettimeofday with __vdso_gettimeofday.
54776         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54777         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54778         __vdso_clock_gettime and __vdso_getcpu.
54780         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54781         time with __vdso_time.
54783 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54785         * manual/lang.texi (size_t): Note types to which size_t may be
54786         equivalent with the GNU C Library, but do not describe when
54787         differences between them are significant.
54789 2012-03-05  Andreas Jaeger  <aj@suse.de>
54791         * sysdeps/i386/fpu/libm-test-ulps: Update.
54793 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54795         [BZ #3976]
54796         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54797         (__ieee754_pow): Save and restore rounding mode and use
54798         round-to-nearest for main computations.
54799         * math/libm-test.inc (pow_test_tonearest): New function.
54800         (pow_test_towardzero): Likewise.
54801         (pow_test_downward): Likewise.
54802         (pow_test_upward): Likewise.
54803         (main): Call the new functions.
54804         * sysdeps/i386/fpu/libm-test-ulps: Update.
54805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54807         [BZ #3976]
54808         * math/libm-test.inc (cosh_test_tonearest): New function.
54809         (cosh_test_towardzero): Likewise.
54810         (cosh_test_downward): Likewise.
54811         (cosh_test_upward): Likewise.
54812         (sinh_test_tonearest): Likewise.
54813         (sinh_test_towardzero): Likewise.
54814         (sinh_test_downward): Likewise.
54815         (sinh_test_upward): Likewise.
54816         (main): Call the new functions.
54817         * sysdeps/i386/fpu/libm-test-ulps: Update.
54818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54820 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54822         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54823         default stack guard is set in last bytes.
54824         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54826 2012-03-05  Kees Cook  <keescook@chromium.org>
54828         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54830         [BZ #13656]
54831         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54832         possibly allocate from heap instead of stack.
54833         * stdio-common/bug-vfprintf-nargs.c: New file.
54834         * stdio-common/Makefile (tests): Add nargs overflow test.
54836 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54840 2012-03-03  Marek Polacek  <polacek@redhat.com>
54842         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54843         * math/math_private.h: Likewise.
54844         * stdlib/tst-strtod.c: Likewise.
54845         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54846         * sysdeps/x86_64/bits/atomic.h: Likewise.
54848 2012-03-02  David S. Miller  <davem@davemloft.net>
54850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54854         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54855         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54856         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54857         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54859 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54861         [BZ #13792]
54862         * manual/examples/README: New file, says the example source files
54863         can be used under GPL>=2.
54864         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54865         line containing just "*/".
54866         * manual/examples/add.c: Add copyright header (GPL>=2).
54867         * manual/examples/argp-ex1.c: Likewise.
54868         * manual/examples/argp-ex2.c: Likewise.
54869         * manual/examples/argp-ex3.c: Likewise.
54870         * manual/examples/argp-ex4.c: Likewise.
54871         * manual/examples/atexit.c: Likewise.
54872         * manual/examples/db.c: Likewise.
54873         * manual/examples/dir.c: Likewise.
54874         * manual/examples/dir2.c: Likewise.
54875         * manual/examples/execinfo.c: Likewise.
54876         * manual/examples/filecli.c: Likewise.
54877         * manual/examples/filesrv.c: Likewise.
54878         * manual/examples/fmtmsgexpl.c: Likewise.
54879         * manual/examples/genpass.c: Likewise.
54880         * manual/examples/inetcli.c: Likewise.
54881         * manual/examples/inetsrv.c: Likewise.
54882         * manual/examples/isockad.c: Likewise.
54883         * manual/examples/longopt.c: Likewise.
54884         * manual/examples/memopen.c: Likewise.
54885         * manual/examples/memstrm.c: Likewise.
54886         * manual/examples/mkfsock.c: Likewise.
54887         * manual/examples/mkisock.c: Likewise.
54888         * manual/examples/mygetpass.c: Likewise.
54889         * manual/examples/pipe.c: Likewise.
54890         * manual/examples/popen.c: Likewise.
54891         * manual/examples/rprintf.c: Likewise.
54892         * manual/examples/search.c: Likewise.
54893         * manual/examples/select.c: Likewise.
54894         * manual/examples/setjmp.c: Likewise.
54895         * manual/examples/sigh1.c: Likewise.
54896         * manual/examples/sigusr.c: Likewise.
54897         * manual/examples/stpcpy.c: Likewise.
54898         * manual/examples/strdupa.c: Likewise.
54899         * manual/examples/strftim.c: Likewise.
54900         * manual/examples/strncat.c: Likewise.
54901         * manual/examples/subopt.c: Likewise.
54902         * manual/examples/swapcontext.c: Likewise.
54903         * manual/examples/termios.c: Likewise.
54904         * manual/examples/testopt.c: Likewise.
54905         * manual/examples/testpass.c: Likewise.
54906         * manual/examples/timeval_subtract.c: Likewise.
54908         [BZ #13792]
54909         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54910         function to ...
54911         * manual/timeval_subtract.c.texi: ... here, new file.
54913 2012-03-02  David S. Miller  <davem@davemloft.net>
54915         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54917 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54919         [BZ #3976]
54920         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54921         (__sin): Save and restore rounding mode and use round-to-nearest
54922         for all computations.
54923         (__cos): Save and restore rounding mode and use round-to-nearest
54924         for all computations.
54925         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54926         <fenv.h>.
54927         (tan): Save and restore rounding mode and use round-to-nearest for
54928         all computations.
54929         * math/libm-test.inc (cos_test_tonearest): New function.
54930         (cos_test_towardzero): Likewise.
54931         (cos_test_downward): Likewise.
54932         (cos_test_upward): Likewise.
54933         (sin_test_tonearest): Likewise.
54934         (sin_test_towardzero): Likewise.
54935         (sin_test_downward): Likewise.
54936         (sin_test_upward): Likewise.
54937         (tan_test_tonearest): Likewise.
54938         (tan_test_towardzero): Likewise.
54939         (tan_test_downward): Likewise.
54940         (tan_test_upward): Likewise.
54941         (main): Call the new functions.
54942         * sysdeps/i386/fpu/libm-test-ulps: Update.
54943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54945         [BZ #10135]
54946         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54947         small n, then large n, before computing and testing k+n.
54948         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54949         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54950         Likewise.
54951         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54952         Likewise.
54953         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54954         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54955         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54956         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54957         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54958         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54959         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54960         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54961         * math/libm-test.inc (scalbn_test): Add more tests.
54962         (scalbln_test): Likewise.
54964         * manual/filesys.texi (mode_t): Describe constraints on size and
54965         signedness, not exact equivalence to a particular type.
54966         (ino_t): Likewise.
54967         (ino64_t): Likewise.
54968         (dev_t): Likewise.
54969         (nlink_t): Likewise.
54970         (blkcnt_t): Likewise.
54971         (blkcnt64_t): Likewise.
54972         * manual/llio.texi (off_t): Likewise.
54974         [BZ #3976]
54975         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54976         (__ieee754_exp): Save and restore rounding mode and use
54977         round-to-nearest for all computations.
54978         * math/libm-test.inc (exp_test_tonearest): New function.
54979         (exp_test_towardzero): Likewise.
54980         (exp_test_downward): Likewise.
54981         (exp_test_upward): Likewise.
54982         (main): Call the new functions.
54983         * sysdeps/i386/fpu/libm-test-ulps: Update.
54984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54986 2012-03-01  Chris Demetriou  <cgd@google.com>
54988         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54989         have predictable order.
54991 2012-03-01  David S. Miller  <davem@davemloft.net>
54993         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54995         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54996         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54997         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54998         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55000         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55001         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55002         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55004         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55005         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55006         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55007         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55008         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55012         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55013         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55014         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55016         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55017         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55018         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55019         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55020         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55021         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55022         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55023         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55024         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55025         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55026         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55027         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55028         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55029         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55030         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55031         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55032         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55033         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55034         * sysdeps/sparc/elf/configure: Regenerated.
55036 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55038         * configure.in (AS, LD): Require binutils 2.20 or later.
55039         * configure: Regenerated.
55040         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55041         as required minimum version.
55042         * INSTALL: Regenerated.
55044         [BZ #2541]
55045         [BZ #4108]
55046         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55047         before squaring exponent.
55048         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55049         bottom long double and 27 bits of top long double before squaring
55050         exponent.
55051         * math/libm-test.inc (erfc_test): Add more tests.
55052         * sysdeps/i386/fpu/libm-test-ulps: Update.
55053         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55056 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55058         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55059         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55060         containing bit-fields.
55061         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55062         * soft-fp/single.h (_FP_UNION_S): Likewise.
55063         * soft-fp/double.h (_FP_UNION_D): Likewise.
55065 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55067         [BZ #13786]
55068         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55069         not include ../strcmp.S.
55070         [USE_AS_STRNCASECMP_L]: Likewise.
55071         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55072         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55073         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55074         (__strncasecmp_l_ia32): Define as alias to
55075         __strncasecmp_l_nonascii.
55077         [BZ #5794]
55078         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55079         * sysdeps/i386/fpu/libm-test-ulps: Update.
55080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55082         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55085 2012-02-29  Jeff Law  <law@redhat.com>
55087         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55088         out of bounds read.
55090 2012-02-29  Marek Polacek  <polacek@redhat.com>
55092         [BZ #13706]
55093         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55094         * elf/Makefile: Add rules to run tst-unused-dep.out.
55096 2012-02-28  David S. Miller  <davem@davemloft.net>
55098         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55099         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55100         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55101         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55102         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55103         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55105 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55107         * math/libm-test.inc (llround_test): Move one test from
55108         lround_test.  Use TEST_f_L in moved test.
55109         (lround_test): Move misplaced test to llround_test.  Add testcase
55110         from bug 2561.
55112 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55114         * sysdeps/x86_64/fpu/e_expf.S: New file.
55115         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55117 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55119         [BZ #13637]
55120         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55121         of remain_len that may cause incomplete multi-byte character and
55122         false match.
55123         * posix/bug-regex33.c: New file.
55124         * posix/Makefile (tests): Add bug-regex33.
55126 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55128         * manual/macros.texi: New file.
55129         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55130         * manual/libc.texinfo: Include macros.texi.
55131         * manual/creatute.texi: Likewise.
55132         * manual/install.texi: Likewise.
55133         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55134         @glibcadj{} in references to the GNU C Library.
55135         * manual/charset.texi: Likewise.
55136         * manual/conf.texi: Likewise.
55137         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55138         when not using those macros.
55139         * manual/creature.texi: Likewise.
55140         * manual/crypt.texi: Likewise.
55141         * manual/errno.texi: Likewise.
55142         * manual/filesys.texi: Likewise.
55143         * manual/header.texi: Likewise.
55144         * manual/install.texi: Likewise.
55145         * manual/intro.texi: Likewise.
55146         * manual/io.texi: Likewise.
55147         * manual/job.texi: Likewise.
55148         * manual/lang.texi: Likewise.
55149         * manual/libc.texiinfo: Likewise.
55150         * manual/llio.texi: Likewise.
55151         * manual/locale.texi: Likewise.
55152         * manual/maint.texi: Likewise.
55153         * manual/math.texi: Likewise.
55154         * manual/memory.texi: Likewise.
55155         * manual/message.texi: Likewise.
55156         * manual/nss.texi: Likewise.
55157         * manual/pattern.texi: Likewise.
55158         * manual/process.texi: Likewise.
55159         * manual/resource.texi: Likewise.
55160         * manual/search.texi: Likewise.
55161         * manual/setjmp.texi: Likewise.
55162         * manual/signal.texi: Likewise.
55163         * manual/socket.texi: Likewise.
55164         * manual/startup.texi: Likewise.
55165         * manual/stdio.texi: Likewise.
55166         * manual/string.texi: Likewise.
55167         * manual/sysinfo.texi: Likewise.
55168         * manual/syslog.texi: Likewise.
55169         * manual/terminal.texi: Likewise.
55170         * manual/time.texi: Likewise.
55171         * manual/users.texi: Likewise.
55172         * INSTALL: Regenerated.
55173         * NOTES: Regenerated.
55174         * sysdeps/gnu/errlist.c: Regenerated.
55176 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55178         * include/dirent.h: Include <dirstream.h> before
55179         <dirent/dirent.h>.
55181 2012-02-28  David S. Miller  <davem@davemloft.net>
55183         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55184         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55185         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55186         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55188 2012-02-27  David S. Miller  <davem@davemloft.net>
55190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55192         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55193         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55196         frame pointer instead of stack pointer relative arg slot.
55197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55198         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55199         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55201 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55203         [BZ #3992]
55204         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55206 2012-02-27  David S. Miller  <davem@davemloft.net>
55208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55212         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55213         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55214         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55215         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55217 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55219         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55220         later.  Allow versions 5-9.
55221         * configure: Regenerated.
55222         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55223         required minimum version and 4.6 as recommended version.  Do not
55224         mention bugs in GCC 2.7 and 2.8.
55225         * INSTALL: Regenerated.
55227 2012-02-27  David S. Miller  <davem@davemloft.net>
55229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55233         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55234         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55235         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55236         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55238         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55239         manipulate bits before adding and subtracting TWO112[sx].
55240         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55242 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55244         [BZ #13775]
55245         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55246         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55247         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55248         being in POSIX, because they are in 1003.1-2008.
55250         * rt/tst-aio.c: Include <fcntl.h>.
55251         * rt/tst-aio7.c: Likewise.
55252         * rt/tst-aio64.c: Likewise.
55254         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55256 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55258         * manual/install.texi (--with-headers): Describe headers as
55259         interface headers, not private headers.
55260         (Specific advice for GNU/Linux systems): Describe use of headers
55261         from "make headers_install", not private headers from older
55262         kernels.
55263         * INSTALL: Regenerated.
55264         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55265         Change to 2.6.19.
55266         * sysdeps/unix/sysv/linux/configure: Regenerated.
55268         * manual/llio.texi (fclean): Remove documentation.
55270         * manual/Makefile (libc-texi-generated): New variable.  Include
55271         version.texi.
55272         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55273         $(libc-texi-generated), not duplicated list of files.
55274         (version.texi, stamp-version): New rules.
55275         (realclean): Remove $(libc-texi-generated), not individual files
55276         from that list.  Do not remove dir-add.texinfo.
55277         * manual/libc.texinfo: Comment out uses of edition numbers and
55278         references to printed manual.  Remove last-updated dates.
55279         (EDITION): Comment out.
55280         (ISBN): Likewise.
55281         (VERSION, UPDATED): Remove.
55282         (version.texi): Include.
55284 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55286         * sysdeps/posix/spawni.c: Include <signal.h>.
55287         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55288         * sysdeps/pthread/aio_fsync.c: Likewise.
55290 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55292         * conform/Makefile (tests): Run only when not cross-compiling and
55293         when fast-check is not defined.
55295         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55296         * conform/data/limits.h-data: Fixes for POSIX2008.
55297         * conform/run-conformtest.sh: Run all tests.
55298         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55299         headers.
55300         * include/bits/dlfcn.h: Likewise.
55301         * include/langinfo.h: Likewise.
55302         * include/monetary.h: Likewise.
55303         * include/sys/poll.h: Likewise.
55305         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55306         for __USE_GNU.
55307         * posix/spawn.h: Define __need_sigset_t.
55308         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55309         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55310         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55311         to get sigevent_t only.
55312         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55313         only for __USE_GNU.
55314         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55315         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55316         process_vm_writev only for __USE_GNU.
55317         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55319         * conform/Makefile: For now ignore errors from run-conformtest.
55320         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55321         POSIX to avoid namespace pollution.  Don't prepend headers.
55322         * conform/data/aio.h-data: Fixes for POSIX testing.
55323         * conform/data/fcntl.h-data: Likewise.
55324         * conform/data/glob.h-data: Likewise.
55325         * conform/data/grp.h-data: Likewise.
55326         * conform/data/pthread.h-data: Likewise.
55327         * conform/data/pwd.h-data: Likewise.
55328         * conform/data/signal.h-data: Likewise.
55329         * conform/data/spawn.h-data: Likewise.
55330         * conform/data/stdio.h-data: Likewise.
55331         * conform/data/stdlib.h-data: Likewise.
55332         * conform/data/stropts.h-data: Likewise.
55333         * conform/data/sys/mman.h-data: Likewise.
55334         * conform/data/sys/stat.h-data: Likewise.
55335         * conform/data/sys/types.h-data: Likewise.
55336         * conform/data/sys/wait.h-data: Likewise.
55337         * conform/data/time.h-data: Likewise.
55338         * conform/data/unistd.h-data: Likewise.
55339         * conform/data/utime.h-data: Likewise.
55341         * io/sys/stat.h: fchmod was always in POSIX.
55342         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55343         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55344         * rt/aio.h: Define __need_timespec before including <time.h>.
55345         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55346         struct.  Add forward declaration of pthread_attr_t and use it in
55347         sigevent.
55348         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55349         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55350         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55351         always remove CLK_TCK definition.
55353 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55355         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55357 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55359         * conform/run-conformtest.sh: New file.
55360         * conform/Makefile: Run run-conformtest for tests.
55361         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55362         support.
55364         * conform/data/uchar.h-data: New file.
55365         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55366         * conform/data/arpa/inet.h-data: Likewise.
55367         * conform/data/assert.h-data: Likewise.
55368         * conform/data/complex.h-data: Likewise.
55369         * conform/data/cpio.h-data: Likewise.
55370         * conform/data/ctype.h-data: Likewise.
55371         * conform/data/dirent.h-data: Likewise.
55372         * conform/data/dlfcn.h-data: Likewise.
55373         * conform/data/errno.h-data: Likewise.
55374         * conform/data/fcntl.h-data: Likewise.
55375         * conform/data/float.h-data: Likewise.
55376         * conform/data/fmtmsg.h-data: Likewise.
55377         * conform/data/fnmatch.h-data: Likewise.
55378         * conform/data/ftw.h-data: Likewise.
55379         * conform/data/glob.h-data: Likewise.
55380         * conform/data/grp.h-data: Likewise.
55381         * conform/data/iconv.h-data: Likewise.
55382         * conform/data/inttypes.h-data: Likewise.
55383         * conform/data/langinfo.h-data: Likewise.
55384         * conform/data/libgen.h-data: Likewise.
55385         * conform/data/limits.h-data: Likewise.
55386         * conform/data/locale.h-data: Likewise.
55387         * conform/data/math.h-data: Likewise.
55388         * conform/data/monetary.h-data: Likewise.
55389         * conform/data/mqueue.h-data: Likewise.
55390         * conform/data/ndbm.h-data: Likewise.
55391         * conform/data/net/if.h-data: Likewise.
55392         * conform/data/netdb.h-data: Likewise.
55393         * conform/data/netinet/in.h-data: Likewise.
55394         * conform/data/nl_types.h-data: Likewise.
55395         * conform/data/poll.h-data: Likewise.
55396         * conform/data/pthread.h-data: Likewise.
55397         * conform/data/pwd.h-data: Likewise.
55398         * conform/data/regex.h-data: Likewise.
55399         * conform/data/sched.h-data: Likewise.
55400         * conform/data/search.h-data: Likewise.
55401         * conform/data/semaphore.h-data: Likewise.
55402         * conform/data/setjmp.h-data: Likewise.
55403         * conform/data/signal.h-data: Likewise.
55404         * conform/data/spawn.h-data: Likewise.
55405         * conform/data/stdarg.h-data: Likewise.
55406         * conform/data/stdio.h-data: Likewise.
55407         * conform/data/stdlib.h-data: Likewise.
55408         * conform/data/string.h-data: Likewise.
55409         * conform/data/strings.h-data: Likewise.
55410         * conform/data/stropts.h-data: Likewise.
55411         * conform/data/sys/ipc.h-data: Likewise.
55412         * conform/data/sys/mman.h-data: Likewise.
55413         * conform/data/sys/msg.h-data: Likewise.
55414         * conform/data/sys/resource.h-data: Likewise.
55415         * conform/data/sys/select.h-data: Likewise.
55416         * conform/data/sys/sem.h-data: Likewise.
55417         * conform/data/sys/shm.h-data: Likewise.
55418         * conform/data/sys/socket.h-data: Likewise.
55419         * conform/data/sys/stat.h-data: Likewise.
55420         * conform/data/sys/statvfs.h-data: Likewise.
55421         * conform/data/sys/time.h-data: Likewise.
55422         * conform/data/sys/timeb.h-data: Likewise.
55423         * conform/data/sys/times.h-data: Likewise.
55424         * conform/data/sys/types.h-data: Likewise.
55425         * conform/data/sys/uio.h-data: Likewise.
55426         * conform/data/sys/un.h-data: Likewise.
55427         * conform/data/sys/utsname.h-data: Likewise.
55428         * conform/data/sys/wait.h-data: Likewise.
55429         * conform/data/syslog.h-data: Likewise.
55430         * conform/data/tar.h-data: Likewise.
55431         * conform/data/termios.h-data: Likewise.
55432         * conform/data/utime.h-data: Likewise.
55433         * conform/data/utmpx.h-data: Likewise.
55434         * conform/data/varargs.h-data: Likewise.
55435         * conform/data/wchar.h-data: Likewise.
55436         * conform/data/wctype.h-data: Likewise.
55437         * conform/data/wordexp.h-data: Likewise.
55439         * include/stropts.h: New file.
55440         * include/uchar.h: New file.
55441         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55442         * include/assert.h: Likewise.
55443         * include/ctype.h: Likewise.
55444         * include/dirent.h: Likewise.
55445         * include/dlfcn.h: Likewise.
55446         * include/fcntl.h: Likewise.
55447         * include/fnmatch.h: Likewise.
55448         * include/glob.h: Likewise.
55449         * include/grp.h: Likewise.
55450         * include/libio.h: Likewise.
55451         * include/locale.h: Likewise.
55452         * include/math.h: Likewise.
55453         * include/net/if.h: Likewise.
55454         * include/netdb.h: Likewise.
55455         * include/netinet/in.h: Likewise.
55456         * include/pthread.h: Likewise.
55457         * include/pwd.h: Likewise.
55458         * include/regex.h: Likewise.
55459         * include/sched.h: Likewise.
55460         * include/search.h: Likewise.
55461         * include/setjmp.h: Likewise.
55462         * include/signal.h: Likewise.
55463         * include/stdio.h: Likewise.
55464         * include/stdlib.h: Likewise.
55465         * include/string.h: Likewise.
55466         * include/sys/cdefs.h: Likewise.
55467         * include/sys/mman.h: Likewise.
55468         * include/sys/msg.h: Likewise.
55469         * include/sys/resource.h: Likewise.
55470         * include/sys/select.h: Likewise.
55471         * include/sys/socket.h: Likewise.
55472         * include/sys/stat.h: Likewise.
55473         * include/sys/statvfs.h: Likewise.
55474         * include/sys/time.h: Likewise.
55475         * include/sys/times.h: Likewise.
55476         * include/sys/uio.h: Likewise.
55477         * include/sys/utsname.h: Likewise.
55478         * include/sys/wait.h: Likewise.
55479         * include/termios.h: Likewise.
55480         * include/time.h: Likewise.
55481         * include/ulimit.h: Likewise.
55482         * include/unistd.h: Likewise.
55483         * include/utime.h: Likewise.
55484         * include/wchar.h: Likewise.
55485         * include/wctype.h: Likewise.
55486         * include/wordexp.h: Likewise.
55488         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55490         * time/time.h: TIME_UTC must be a macro.
55491         Make timespec_get available for ISO C11 only as well.
55493 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55495         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55496         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55498 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55500         * configure.in: Use -o not -a in test for unsupported multi-arch.
55502 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55504         * manual/texinfo.tex: Update to version 2012-01-19.16.
55506 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55508         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55510 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55512         [BZ #13738]
55513         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55514         * manual/fdl-1.3.texi: New file.
55515         * manual/fdl-1.1.texi: File removed.
55517         [BZ #13738]
55518         * manual/libc.texinfo (FDL_VERSION): New @set.
55519         Use it for mention of FDL in cover text.
55520         (Documentation License): Use it in @include file name.
55522 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55523             Roland McGrath  <roland@hack.frob.com>
55525         [BZ #5461]
55526         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55527         (not LONG_LONG_MAX and LONG_LONG_MIN.
55528         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55529         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55530         name.
55531         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55533 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55535         [BZ #2547]
55536         [BZ #11365]
55537         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55538         manipulate bits before adding and subtracting TWO23[sx].
55539         * math/libm-test.inc (nearbyint_test): Add more tests.
55541 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55543         [BZ #2548]
55544         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55545         bits before adding and subtracting TWO23[sx].
55546         * math/libm-test.inc (rint_test): Add more tests.
55547         (rint_test_tonearest): Likewise.
55548         (rint_test_towardzero): Likewise.
55549         (rint_test_downward): Likewise.
55550         (rint_test_upward: Likewise.
55552 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55554         [BZ #10110]
55555         * include/stdc-predef.h: New file.  Extracted from features.h.
55556         * include/features.h: Include stdc-predef.h.
55557         * Makefile (headers): Add stdc-predef.h.
55558         * CONFORMANCE (Compiler limitations): Update.
55560 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55562         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55564 2012-02-21  David S. Miller  <davem@davemloft.net>
55566         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55567         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55569 2012-02-20  David S. Miller  <davem@davemloft.net>
55571         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55572         using a normal save/restore sequence, rather than allocating a
55573         dummy stack frame just to store a frame pointer and restore.
55574         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55576 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55578         * manual/install.texi: Fix stray word in line-wrapped comment.
55580 2012-02-20  David S. Miller  <davem@davemloft.net>
55582         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55583         both binutils and gcc support GOTDATA.
55585         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55586         "rd %pc" in the PIC register setup sequences.
55588         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55589         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55590         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55591         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55592         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55593         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55594         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55595         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55596         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55597         (SYSCALL_ERROR_HANDLER): Likewise.
55598         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55599         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55600         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55601         (SYSCALL_ERROR_HANDLER): Likewise.
55603         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55604         (HAVE_GCC_GOTDATA): New.
55605         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55606         relocation support in both binutils and gcc.
55607         * sysdeps/sparc/elf/configure: Regenerate.
55609         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55610         * sysdeps/sparc/sparc32/elf/configure: Delete.
55611         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55612         * sysdeps/sparc/sparc64/elf/configure: Delete.
55613         * sysdeps/sparc/elf/configure.in: New file.
55614         * sysdeps/sparc/elf/configure: Generate.
55616         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55617         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55618         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55619         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55620         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55622 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55624         * manual/install.texi: Do not mention specific glibc version
55625         numbers.
55626         * manual/libc.texinfo (VERSION, UPDATED): Update.
55627         (@copying): Use @copyright{} and range of years.
55629 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55631         [BZ #13695]
55632         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55633         [crti.S not in sysdirs] (generated): Do not append.
55634         [crti.S not in sysdirs] (omit-deps): Likewise.
55635         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55636         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55637         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55638         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55639         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55640         Likewise.
55641         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55642         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55643         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55644         * csu/defs.awk: Remove file.
55645         * sysdeps/generic/initfini.c: Likewise.
55646         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55647         variable.
55648         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55649         Likewise.
55651 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55653         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55654         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55655         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55656         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55657         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55658         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55659         <bits/epoll.h>.
55660         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55661         (__EPOLL_PACKED): Define to empty if not defined by
55662         <bits/epoll.h>.
55663         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55664         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55665         bits/epoll.h.
55667 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55669         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55670         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55671         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55672         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55673         <bits/timerfd.h>.
55674         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55675         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55676         bits/timerfd.h.
55678 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55680         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55681         in C locale.
55682         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55683         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55684         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55687 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55689         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55690         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55692 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55694         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55695         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55696         defined.
55697         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55698         Likewise.
55699         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55700         entry for 2.16.
55702 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55704         * math/w_acos.c: Use non-signaling floating-point comparisons.
55705         * math/w_acosf.c: Likewise.
55706         * math/w_acosh.c: Likewise.
55707         * math/w_acoshf.c: Likewise.
55708         * math/w_acoshl.c: Likewise.
55709         * math/w_acosl.c: Likewise.
55710         * math/w_asin.c: Likewise.
55711         * math/w_asinf.c: Likewise.
55712         * math/w_asinl.c: Likewise.
55713         * math/w_atanh.c: Likewise.
55714         * math/w_atanhf.c: Likewise.
55715         * math/w_atanhl.c: Likewise.
55716         * math/w_exp2.c: Likewise.
55717         * math/w_exp2f.c: Likewise.
55718         * math/w_exp2l.c: Likewise.
55719         * math/w_j0.c: Likewise.
55720         * math/w_j0f.c: Likewise.
55721         * math/w_j0l.c: Likewise.
55722         * math/w_j1.c: Likewise.
55723         * math/w_j1f.c: Likewise.
55724         * math/w_j1l.c: Likewise.
55725         * math/w_jn.c: Likewise.
55726         * math/w_jnf.c: Likewise.
55727         * math/w_log.c: Likewise.
55728         * math/w_log10.c: Likewise.
55729         * math/w_log10f.c: Likewise.
55730         * math/w_log10l.c: Likewise.
55731         * math/w_log2.c: Likewise.
55732         * math/w_log2f.c: Likewise.
55733         * math/w_log2l.c: Likewise.
55734         * math/w_logf.c: Likewise.
55735         * math/w_logl.c: Likewise.
55736         * math/w_sqrt.c: Likewise.
55737         * math/w_sqrtf.c: Likewise.
55738         * math/w_sqrtl.c: Likewise.
55739         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55740         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55741         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55742         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55743         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55745 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55747         [BZ #9739]
55748         * manual/string.texi (strnlen): Use correct parameter name in
55749         equivalent expression.
55751 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55753         [BZ #11174]
55754         * manual/users.texi (seteuid): Consistently use neweuid for
55755         argument name.
55757 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55759         [BZ #13704]
55760         * manual/nss.texi (Services in the NSS configuration): Correct
55761         list of services in example configuration file.
55763 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55765         [BZ #11322]
55766         * manual/arith.texi: Remove statements about negative zero
55767         behaving identically to zero.
55769 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55771         [BZ #5993]
55772         * manual/install.texi: Do not document upgrading from libc5.
55774 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55776         [BZ #4596]
55777         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55779 2012-02-18  David S. Miller  <davem@davemloft.net>
55781         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55782         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55783         %o7 across the call.
55784         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55785         instead.
55786         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55787         SETUP_PIC_REG_LEAF.
55788         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55789         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55790         * sysdeps/sparc/crtn.S: Likewise.
55792 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55794         * aout/Makefile: Remove.
55796 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55798         [BZ #13058]
55799         * manual/examples/argp-ex1.c (main): Format definition in GNU
55800         style.
55801         * manual/examples/argp-ex2.c (main): Likewise.
55802         * manual/examples/argp-ex3.c (main): Likewise.
55803         * manual/examples/argp-ex4.c (main): Likewise.
55804         * manual/examples/longopt.c (main): Use new-style prototype
55805         definition.
55806         * manual/examples/strncat.c (main): Specify return type and use
55807         (void) for arguments.
55808         * manual/examples/subopt.c (main): Use char **argv argument.
55810 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55812         [BZ #5077]
55813         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55814         rounding modes.
55816 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55818         [BZ #6907]
55819         * manual/string.texi (strchr): Change when strchrnul is
55820         recommended.
55822 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55824         [BZ #174]
55825         * manual/locale.texi (setlocale): Document LOCPATH.
55827 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55829         [BZ #10210]
55830         * manual/process.texi (execle): Move @dots{} before last argument.
55832 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55834         [BZ #12047]
55835         * manual/charset.texi (Generic Charset Conversion): Fix typo
55836         (LC_TYPE -> LC_CTYPE).
55838 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55840         [BZ #5805]
55841         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55842         (scalbnf): Likewise.
55843         (scalbnl): Likewise.
55844         (scalbln): Likewise.
55845         (scalblnf): Likewise.
55846         (scalblnl): Likewise.
55847         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55848         (vwarnx): Likewise.
55849         (verr): Likewise.
55850         (verrx): Likewise.
55851         * manual/filesys.texi (telldir): Use braces around return type.
55852         * manual/llio.texi (mmap): Add space after comma.
55853         (mmap64): Likewise.
55854         * manual/math.texi (jn): Use @var{} on parameter names.
55855         (jnf): Likewise.
55856         (jnl): Likewise.
55857         (yn): Likewise.
55858         (ynf): Likewise.
55859         (ynl): Likewise.
55860         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55861         line.
55862         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55863         "...".
55864         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55865         (sched_get_priority_max): Likewise.
55866         * manual/signal.texi (sigvec): Add space after comma.
55867         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55868         names.
55869         (if_indextoname): Likewise.
55870         (if_freenameindex): Likewise.
55871         (sendto): Use ',' instead of '.' in prototype.
55872         * manual/startup.texi (syscall): Use @dots{} instead of literal
55873         "...".
55874         * manual/stdio.texi (__fpending): Separate initial words of
55875         paragraph from @deftypefun line.
55876         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55877         "...".
55878         (vsyslog): Use @var{} on parameter names.
55879         * manual/terminal.texi (stty): Use @var{} on parameter names.
55880         * manual/users.texi (getutmp): Use @var{} on parameter names.
55881         (getutmpx): Likewise.
55883 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55885         [BZ #6884]
55886         * manual/stdio.texi (fopen): Fix typos in description of
55887         ",ccs=STRING".
55889 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55891         [BZ #4026]
55892         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55893         get clock_id definition.
55895 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55897         [BZ #4822]
55898         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55899         (madvise): Cast every argument to void on its own.
55901 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55903         [BZ #9902]
55904         * manual/startup.texi (Exit Status): Fix typo.
55906 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55908         [BZ #10140]
55909         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55910         * manual/examples/argp-ex2.c: Likewise.
55911         * manual/examples/argp-ex3.c: Likewise.
55913 2012-02-16  Richard Henderson  <rth@redhat.com>
55915         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55916         * sysdeps/s390/s390-32/initfini.c: Remove.
55917         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55918         * sysdeps/s390/s390-64/initfini.c: Remove.
55920 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55922         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55923         compiler output for sysdeps/generic/initfini.c.
55924         * sysdeps/sh/elf/initfini.c: Remove file.
55926 2012-02-16  David S. Miller  <davem@davemloft.net>
55928         [BZ #11494]
55929         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55931         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55932         * sysdeps/sparc/crti.S: New file.
55933         * sysdeps/sparc/crtn.S: New file.
55934         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55935         * sysdeps/sparc/sparc64/Makefile: Likewise.
55937 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55939         [BZ #3335]
55940         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55942 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55944         [BZ #4822]
55945         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55947         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55948         (write, read, close): Likewise.
55949         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55951 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55953         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55954         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55955         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55956         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55957         <bits/signalfd.h>.
55958         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55959         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55960         bits/signalfd.h.
55962 2012-02-14  Marek Polacek  <polacek@redhat.com>
55964         * sysdeps/x86_64/crti.S: New file.
55965         * sysdeps/x86_64/crtn.S: New file.
55966         * sysdeps/x86_64/elf/initfini.c: Remove file.
55968 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55970         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55971         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55972         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55973         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55974         <bits/inotify.h>.
55975         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55976         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55977         bits/inotify.h.
55979 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55981         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55982         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55983         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55984         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55985         <bits/eventfd.h>.
55986         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55988         bits/eventfd.h.
55990 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55992         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55993         __feraiseexcept instead of feraiseexcept.
55995         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55996         nanosleep invocations.
55997         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55998         strings, and add error checking for a nanosleep invocations.
56000 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56002         Replace FSF snail mail address with URLs, as per GNU coding standards.
56003         Most of the snail mail addresses were wrong anyway, and omitting
56004         them makes the source code easier to maintain.  Almost all of the
56005         changes are to license notices and to locale LC_IDENTIFICATION
56006         addresses, except for this one:
56007         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56008         not its snail mail address.
56010 2012-02-09  Richard Henderson  <rth@twiddle.net>
56012         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56013         of kernel-features.h.
56015         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56017 2012-02-08  Marek Polacek  <polacek@redhat.com>
56019         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56020         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56021         * sysdeps/gnu/_G_config.h: Likewise.
56022         * sysdeps/generic/_G_config.h: Likewise.
56024 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56026         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56027         tests.
56028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56030         * sysdeps/powerpc/powerpc32/crti.S: New file.
56031         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56032         * sysdeps/powerpc/powerpc64/crti.S: New file.
56033         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56035         * Makeconfig (have-initfini): Don't set.
56036         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56037         * configure.in (nopic_initfini): Don't substitute.
56038         * config.h.in (HAVE_INITFINI): Don't #undef.
56039         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56040         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56042 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56044         Support crti.S and crtn.S provided directly by architectures.
56045         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56046         [crti.S in sysdirs] (omit-deps): Likewise.
56047         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56048         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56049         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56050         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56051         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56052         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56053         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56054         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56055         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56056         compiler output for sysdeps/generic/initfini.c.
56057         * sysdeps/i386/elf/Makefile: Remove file.
56058         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56060 2012-02-07  Marek Polacek  <polacek@redhat.com>
56062         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56063         * sysdeps/gnu/_G_config.h: Likewise.
56064         * sysdeps/mach/hurd/_G_config.h: Likewise.
56066 2012-02-07  Marek Polacek  <polacek@redhat.com>
56068         * math/Makefile (tests): Add tst-CMPLX2.
56069         * math/tst-CMPLX2.c: New file.
56071 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56073         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56075         * math/libm-test.inc (jn_test): Add missing L suffix.
56077 2012-02-06  Marek Polacek  <polacek@redhat.com>
56079         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56080         * sysdeps/i386/fpu/e_powf.S: Likewise.
56081         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56082         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56083         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56084         * sysdeps/i386/fpu/e_pow.S: Likewise.
56085         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56086         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56087         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56088         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56089         * sysdeps/i386/fpu/e_log2.S: Likewise.
56090         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56091         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56092         * sysdeps/i386/fpu/e_powl.S: Likewise.
56093         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56094         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56095         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56096         * sysdeps/i386/fpu/e_logl.S: Likewise.
56097         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56098         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56099         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56100         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56101         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56102         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56103         * sysdeps/i386/fpu/e_log.S: Likewise.
56104         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56105         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56106         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56107         * sysdeps/i386/fpu/e_logf.S: Likewise.
56108         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56109         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56110         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56111         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56112         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56113         * sysdeps/i386/fpu/e_log10.S: Likewise.
56114         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56115         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56116         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56117         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56118         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56119         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56120         * sysdeps/i386/asm-syntax.h: Likewise.
56121         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56122         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56123         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56124         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56125         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56126         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56127         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56128         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56129         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56130         * sysdeps/powerpc/sysdep.h: Likewise.
56131         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56132         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56134 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56136         [BZ #411]
56137         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56139 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56141         * sysdeps/i386/sysdep.h: Include <features.h>.
56142         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56143         version.
56145 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56147         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56148         Define.
56149         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56150         LOAD_PIC_REG_STR.
56152 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56154         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56155         (SETUP_PIC_REG): Use GET_PC_THUNK.
56156         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56157         macro.
56159 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56161         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56162         for non-PIC compilation.
56163         (SETUP_PIC_REG): Add .p2align directive.
56164         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56165         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56166         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56167         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56168         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56169         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56170         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56171         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56172         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56173         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56174         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56175         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56176         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56177         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56178         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56179         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56180         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56181         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56182         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56183         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56184         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56185         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56186         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56187         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56188         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56189         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56190         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56191         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56192         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56193         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56194         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56195         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56196         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56197         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56198         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56199         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56200         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56201         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56202         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56203         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56204         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56206 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56208         * math/tst-CMPLX.c: Include <stdio.h>.
56210 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56212         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56213         float.
56214         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56215         * sysdeps/sparc/bits/mathdef.h: Likewise.
56217 2012-01-31  Marek Polacek  <polacek@redhat.com>
56219         * libio/libio.h: Don't define _PARAMS.
56220         * locale/programs/config.h: Don't define PARAMS.
56221         * stdlib/strtol_l.c: Likewise.
56222         (__strtol_l): Remove PARAMS from the prototype.
56224 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56226         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56227         names.  Just use the correct names.  Remove unnecessary wrapper
56228         functions.
56229         * malloc/arena.c: Likewise.
56230         * malloc/hooks.c: Likewise.
56232         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56233         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56234         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56236 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56238         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56239         into tail calls.
56240         (update_get_addr): New function.
56241         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56242         GET_ADDR_MODULE parameter.
56244 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56246         * crypt/cert.c: Remove __STDC__ conditionals.
56247         * crypt/crypt-entry.c: Likewise.
56248         * crypt/crypt_util.c: Likewise.
56249         * libio/filedoalloc.c: Likewise.
56250         * libio/fileops.c: Likewise.
56251         * libio/genops.c: Likewise.
56252         * libio/iofclose.c: Likewise.
56253         * libio/iofdopen.c: Likewise.
56254         * libio/iofopen.c: Likewise.
56255         * libio/iofopen64.c: Likewise.
56256         * libio/iogetdelim.c: Likewise.
56257         * libio/iopopen.c: Likewise.
56258         * libio/obprintf.c: Likewise.
56259         * libio/oldfileops.c: Likewise.
56260         * libio/oldiofclose.c: Likewise.
56261         * libio/oldiofdopen.c: Likewise.
56262         * libio/oldiofopen.c: Likewise.
56263         * libio/oldiopopen.c: Likewise.
56264         * libio/wfiledoalloc.c: Likewise.
56265         * libio/wgenops.c: Likewise.
56266         * locale/programs/xmalloc.c: Likewise.
56267         * misc/syslog.c: Likewise.
56268         * stdio-common/xbug.c: Likewise.
56269         * string/memchr.c: Likewise.
56270         * string/memcmp.c: Likewise.
56271         * string/memrchr.c: Likewise.
56272         * string/rawmemchr.c: Likewise.
56273         * sysdeps/posix/getcwd.c: Likewise.
56274         * time/strftime_l.c: Likewise.
56276 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56278         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56279         * config.make.in (config-cflags-sse2avx): Define.
56280         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56281         Fix typo.
56283 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56285         * scripts/config.guess: Update from upstream config git repository.
56286         * scripts/config.sub: Likewise.
56288 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56290         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56291         (EM_NUM): Update.
56292         (R_TILEPRO_*, R_TILEGX_*): New macros.
56294         * scripts/firstversions.awk: Fix bug in version range handling.
56296         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56298         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56300         * include/sys/epoll.h: New file.
56301         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56302         libc_hidden_def.
56304 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56306         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56307         Avoid unnecessary __WORDSIZE == 64 test.
56308         (fmaxf): Use VEX format if possible.
56309         (fmax): Likewise.
56310         (fminf): Likewise.
56311         (fmin): Likewise.
56313         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56314         * math/math_private.h: Remove libc_fegetround* and
56315         libc_fesetround*.
56316         * sysdeps/i386/configure.in: Check for -msse2avx.
56317         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56318         also if SSE2AVX is defined.
56319         Remove libc_fegetround* and libc_fesetround*.
56320         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56321         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56322         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56323         of HAS_YMM_USABLE.
56324         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56325         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56326         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56327         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56328         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56330         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56332 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56334         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56335         size is not set.
56336         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56338 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56340         [BZ #13618]
56341         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56342         relocation.
56343         * Makeconfig (libm): Define.
56344         * elf/Makefile: Add rules to build and run tst-relsort1.
56345         * elf/tst-relsort1.c: New file.
56346         * elf/tst-relsort1mod1.c: New file.
56347         * elf/tst-relsort1mod2.c: New file.
56349 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56351         * math/s_ldexp.c: Remove __STDC__ conditionals.
56352         * math/s_ldexpf.c: Likewise.
56353         * math/s_ldexpl.c: Likewise.
56354         * math/s_nextafter.c: Likewise.
56355         * math/s_nexttowardf.c: Likewise.
56356         * math/s_significand.c: Likewise.
56357         * math/s_significandf.c: Likewise.
56358         * math/s_significandl.c: Likewise.
56359         * math/w_jnl.c: Likewise.
56360         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56361         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56362         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56363         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56364         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56365         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56366         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56367         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56368         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56369         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56370         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56371         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56372         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56373         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56374         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56375         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56376         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56377         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56378         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56379         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56380         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56381         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56382         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56383         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56384         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56385         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56386         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56387         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56388         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56389         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56390         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56391         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56392         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56393         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56394         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56395         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56396         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56397         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56398         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56399         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56400         * sysdeps/ieee754/k_standard.c: Likewise.
56401         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56402         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56403         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56404         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56405         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56406         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56407         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56408         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56409         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56410         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56411         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56412         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56413         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56414         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56415         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56416         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56417         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56418         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56419         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56420         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56421         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56422         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56423         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56424         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56425         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56426         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56427         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56428         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56429         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56430         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56431         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56432         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56433         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56434         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56435         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56436         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56437         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56438         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56439         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56440         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56441         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56442         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56443         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56444         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56445         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56446         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56447         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56448         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56449         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56450         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56451         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56452         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56453         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56454         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56455         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56456         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56457         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56458         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56459         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56460         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56461         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56462         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56463         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56464         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56465         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56466         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56467         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56468         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56469         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56470         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56471         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56472         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56473         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56474         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56475         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56476         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56477         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56478         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56479         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56480         * sysdeps/ieee754/s_matherr.c: Likewise.
56481         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56482         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56483         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56484         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56486 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56488         * crypt/md5.h: Remove __STDC__ conditionals.
56489         * libio/libioP.h: Likewise.
56490         * locale/programs/config.h: Likewise.
56491         * sysdeps/generic/sysdep.h: Likewise.
56492         * sysdeps/i386/asm-syntax.h: Likewise.
56493         * sysdeps/s390/asm-syntax.h: Likewise.
56494         * sysdeps/unix/sysdep.h: Likewise.
56495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56498 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56500         * libio/libio.h: Remove __STDC__ conditionals.
56501         * malloc/obstack.h: Likewise.
56502         * math/complex.h: Likewise.
56503         * math/math.h: Likewise.
56504         * sysdeps/generic/_G_config.h: Likewise.
56505         * sysdeps/gnu/_G_config.h: Likewise.
56506         * sysdeps/mach/hurd/_G_config.h: Likewise.
56507         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56508         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56509         * sysdeps/sparc/bits/mathdef.h: Likewise.
56511 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56513         [BZ #13583]
56514         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56515         Clean up HAS_* macros.
56516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56517         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56518         possible.
56519         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56520         HAS_AVX.
56521         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56522         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56523         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56524         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56525         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56527 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56529         * elf/tst-unique3.cc (gets): Remove declaration.
56530         * elf/tst-unique3lib.cc (gets): Likewise.
56531         * elf/tst-unique3lib2.cc (gets): Likewise.
56532         * elf/tst-unique4.cc (gets): Likewise.
56534 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56536         * include/stdio.h: Add C++ protection.  Add gets declarations and
56537         definitions.
56538         * debug/tst-chk1.c: Don't declare gets here.
56539         * stdio-common/tst-gets.c: Likewise.
56541 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56543         * posix/glob: Remove directory.
56545 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56547         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56549 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56551         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56552         of the non-standard EPFNOSUPPORT.
56554 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56556         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56557         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56558         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56560 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56562         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56564 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56566         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56567         transient errors.
56568         * nscd/grpcache.c (cache_addgr): Likewise.
56569         * nscd/hstcache.c (cache_addhst): Likewise.
56570         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56571         * nscd/pwdcache.c (cache_addpw): Likewise.
56572         * nscd/servicescache.c (cache_addserv): Likewise.
56574 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56576         * malloc/malloc.c: Various cleanups.
56577         * malloc/hooks.c: Likewise.
56579         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56580         * stdlib/bug-fmtmsg1.c: New file.
56582         * stdlib/fmtmsg.c (init): Add missing unlock.
56583         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56585 2012-01-12  Marek Polacek  <polacek@redhat.com>
56587         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56588         and _GNU_SOURCE.
56590 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56592         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56593         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56594         macro to ensure uniqueness of label name.
56595         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56596         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56598 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56600         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56602         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56603         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56604         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56605         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56607 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56609         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56611         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56612         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56613         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56615         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56617         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56618         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56619         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56620         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56622         * math/bits/math-finite.h: Add ldexp support.
56624 2012-01-10  Marek Polacek  <polacek@redhat.com>
56626         * locale/programs/localedef.h (show_archive_content): Add noreturn
56627         attribute.
56629 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56631         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56633 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56635         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56637         * io/Makefile (headers): Add bits/poll2.h.
56639 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56642         typo #include statement.
56644 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56646         * include/sys/cdefs.h: Define __attribute_alloc_size.
56647         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56648         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56649         * elf/pldd.c: Likewise.
56650         * iconv/iconv_charmap.c: Likewise.
56651         * iconv/iconvconfig.c: Likewise.
56652         * iconv/strtab.c: Likewise.
56653         * locale/programs/locale.c: Likewise.
56654         * locale/programs/localedef.h: Likewise.
56655         * locale/programs/simple-hash.c: Likewise.
56656         * nscd/nscd.h: Likewise.
56657         * nss/makedb.c: Likewise.
56658         * sysdeps/generic/ldconfig.h: Likewise.
56659         * locale/programs/localedef.c: Remove xmalloc prototype.
56660         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56662 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56664         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56665         appropriate.
56667 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56669         * math/Makefile (tests): Add tst-CMPLX.
56670         * math/tst-CMPLX.c: New file.
56672         * math/complex.h (CMPLXL): Fix typo.
56674         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56675         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56676         GLIBC_2.16.
56677         * debug/tst-chk1.c: Add poll and ppoll tests.
56678         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56679         * include/sys/poll.h: Add hidden proto for ppoll.
56680         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56681         * sysdeps/mach/hurd/ppoll.c: Likewise.
56682         * io/ppoll.c: Likewise.
56683         * debug/poll_chk.c: New file.
56684         * debug/ppoll_chk.c: New file.
56685         * include/bits/poll2.h: New file.
56686         * io/bits/poll2.h: New file.
56688         [BZ #1350]
56689         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56691         * configure.in: static is always set to yes.  Remove.
56692         * config.make.in: Don't set build-static.
56693         * Makeconfig: Remove use of build-static.
56694         * dlfcn/Makefile: Likewise.
56695         * elf/Makefile: Likewise.
56696         * math/Makefile: Likewise.
56697         * misc/Makefile: Likewise.
56698         * nptl/Makefile: Likewise.
56699         * sysdeps/mach/hurd/Makefile: Likewise.
56701         * configure.in: PWD_P is not used anymore.
56702         * config.make.in: Remove PWD_P entry.
56704         * configure.in: Remove last remnants of RANLIB.
56705         No need to check for signed size_t anymore.
56706         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56707         and IA-64.
56708         Remove __builtin_expect test because we require at least gcc 3.4.
56709         * aclocal.m4: Likewise.
56711         * wcsmbs/mbrtoc16.c: Implement using towc function.
56712         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56713         * wcsmbs/wcsmbsload.c: Likewise.
56714         * iconv/gconv_simple.c: Likewise.
56715         * iconv/gconv_int.h: Likewise.
56716         * iconv/gconv_builtin.h: Likewise.
56717         * iconv/iconv_prog.c: Remove CHAR16 handling.
56719         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56721         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56723         * configure.in: Remove --with-elf and --enable-bounded options.
56724         Dont set base_machine for ia64.  More non-ELF conditions removed.
56725         Remove testing and setting of leading underscore information.
56726         * config.make.in (build-bounded): Set to no.
56727         * config.h.in: Remove NO_UNDERSCORES entry.
56728         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56729         them.
56730         * csu/start.c: Remove !NO_UNDERSCORE code.
56731         * locale/localeinfo.h: Likewise.
56732         * sysdeps/generic/machine-gmon.h: Likewise.
56733         * sysdeps/generic/sysdep.h: Likewise.
56734         * sysdeps/i386/sysdep.h: Likewise.
56735         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56736         * sysdeps/mach/sysdep.h: Likewise.
56737         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56738         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56739         * sysdeps/sh/sysdep.h: Likewise.
56740         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56741         * sysdeps/unix/i386/sysdep.S: Likewise.
56742         * sysdeps/unix/sparc/start.c: Likewise.
56743         * sysdeps/unix/sparc/sysdep.S: Likewise.
56744         * sysdeps/unix/sparc/sysdep.h: Likewise.
56745         * sysdeps/unix/start.c: Likewise.
56746         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56747         * sysdeps/x86_64/sysdep.h: Likewise.
56749 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56751         [BZ #13553]
56752         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56753         for non-gcc.
56754         * argp/argp-fmtstream.h: Use const instead __const.
56755         * argp/argp.h: Likewise.
56756         * assert/assert.h: Likewise.
56757         * bits/fenv.h: Likewise.
56758         * bits/sched.h: Likewise.
56759         * bits/sigset.h: Likewise.
56760         * bits/sigthread.h: Likewise.
56761         * catgets/nl_types.h: Likewise.
56762         * conform/data/pthread.h-data: Likewise.
56763         * crypt/crypt-private.h: Likewise.
56764         * crypt/crypt.h: Likewise.
56765         * crypt/crypt_util.c: Likewise.
56766         * ctype/ctype.h: Likewise.
56767         * debug/execinfo.h: Likewise.
56768         * debug/mbsnrtowcs_chk.c: Likewise.
56769         * debug/mbsrtowcs_chk.c: Likewise.
56770         * debug/wcsnrtombs_chk.c: Likewise.
56771         * debug/wcsrtombs_chk.c: Likewise.
56772         * debug/wcstombs_chk.c: Likewise.
56773         * dirent/dirent.h: Likewise.
56774         * dlfcn/dlfcn.h: Likewise.
56775         * elf/neededtest4.c: Likewise.
56776         * grp/grp.h: Likewise.
56777         * gshadow/gshadow.h: Likewise.
56778         * iconv/gconv.h: Likewise.
56779         * iconv/gconv_int.h: Likewise.
56780         * iconv/gconv_simple.c: Likewise.
56781         * iconv/iconv.h: Likewise.
56782         * iconv/loop.c: Likewise.
56783         * iconv/skeleton.c: Likewise.
56784         * include/aio.h: Likewise.
56785         * include/aliases.h: Likewise.
56786         * include/argz.h: Likewise.
56787         * include/arpa/inet.h: Likewise.
56788         * include/assert.h: Likewise.
56789         * include/dirent.h: Likewise.
56790         * include/dlfcn.h: Likewise.
56791         * include/execinfo.h: Likewise.
56792         * include/fcntl.h: Likewise.
56793         * include/fenv.h: Likewise.
56794         * include/glob.h: Likewise.
56795         * include/grp.h: Likewise.
56796         * include/libintl.h: Likewise.
56797         * include/mntent.h: Likewise.
56798         * include/netdb.h: Likewise.
56799         * include/pwd.h: Likewise.
56800         * include/rpc/netdb.h: Likewise.
56801         * include/sched.h: Likewise.
56802         * include/search.h: Likewise.
56803         * include/shadow.h: Likewise.
56804         * include/signal.h: Likewise.
56805         * include/stdio.h: Likewise.
56806         * include/stdlib.h: Likewise.
56807         * include/string.h: Likewise.
56808         * include/sys/socket.h: Likewise.
56809         * include/sys/stat.h: Likewise.
56810         * include/sys/statfs.h: Likewise.
56811         * include/sys/statvfs.h: Likewise.
56812         * include/sys/syslog.h: Likewise.
56813         * include/sys/time.h: Likewise.
56814         * include/sys/uio.h: Likewise.
56815         * include/time.h: Likewise.
56816         * include/unistd.h: Likewise.
56817         * include/utmp.h: Likewise.
56818         * include/wchar.h: Likewise.
56819         * include/wctype.h: Likewise.
56820         * inet/aliases.h: Likewise.
56821         * inet/arpa/inet.h: Likewise.
56822         * inet/netinet/ether.h: Likewise.
56823         * inet/netinet/in.h: Likewise.
56824         * intl/libintl.h: Likewise.
56825         * io/bits/fcntl2.h: Likewise.
56826         * io/fcntl.h: Likewise.
56827         * io/ftw.h: Likewise.
56828         * io/sys/poll.h: Likewise.
56829         * io/sys/stat.h: Likewise.
56830         * io/sys/statfs.h: Likewise.
56831         * io/sys/statvfs.h: Likewise.
56832         * io/utime.h: Likewise.
56833         * libio/bits/stdio.h: Likewise.
56834         * libio/bits/stdio2.h: Likewise.
56835         * libio/libio.h: Likewise.
56836         * libio/libioP.h: Likewise.
56837         * libio/stdio.h: Likewise.
56838         * locale/lc-ctype.c: Likewise.
56839         * locale/locale.h: Likewise.
56840         * login/utmp.h: Likewise.
56841         * malloc/arena.c: Likewise.
56842         * malloc/malloc.c: Likewise.
56843         * malloc/malloc.h: Likewise.
56844         * malloc/mcheck.c: Likewise.
56845         * malloc/mtrace.c: Likewise.
56846         * math/bits/mathcalls.h: Likewise.
56847         * math/fenv.h: Likewise.
56848         * math/math_private.h: Likewise.
56849         * misc/bits/error.h: Likewise.
56850         * misc/bits/syslog.h: Likewise.
56851         * misc/err.h: Likewise.
56852         * misc/error.h: Likewise.
56853         * misc/fstab.h: Likewise.
56854         * misc/mntent.h: Likewise.
56855         * misc/regexp.h: Likewise.
56856         * misc/search.h: Likewise.
56857         * misc/sgtty.h: Likewise.
56858         * misc/sys/mman.h: Likewise.
56859         * misc/sys/syslog.h: Likewise.
56860         * misc/sys/uio.h: Likewise.
56861         * misc/sys/xattr.h: Likewise.
56862         * misc/ttyent.h: Likewise.
56863         * nis/rpcsvc/ypclnt.h: Likewise.
56864         * nss/nss.h: Likewise.
56865         * posix/bits/unistd.h: Likewise.
56866         * posix/fnmatch.h: Likewise.
56867         * posix/glob.h: Likewise.
56868         * posix/sched.h: Likewise.
56869         * posix/spawn.h: Likewise.
56870         * posix/sys/wait.h: Likewise.
56871         * posix/unistd.h: Likewise.
56872         * posix/wordexp.h: Likewise.
56873         * pwd/pwd.h: Likewise.
56874         * resolv/netdb.h: Likewise.
56875         * resource/sys/resource.h: Likewise.
56876         * rt/aio.h: Likewise.
56877         * rt/bits/mqueue2.h: Likewise.
56878         * rt/mqueue.h: Likewise.
56879         * shadow/shadow.h: Likewise.
56880         * signal/signal.h: Likewise.
56881         * socket/send.c: Likewise.
56882         * socket/sendto.c: Likewise.
56883         * socket/sys/socket.h: Likewise.
56884         * stdio-common/printf.h: Likewise.
56885         * stdlib/bits/stdlib.h: Likewise.
56886         * stdlib/fmtmsg.h: Likewise.
56887         * stdlib/monetary.h: Likewise.
56888         * stdlib/stdlib.h: Likewise.
56889         * stdlib/ucontext.h: Likewise.
56890         * streams/stropts.h: Likewise.
56891         * string/argz.h: Likewise.
56892         * string/bits/string2.h: Likewise.
56893         * string/string.h: Likewise.
56894         * string/strings.h: Likewise.
56895         * sunrpc/rpc/auth.h: Likewise.
56896         * sunrpc/rpc/auth_des.h: Likewise.
56897         * sunrpc/rpc/clnt.h: Likewise.
56898         * sunrpc/rpc/netdb.h: Likewise.
56899         * sunrpc/rpc/pmap_clnt.h: Likewise.
56900         * sunrpc/rpc/xdr.h: Likewise.
56901         * sysdeps/generic/inttypes.h: Likewise.
56902         * sysdeps/generic/net/if.h: Likewise.
56903         * sysdeps/generic/sys/swap.h: Likewise.
56904         * sysdeps/gnu/net/if.h: Likewise.
56905         * sysdeps/gnu/utmpx.h: Likewise.
56906         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56907         * sysdeps/i386/i486/bits/string.h: Likewise.
56908         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56909         * sysdeps/s390/bits/string.h: Likewise.
56910         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56911         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56912         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56913         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56914         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56915         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56916         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56917         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56918         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56919         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56920         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56921         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56922         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56923         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56924         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56925         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56926         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56927         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56928         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56929         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56930         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56931         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56932         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56933         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56934         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56935         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56936         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56937         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56938         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56939         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56940         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56941         * sysvipc/sys/ipc.h: Likewise.
56942         * sysvipc/sys/msg.h: Likewise.
56943         * sysvipc/sys/sem.h: Likewise.
56944         * sysvipc/sys/shm.h: Likewise.
56945         * termios/termios.h: Likewise.
56946         * time/sys/time.h: Likewise.
56947         * time/time.h: Likewise.
56948         * wcsmbs/bits/wchar2.h: Likewise.
56949         * wcsmbs/uchar.h: Likewise.
56950         * wcsmbs/wchar.h: Likewise.
56951         * wctype/wctype.h: Likewise.
56953         [BZ #13551]
56954         * Makeconfig: Remove all but ELF support including AIX support.
56955         * Makerules: Likewise.
56956         * config.h.in: Likewise.
56957         * config.make.in: Likewise.
56958         * configure: Likewise.
56959         * configure.in: Likewise.
56960         * csu/Makefile: Likewise.
56961         * csu/version.c: Likewise.
56962         * debug/Makefile: Likewise.
56963         * dlfcn/Makefile: Likewise.
56964         * elf/Makefile: Likewise.
56965         * extra-lib.mk: Likewise.
56966         * iconv/Makefile: Likewise.
56967         * include/libc-symbols.h: Likewise.
56968         * include/shlib-compat.h: Likewise.
56969         * resolv/Makefile: Likewise.
56970         * resolv/res_libc.c: Likewise.
56971         * rt/Makefile: Likewise.
56972         * sysdeps/i386/asm-syntax.h: Likewise.
56973         * sysdeps/i386/sysdep.h: Likewise.
56974         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56975         * sysdeps/mach/sysdep.h: Likewise.
56976         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56977         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56978         * sysdeps/s390/asm-syntax.h: Likewise.
56979         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56980         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56981         * sysdeps/sh/sysdep.h: Likewise.
56982         * sysdeps/unix/sparc/sysdep.h: Likewise.
56983         * sysdeps/wordsize-32/divdi3.c: Likewise.
56984         * sysdeps/x86_64/sysdep.h: Likewise.
56986         * argp/Versions: Remove _argp_unlock_xxx.
56988         [BZ #13559]
56989         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56990         * abilist/libBrokenLocale.abilist: Likewise.
56991         * abilist/libanl.abilist: Likewise.
56992         * abilist/libc.abilist: Likewise.
56993         * abilist/libcrypt.abilist: Likewise.
56994         * abilist/libdl.abilist: Likewise.
56995         * abilist/libm.abilist: Likewise.
56996         * abilist/libnsl.abilist: Likewise.
56997         * abilist/libpthread.abilist: Likewise.
56998         * abilist/libresolv.abilist: Likewise.
56999         * abilist/librt.abilist: Likewise.
57000         * abilist/libthread_db.abilist: Likewise.
57001         * abilist/libutil.abilist: Likewise.
57002         * abilist/libnss_db.abilist: New file.
57004         * scripts/abilist.awk: Add support for indirect functions.
57006         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57008         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57010         * shlib-versions: Remove entries for ports architectures.
57012         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57013         files in ports.
57014         * elf/stackguard-macros.h: Remove support for IA-64.
57015         * elf/tst-auditmod1.c: Likewise.
57016         * sysdeps/generic/ldsodefs.h: Likewise.
57018         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57019         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57020         configure files.
57022         [BZ #13552]
57023         * configure.in: Remove --enable-omitfp support.
57024         * FAQ.in: Adjust.
57025         * config.make.in: Likewise.
57026         * Makeconfig: Likewise.
57027         * manual/install.texi: Likewise.
57029         In case anyone cares, the IA-64 architecture could move to ports.
57030         * sysdeps/ia64/*: Removed.
57031         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57032         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57034         [BZ #13555]
57035         * configure.in: Remove entries for unsupported architectures.
57037         [BZ #13533]
57038         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57039         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57040         routines.
57041         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57042         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57043         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57044         fall back to using wcrtomb.
57045         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57046         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57047         renaming.
57048         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57049         * wcsmbs/tst-c16c32-1.c: New file.
57051         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57052         local variable.
57054         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57056         * elf/tst-unique3.cc: Add explicit declaration of gets.
57057         * elf/tst-unique3lib.cc: Likewise.
57058         * elf/tst-unique3lib2.cc: Likewise.
57059         * elf/tst-unique4.cc: Likewise.
57061         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57063 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57065         [BZ #13566]
57066         * assert/assert.h (static_assert): Don't define for C++.
57067         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57068         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57070 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57072         * iconv/loop.c (single loop): Fix assertion in storing of
57073         remaining bytes.
57075         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57077 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57079         * posix/getconf.c: Update copyright year.
57080         * nss/getent.c: Likewise.
57081         * nss/makedb.c: Likewise.
57082         * iconv/iconvconfig.c: Likewise.
57083         * iconv/iconv_prog.c: Likewise.
57084         * elf/ldconfig.c: Likewise.
57085         * elf/pldd.c: Likewise.
57086         * elf/sotruss.ksh: Likewise.
57087         * catgets/gencat.c: Likewise.
57088         * csu/version.c: Likewise.
57089         * elf/ldd.bash.in: Likewise.
57090         * elf/sprof.c (print_version): Likewise.
57091         * locale/programs/locale.c: Likewise.
57092         * locale/programs/localedef.c: Likewise.
57093         * login/programs/pt_chown.c: Likewise.
57094         * nscd/nscd.c (print_version): Likewise.
57095         * debug/xtrace.sh: Likewise.
57096         * malloc/memusage.sh: Likewise.
57097         * malloc/mtrace.pl: Likewise.
57098         * debug/catchsegv.sh: Likewise.
57100 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57102         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57103         pure attribute.
57105 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57107         [BZ #13533]
57108         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57109         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57110         transformations.
57111         * iconv/gconv_int.h: Likewise.
57112         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57113         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57114         from libc for GLIBC_2.16.
57115         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57116         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57117         * wcsmbs/uchar.h: Really define mbstate_t.
57118         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57119         * wcsmbs/c16rtomb.c: New file.
57120         * wcsmbs/mbrtoc16.c: New file.
57121         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57122         for C/POSIX locale.
57123         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57124         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57126         * wcsmbs/wchar.h: Add missing __restrict.
57128 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57130         [BZ #13532]
57131         * time/Makefile (routines): Add timespec_get.
57132         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57133         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57134         timespec for ISO C11.
57135         * time/timespec_get.c: New file.
57136         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57137         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57139         [BZ #13531]
57140         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57141         * stdlib/stdlib.h: Declare aligned_alloc.
57142         * Versions.def: Add GLIBC_2.16 for libc.
57143         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57145         [BZ 13527]
57146         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57147         ISO C11.
57149         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57150         code.
57152         [BZ #13528]
57153         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57155         [BZ #13529]
57156         * assert/assert.h (static_assert): Define.
57158         * version.h: Update for 2.16 development version.
57160         [BZ #13526]
57161         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57162         _ISOC11_SOURCE.
57164         * version.h (RELEASE): Bump for 2.15 release.
57165         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57167         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57168         Patch by Marek Polacek <mpolacek@redhat.com>.
57170         * bits/byteswap.h: Protect long long constants with __extension__.
57171         * sysdeps/i386/bits/byteswap.h: Likewise.
57172         * sysdeps/ia64/bits/byteswap.h: Likewise.
57173         * sysdeps/s390/bits/byteswap.h: Likewise.
57174         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57176 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57178         [BZ #13540]
57179         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57180         destination buffer.
57181         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57183 2011-12-23  Marek Polacek  <polacek@redhat.com>
57185         * elf/dl-addr.c (determine_info): Add inline keyword.
57186         * elf/tst-auditmod4b.c (check_avx): Likewise.
57187         * elf/tst-auditmod6b.c (check_avx): Likewise.
57188         * elf/tst-auditmod6c.c (check_avx): Likewise.
57189         * elf/tst-auditmod7b.c (check_avx): Likewise.
57191 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57193         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57194         !__SSE_MATH__.
57196 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57198         [BZ #13540]
57199         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57200         processing for last bytes.
57202 2011-08-06  Bruno Haible  <bruno@clisp.org>
57204         [BZ #13061]
57205         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57206         U+0385, not to U+1FEE.
57208         [BZ #13062]
57209         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57210         entry for U+00A5 U+0301.
57212 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57214         [BZ #13166]
57215         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57216         buffer for the output is too small.
57218         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57219         optimization.
57221         [BZ #13185]
57222         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57223         SSE flags if possible.
57225 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57227         [BZ #13540]
57228         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57229         processing for last bytes.
57231 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57233         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57234         (syscall-list-default-options, syscall-list-default-condition)
57235         (syscall-list-includes): Define.
57236         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57237         list of ABIs and options and #if conditions for each ABI.  Do not
57238         handle common syscalls between ABIs specially.
57239         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57240         Remove.
57241         (syscall-list-variants, syscall-list-32bit-options)
57242         (syscall-list-32bit-condition, syscall-list-64bit-options)
57243         (syscall-list-64bit-condition): Define.
57244         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57245         (syscall-list-variants, syscall-list-32bit-options)
57246         (syscall-list-32bit-condition, syscall-list-64bit-options)
57247         (syscall-list-64bit-condition): Define.
57248         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57249         Remove.
57250         (syscall-list-variants, syscall-list-32bit-options)
57251         (syscall-list-32bit-condition, syscall-list-64bit-options)
57252         (syscall-list-64bit-condition): Define.
57253         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57254         Remove.
57255         (syscall-list-variants, syscall-list-32bit-options)
57256         (syscall-list-32bit-condition, syscall-list-64bit-options)
57257         (syscall-list-64bit-condition): Define.
57259 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57261         * locale/iso-639.def: Add brx entry.
57263         [BZ #13328]
57264         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57265         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57267         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57268         __feraiseexcept_renamed.
57270 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57272         [BZ #13538]
57273         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57274         EPOLLET with unsigned values.
57275         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57276         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57278         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57279         to large cancellation.
57280         * math/s_cacoshf.c: Likewise.
57281         * math/s_cacoshl.c: Likewise.
57283 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57285         [BZ #13305]
57286         [BZ #12786]
57287         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57288         * math/s_cacoshf.c: Likewise.
57289         * math/s_cacoshl.c: Likewise.
57291 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57293         [BZ #13439]
57294         * iconv/gconv.h: Define __GCONV_SWAP.
57295         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57296         * iconvdata/utf-16.c: Likewise.
57297         * iconvdata/utf-32.c: Likewise.
57299 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57301         [BZ #13524]
57302         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57303         numerator after shifting it by one limb.
57305 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57307         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57308         under [__USE_EXTERN_INLINES].
57310 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57312         [BZ #13446]
57313         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57315 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57317         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57318         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57319         optimized code.
57320         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57321         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57322         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57323         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57324         for strncasecmp/strncasecmp_l compilation.
57325         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57326         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57328 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57330         [BZ #13484]
57331         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57332         of __asm__.
57334 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57336         [BZ #13506]
57337         * time/tzfile.c (__tzfile_read): Check values from file header.
57339 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57341         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57342         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57343         * powerpc/powerpc32/dl-start.S: Likewise.
57344         * powerpc/powerpc32/elf/start.S: Likewise.
57345         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57346         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57347         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57348         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57349         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57350         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57351         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57352         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57353         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57354         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57355         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57356         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57357         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57358         * powerpc/powerpc32/memset.S: Likewise.
57359         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57360         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57361         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57362         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57363         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57364         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57365         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57366         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57367         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57368         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57369         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57370         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57371         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57373 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57375         * math/libm-test.inc: Added more nearbyint tests.
57376         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57377         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57378         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57379         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57381 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57383         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57384         FD_CLOEXEC.
57386 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57388         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57389         Add wcscpy-ssse3 wcscpy-c.
57390         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57391         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57392         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57393         * sysdeps/x86_64/wcschr.S: New file.
57394         * sysdeps/x86_64/wcsrchr.S: New file.
57395         * string/test-strcmp.c: Remove checking of wcscmp function for
57396         wrong alignments.
57397         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57398         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57399         wcsrchr-sse2 wcsrchr-c.
57400         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57401         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57402         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57403         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57404         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57405         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57406         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57407         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57408         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57409         * wcsmbc/wcschr.c (WCSCHR): New macro.
57411 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57413         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57414         * wcsmbs/test-wcsrchr.c: New file.
57415         * string/test-strrchr.c: Add wcsrchr support.
57416         (WIDE): New macro.
57417         * wcsmbs/test-wcscpy.c: New file.
57418         * string/test-strcpy.c: Add wcscpy support.
57419         (WIDE): New macro.
57421 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57423         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57424         the inner loop.
57426 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57428         [BZ #13472]
57429         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57431 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57433         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57434         Minor optimizations.
57436         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57437         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57438         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57440 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57442         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57443         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57444         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57445         for gcc to avoid warnings.
57446         * inet/Makefile (tests): Add tst-checks.
57447         * inet/tst-checks.c: New file.
57449         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57450         warning.
57452         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57453         __wmemcmp_sse2.
57455         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57456         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57458         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57460 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57462         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57463         problem.
57465         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57467 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57469         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57470         conditional on GCC version.
57471         (__arch_compare_and_exchange_val_8_acq)
57472         (__arch_compare_and_exchange_val_16_acq)
57473         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57474         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57475         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57477 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57479         * sysdeps/sh/backtrace.c: New file.
57481 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57483         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57484         parenthesis.
57486 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57488         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57489         falling back to utime.
57491 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57493         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57494         expectations for float.
57496 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57498         * locale/weight.h (findidx): Add parameter len.
57499         * locale/weightwc.h (findidx): Likewise.
57500         * posix/fnmatch_loop.c (FCT): Adjust caller.
57501         * posix/regcomp.c (build_equiv_class): Likewise.
57502         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57503         * posix/regexec.c (check_node_accept_bytes): Likewise.
57504         * string/strcoll_l.c (STRCOLL): Likewise.
57505         * string/strxfrm_l.c (STRXFRM): Likewise.
57507 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57509         * Makefile.in: Remove CVSOPT handling.
57510         * configure.in: Remove use of AC_REVISION.
57511         * iconvdata/Makefile (distribute): No need to filter out CVS.
57512         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57513         handling.
57515 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57517         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57518         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57519         [USE_AS_STRNCASECMP_L]: Likewise.
57520         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57521         NO_TLS_DIRECT_SEG_REFS.
57522         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57523         Fix argument offsets for non-PIC.
57524         [USE_AS_STRNCASECMP_L]: Likewise.
57525         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57526         NO_TLS_DIRECT_SEG_REFS.
57528 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57530         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57531         O_CLOEXEC.
57532         * locale/loadlocale.c (_nl_load_locale): Likewise.
57534 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57536         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57537         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57538         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57539         (SYSCALL_GETTIME): Set errno on error.
57541         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57542         count references to noai6ai_cached.
57544 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57546         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57548         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57549         FD_CLOEXEC for /proc/self/maps.
57551         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57552         FD_CLOEXEC for /proc/meminfo.
57554         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57555         gai.conf.
57557         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57558         FD_CLOEXEC for given file.
57560         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57562         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57563         FD_CLOEXEC for /etc/hosts.
57564         (_gethtent): Likewise.
57566         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57568         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57569         cancellation and set FD_CLOEXEC for /etc/netgroup.
57571         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57572         reading /etc/publickey.
57574         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57575         allow cancellation when reading /etc/group.
57577         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57578         cancellation.
57579         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57581         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57582         when using data file.
57584         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57586         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57587         (write_nis_obj): Use "c" and "e" in fopen.
57589         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57591         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57593         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57595         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57597         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57598         locale.alias.
57600         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57602         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57604         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57606         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57607         file parsing and set FD_CLOEXEC.
57609 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57611         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57613 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57615         * malloc/arena.c (arena_get2): Don't call reused_arena when
57616         _int_new_arena failed.
57618 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57620         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57621         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57622         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57623         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57624         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57625         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57626         to compile strcasecmp and strncasecmp.
57627         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57628         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57630         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57632 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57634         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57635         locale-defines.sym to gen-as-const-headers.
57636         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57637         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57638         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57639         to compile strcasecmp and strncasecmp.
57640         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57641         strcasecmp_l and strncasecmp_l.
57642         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57643         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57644         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57645         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57646         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57647         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57648         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57649         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57650         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57651         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57652         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57654 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57656         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57657         result of SYSDEP_GETTIME_CPU to retval.
57658         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57659         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57661         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57662         variable.
57664         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57665         mantissa words.
57666         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57668         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57669         from unused variable.
57671         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57672         DWARF definitions.
57673         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57674         for assembling.
57676         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57677         over namespaces.
57679         * sunrpc/rpc_prot.c (rejected): Fix case value.
57681         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57682         unsigned long long int to avoid warnings in shift.
57684         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57685         of use of trans.
57686         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57687         variable tmp.
57689         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57690         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57691         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57693         * nis/nis_table.c (nis_list): Use variable of correct type for
57694         result of __follow_path call.
57696 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57698         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57699         of math functions ceil, trunc, floor, round, and sqrt, when
57700         avaliable on the platform.
57701         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57702         name clash.
57703         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57704         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57705         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57707 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57709         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57710         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57712 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57714         * include/unistd.h: Fix __readlink return type.
57715         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57717 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57719         * stdlib/ucontext.h: Undo last change for makecontext.
57721 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57723         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57725         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57726         * setjmp/setjmp.h: Mark functions as non-leaf.
57727         * setjmp/bits/setjmp2.h: Likewise.
57728         * stdlib/ucontext.h: Likewise.
57730 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57732         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57733         (reused_arena): Don't check arena limit.
57734         (arena_get2): Atomically check arena limit.
57736 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57738         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57739         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57741         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57742         instructions.
57744 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57746         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57747         handler when locking.
57749         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57750         Fix size of allocated buffer.
57752 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57754         [BZ #10103]
57755         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57756         declarations for long double functions.
57757         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57759         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57761 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57763         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57764         installed.
57766         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57767         is disabled.
57769 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57771         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57773 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57775         * include/alloca.h (stackinfo_alloca_round): Define.
57776         (extend_alloca): Use it.
57777         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57778         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57779         here.
57781         * scripts/check-local-headers.sh: Ignore libaudit.h.
57783         * nscd/Makefile (extra-objs): Make recursively expanded.
57785 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57787         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57788         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57790         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57791         * posix/tst-rfc3484-2.c: Likewise.
57792         * posix/tst-rfc3484-3.c: Likewise.
57794         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57795         process_vm_writev.
57796         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57797         process_vm_writev.
57798         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57799         process_vm_writev from libc using GLIBC_2.15 version.
57801         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57803 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57805         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57806         stack usage.
57808 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57810         [BZ #13367]
57811         * nss/getent.c (initgroups_keys): Show error message in case no group
57812         names are given.
57814         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57815         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57816         __bump_nl_timestamp.
57817         * nscd/connections (nscd_init): When host database is served open
57818         netlink socket and request notification about configuration changes.
57819         (main_loop_poll): Track netlink file descriptor and bump timestamp
57820         in case data becomes available.
57821         (main_loop_epoll): Likewise.
57822         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57823         (database_pers_head): Add extra_data fileds.
57824         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57825         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57826         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57827         Adjust caller.
57828         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57829         in6ai data, call __free_in6ai.
57830         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57831         Add -DHAVE_NETLINK.
57832         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57833         interface information.  Reuse previous data if netlink timestamp
57834         is not changed.
57835         (__bump_nl_timestamp): New function.
57836         (__free_in6ai): New function.
57838 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57840         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57841         close_not_cancel_no_status here.
57842         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57844 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57846         [BZ #13276]
57847         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57848         return value.
57850         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57851         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57852         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57854 2011-07-03  Andreas Jaeger  <aj@suse.de>
57856         [BZ #10709]
57857         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57858         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57859         * math/libm-test.inc (sin_test): Add test case.
57861 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57863         [BZ #13337]
57864         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57865         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57867         * elf/chroot_canon.c (chroot_canon): Cleanups.
57869         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57871         [BZ #13335]
57872         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57873         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57875         * string/test-strchr.c: Make usable for strchrnul testing.
57876         * string/test-strchrnul.c: New file.
57877         * string/Makefile (strop-tests): Add strchrnul.
57879         * po/it.po: Update from translation team.
57880         * po/es.po: Likewise.
57882 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57884         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57885         the three constants needed as parameters.  Drop the others.
57886         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57887         __m128i_strloadu_tolower.
57888         Create and initialize variable zero and use it in all the places
57889         where _mm_setzero_si128 was used.
57891         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57892         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57893         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57894         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57895         anymore.
57896         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57897         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57898         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57899         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57900         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57901         __mpranred, __mptan.
57902         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57903         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57904         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57905         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57906         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57907         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57908         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57909         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57910         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57912 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57914         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57915         redefine if SHARED.
57916         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57918         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57919         wide char related routines to wcsmbs subdir.
57921 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57923         [BZ #13344]
57924         * misc/sys/cdefs.h (__THROWNL): Define.
57925         * posix/unistd.h: Use __THREADNL instead of __THREAD
57926         for memory synchronization functions.
57928 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57930         [BZ #13349]
57931         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57932         doesn't exist.
57933         * manual/stdio.texi (Obstack Streams): Node removed.
57935 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57937         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57938         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57939         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57941         * math/math_private.h (math_force_eval): Allow non-addressable
57942         arguments.
57943         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57945 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57947         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57948         file is not needed.
57950         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57951         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57952         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57953         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57954         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57955         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57956         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57957         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57958         Add AVX variants.
57959         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57960         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57961         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57962         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57963         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57964         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57965         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57966         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57967         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57968         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57969         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57970         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57971         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57972         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57973         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57974         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57975         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57976         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57977         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57979         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57980         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57982         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57983         place.  Use VEX encoding when compiling for AVX.
57985 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57987         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57988         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57990         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57992 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57994         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57995         useless if() expression.
57996         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57997         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57998         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57999         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58000         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58001         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58002         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58003         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58004         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58005         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58006         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58007         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58008         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58009         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58010         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58011         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58012         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58013         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58014         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58016         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58018 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58020         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58021         condition.
58022         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58024 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58026         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58027         .text section.  Avoid duplicate constants.
58028         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58029         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58030         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58031         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58032         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58033         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58034         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58035         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58036         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58037         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58038         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58039         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58040         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58041         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58042         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58043         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58044         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58045         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58046         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58047         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58048         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58049         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58050         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58051         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58052         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58053         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58054         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58055         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58056         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58057         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58058         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58059         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58060         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58061         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58062         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58063         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58064         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58065         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58066         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58067         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58068         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58069         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58070         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58071         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58072         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58074 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58076         * sysdeps/x86_64/dla.h: Move to ...
58077         * sysdeps/x86_64/fpu/dla.h: ...here.
58078         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58079         situations.  Use __builtin_fma only for gcc 4.6 and up.
58081         * config.make.in: Add have-mfma4 entry.
58082         * configure.in: Substitute libc_cv_cc_fma4.
58083         * math/Makefile (dbl-only-routines): Add sincostab.
58084         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58085         Use __sincostab not sincos.
58086         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58087         name is a macro.
58088         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58089         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58090         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58091         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58092         using __copysign.
58093         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58094         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58095         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58096         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58097         and __inv.
58098         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58099         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58100         __copysign.
58101         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58102         define aliases when function name is a macro.
58103         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58104         sysdeps/ieee754/dbl-64/sincos.tbl.
58105         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58106         fma4-enabled routines.
58107         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58108         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58109         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58110         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58111         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58112         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58113         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58114         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58115         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58116         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58117         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58118         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58119         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58120         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58121         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58122         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58123         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58124         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58125         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58126         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58127         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58128         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58129         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58130         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58131         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58132         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58133         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58134         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58135         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58136         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58138         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58139         rename.
58140         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58141         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58142         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58143         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58144         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58145         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58146         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58147         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58149 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58151         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58153 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58155         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58157         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58158         prediction.
58159         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58161         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58162         Remove unused variable magic_bits.
58163         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58165         * string/strnlen.c: Define and use STRNLEN macro.
58166         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58167         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58168         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58169         * wcsmbs/wcslen.c: Define and use WCSLEN.
58170         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58171         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58172         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58173         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58174         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58175         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58176         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58178 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58181         strnlen-sse2-no-bsf.
58182         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58183         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58184         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58185         Add strnlen support.
58186         (USE_AS_STRNLEN): New macro.
58187         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58188         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58189         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58190         * sysdeps/x86_64/wcslen.S: New file.
58192 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58194         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58195         XMM-moves are used for copying on small sizes.
58197 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58199         * wcsmbs/Makefile (strop-tests): Add wcschr.
58200         * wcsmbs/test-wcschr.c: New file.
58201         * string/test-strchr.c: Update.
58202         Add wcschr support.
58203         (WIDE): New macro.
58205 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58207         * wcsmbs/Makefile (strop-tests): Add wcslen.
58208         * wcsmbs/test-wcslen.c: New file.
58209         * string/test-strlen.c: Update.
58210         Add wcslen support.
58211         (WIDE): New macro.
58213 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58215         * po/it.po: Update from translation team.
58217 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58219         * sysdeps/x86_64/wcscmp.S: Update.
58220         Fix wrong comparison semantics.
58221         wcscmp shall use signed comparison not unsigned.
58222         Don't use substraction to avoid overflow bug.
58223         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58224         * wcsmbc/wcscmp.c: Likewise.
58225         * string/test-strcmp.c: Likewise.
58226         Add new tests to check cases with negative values.
58228 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58230         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58231         * sysdeps/x86_64/dla.h: ...here.  New file.
58232         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58233         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58235         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58236         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58237         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58238         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58239         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58240         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58242 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58244         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58245         __ynl_finite aliases.
58247 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58251         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58252         define DLA_FMA.
58253         [DLA_FMA] (EMULV): Use DLA_FMA.
58254         [DLA_FMA] (MUL12): Use EMULV.
58255         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58256         that are not needed.
58257         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58258         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58259         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58260         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58261         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58262         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58263         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58265 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58267         * math/s_nan.c: Undef __nan.
58268         * math/s_nanf.c: Undef __nanf.
58269         * math/s_nanl.c: Undef __nanl.
58270         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58271         "math_private.h".
58273 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58275         * math/s_catan.c: Add branch predictions.
58276         * math/s_catanf.c: Likewise.
58277         * math/s_catanh.c: Likewise.
58278         * math/s_catanhf.c: Likewise.
58279         * math/s_catanhl.c: Likewise.
58280         * math/s_catanl.c: Likewise.
58281         * math/s_cexp.c: Likewise.
58282         * math/s_cexpf.c: Likewise.
58283         * math/s_cexpl.c: Likewise.
58284         * math/s_clog.c: Likewise.
58285         * math/s_clog10.c: Likewise.
58286         * math/s_clog10f.c: Likewise.
58287         * math/s_clog10l.c: Likewise.
58288         * math/s_clogf.c: Likewise.
58289         * math/s_clogl.c: Likewise.
58290         * math/s_csqrt.c: Likewise.
58291         * math/s_csqrtf.c: Likewise.
58292         * math/s_csqrtl.c: Likewise.
58293         * math/s_ctanf.c: Likewise.
58294         * math/s_ctanh.c: Likewise.
58295         * math/s_ctanhf.c: Likewise.
58296         * math/s_ctanhl.c: Likewise.
58297         * math/s_ctanl.c: Likewise.
58299         * math/math_private.h: Define __nan, __nanf, __nanl.
58300         * math/s_cacosh.c: Include <math_private.h>.
58301         * math/s_cacoshl.c: Likewise.
58302         * math/s_casinh.c: Likewise.
58303         * math/s_casinhf.c: Likewise.
58304         * math/s_casinhl.c: Likewise.
58305         * math/s_ccos.c: Rely entire on ccosh.
58306         * math/s_ccosf.c: Rely entire on ccoshf.
58307         * math/s_ccosl.c: Rely entirely on ccoshl.
58308         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58309         Remove tests for FE_INVALID.
58310         * math/s_ccoshf.c: Likewise.
58311         * math/s_ccoshl.c: Likewise.
58312         * math/s_csin.c: Likewise.
58313         * math/s_csinf.c: Likewise.
58314         * math/s_csinh.c Likewise.
58315         * math/s_csinhf.c: Likewise.
58316         * math/s_csinhl.c: Likewise.
58317         * math/s_csinl.c: Likewise.
58318         * math/s_ctan.c: Likewise.
58319         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58320         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58321         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58323 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58326         compilation problems.
58328         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58329         __builtin_expect.
58331 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58333         * sysdeps/i386/configure.in: Test for -mfma4 option.
58334         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58335         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58336         COMMON_CPUID_INDEX_80000001.
58337         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58338         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58339         use it if FMA3 is not supported.
58340         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58342         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58343         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58345 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58347         [BZ #12892]
58348         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58349         it would create a cycle with a link time dependency.
58351 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58353         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58354         instruction.
58355         * string/Makefile (strop-tests): Add rawmemchr.
58356         * string/test-rawmemchr.c: New file.
58358         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58359         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58360         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58361         when compiling str{,n}casecmp and when AVX is available.  Hook up
58362         new optimized code in initializers.
58364 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58366         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58367         __feraiseexcept instead of feraiseexcept.
58369 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58371         * math/math_private.h: Define defaults for libc_fetestexcept and
58372         libc_feupdateenv.
58373         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58374         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58375         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58376         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58377         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58378         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58379         libc_fetestexcept and libc_feupdateenv.
58381         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58382         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58383         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58384         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58385         libc_feholdexcept_setround.
58387         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58388         Add s_nearbyint-c and s_nearbyintf-c.
58389         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58390         nearbyintf inlines.
58391         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58392         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58393         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58394         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58396         * math/math_private.h: Define defaults for libc_fegetround,
58397         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58398         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58399         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58400         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58401         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58402         standard functions.
58403         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58404         Remove comments and hacks for old compiler versions.
58405         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58406         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58407         libc_feholdexceptl.
58409 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58411         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58412         (__feraiseexcept_renamed): Add __NTH.
58413         (feraiseexcept): Add __NTH.  Rename local variables to fix
58414         namespace violations.
58416 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58418         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58420         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58422         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58423         recently added interfaces.
58424         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58426         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58427         about macro parameter expansion.
58429         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58430         __NO_MATH_INLINES is defined.  Cleanups.
58432         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58433         and __floorf is target has SSE4.1.
58434         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58435         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58436         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58437         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58439         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58440         name.
58441         (floorf): Likewise.
58443         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58445 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58447         * misc/sys/cdefs.h: Fix last change.
58449         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58450         database lookup.
58452 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58454         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58456         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58457         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58458         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58459         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58460         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58461         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58462         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58463         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58464         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58465         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58466         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58467         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58468         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58469         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58470         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58471         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58472         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58473         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58474         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58475         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58476         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58477         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58479         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58480         ceil, ceilf, floor, floorf.
58482         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58483         Perform IRELATIVE relocations last.
58485         * elf/do-rel.h: Add another parameter nrelative, replacing the
58486         local variable with the same name.  Change name of the function
58487         to end in Rel or Rela (uppercase).
58488         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58489         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58490         elf_dynamic_do_##reloc function.
58492 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58494         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58495         is sufficient, at least on modern CPUs.
58497         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58499         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58500         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58502         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58503         __expl_finite.
58504         * math/bits/math-finite.h: Add entries for exp.
58505         * math/e_expl.c: Add __*_finite alias.
58506         * sysdeps/i386/fpu/e_exp.S: Likewise.
58507         * sysdeps/i386/fpu/e_expf.S: Likewise.
58508         * sysdeps/i386/fpu/e_expl.c: Likewise.
58509         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58510         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58511         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58512         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58513         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58514         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58515         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58517         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58518         is sufficient, at least on modern CPUs.
58520         * ctype/ctype-info.c (__ctype_init): Define.
58521         * include/ctype.h (__ctype_init): Declare.
58522         (__ctype_b_loc): The variable is always initialized.
58523         (__ctype_toupper_loc): Likewise.
58524         (__ctype_tolower_loc): Likewise.
58525         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58526         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58528 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58530         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58532         * configure.in: Also look in $cxxmachine/include for C++ system
58533         headers.
58535 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58537         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58538         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58539         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58540         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58541         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58542         (USE_AS_WMEMCMP): New macro.
58543         Fixing indents.
58544         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58545         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58546         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58547         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58548         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58549         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58550         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58551         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58552         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58553         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58554         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58555         (USE_AS_WMEMCMP): New macro.
58556         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58557         * sysdeps/string/test-memcmp.c: Update.
58558         Fix simple_wmemcmp.
58559         Add new tests.
58560         * wcsmbs/wmemcmp.c: Update.
58561         (WMEMCMP): New macro.
58562         Fix overflow bug.
58564 2011-10-12  Andreas Jaeger  <aj@suse.de>
58566         [BZ #13268]
58567         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58569 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58571         * libio/iofwide.c (do_length): Avoid warning.
58573         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58575 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58577         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58579         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58580         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58581         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58582         * sysdeps/i386/i686/fpu/e_log.S: New file.
58583         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58584         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58586         * ctype/ctype.h: Add support for inlined isXXX functions when
58587         compiling C++ code.
58589 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58591         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58593         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58595 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58597         [BZ #13291]
58598         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58600 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58602         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58603         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58604         feraiseexcept.
58606         * sysdeps/x86_64/memrchr.S: Check for zero size.
58608         * string/stratcliff.c: Add memrchr tests.
58610 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58612         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58613         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58614         rawmemchr-sse2 rawmemchr-sse2-bsf.
58615         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58616         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58617         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58618         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58619         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58620         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58621         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58622         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58623         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58624         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58625         * string/memrchr.c (MEMRCHR): New macro.
58627 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58629         Add integration with gcc's -ffinite-math-only and optimize wrapper
58630         functions in libm.
58631         * Versions.def: Define GLIBC_2.15 version for libm.
58632         * math/Makefile (headers): Add bits/math-finite.h.
58633         * math/bits/math-finite.h: New file.
58634         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58635         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58636         * math/e_acoshl.c: Add __*_finite alias.
58637         * math/e_acosl.c: Likewise.
58638         * math/e_asinl.c: Likewise.
58639         * math/e_atan2l.c: Likewise.
58640         * math/e_atanhl.c: Likewise.
58641         * math/e_coshl.c: Likewise.
58642         * math/e_exp10.c: Likewise.
58643         * math/e_exp10f.c: Likewise.
58644         * math/e_exp10l.c: Likewise.
58645         * math/e_exp2l.c: Likewise.
58646         * math/e_fmodl.c: Likewise.
58647         * math/e_gammal_r.c: Likewise.
58648         * math/e_hypotl.c: Likewise.
58649         * math/e_j0l.c: Likewise.
58650         * math/e_j1l.c: Likewise.
58651         * math/e_jnl.c: Likewise.
58652         * math/e_lgammal_r.c: Likewise.
58653         * math/e_log10l.c: Likewise.
58654         * math/e_log2l.c: Likewise.
58655         * math/e_logl.c: Likewise.
58656         * math/e_powl.c: Likewise.
58657         * math/e_sinhl.c: Likewise.
58658         * math/e_sqrtl.c: Likewise.
58659         * math/e_scalb.c: Completely rewritten and optimized.
58660         * math/e_scalbf.c: Likewise.
58661         * math/e_scalbl.c: Likewise.
58662         * math/w_acos.c: Likewise.
58663         * math/w_acosf.c: Likewise.
58664         * math/w_acosl.c: Likewise.
58665         * math/w_acosh.c: Likewise.
58666         * math/w_acoshf.c: Likewise.
58667         * math/w_acoshl.c: Likewise.
58668         * math/w_asin.c: Likewise.
58669         * math/w_asinf.c: Likewise.
58670         * math/w_asinl.c: Likewise.
58671         * math/w_atan2.c: Likewise.
58672         * math/w_atan2f.c: Likewise.
58673         * math/w_atan2l.c: Likewise.
58674         * math/w_atanh.c: Likewise.
58675         * math/w_atanhf.c: Likewise.
58676         * math/w_atanhl.c: Likewise.
58677         * math/w_exp10.c: Likewise.
58678         * math/w_exp10f.c: Likewise.
58679         * math/w_exp10l.c: Likewise.
58680         * math/w_fmod.c: Likewise.
58681         * math/w_fmodf.c: Likewise.
58682         * math/w_fmodl.c: Likewise.
58683         * math/w_j0.c: Likewise.
58684         * math/w_j0f.c: Likewise.
58685         * math/w_j0l.c: Likewise.
58686         * math/w_j1.c: Likewise.
58687         * math/w_j1f.c: Likewise.
58688         * math/w_j1l.c: Likewise.
58689         * math/w_jn.c: Likewise.
58690         * math/w_jnf.c: Likewise.
58691         * math/w_log.c: Likewise.
58692         * math/w_logf.c: Likewise.
58693         * math/w_logl.c: Likewise.
58694         * math/w_log10.c: Likewise.
58695         * math/w_log10f.c: Likewise.
58696         * math/w_log10l.c: Likewise.
58697         * math/w_log2.c: Likewise.
58698         * math/w_log2f.c: Likewise.
58699         * math/w_log2l.c: Likewise.
58700         * math/w_pow.c: Likewise.
58701         * math/w_powf.c: Likewise.
58702         * math/w_powl.c: Likewise.
58703         * math/w_remainder.c: Likewise.
58704         * math/w_remainderf.c: Likewise.
58705         * math/w_remainderl.c: Likewise.
58706         * math/w_scalb.c: Likewise.
58707         * math/w_scalbf.c: Likewise.
58708         * math/w_scalbl.c: Likewise.
58709         * math/w_sqrt.c: Likewise.
58710         * math/w_sqrtf.c: Likewise.
58711         * math/w_sqrtl.c: Likewise.
58712         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58713         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58714         used.
58715         * math/math_private.h: Declare __kernel_standard_f.
58716         * math/w_cosh.c: Remove cruft and optimize a bit.
58717         * math/w_coshf.c: Likewise.
58718         * math/w_coshl.c: Likewise.
58719         * math/w_exp2.c: Likewise.
58720         * math/w_exp2f.c: Likewise.
58721         * math/w_exp2l.c: Likewise.
58722         * math/w_hypot.c: Likewise.
58723         * math/w_hypotf.c: Likewise.
58724         * math/w_hypotl.c: Likewise.
58725         * math/w_lgamma.c: Likewise.
58726         * math/w_lgamma_r.c: Likewise.
58727         * math/w_lgammaf.c: Likewise.
58728         * math/w_lgammaf_r.c: Likewise.
58729         * math/w_lgammal.c: Likewise.
58730         * math/w_lgammal_r.c: Likewise.
58731         * math/w_sinh.c: Likewise.
58732         * math/w_sinhf.c: Likewise.
58733         * math/w_sinhl.c: Likewise.
58734         * math/w_tgamma.c: Likewise.
58735         * math/w_tgammaf.c: Likewise.
58736         * math/w_tgammal.c: Likewise.
58737         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58738         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58739         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58740         Minor optimizations.  Pretty printing.  Remove cruft.
58741         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58742         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58743         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58744         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58745         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58746         * sysdeps/i386/fpu/e_asin.S: Likewise.
58747         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58748         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58749         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58750         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58751         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58752         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58753         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58754         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58755         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58756         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58757         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58758         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58759         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58760         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58761         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58762         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58763         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58764         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58765         * sysdeps/i386/fpu/e_log.S: Likewise.
58766         * sysdeps/i386/fpu/e_log10.S: Likewise.
58767         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58768         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58769         * sysdeps/i386/fpu/e_log2.S: Likewise.
58770         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58771         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58772         * sysdeps/i386/fpu/e_logf.S: Likewise.
58773         * sysdeps/i386/fpu/e_logl.S: Likewise.
58774         * sysdeps/i386/fpu/e_pow.S: Likewise.
58775         * sysdeps/i386/fpu/e_powf.S: Likewise.
58776         * sysdeps/i386/fpu/e_powl.S: Likewise.
58777         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58778         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58779         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58780         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58781         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58782         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58783         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58784         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58785         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58786         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58787         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58788         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58789         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58790         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58791         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58792         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58793         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58794         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58795         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58796         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58797         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58798         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58799         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58800         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58801         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58802         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58803         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58804         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58805         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58806         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58807         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58808         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58809         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58810         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58811         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58812         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58813         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58814         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58815         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58816         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58817         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58818         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58819         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58820         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58821         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58822         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58823         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58824         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58825         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58826         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58827         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58828         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58829         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58830         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58831         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58832         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58833         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58834         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58835         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58836         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58837         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58838         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58839         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58840         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58841         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58842         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58843         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58844         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58845         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58846         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58847         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58848         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58849         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58850         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58851         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58852         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58853         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58854         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58855         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58856         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58857         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58858         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58859         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58860         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58861         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58862         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58863         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58864         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58865         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58866         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58867         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58868         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58869         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58870         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58871         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58872         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58873         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58874         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58875         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58876         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58877         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58878         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58879         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58880         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58881         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58882         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58883         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58884         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58885         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58886         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58887         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58888         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58889         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58890         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58891         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58892         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58893         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58894         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58895         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58896         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58897         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58898         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58899         (__isnanf): Likewise.
58900         (__isinf_ns): Likewise.
58901         (__isinf_nsf): Likewise.
58902         (__finite): Likewise.
58903         (__finitef): Likewise.
58904         (__ieee754_sqrt): Define as macro.
58905         (__ieee754_sqrtf): Define as macro.
58906         (__ieee754_sqrtl): Define as macro.
58907         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58908         inlined copy.
58909         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58910         __FINITE_MATH_ONLY__ consistent.
58911         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58913 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58915         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58916         of rawmemchr.
58918         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58920 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58922         * po/ja.po: Update from translation team.
58924 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58926         * locale/programs/locarchive.c (prepare_address_space): New function.
58927         (create_archive, enlarge_archive, open_archive): Use it.
58929         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58930         inside [SHARED], where it is used.
58932         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58934         * nss/getent.c (netgroup_keys): Remove unused variable.
58935         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58937 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58939         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58940         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58941         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58942         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58943         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58944         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58945         * math/Makefile (libm-calls): Add s_isinf_ns.
58946         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58947         * math/multc3.c: Likewise.
58948         * math/s_casin.c: Likewise.
58949         * math/s_casinf.c: Likewise.
58950         * math/s_casinl.c: Likewise.
58951         * math/s_ccos.c: Likewise.
58952         * math/s_ccosf.c: Likewise.
58953         * math/s_ccosl.c: Likewise.
58954         * math/s_ctan.c: Likewise.
58955         * math/s_ctanf.c: Likewise.
58956         * math/s_ctanh.c: Likewise.
58957         * math/s_ctanhf.c: Likewise.
58958         * math/s_ctanhl.c: Likewise.
58959         * math/s_ctanl.c: Likewise.
58960         * math/w_fmod.c: Likewise.
58961         * math/w_fmodf.c: Likewise.
58962         * math/w_fmodl.c: Likewise.
58963         * math/w_remainder.c: Likewise.
58964         * math/w_remainderf.c: Likewise.
58965         * math/w_remainderl.c: Likewise.
58966         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58967         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58968         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58969         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58970         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58971         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58972         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58973         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58975         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58976         of the number.
58977         * stdio-common/printf_fphex.c: Likewise.
58978         * stdio-common/printf_size.c: Likewise.
58980         * math/e_exp10.c: Include math_private.h using <...> not "...".
58981         * math/e_exp10f.c: Likewise.
58982         * math/e_exp10l.c: Likewise.
58983         * math/e_exp2l.c: Likewise.
58984         * math/e_j0l.c: Likewise.
58985         * math/e_j1l.c: Likewise.
58986         * math/e_jnl.c: Likewise.
58987         * math/e_lgammal_r.c: Likewise.
58988         * math/e_rem_pio2l.c: Likewise.
58989         * math/e_scalb.c: Likewise.
58990         * math/e_scalbf.c: Likewise.
58991         * math/e_scalbl.c: Likewise.
58992         * math/k_cosl.c: Likewise.
58993         * math/k_sinl.c: Likewise.
58994         * math/k_tanl.c: Likewise.
58995         * math/s_cacoshf.c: Likewise.
58996         * math/s_catan.c: Likewise.
58997         * math/s_catanf.c: Likewise.
58998         * math/s_catanh.c: Likewise.
58999         * math/s_catanhf.c: Likewise.
59000         * math/s_catanhl.c: Likewise.
59001         * math/s_catanl.c: Likewise.
59002         * math/s_ccosh.c: Likewise.
59003         * math/s_ccoshf.c: Likewise.
59004         * math/s_ccoshl.c: Likewise.
59005         * math/s_cexp.c: Likewise.
59006         * math/s_cexpf.c: Likewise.
59007         * math/s_cexpl.c: Likewise.
59008         * math/s_clog.c: Likewise.
59009         * math/s_clog10.c: Likewise.
59010         * math/s_clog10f.c: Likewise.
59011         * math/s_clog10l.c: Likewise.
59012         * math/s_clogf.c: Likewise.
59013         * math/s_clogl.c: Likewise.
59014         * math/s_csin.c: Likewise.
59015         * math/s_csinf.c: Likewise.
59016         * math/s_csinh.c: Likewise.
59017         * math/s_csinhf.c: Likewise.
59018         * math/s_csinhl.c: Likewise.
59019         * math/s_csinl.c: Likewise.
59020         * math/s_csqrt.c: Likewise.
59021         * math/s_csqrtf.c: Likewise.
59022         * math/s_csqrtl.c: Likewise.
59023         * math/s_ctan.c: Likewise.
59024         * math/s_ctanf.c: Likewise.
59025         * math/s_ctanh.c: Likewise.
59026         * math/s_ctanhf.c: Likewise.
59027         * math/s_ctanhl.c: Likewise.
59028         * math/s_ctanl.c: Likewise.
59029         * math/s_ldexp.c: Likewise.
59030         * math/s_ldexpf.c: Likewise.
59031         * math/s_ldexpl.c: Likewise.
59032         * math/s_significand.c: Likewise.
59033         * math/s_significandf.c: Likewise.
59034         * math/s_significandl.c: Likewise.
59035         * math/w_acos.c: Likewise.
59036         * math/w_acosf.c: Likewise.
59037         * math/w_acosh.c: Likewise.
59038         * math/w_acoshf.c: Likewise.
59039         * math/w_acoshl.c: Likewise.
59040         * math/w_acosl.c: Likewise.
59041         * math/w_asin.c: Likewise.
59042         * math/w_asinf.c: Likewise.
59043         * math/w_asinl.c: Likewise.
59044         * math/w_atan2.c: Likewise.
59045         * math/w_atan2f.c: Likewise.
59046         * math/w_atan2l.c: Likewise.
59047         * math/w_atanh.c: Likewise.
59048         * math/w_atanhf.c: Likewise.
59049         * math/w_atanhl.c: Likewise.
59050         * math/w_cosh.c: Likewise.
59051         * math/w_coshf.c: Likewise.
59052         * math/w_coshl.c: Likewise.
59053         * math/w_dremf.c: Likewise.
59054         * math/w_exp10.c: Likewise.
59055         * math/w_exp10f.c: Likewise.
59056         * math/w_exp10l.c: Likewise.
59057         * math/w_exp2.c: Likewise.
59058         * math/w_exp2f.c: Likewise.
59059         * math/w_fmod.c: Likewise.
59060         * math/w_fmodf.c: Likewise.
59061         * math/w_fmodl.c: Likewise.
59062         * math/w_hypot.c: Likewise.
59063         * math/w_hypotf.c: Likewise.
59064         * math/w_hypotl.c: Likewise.
59065         * math/w_j0.c: Likewise.
59066         * math/w_j0f.c: Likewise.
59067         * math/w_j0l.c: Likewise.
59068         * math/w_j1.c: Likewise.
59069         * math/w_j1f.c: Likewise.
59070         * math/w_j1l.c: Likewise.
59071         * math/w_jn.c: Likewise.
59072         * math/w_jnf.c: Likewise.
59073         * math/w_jnl.c: Likewise.
59074         * math/w_lgamma.c: Likewise.
59075         * math/w_lgamma_r.c: Likewise.
59076         * math/w_lgammaf.c: Likewise.
59077         * math/w_lgammaf_r.c: Likewise.
59078         * math/w_lgammal.c: Likewise.
59079         * math/w_lgammal_r.c: Likewise.
59080         * math/w_log.c: Likewise.
59081         * math/w_log10.c: Likewise.
59082         * math/w_log10f.c: Likewise.
59083         * math/w_log10l.c: Likewise.
59084         * math/w_log2.c: Likewise.
59085         * math/w_log2f.c: Likewise.
59086         * math/w_log2l.c: Likewise.
59087         * math/w_logf.c: Likewise.
59088         * math/w_logl.c: Likewise.
59089         * math/w_pow.c: Likewise.
59090         * math/w_powf.c: Likewise.
59091         * math/w_powl.c: Likewise.
59092         * math/w_remainder.c: Likewise.
59093         * math/w_remainderf.c: Likewise.
59094         * math/w_remainderl.c: Likewise.
59095         * math/w_scalb.c: Likewise.
59096         * math/w_scalbf.c: Likewise.
59097         * math/w_scalbl.c: Likewise.
59098         * math/w_sinh.c: Likewise.
59099         * math/w_sinhf.c: Likewise.
59100         * math/w_sinhl.c: Likewise.
59101         * math/w_sqrt.c: Likewise.
59102         * math/w_sqrtf.c: Likewise.
59103         * math/w_sqrtl.c: Likewise.
59104         * math/w_tgamma.c: Likewise.
59105         * math/w_tgammaf.c: Likewise.
59106         * math/w_tgammal.c: Likewise.
59108         * po/ja.po: Update from translation team.
59110 2011-09-29  Andreas Jaeger  <aj@suse.de>
59112         [BZ #13179]
59113         * sunrpc/netname.c (netname2host): Fix logic.
59115         [BZ #6779]
59116         [BZ #6783]
59117         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59118         correctly.
59119         * math/w_remainder.c (__remainder): Likewise.
59120         * math/w_remainderf.c (__remainderf): Likewise.
59121         * math/libm-test.inc (remainder_test): Add test cases.
59123 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59125         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59126         sdiv_qrnnd.
59128 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59130         * string/test-memcmp.c: Avoid unncessary #defines.
59131         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59133 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59135         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59136         Use new sse2 version for core i3 - i7 as it's faster
59137         than sse42 version.
59138         (bit_Prefer_PMINUB_for_stringop): New.
59139         * sysdeps/x86_64/rawmemchr.S: Update.
59140         Replace with faster SSE2 version.
59141         * sysdeps/x86_64/memrchr.S: New file.
59142         * sysdeps/x86_64/memchr.S: Update.
59143         Replace with faster SSE2 version.
59145 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59147         * elf/dl-load.c (lose): Add cast to avoid warning.
59149 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59151         * po/ca.po: Update from translation team.
59153         * inet/getnetgrent_r.c: Hook up nscd.
59154         * nscd/Makefile (routines): Add nscd_netgroup.
59155         (nscd-modules): Add netgroupcache.
59156         (CFLAGS-netgroupcache.c): Define.
59157         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59158         (cache_search): Add const to second parameter.
59159         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59160         INNETGR.
59161         (dbs): Add netgrdb entry.
59162         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59163         (verify_persistent_db): Handle netgrdb.
59164         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59165         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59166         GETFDNETGR.
59167         (netgroup_response_header): Define.
59168         (innetgroup_response_header): Define.
59169         (datahead): Add netgroup_response_header and innetgroup_response_header
59170         elements.
59171         * nscd/nscd.conf: Add entries for netgroup cache.
59172         * nscd/nscd.h (dbtype): Add netgrdb.
59173         (_PATH_NSCD_NETGROUP_DB): Define.
59174         (netgroup_iov_disabled): Declare.
59175         (xmalloc, xcalloc, xrealloc): Move declarations here.
59176         (cache_search): Adjust prototype.
59177         Add netgroup-related prototypes.
59178         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59179         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59180         (__nscd_innetgr): Declare.
59181         * nscd/selinux.c (perms): Use access_vector_t as element type and
59182         add netgroup-related initializers.
59183         * nscd/netgroupcache.c: New file.
59184         * nscd/nscd_netgroup.c: New file.
59185         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59186         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59187         For four parameters use innetgr.
59188         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59189         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59190         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59191         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59193         * nscd/connections.c (register_traced_file): Don't register file
59194         for disabled databases.
59196 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59198         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59200         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59201         from tree and freeing node.
59203 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59205         * nss/nsswitch.c (__nss_database_lookup): Handle
59206         nss_parse_service_list out of memory case.
59208 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59210         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59211         out of memory case.
59213 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59215         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59216         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59217         pass it down.
59218         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59219         elf_machine_rela, elf_machine_lazy_rel.
59220         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59221         (ELF_DYNAMIC_DO_REL): Likewise.
59222         (ELF_DYNAMIC_DO_RELA): Likewise.
59223         (ELF_DYNAMIC_RELOCATE): Likewise.
59224         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59225         to ELF_DYNAMIC_DO_REL.
59226         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59227         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59228         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59229         elf_machine_rela.
59230         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59231         skip_ifunc, don't call ifunc function if non-zero.
59232         (elf_machine_rela): Likewise.
59233         (elf_machine_lazy_rel): Likewise.
59234         (elf_machine_lazy_rela): Likewise.
59235         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59236         (elf_machine_lazy_rel): Likewise.
59237         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59238         Likewise.
59239         (elf_machine_lazy_rel): Likewise.
59240         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59241         Likewise.
59242         (elf_machine_lazy_rel): Likewise.
59243         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59244         (elf_machine_lazy_rel): Likewise.
59245         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59246         (elf_machine_lazy_rel): Likewise.
59247         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59248         (elf_machine_lazy_rel): Likewise.
59249         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59250         (elf_machine_lazy_rel): Likewise.
59251         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59252         (elf_machine_lazy_rel): Likewise.
59253         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59254         (elf_machine_lazy_rel): Likewise.
59256 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59258         * nss/nss_files/files-init.c (_nss_files_init): Use static
59259         initialization for all the *_traced_file variables.
59261 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59263         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59265 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59267         [BZ #13226]
59268         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59270 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59272         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59273         Reread the line before reparsing it.
59275 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59277         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59279 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59280             Maxim Kuvyrkov  <maxim@codesourcery.com>
59281             Joseph Myers  <joseph@codesourcery.com>
59283         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59284         if needed for __stack_chk_guard.
59286 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59288         * sysdeps/posix/spawni.c (script_execute): Always define it.
59289         It will be optimized away if unused.
59290         (maybe_script_execute): New function.
59291         (__spawni): Call it.
59293         * Makerules: Don't include tls.make.
59294         (config-tls): Always set to thread.
59295         * tls.make.c: File removed.
59297 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59299         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59300         * config.make.in (CPPFLAGS-config): New substituted variable.
59302 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59304         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59306         [BZ #13192]
59307         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59308         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59310 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59312         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59313         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59314         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59315         (CALL_FAIL): Likewise.
59316         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59317         (CALL_FAIL): Macro removed.
59318         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59320 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59322         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59323         for __FINITE_MATH_ONLY__ == 1.
59325 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59327         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59328         __ieee754_sqrt instead of sqrt.
59329         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59330         __ieee754_sqrtf instead of sqrtf.
59331         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59332         __floorf instead of floorf.
59333         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59334         __floorf, __truncf instead of floorf, truncf.
59336 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59338         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59340         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59341         __extern_always_inline.
59342         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59343         32-bit.
59345 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59347         * elf/rtld.c (dl_main): Also relocate in dependency order when
59348         doing symbol dependency testing.
59350 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59352         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59353         Always define `refsym'.
59355 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59357         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59358         (__FD_ELT): Renamed from __FDELT.
59359         * misc/bits/select2.h (__FD_ELT): Likewise.
59360         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59361         __FD_MASK instead of __FDELT, __FDMASK.
59362         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59363         Likewise.
59364         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59365         Likewise.
59367         * elf/Makefile (gen-ldd): Fix pattern.
59369         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59370         (init_tls): Likewise.
59372 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59374         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59376 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59378         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59379         `struct cmsghdr *' instead of `void *'.
59380         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59381         Likewise.
59383 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59385         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59386         if non-absolute.
59387         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59388         ldd_rewrite_script.
59390 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59392         * configure.in: Remove --with-tls option.
59393         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59394         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59395         out in case it is missing.
59396         * sysdeps/ia64/elf/configure.in: Likewise.
59397         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59398         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59399         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59400         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59401         * sysdeps/sh/elf/configure.in: Likewise.
59402         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59403         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59404         * sysdeps/x86_64/elf/configure.in: Likewise.
59405         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59406         * sysdeps/mach/hurd/tls.h: Likewise.
59408         [BZ #13067]
59409         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59411         [BZ #13090]
59412         * configure.in: Fix use of AC_INIT.
59414         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59416 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59418         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59419         __set_errno.
59420         * malloc/hooks.c: Likewise.
59422         [BZ #11929]
59423         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59424         variables statically.
59425         (narenas): Initialize.
59426         (list_lock): Initialize.
59427         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59428         initializtion of main_arena and list_lock.  Small cleanups.
59429         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59430         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59431         Add initializers to main_arena and mp_.
59432         (malloc_state): Remove pagesize member.  Change all users to use
59433         GLRO(dl_pagesize).
59435         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59436         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59437         is always initialized.
59439         * malloc/malloc.c: Removed unused configurations and dead code.
59440         * malloc/arena.c: Likewise.
59441         * malloc/hooks.c: Likewise.
59442         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59444         * include/tls.h: Removed.  USE___THREAD must always be defined.
59445         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59446         * elf/dl-libc.c: Likewise.
59447         * elf/dl-tsd.c: Likewise.
59448         * include/errno.h: Likewise.
59449         * include/netdb.h: Likewise.
59450         * include/resolv.h: Likewise.
59451         * inet/herrno-loc.c: Likewise.
59452         * inet/herrno.c: Likewise.
59453         * malloc/arena.c: Likewise.
59454         * malloc/hooks.c: Likewise.
59455         * malloc/malloc.c: Likewise.
59456         * resolv/res-state.c: Likewise.
59457         * resolv/res_libc.c: Likewise.
59458         * sysdeps/i386/dl-machine.h: Likewise.
59459         * sysdeps/ia64/dl-machine.h: Likewise.
59460         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59461         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59462         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59463         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59464         * sysdeps/sh/dl-machine.h: Likewise.
59465         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59466         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59467         * sysdeps/unix/i386/sysdep.S: Likewise.
59468         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59469         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59470         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59471         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59472         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59473         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59474         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59475         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59476         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59477         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59478         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59479         * sysdeps/x86_64/dl-machine.h: Likewise.
59480         * tls.make.c: Likewise.
59482         * configure.in: Remove --with-__thread option.  Make tests for
59483         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59484         tls_model attribute fail if no support is available.  Remove
59485         USE_IN_LIBIO.
59486         * Makeconfig: Adjust for dropped configure option.  All features are
59487         now mandatory.
59488         * Makerules: Likewise.
59489         * Versions.def: Likewise.
59490         * argp/argp-fmtstream.c: Likewise.
59491         * argp/argp-fmtstream.h: Likewise.
59492         * argp/argp-help.c: Likewise.
59493         * assert/assert.c: Likewise.
59494         * config.h.in: Likewise.
59495         * config.make.in: Likewise.
59496         * configure: Likewise.
59497         * configure.in: Likewise.
59498         * csu/Versions: Likewise.
59499         * csu/init.c: Likewise.
59500         * elf/tst-audit2.c: Likewise.
59501         * elf/tst-tls10.c: Likewise.
59502         * elf/tst-tls10.h: Likewise.
59503         * elf/tst-tls11.c: Likewise.
59504         * elf/tst-tls12.c: Likewise.
59505         * elf/tst-tls14.c: Likewise.
59506         * elf/tst-tlsmod11.c: Likewise.
59507         * elf/tst-tlsmod12.c: Likewise.
59508         * elf/tst-tlsmod13.c: Likewise.
59509         * elf/tst-tlsmod13a.c: Likewise.
59510         * elf/tst-tlsmod14a.c: Likewise.
59511         * elf/tst-tlsmod15b.c: Likewise.
59512         * elf/tst-tlsmod16a.c: Likewise.
59513         * elf/tst-tlsmod16b.c: Likewise.
59514         * elf/tst-tlsmod7.c: Likewise.
59515         * elf/tst-tlsmod8.c: Likewise.
59516         * elf/tst-tlsmod9.c: Likewise.
59517         * gmon/gmon.c: Likewise.
59518         * grp/fgetgrent_r.c: Likewise.
59519         * grp/putgrent.c: Likewise.
59520         * hurd/fopenport.c: Likewise.
59521         * include/libc-symbols.h: Likewise.
59522         * include/tls.h: Likewise.
59523         * intl/gettextP.h: Likewise.
59524         * intl/loadinfo.h: Likewise.
59525         * locale/global-locale.c: Likewise.
59526         * locale/localeinfo.h: Likewise.
59527         * mach/devstream.c: Likewise.
59528         * malloc/arena.c: Likewise.
59529         * malloc/set-freeres.c: Likewise.
59530         * misc/err.c: Likewise.
59531         * misc/getttyent.c: Likewise.
59532         * misc/mntent_r.c: Likewise.
59533         * posix/getopt.c: Likewise.
59534         * posix/wordexp.c: Likewise.
59535         * pwd/fgetpwent_r.c: Likewise.
59536         * resolv/Versions: Likewise.
59537         * resolv/res_hconf.c: Likewise.
59538         * shadow/fgetspent_r.c: Likewise.
59539         * shadow/putspent.c: Likewise.
59540         * stdio-common/printf_fphex.c: Likewise.
59541         * stdio-common/tmpfile.c: Likewise.
59542         * stdlib/abort.c: Likewise.
59543         * stdlib/fmtmsg.c: Likewise.
59544         * sunrpc/auth_unix.c: Likewise.
59545         * sunrpc/clnt_perr.c: Likewise.
59546         * sunrpc/clnt_tcp.c: Likewise.
59547         * sunrpc/clnt_udp.c: Likewise.
59548         * sunrpc/clnt_unix.c: Likewise.
59549         * sunrpc/openchild.c: Likewise.
59550         * sunrpc/svc_simple.c: Likewise.
59551         * sunrpc/svc_tcp.c: Likewise.
59552         * sunrpc/svc_udp.c: Likewise.
59553         * sunrpc/svc_unix.c: Likewise.
59554         * sunrpc/xdr.c: Likewise.
59555         * sunrpc/xdr_array.c: Likewise.
59556         * sunrpc/xdr_rec.c: Likewise.
59557         * sunrpc/xdr_ref.c: Likewise.
59558         * sunrpc/xdr_stdio.c: Likewise.
59560 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59562         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59564 2011-07-03  Andreas Jaeger  <aj@suse.de>
59566         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59567         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59568         regenerate with gen-libm-tests.pl.
59570 2010-05-12  Petr Baudis  <pasky@suse.cz>
59572         [BZ #11589]
59573         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59574         around j0() zero points by switching to j1().
59575         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59576         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59577         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59578         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59580 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59582         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59583         instead of 0.
59584         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59585         instead of 0.
59586         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59587         Patch in part by Pavel Roskin <proski@gnu.org>.
59589         [BZ #13138]
59590         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59591         realloc.
59592         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59593         Free memory block if necessary.
59595         [BZ #12847]
59596         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59597         be NULL.  Don't lock in this case.
59599 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59601         * elf/elf.h (ELFOSABI_GNU): New macro.
59602         (ELFOSABI_LINUX): Define to that.
59604 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59606         * string/strncat.c (strncat): Undef the symbol in case it has been
59607         defined in bits/string.h.
59609 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59611         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59613         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59614         link map.
59616 2011-08-17  Andreas Jaeger  <aj@suse.de>
59618         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59620 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59621             Ian Lance Taylor  <iant@google.com>
59623         * math/libm-test.inc (lround_test): New testcase.
59624         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59626 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59628         * Makefile: Remove support for automatic cvs check-ins.
59629         * Makerules: Likewise.
59630         * config.make.in: Likewise.
59631         * configure.in: Likewise.
59632         * intl/Makefile: Likewise.
59633         * locale/Makefile: Likewise.
59634         * po/Makefile: Likewise.
59635         * posix/Makefile: Likewise.
59636         * sysdeps/gnu/Makefile: Likewise.
59637         * sysdeps/mach/hurd/Makefile: Likewise.
59638         * sysdeps/sparc/sparc32/Makefile: Likewise.
59640         [BZ #13118]
59641         * posix/Makefile (bug-regex32-ENV): Define.
59642         Patch by John Stanley <jpsinthemix@verizon.net>.
59644         * misc/Makefile (headers): Add bits/select2.h.
59645         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59646         * misc/bits/select2.h: New file.
59647         * include/bits/select2.h: New file.
59648         * debug/Makefile (routines): Add fdelt_chk.
59649         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59650         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59651         FD_ISSET.
59652         * debug/fdelt_chk.c: New file.
59654         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59655         * wcsmbs/test-wmemcmp.c: Likewise.
59656         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59657         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59659 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59661         * string/Makefile (strop-tests): Add memcmp.
59662         * string/test-wmemcmp.c: New file.
59663         * string/test-memcmp.c: Add wmemcmp support.
59665 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59667         [BZ #13153]
59668         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59669         2011-07-19 change.
59671         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59672         garbage value in a __mach_port_mod_refs call in the cases of the
59673         task-self and thread-self ports.
59675 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59677         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59679 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59681         * elf/dl-load.c (lose): Check for non-null L.
59683 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59685         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59687         * elf/dl-libc.c (dlerror_run): Pass back error code from
59688         dl_catch_error.
59690         [BZ #13123]
59691         * elf/dl-load.c (lose): Free l_origin if it is valid.
59693         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59694         names.
59695         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59696         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59697         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59698         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59699         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59700         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59702 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59704         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59705         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59706         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59707         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59708         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59709         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59710         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59711         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59712         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59713         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59715 2011-08-15  Alan Modra  <amodra@gmail.com>
59717         [BZ #13092]
59718         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59719         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59720         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59721         ppc_mcount to static-only-routines.
59722         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59723         __mcount_internal.
59724         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59725         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59727 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59729         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59730         for finite and infinity parameters.
59732 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59734         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59735         and add nop instructions for throughput optimization.
59736         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59738 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59740         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59741         aligned copy for power7 with vector-scalar instructions.
59742         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59744 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59746         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59747         AVX check.
59749 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59751         [BZ #13144]
59752         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59753         last change.
59755 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59757         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59758         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59759         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59760         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59761         clock_gettime.
59763 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59765         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59766         Forgot to demangle the pointer.
59768         * sysdeps/i386/sysdep.h: Define atom_text_section.
59769         * sysdeps/x86_64/sysdep.h: Likewise.
59770         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59771         section with atom_text_section.
59772         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59773         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59774         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59775         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59776         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59778         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59779         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59780         already be defined.  Change to take two parameters and don't assign
59781         result to variable.  Adjust all users.
59782         Define INTERNAL_GETTIME if not already defined.
59783         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59784         call.
59785         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59786         HAVE_CLOCK_GETTIME_VSYSCALL.
59787         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59789         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59790         gettimeofday vsyscall, just use time.
59792 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59794         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59795         <errno.h>.
59797 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59799         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59800         syscall on x86-64.
59801         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59802         syscall.
59803         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59804         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59805         syscall if possible.
59807 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59809         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59810         e_ident.  Don't pass to find_mapsXX.
59811         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59813 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59815         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59816         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59817         * sysdeps/x86_64/multiarch/strchr.S: Update.
59818         Check bit_slow_BSF bit.
59819         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59820         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59821         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59823 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59825         [BZ #13134]
59826         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59827         before glibc 2.15.
59828         (tryshell): Define.
59829         (__spawni): Change last parameter to be flag.  Test
59830         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59831         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59832         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59833         * posix/spawni.c: Likewise.
59834         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59835         * posix/spawnp.c: Likewise.  Change normal version to use
59836         SPAWN_XFLAGS_USE_PATH.
59837         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59838         SPAWN_XFLAGS_TRY_SHELL.
59840         [BZ #13150]
59841         * posix/glob.h: Remove gcc 1.x support.
59843         [BZ #13068]
59844         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59846 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59848         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59849         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59850         strrchr-sse2-bsf
59851         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59852         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59853         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59854         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59855         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59856         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59858 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59860         * sysdeps/x86_64/wcscmp.S: New file.
59862         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59863         wcscmp-c wcscmp-sse2
59864         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59865         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59866         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59867         * wcsmbs/wcscmp.c: Allow renaming.
59869 2011-09-05  David S. Miller  <davem@davemloft.net>
59871         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59872         stack slot, rather than the struct return pointer slot.
59873         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59874         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59876         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59878 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59880         * po/ja.po: Update from translation team.
59882         [BZ #13144]
59883         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59884         kernel in 64-bit binaries.
59886 2011-09-01  David S. Miller  <davem@davemloft.net>
59888         * elf/elf.h (HWCAP_SPARC_*): Move to..
59889         * sysdeps/sparc/sysdep.h: this new file and add new values.
59890         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59891         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59892         _DL_HWCAP_COUNT to 24.
59893         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59894         entries.
59895         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59896         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59897         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59898         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59899         instead of magic constants.
59900         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59902 2011-08-31  David S. Miller  <davem@davemloft.net>
59904         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59905         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59906         Reimplement to do errno handling inline.
59907         (SYSCALL_ERROR_HANDLER): New macro.
59908         (__SYSCALL_STRING): Do not do errno handling in asm.
59909         (__CLONE_SYSCALL_STRING): Delete.
59910         (__INTERNAL_SYSCALL_STRING): Delete.
59911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59912         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59913         (PSEUDO): Reimplement to do errno handling inline.
59914         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59915         (SYSCALL_ERROR_HANDLER): New macro.
59916         (__SYSCALL_STRING): Do not do errno handling in asm.
59917         (__CLONE_SYSCALL_STRING): Delete.
59918         (__INTERNAL_SYSCALL_STRING): Delete.
59919         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59920         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59921         i386.
59922         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59923         (inline_syscall*): Add 'err' argument.
59924         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59925         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59926         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59927         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59929         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59930         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59932 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59934         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59936 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59938         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59939         directive.
59941 2011-08-24  David S. Miller  <davem@davemloft.net>
59943         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59945 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59947         * elf/Makefile: Add rules to build and run unload8 test.
59948         * elf/unload8.c: New file.
59949         * elf/unload8mod1.c: New file.
59950         * elf/unload8mod1x.c: New file.
59951         * elf/unload8mod2.c: New file.
59952         * elf/unload8mod3.c: New file.
59954         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59955         it wasn't used.
59957 2011-08-23  David S. Miller  <davem@davemloft.net>
59959         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59960         subtract stack bias.
59961         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59962         %sp not %fp in calculations.
59963         (_JMPBUF_UNWINDS_ADJ): Likewise.
59965         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59966         (aio_suspend): Call it to force an exception region around the
59967         AIO_MISC_WAIT() invocation.
59969 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59971         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59972         backslash.
59974 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59976         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59977         protection macro.
59978         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59979         and <dl-machine.h>.
59980         (Elf64_FuncDesc): Remove.
59982 2011-08-22  David S. Miller  <davem@davemloft.net>
59984         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59985         sigaltstack check, add missing cfi directives.
59986         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59987         missing cfi directives, and sigaltstack handling.
59989 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59991         [BZ #11724]
59992         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59993         object is seen twice.
59994         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59996         * elf/Makefile (distribute): Add tst-initorder2.c.
59997         (tests): Add tst-initorder2.
59998         (modules-names): Add tst-initorder2a tst-initorder2b
59999         tst-initorder2c tst-initorder2d.  Add rules to build them.
60000         ($(objpfx)tst-initorder2.out): New rule.
60001         * elf/tst-initorder2.c: New file.
60002         * elf/tst-initorder2.exp: New file.
60004 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60006         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60008         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60009         dependencies back to end of function.
60011         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60012         $(elfobjdir)/ld.so.
60014 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60016         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60017         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60018         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60019         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60020         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60021         of __vdso_gettimeofday.
60022         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60023         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60024         attribute_hidden.
60025         (_libc_vdso_platform_setup): Remove initialization of
60026         __vdso_gettimeofday and __vdso_time.
60028 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60030         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60031         and fgetc_unlocked.
60032         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60033         getc_unlocked.
60035         * elf/dl-open.c (add_to_global): Report additions to the global scope
60036         for LD_DEBUG=scopes.
60037         (dl_open_worker): Also print scope of newly loaded dependencies.
60038         (_dl_show_scope): Indicate if there is no scope.
60040         [BZ #13114]
60041         * stdio-common/Makefile (tests): Add bug24.
60042         * stdio-common/bug24.c: New file.
60044 2011-08-19  Andreas Jaeger  <aj@suse.de>
60046         [BZ #13114]
60047         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60048         non-existant file when using close-on-exec mode.
60050 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60052         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60053         the very first instruction.
60055         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60056         the CFI state in the end.
60057         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60058         inclusion of dl-trampoline.h.
60059         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60061 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60063         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60064         expectations for long double.
60066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60067         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60069 2011-08-14  David S. Miller  <davem@davemloft.net>
60071         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60072         artificual limit depends upon the system page size.
60074 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60076         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60077         * resolv/Makefile: Define CFLAGS-libresolv.
60079 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60081         * nss/makedb.c (compute_tables): Make variables used in nested
60082         function static.
60084 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60086         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60087         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60088         if buffer was too small.
60090         * elf/pldd.c (main): Attach to all threads in the process.
60091         Rewrite /proc handling to use *at functions.
60093 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60095         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60096         specifies first scope to show.
60097         (dl_open_worker): Update callers.  Move printing scope of new
60098         object to before the relocation.
60099         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60100         * sysdeps/generic/ldsodefs.h: Update declaration.
60102         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60103         string for the scope number.
60105 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60107         * nscd/servicescache.c (cache_addserv): Make sure written is always
60108         initialized.
60110 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60112         * sysdeps/i386/i486/bits/atomic.h
60113         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60114         statement expression, so as to suppress "set but not used" warning.
60115         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60117         * string/strncat.c (STRNCAT): Use prototype definition.
60119         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60120         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60121         -Iprograms here.
60122         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60123         (localedef-modules): Add localedef.
60124         (locale-modules): Add locale.
60126         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60127         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60128         to avoid a warning.
60130 2011-08-14  David S. Miller  <davem@davemloft.net>
60132         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60133         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60135 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60137         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60138         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60139         * elf/rtld.c (dl_main): Set l_name of vDSO.
60140         Call _dl_show_scope when DL_DEBUG_SCOPES.
60141         (process_dl_debug): Recognize scopes flag and also set it for all.
60142         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60143         Declare _dl_show_scope.
60145         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60146         (do_dlopen): Pass caller_dlopen to dl_open.
60147         (__libc_dlopen_mode): Initialize caller_dlopen.
60149         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60150         of libc.  Make tolower call locale-independent.  Optimize a bit by
60151         using isdigit instead of isalnum.
60152         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60154 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60156         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60157         was a dependency or dynamically loaded.
60159 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60161         * intl/l10nflist.c: Allow architecture-specific pop function.
60162         * sysdeps/x86_64/l10nflist.c: New file.
60164         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60165         classification.
60167 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60169         * include/dirent.h: Add libc_hidden_proto for scandirat and
60170         scandirat64.  Don't declare __scandirat64.
60171         * dirent/scandirat.c: Add libc_hidden_def.
60172         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60173         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60175 2011-08-10  David S. Miller  <davem@davemloft.net>
60177         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60178         enum.
60179         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60180         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60181         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60183 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60185         * Versions.def [libc]: Add GLIBC_2.15.
60186         * dirent/Makefile (routines): Add scandirat and scandirat64.
60187         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60188         GLIBC_2.15.
60189         * dirent/dirent.h: Declare scandirat and scandirat64.
60190         * dirent/scandirat.c: New file.
60191         * dirent/scandirat64.c: New file.
60192         * sysdeps/wordsize-64/scandirat.c: New file.
60193         * sysdeps/wordsize-64/scandirat64.c: New file.
60194         * dirent/opendir.c: Define opendirat.
60195         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60196         using scandirat.
60197         * dirent/scandir64.c: Adjust for scandir.c change.
60198         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60199         __scandirat64, and __scandir_cancel_handler.
60200         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60201         additional parameter and use openat instead of open (outside of ld.so).
60202         Add new __opendir as wrapper around __opendirat.
60203         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60204         here without requiring old scandirat implementation.
60206 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60208         * dirent/scandir.c (cancel_handler): Renamed to
60209         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60210         defined.  Adjust users.
60211         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60212         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60214 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60216         * string/test-string.h (IMPL): Use __STRING to expand name and then
60217         stringify it.
60219         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60220         of cleanups.
60222 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60224         * string/Makefile: Update.
60225         (strop-tests): Append strncat.
60226         * string/test-wcscmp.c: New file.
60227         New comprehensive test for wcscmp.
60228         * string/test-strcmp.c: Update.
60229         (WIDE): New define.
60231 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60233         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60234         line.
60236 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60238         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60239         encoding to ACE if AI_IDN.
60241 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60243         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60244         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60246 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60248         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60249         Fix overflow bug in strncat.
60250         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60252         * string/test-strncat.c: Update.
60253         Add new tests for checking overflow bugs.
60255 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60257         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60258         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60259         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60260         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60261         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60262         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60263         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60264         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60265         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60267         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60268         (USE_AS_STRCAT): Define.
60269         Add strcat and strncat support.
60270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60272 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60274         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60275         __n bigger than INT_MAX+1.
60276         (__strncmp_g): Likewise.
60278 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60280         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60281         * libio/stido.h: Likewise.
60283         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60284         (AF_NFC): Define.
60285         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60286         (AF_NFC): Define.
60288         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60289         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60290         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60291         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60292         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60294         [BZ #13021]
60295         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60296         installed.
60298         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60299         typo.
60300         (_dl_x86_64_save_sse): Likewise.
60302 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60304         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60305         OSXSAVE.
60306         (_dl_x86_64_save_sse): Likewise.
60308         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60310         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60312 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60314         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60315         change.
60316         (_dl_x86_64_save_sse): Use correct AVX check.
60318 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60320         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60321         bug in strncpy/strncat.
60322         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60324 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60326         * string/tester.c (test_strcat): Add tests for different alignments
60327         of source and destination.
60328         (test_strncat): Likewise.
60330 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60332         [BZ #12852]
60333         * posix/glob.c (glob): Check passed in values before using them in
60334         expressions to avoid some overflows.
60335         (glob_in_dir): Likewise.
60337         [BZ #13007]
60338         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60339         check for AVX enablement so that we don't crash with old kernels and
60340         new hardware.
60341         * elf/tst-audit4.c: Add same checks here.
60342         * elf/tst-audit6.c: Likewise.
60344         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60346 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60348         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60350 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60352         * po/cs.po: Update from translation team.
60353         * po/bg.po: Likewise.
60355 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60357         * misc/sys/cdefs.h: Add support for const attribute.
60358         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60359         to gnu_dev_{major,minor,makedev} functions.
60361 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60363         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60365 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60367         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60368         strlen results.
60370 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60372         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60373         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60374         register in order to avoid conflicts with the soft frame pointer
60375         being held in r11 when necessary.
60376         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60377         (INTERNAL_VSYSCALL_NCS): Likewise.
60379 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60381         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60382         * elf/dl-fini.c (_dl_fini): Adjust caller.
60383         * elf/dl-close.c (_dl_close_worker): Likewise.
60384         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60386 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60388         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60389         "aux_cache->nlibs < 0".
60391         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60392         in the reload-count case.
60394 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60397         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60398         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60399         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60400         * sysdeps/x86_64/multiarch/strcat.S: New file.
60401         * sysdeps/x86_64/multiarch/strncat.S: New file.
60402         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60403         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60404         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60405         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60406         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60407         (USE_AS_STRCAT): Define.
60408         Add strcat and strncat support.
60409         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60410         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60411         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60412         * string/strncat.c: Update.
60413         (USE_AS_STRNCAT): Define.
60414         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60415         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60416         and i7.
60417         * sysdeps/x86_64/multiarch/init-arch.h
60418         (bit_Prefer_PMINUB_for_stringop): New.
60419         (index_Prefer_PMINUB_for_stringop): Likewise.
60420         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60421         bit_Prefer_PMINUB_for_stringop.
60423 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60425         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60426         buffer64.
60427         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60428         of casting of buffer.
60429         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60430         buffer32 and buffer64.
60431         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60432         writes instead of casting of buffer.
60433         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60434         buffer32.
60435         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60436         casting of buffer.
60438 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60440         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60442 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60444         * nscd/nscd.c (termination_handler): Don't do anything for a database
60445         if it has not yet been initialized.
60447 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60449         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60451 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60453         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60455 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60457         * po/nl.po: Update from translation team.
60458         * po/sv.po: Likewise.
60460 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60462         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60463         now disallowed by GCC.
60465         * configure.in (use-default-link): Default to yes if a test -shared
60466         link meets our qualifications.
60467         * configure: Regenerated.
60469         * config.make.in (output-format): New variable.
60470         * configure.in: Check for ld --print-output-format support.
60471         * configure: Regenerated.
60472         * Makerules ($(common-objpfx)format.lds)
60473         [$(output-format) != unknown]: Just use $(output-format),
60474         instead of the linker-script munging.
60476 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60478         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60479         of $(common-objpfx)shlib.lds.
60480         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60482         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60483         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60485         * configure.in (-z relro check): Adjust test code to add a large
60486         writable data section after it.
60487         * configure: Regenerated.
60489 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60491         * configure.in (-z relro check): Fix test code to make the variable
60492         truly const.
60493         * configure: Regenerated.
60495 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60497         * nscd/nscd.h (struct traced_file): Define.
60498         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60499         elements.  Add traced_files.
60500         (inotify_fd): Declare.
60501         (register_traced_file): Declare.
60502         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60503         (inotify_fd): Export.
60504         (resolv_conf_descr): Remove.
60505         (nscd_init): Move inotify descriptor creation to main.
60506         Don't register files for notification here.
60507         (register_traced_file): New function.
60508         (invalidate_cache): Don't use reset_res to determine whether to call
60509         res_init, go through the list of registered files.
60510         (main_loop_poll): The inotify descriptors are now stored in the
60511         structures for the traced files.
60512         (main_loop_epoll): Likewise
60513         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60514         to __nss_disable_nscd.
60515         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60516         for a database anymore.  Check the records for all the registered
60517         files instead.
60518         * nss/Makefile (libnss_files-routines): Add files-init.
60519         (libnss_db-routines): Add db-init.
60520         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60521         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60522         * nss/nss_db/db-init.c: New file.
60523         * nss/nss_files/files-init.c: New file.
60524         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60525         __nss_lookup_function.
60526         (__nss_lookup_function): Call nss_load_library.
60527         (nss_load_all_libraries): New function.
60528         (__nss_disable_nscd): Take parameter with callback function for files
60529         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60530         used for the cached services.
60531         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60532         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60533         options for features to all the files in nscd.
60535         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60537 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60539         * csu/elf-init.c (__libc_csu_init): Comment typo.
60541 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60543         * po/pl.po: Update from translation team.
60544         * po/ja.po: Likewise.
60545         * po/ru.po: Likewise.
60546         * po/ko.po: Likewise.
60547         * po/fr.po: Likewise.
60549 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60551         * configure.in (.ctors/.dtors header and trailer check):
60552         Use an empirical test on a built program.
60553         * configure: Regenerated.
60555         * configure.in (-z relro check): Use an empirical test on a built DSO.
60556         Detect, but do not require, on ia64.
60557         * configure: Regenerated.
60559         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60560         Update tests that use readelf to use $READELF instead.
60561         * configure: Regenerated.
60563 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60565         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60566         if the result is not used.
60568 2011-07-05  Andreas Jaeger  <aj@suse.de>
60570         [BZ#9696]
60571         * stdlib/tst-strtod.c: Add testcase.
60573 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60575         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60576         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60577         The latter has a higher limit.  Take additional parameter to pass to
60578         the new function.
60579         (__pathconf): Pass file to __statfs_link_max.
60580         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60581         __statfs_link_max.
60582         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60583         __statfs_link_max.
60585         [BZ #12868]
60586         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60587         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60588         Handle Lustre.
60589         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60590         (__statfs_filesize_max): Likewise.
60591         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60593 2011-07-05  Andreas Jaeger  <aj@suse.de>
60595         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60597 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60599         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60600         `status' variable.
60601         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60602         Likewise.
60604 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60606         * Makefile (strop-tests): Add strncat.
60607         * string/test-strncat.c: New file.
60609 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60611         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60613 2011-06-21  Andreas Jaeger  <aj@suse.de>
60615         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60616         Copy rule from iconvdata/Makefile.
60618 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60620         [BZ #12922]
60621         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60622         but no long options are defined, just return 'W'.
60624 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60626         [BZ #9696]
60627         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60629 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60631         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60632         netgroups to read.
60633         (innetgr): Likewise.
60635 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60637         * config.make.in (install_root): Default to $(DESTDIR).
60639 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60641         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60643 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60645         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60647         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60648         containing directory rather than embedding absolute directory names.
60650         * scripts/check-local-headers.sh: Rewritten using awk.
60651         Match by word, not by line.  Print error messages for matches.
60652         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60654         * Makerules [shlib-lds-flags empty]:
60655         ($(common-objpfx)libc_pic.opts): New target.
60656         ($(common-objpfx)libc_pic.os.clean): New target.
60657         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60659         * config.make.in (OBJCOPY): New variable.
60660         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60661         * configure: Regenerated.
60663         * config.make.in (use-default-link): New variable.
60664         * configure.in (use_default_link): Grok --with-default-link to set it.
60665         * configure: Regenerated.
60666         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60667         (shlib-lds, shlib-lds-flags): Define to empty.
60669         * Makerules (shlib-lds): New variable.
60670         (shlib-lds-flags): New variable.
60671         (build-shlib, build-moduile, build-module-asneeded): Use it.
60672         ($(common-objpfx)libc.so): Use $(shlib-lds).
60673         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60674         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60676         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60677         DT_FLAGS/DT_FLAGS_1 with zero flags.
60679         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60680         linker script munging.
60682 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60684         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60685         as 128-bit value.
60686         * crypt/sha512.c (sha512_process_block): Perform total addition using
60687         128-bit if possible.
60688         (__sha512_finish_ctx): Likewise.
60689         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60690         as 64-bit value.
60691         * crypt/sha256.c (SWAP64): Define.
60692         (sha256_process_block): Perform total addition using 64-bit if
60693         possible.
60694         (__sha256_finish_ctx): Likewise.
60696 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60698         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60699         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60700         * nscd/hstcache.c (cache_addhst): Likewise.
60701         * nscd/grpcache.c (cache_addgr): Likewise.
60702         * nscd/aicache.c (addhstaiX): Likewise
60703         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60705 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60707         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60708         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60709         * nscd/hstcache.c (cache_addhst): Likewise.
60710         * nscd/grpcache.c (cache_addgr): Likewise.
60711         * nscd/aicache.c (addhstaiX): Likewise
60713 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60715         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60716         domain only when needed.
60718 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60721         is always restored.
60723 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60725         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60726         are re-adding the entry.
60727         * nscd/servicescache.c (cache_addserv): Likewise.
60729 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60731         * sysdeps/generic/dl-irel.h: fix protection against multiple
60732         inclusions.
60733         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60735 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60737         [BZ #12935]
60738         * malloc/memusage.sh: Fix quoting in message.
60739         * debug/xtrace.sh: Likewise.
60741         * configure.in: Remove support for --experimental-malloc option, make
60742         it the default.
60743         * config.make.in: Likewise.
60744         * malloc/Makefile: Likewise.
60746 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60748         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60749         two-byte characters.
60751 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60753         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60754         AC_CACHE_CHECK invocation.
60755         * configure: Regenerated.
60757         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60759 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60761         [BZ #12350]
60762         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60763         bit from old_res_options.
60765         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60767         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60768         value type for setfct.
60770 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60772         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60773         __gettimeofday instead of gettimeofday.
60775 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60777         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60779 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60781         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60783         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60784         info.
60786 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60788         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60789         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60790         strcpy-sse2-unaligned strncpy-sse2-unaligned
60791         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60792         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60793         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60794         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60795         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60796         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60797         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60798         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60799         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60800         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60801         (STRCPY): Support SSE2 and SSSE3 versions.
60803 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60805         [BZ #12874]
60806         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60807         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60808         kernels which artificially limit size of requests.
60810 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60812         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60813         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60814         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60815         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60816         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60817         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60818         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60819         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60820         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60821         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60822         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60823         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60824         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60825         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60826         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60828         Enable unaligned load optimization for Intel Core i3, i5 and i7
60829         processors.
60830         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60831         Define.
60832         (index_Fast_Unaligned_Load): Define.
60833         (HAS_FAST_UNALIGNED_LOAD): Define.
60835 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60837         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60839 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60841         [BZ #12907]
60842         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60843         until it is clear that the information is realy needed.
60844         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60846 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60850 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60852         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60853         /sys/devices/system/cpu/online if it is usable.
60855         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60856         reading the information from the /proc filesystem to once a second.
60858 2011-06-21  Andreas Jaeger  <aj@suse.de>
60860         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60861         NULL after inclusion of kernel headers.
60863 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60865         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60866         calls to internal_setent.
60868         [BZ #12885]
60869         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60870         addresses using gethostbyname4_r ignore IPv4 addresses.
60872         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60873         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60875         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60877 2011-06-20  David S. Miller  <davem@davemloft.net>
60879         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60880         inclusions.
60881         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60883         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60884         (elf_irel): Use it.
60885         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60886         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60887         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60888         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60889         * sysdeps/x86_64/dl-irel.h: Likewise.
60891         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60892         * elf/dl-sym.c: Likewise.
60894 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60896         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60897         need to dereference resplen2.
60899 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60901         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60903 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60905         * Makeconfig: Define vardbdir and inst_vardbdir.
60906         * nss/Makefile: Add rules to install db-Makefile.
60908         * nss/nss_db/db-XXX.c: Cleanup.
60910         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60911         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60912         GLIBC_PRIVATE.
60913         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60914         * nss/makedb.c: Implement -g option to specify that value strings
60915         are generated and should not be added to table iterated over for
60916         get*ent calls.
60917         * nss/nss_db/db-initgroups.c: New file.
60919         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60920         interface.
60922         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60923         (internal_getgrouplist): Adjust to name change.
60924         Update use_initgroups_entry if this is not the first call.
60925         * nss/databases.def: Add initgroups entry.
60927         * nss/makedb.c (compute_tables): Check result of multiple hash table
60928         sizes to minimize maximum chain length.
60930 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60932         * Versions.def: Add entry for libnss_db.
60933         * shlib-versions: Likewise.
60934         * nss/Makefile: Add rules to build libnss_db.
60935         * nss/Versions: Add libnss_db information.  Organize libnss_files
60936         entries better.
60937         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60938         makedb progra.  Some minor improvements to generate smaller files.
60939         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60940         here from...
60941         * nss/makedb.c: ...here.
60942         Improve database format to be smaller and require less memory at
60943         runtime.
60944         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60945         db anymore.
60946         * nss/nss_db/db-netgrp.c: Likewise.
60947         * nss/nss_db/db-open.c: Likewise.
60948         * nss/nss_files/flies-XXX.x: Adjust comments.
60949         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60950         * nss/nss_files/files-grp.c: Likewise.
60951         * nss/nss_files/files-hosts.c: Likewise.
60952         * nss/nss_files/files-network.c: Likewise.
60953         * nss/nss_files/files-proto.c: Likewise.
60954         * nss/nss_files/files-pwd.c: Likewise.
60955         * nss/nss_files/files-rpc.c: Likewise.
60956         * nss/nss_files/files-service.c: Likewise.
60957         * nss/nss_files/files-sgrp.c: Likewise.
60958         * nss/nss_files/files-spwd.c: Likewise.
60959         * nss/nss_db/db-alias.c: Removed.
60960         * nss/nss_db/dummy-db.h: Removed.
60962 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60964         * nss/makedb.c: Rewritten to not use database library.
60965         * nss/Makefile: Update to build new makedb program.
60967 2011-06-14  Andreas Jaeger  <aj@suse.de>
60969         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60970         memset declaration.
60972 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60975         tmpbuf.
60977 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60979         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60980         * elf/Makefile ($(objpfx)ld.so): Likewise.
60982         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60983         Don't list ld.so twice in dependencies.
60985         * posix/bug-regex31.c: Include <stdlib.h>.
60987         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60989         * nis/nss_compat/compat-spwd.c
60990         (getspent_next_nss_netgr): Remove unused variable.
60991         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60993         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60994         nonmembers" output to use the right array.
60996         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60998         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61000         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61001         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61002         * catgets/gencat.c (read_input_file): Likewise.
61003         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61005         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61006         variable definition inside #if's controlling its use.
61008         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61010         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61012         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61014         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61015         unreachable code.
61017         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61019         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61020         * configure: Regenerated.
61022         * Makerules: Revert last change.
61023         * elf/Makefile: Likewise.
61025 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61027         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61028         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61029         (reloc-link): Likewise.
61031 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61033         * elf/Makefile: Add rules to build pldd.
61034         * elf/pldd.c: New file.
61035         * elf/pldd-xx.c: New file.
61037 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61039         * version.h: Update for 2.15 development version.
61041 2011-06-07  David S. Miller  <davem@davemloft.net>
61043         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61044         ifuncs.
61045         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61046         elf_machine_lazy_rel): Likewise.
61047         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61048         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61049         elf_machine_lazy_rel): Likewise.
61050         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61051         dl_hwcap via passed in argument.
61052         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61053         Likewise.
61055 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61057         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61059 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61061         [BZ #12849]
61062         * manual/fdl-1.1.texi: New file, verbatim from:
61063         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61064         * manual/lgpl-2.1.texi: New file, verbatim from:
61065         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61066         * manual/Makefile (licenses): New variable, list those new file names.
61067         (texis): Use it.
61068         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61070         * manual/fdl.texi: File removed.
61071         * manual/lesser.texi: File removed.
61072         * manual/libc.texinfo (Copying, Documentation License):
61073         Use new @include file names, put @appendix directive before @include.
61075 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61077         [BZ #12841]
61078         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61079         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61080         (mq_open): Add __NTH.
61082 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61085         Assume Intel Core i3/i5/i7 processor if AVX is available.
61087 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61089         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61090         typo.
61092 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61094         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61095         memory.  Use alloca_account.  Fix memory leak when retrying.
61097 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61099         * version.h (RELEASE): Bump for 2.14 release.
61100         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61102         * config.make.in (RANLIB): Remove entry.
61104 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61106         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61107         (libc.pot): Work around missing support for .ksh extension in xgettext.
61109         [BZ #12684]
61110         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61111         if both request failed.
61112         (send_dg): In case of server errors clear resplen or *resplen2.
61114         [BZ #12454]
61115         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61116         when there are multiple maps.
61117         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61118         (_dl_fini): Remove test here.
61120         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61122 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61124         [BZ #12350]
61125         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61126         bit from old_res_options.
61127         (gaih_inet): Likewise.
61129         [BZ #11099]
61130         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61131         as signed.
61133         * resolv/res_init.c (res_setoptions): Make the code more compact.
61135         [BZ #11558]
61136         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61137         set RES_USEVC.
61139         [BZ #11634]
61140         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61142         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61144         [BZ #11781]
61145         * malloc/malloc.h: Declare malloc hook variables as volatile.
61147         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61148         in last patch.
61150         [BZ #11799]
61151         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61152         raise in the comment.
61153         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61154         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61155         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61157 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61159         [BZ #12811]
61160         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61161         grow the buffers more if it already has to be sufficient.
61162         (build_wcs_upper_buffer): Likewise.
61163         * posix/regexec.c (check_matching): Likewise.
61164         (clean_state_log_if_needed): Likewise.
61165         (extend_buffers): Don't enlarge buffers beyond size of the input
61166         buffer.
61167         Patches mostly by Emil Wojak <emil@wojak.eu>.
61168         * posix/bug-regex32.c: New file.
61169         * posix/Makefile (tests): Add bug-regex32.
61171         * locale/findlocale.c (_nl_find_locale): Return right away if
61172         _nl_explode_name failed.
61173         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61175         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61177         * debug/xtrace.sh: Unify messages.
61178         * malloc/memusage.sh: Likewise.
61180         [BZ #12813]
61181         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61182         time symbol from vDSO.  Substitute with vsyscall if not available.
61183         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61184         __vdso_time.
61186         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61187         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61188         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61189         Add sendmmsg and internal_sendmmsg.
61190         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61191         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61192         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61194         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61195         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61196         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61198 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61200         [BZ #12813]
61201         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61202         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61203         available.
61204         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61205         __vdso_getcpu.
61207         [BZ #12814]
61208         * iconvdata/Makefile (tests): Add bug-iconv9.
61209         * iconvdata/bug-iconv9.c: New file.
61211 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61213         [BZ #12814]
61214         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61216 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61218         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61219         (struct user_regs_struct): Change intcs field back to cs.
61221 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61223         * po/ja.po: Update from translation team.
61225 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61227         [BZ #12795]
61228         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61229         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61231 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61233         * stdlib/longlong.h: Update from GCC.
61235 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61237         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61238         parameter name.
61239         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61240         Add parameter name.
61241         (__sysconf): Pass it down.
61243 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61245         [BZ #12671]
61246         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61247         some situations.
61248         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61249         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61250         add in in __libc_use_alloca calls.  Adjust callers.
61251         (glob): Use malloc in some situations.
61253         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61254         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61255         pltexit.
61257 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61259         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61260         and CLOCK_BOOTTIME_ALARM.
61262         [BZ #12782]
61263         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61264         is returned.
61266         * string/_strerror.c (__strerror_r): Print negative errors as signed
61267         numbers.
61269         [BZ #12777]
61270         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61271         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61272         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61274         * configure.in: Fix typo in redirection and correct removal of test
61275         files in two cases.
61277         [BZ #12788]
61278         * locale/setlocale.c (new_composite_name): Fix test to check for
61279         identical name of all categories.
61281         [BZ #12792]
61282         * libio/filedoalloc.c (local_isatty): New function.
61283         (_IO_file_doallocate): Use local_isatty.
61284         * stdio-common/perror.c (perror): In case a new stream is used
61285         forward the stream error.
61286         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61287         error flag.
61289 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61291         [BZ #11869]
61292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61293         alloca.
61294         * include/alloca.h (extend_alloca_account): Define.
61296         [BZ #11857]
61297         * posix/regex.h: Fix comments with documentation of user-accessible
61298         fields after compilation and describe correct free'ing of pattern
61299         after re_compile_pattern.
61300         Patch by Reuben Thomas <rrt@sc3d.org>.
61302 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61304         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61305         and -mno-altivec to prevent the compiler from using Altivec and/or
61306         VSX instructions when the corresponding registers are not available.
61308 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61310         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61312 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61314         * libio/freopen.c (freopen): Use __dup2, not dup2.
61315         * libio/freopen64.c (freopen64): Likewise.
61317 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61319         [BZ #12775]
61320         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61321         * math/Makefile (tests): Add test-powl.
61322         (CFLAGS-test-powl.c): Define.
61323         * math/test-powl.c: New file.
61325 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61327         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61329 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61331         [BZ #11837]
61332         * iconvdata/gb18030.c: Update to GB18020-2005.
61334 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61336         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61337         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61338         Patch by Aharon Robbins <arnold@skeeve.com>.
61340         [BZ #11892]
61341         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61342         on the stack.
61344         [BZ #11895]
61345         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61346         through underflows.
61348         [BZ #12766]
61349         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61350         point to strings before performing equality test for error_one_per_line
61351         mode.
61353         [BZ #11697]
61354         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61356         [BZ #11820]
61357         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61358         (struct user_fpregs_struct): Avoid __uint*_t types.
61360         [BZ #6420]
61361         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61362         symbol info.  Use it instead of calling _dl_addr locally.
61363         (lock_and_info): New function.
61364         (tr_freehook): Call lock_and_info and pass symbol info as additional
61365         parameter to tr_where.
61366         (tr_mallochook): Likewise.
61367         (tr_reallochook): Likewise.
61368         (tr_memalignhook): Likewise.
61370         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61371         used and couldn't be at all thread-safe.
61373 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61375         * libio/freopen.c (freopen): Don't close old file descriptor
61376         before the new one is opened.  Instead dup the new file descriptor
61377         to the old one after the new stream is created.
61378         * libio/freopen64.c (freopen64): Likewise.
61379         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61380         * libio/fileops.c (_IO_new_file_close_it): Handle new
61381         _IO_FLAGS2_NOCLOSE flag.
61382         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61383         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61384         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61385         _IO_FLAGS2_NOCLOSE flag.
61386         * include/unistd.h: Add hidden_proto for dup3.
61387         Define __have_dup3.
61388         * io/dup3.c: Define hidden symbol.
61389         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61391         [BZ #7101]
61392         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61393         when an incomplete long option is used.
61394         * posix/tst-getopt_long1.c: New file.
61395         * posix/Makefile (tests): Add tst-getopt_long1.
61397         [BZ #10138]
61398         * scripts/config.guess: Update from autoconf-2.68.
61399         * scripts/config.sub: Likewise.
61401         [BZ #10157]
61402         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61403         tests into ...
61404         (has_cpuclock): ...this.  New function.
61405         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61406         macro here based on has_cpuclock code.
61408         [BZ #10149]
61409         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61410         First byte (not low byte) is now always NUL.
61411         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61413         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61414         Use non-cancelable interfaces.
61416         [BZ #9809]
61417         * locale/iso-639.def: Add entry for Sorani.
61419         [BZ #11901]
61420         * include/stdlib.h: Move include protection to the right place.
61421         Define abort_msg_s.  Declare __abort_msg with it.
61422         * stdlib/abort.c (__abort_msg): Adjust type.
61423         * assert/assert.c (__assert_fail_base): New function.  Majority
61424         of code from __assert_fail.  Allocate memory for __abort_msg with
61425         mmap.
61426         (__assert_fail): Now call __assert_fail_base.
61427         * assert/assert-perr.c: Remove bulk of implementation.  Use
61428         __assert_fail_base.
61429         * include/assert.hL Declare __assert_fail_base.
61430         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61431         mmap.
61432         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61434 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61436         [BZ #11952]
61437         [BZ #12453]
61438         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61439         until all modules are registered in the DTV.
61440         * elf/Makefile: Add rules to build and run tst-tls19.
61441         * elf/tst-tls19.c: New file.
61442         * elf/tst-tls19mod1.c: New file.
61443         * elf/tst-tls19mod2.c: New file.
61444         * elf/tst-tls19mod3.c: New file.
61445         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61447         [BZ #12083]
61448         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61449         correctly.
61451         [BZ #12601]
61452         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61453         two-byte sequence errors.
61454         * iconvdata/Makefile (tests): Add bug-iconv8.
61455         * iconvdata/bug-iconv8.c: New file.
61457         [BZ #12626]
61458         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61459         buf2 definition.
61461         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61463         [BZ #12432]
61464         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61465         (dummy_getcfa): New function.
61466         (init): Get _Unwind_GetCFA address, use dummy if not found.
61467         (backtrace_helper): In recursion check, also check whether CFA changes.
61468         (__backtrace): Completely initialize arg.
61470         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61471         storing incomplete byte sequence in state object.  Avoid testing for
61472         guaranteed too small input if we know there is enough data available.
61474 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61476         * Makeconfig (+link-pie): Indent.
61477         * Rules (binaries-pie): Define if $(have-fpie) and
61478         $(build-shared).
61479         (binaries-shared): Also filter out $(binaries-pie).
61480         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61481         * nscd/Makefile (others-pie): Add nscd.
61482         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61483         ($(objpfx)nscd): Remove command override.
61484         * login/Makefile (others-pie): Add pt_chown.
61485         ($(objpfx)pt_chown): Remove command override.
61486         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61487         remove command overrides.
61489 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61491         * libio/tst_putwc.c: Fix error messages.
61493         [BZ #12724]
61494         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61495         currently writing and seek to current position when not.
61496         * libio/Makefile (tests): Add bug-fclose1.
61497         * libio/bug-fclose1.c: New file.
61499 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61501         [BZ #12511]
61502         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61503         don't set DF_1_NODELETE here.
61504         (do_lookup_x): When entering new entry test for copy relocation
61505         and if necessary set DF_1_NODELETE flag.
61506         * elf/tst-unique4.cc: New file.
61507         * elf/tst-unique4.h: New file.
61508         * elf/tst-unique4lib.cc: New file.
61509         * elf/Makefile: Add rules to build and run tst-unique4.
61510         Patch by Piotr Bury <pbury@goahead.com>.
61512 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61514         [BZ #12052]
61515         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61517         [BZ #12625]
61518         * misc/mntent_r.c (addmntent): Flush the stream after the output
61520         [BZ #12393]
61521         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61522         (is_trusted_path_normalize): Skip initial colon.  Append slash
61523         to empty buffer.  Duplicate is_trusted_path code but allow
61524         constructed patch to be prefix.
61525         (is_dst): Allow $ORIGIN followed by /.
61526         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61527         Correct testing of result of is_trusted_path_normalize
61528         (decompose_rpath): Fix warning.
61530 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61532         [BZ #11257]
61533         * grp/initgroups.c (internal_getgrouplist): When we found the service
61534         list through the initgroups entry in nsswitch.conf do not always
61535         continue on a successful lookup.  Don't always use the
61536         __nss_group_database value if it is set.
61537         * nss/nsswitch.conf (initgroups): Change action for successful db
61538         lookup to continue for compatibility.
61540 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61542         [BZ #11532]
61543         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61544         and CP774 modules.
61545         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61546         and CP774 modules.
61547         * iconvdata/tst-tables.sh: Likewise.
61548         * iconvdata/cp770.c: New file.
61549         * iconvdata/cp771.c: New file.
61550         * iconvdata/cp772.c: New file.
61551         * iconvdata/cp773.c: New file.
61552         * iconvdata/cp774.c: New file.
61553         * iconvdata/testdata/CP770: New file.
61554         * iconvdata/testdata/CP770..UTF8: New file.
61555         * iconvdata/testdata/CP771: New file.
61556         * iconvdata/testdata/CP771..UTF8: New file.
61557         * iconvdata/testdata/CP772: New file.
61558         * iconvdata/testdata/CP772..UTF8: New file.
61559         * iconvdata/testdata/CP773: New file.
61560         * iconvdata/testdata/CP773..UTF8: New file.
61561         * iconvdata/testdata/CP774: New file.
61562         * iconvdata/testdata/CP774..UTF8: New file.
61564         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61565         END CHARMAP line.
61566         * iconvdata/gen-8bit-gap.sh: Likewise.
61567         * iconvdata/gen-8bit.sh: Likewise.
61569         * locale/iso-639.def: Add ary entry.
61571         [BZ #11258]
61572         * locale/C-translit.h.in: Add U20A1 transliteration.
61574         [BZ #12178]
61575         * locale/iso-639.def: Add wae entry.
61576         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61578         [BZ #12545]
61579         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61580         for n.
61582         [BZ #12711]
61583         * locale/C-translit.h.in: Add entry for U20B9.
61584         Patch by pravin.d.s@gmail.com.
61586 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61588         [BZ #12713]
61589         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61590         ENAMETOOLONG use generic getcwd.
61591         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61592         in rtld.  Use *stat64.
61593         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61594         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61595         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61596         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61597         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61598         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61599         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61600         __fstatat64 macros.
61601         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61602         * dirent/rewinddir.c: Add libc_hidden_def.
61603         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61604         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61606         * include/dirent.h (__alloc_dir): Add flags parameter.
61607         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61608         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61609         __alloc_dir.
61610         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61611         from fdopendir if O_CLOEXEC is already set.
61613 2011-03-15  Alan Modra  <amodra@gmail.com>
61615         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61616         l_tls_firstbyte_offset non-zero.  Save padding offset in
61617         l_tls_firstbyte_offset for later use.
61618         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61619         freeing static tls block.
61621 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61623         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61624         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61625         being defined by the kernel headers.
61627 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61629         [BZ #12734]
61630         * resolv/resolv.h: Define RES_NOTLDQUERY.
61631         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61632         no-tld-query and set RES_NOTLDQUERY.
61633         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61634         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61635         modern BIND to search name as TLD unless forbidden.
61637 2011-05-07  Petr Baudis  <pasky@suse.cz>
61638             Ulrich Drepper  <drepper@gmail.com>
61640         [BZ #12393]
61641         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61642         (is_trusted_path): ...to here.
61643         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61644         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61645         using is_trusted_path_normalize() in setuid scripts.
61647 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61649         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61650         __BEGIN/__END_DECLS.
61652 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61654         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61655         NSS_STATUS_NOTFOUND if no record was found.
61657 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61659         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61660         (headers-not-in-tirpc): Remove rpc/netdb.h
61661         * resolv/netdb.h: Revert last change.
61663 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61665         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61666         circular dependency between libgcc.a and libc.a.
61668 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61670         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61671         * nis/Makefile: Don't install rpcsvc/*.
61672         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61673         instead of <rpc/types.h>.
61674         (MAXHOSTNAMELEN): Define.
61676 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61678         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61680 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61682         [BZ #12714]
61683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61684         gethostbyname4_r when IPv6 results are possible.
61686 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61688         [BZ #12723]
61689         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61690         _PC_PIPE_BUF handling.
61692 2011-04-30  Bruno Haible  <bruno@clisp.org>
61694         [BZ #12717]
61695         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61696         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61697         to 'int'.
61698         * inet/getnameinfo.c (getnameinfo): Likewise.
61700 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61702         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61703         to groups setting in database lookup.
61704         * nss/nsswitch.conf: Add initgroups entry.
61706 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61708         [BZ #12685]
61709         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61710         mode string.
61711         Patch by Eric Blake <eblake@redhat.com>.
61713 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61715         * sunrpc/Makefile (need-export-routines): Add svc_run.
61716         (routines): Remove svc_run.
61717         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61718         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61719         * sunrpc/svc_run.c (svc_run): Likewise.
61720         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61722 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61724         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61725         problem in reallocation in last patch.
61727 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61729         * sunrpc/Makefile: Move inclusion of Rules.
61731 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61733         * nss/nss_files/files-initgroups.c: New file.
61734         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61735         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61736         _nss_files_initgroups_dyn.
61738 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61740         * elf/elf.h (R_ARM_IRELATIVE): Define.
61742 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61744         * po/ru.po: Update from translation team.
61746 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61748         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61749         dependencies.
61751 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61753         [BZ #12653]
61754         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61755         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61756         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61757         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61758         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61760 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61762         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61763         differing bytes.
61764         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61765         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61766         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61768 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61770         [BZ #12420]
61771         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61772         storing it.
61773         * stdlib/bug-getcontext.c: New file.
61774         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61776 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61778         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61779         instructions into .machine "z9-109".
61780         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61781         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61783 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61785         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61786         between environment variables and auxiliary vector.
61788 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61790         * Makefile: Add rules to build linkobj/libc.so.
61791         * include/libc-symbols.h: Define libc_hidden_nolink.
61792         * include/rpc/auth.h: Mark functions which are to be hidden.
61793         * include/rpc/auth_des.h: Likewise.
61794         * include/rpc/auth_unix.h: Likewise.
61795         * include/rpc/clnt.h: Likewise.
61796         * include/rpc/des_crypt.h: Likewise.
61797         * include/rpc/key_prot.h: Likewise.
61798         * include/rpc/pmap_clnt.h: Likewise.
61799         * include/rpc/pmap_prot.h: Likewise.
61800         * include/rpc/pmap_rmt.h: Likewise.
61801         * include/rpc/rpc_msg.h: Likewise.
61802         * include/rpc/svc.h: Likewise.
61803         * include/rpc/svc_auth.h: Likewise.
61804         * include/rpc/xdr.h: Likewise.
61805         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61806         * nss/Makefile: Likewise.
61807         * sunrpc/Makefile: Don't install headers.  Build library with normal
61808         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61809         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61810         for the compat linking library.  Remove use of INTDEF/INTUSE.
61811         * sunrpc/auth_none.c: Likewise.
61812         * sunrpc/auth_unix.c: Likewise.
61813         * sunrpc/authdes_prot.c: Likewise.
61814         * sunrpc/authuxprot.c: Likewise.
61815         * sunrpc/clnt_gen.c: Likewise.
61816         * sunrpc/clnt_perr.c: Likewise.
61817         * sunrpc/clnt_raw.c: Likewise.
61818         * sunrpc/clnt_simp.c: Likewise.
61819         * sunrpc/clnt_tcp.c: Likewise.
61820         * sunrpc/clnt_udp.c: Likewise.
61821         * sunrpc/clnt_unix.c: Likewise.
61822         * sunrpc/des_crypt.c: Likewise.
61823         * sunrpc/des_soft.c: Likewise.
61824         * sunrpc/get_myaddr.c: Likewise.
61825         * sunrpc/key_call.c: Likewise.
61826         * sunrpc/key_prot.c: Likewise.
61827         * sunrpc/netname.c: Likewise.
61828         * sunrpc/pm_getmaps.c: Likewise.
61829         * sunrpc/pm_getport.c: Likewise.
61830         * sunrpc/pmap_clnt.c: Likewise.
61831         * sunrpc/pmap_prot.c: Likewise.
61832         * sunrpc/pmap_prot2.c: Likewise.
61833         * sunrpc/pmap_rmt.c: Likewise.
61834         * sunrpc/publickey.c: Likewise.
61835         * sunrpc/rpc_cmsg.c: Likewise.
61836         * sunrpc/rpc_common.c: Likewise.
61837         * sunrpc/rpc_dtable.c: Likewise.
61838         * sunrpc/rpc_prot.c: Likewise.
61839         * sunrpc/rpc_thread.c: Likewise.
61840         * sunrpc/rtime.c: Likewise.
61841         * sunrpc/svc.c: Likewise.
61842         * sunrpc/svc_auth.c: Likewise.
61843         * sunrpc/svc_authux.c: Likewise.
61844         * sunrpc/svc_raw.c: Likewise.
61845         * sunrpc/svc_run.c: Likewise.
61846         * sunrpc/svc_simple.c: Likewise.
61847         * sunrpc/svc_tcp.c: Likewise.
61848         * sunrpc/svc_udp.c: Likewise.
61849         * sunrpc/svc_unix.c: Likewise.
61850         * sunrpc/svcauth_des.c: Likewise.
61851         * sunrpc/xcrypt.c: Likewise.
61852         * sunrpc/xdr.c: Likewise.
61853         * sunrpc/xdr_array.c: Likewise.
61854         * sunrpc/xdr_float.c: Likewise.
61855         * sunrpc/xdr_intXX_t.c: Likewise.
61856         * sunrpc/xdr_mem.c: Likewise.
61857         * sunrpc/xdr_rec.c: Likewise.
61858         * sunrpc/xdr_ref.c: Likewise.
61859         * sunrpc/xdr_sizeof.c: Likewise.
61860         * sunrpc/xdr_stdio.c: Likewise.
61862 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61864         [BZ #12650]
61865         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61866         * sysdeps/ia64/dl-tls.h: Likewise.
61867         * sysdeps/powerpc/dl-tls.h: Likewise.
61868         * sysdeps/s390/dl-tls.h: Likewise.
61869         * sysdeps/sh/dl-tls.h: Likewise.
61870         * sysdeps/sparc/dl-tls.h: Likewise.
61871         * sysdeps/x86_64/dl-tls.h: Likewise.
61872         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61874 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61876         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61877         rpath element also skip the following colon.
61878         (expand_dynamic_string_token): Add is_path parameter and pass
61879         down to DL_DST_REQUIRED and _dl_dst_substitute.
61880         (decompose_rpath): Call expand_dynamic_string_token with
61881         non-zero is_path.  Ignore empty rpaths.
61882         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61883         with zero is_path.
61885 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61888         Make cancelable.
61890 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61892         [BZ #12655]
61893         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61894         Patch by Filipe David Manana <fdmanana@apache.org>.
61896 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61898         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61899         Maintain aligned stack.
61900         (CHECK_RSP): Remove unused macro.
61902 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61904         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61905         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61907 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61909         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61911         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61913 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61915         [BZ #12518]
61916         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61917         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61918         * sysdeps/x86_64/memmove.c: New file.
61919         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61920         (memcpy): Renamed to ...
61921         (__new_memcpy): This.
61922         (memcpy): Provide GLIBC_2_14 memcpy.
61923         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61924         (memcpy): Provide GLIBC_2_2_5 memcpy.
61926 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61928         [BZ #12631]
61929         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61931 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61933         * misc/syncfs.c: New file.
61934         * misc/Makefile (routines): Add syncfs.
61935         * posix/unistd.h: Declare syncfs.
61936         * sysdeps/unix/syscalls.list: Add syncfs.
61938 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61940         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61941         open_by_handle_at.
61942         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61943         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61944         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61945         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61946         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61947         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61948         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61950 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61952         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61953         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61954         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61955         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61956         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61957         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61958         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61960         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61961         sync_file_range.c with -fexceptions.
61962         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61963         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61964         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61965         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61966         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61967         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61968         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61969         sync_file_range as cancellation point
61970         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61971         now a wrapper around __call_sync_file_range with cancellation handling.
61972         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61973         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61974         function name to __call_sync_file_range.
61975         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61976         Add call_sync_file_range.
61978 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61980         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61981         bits/timex.h.
61983 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61985         * iconv/iconv.h: Fix typo in comment.
61986         * io/fcntl.h: Likewise.
61987         * libio/stdio.h: Likewise.
61988         * posix/spawn.h: Likewise.
61989         * posix/unistd.h: Likewise.
61990         * stdlib/stdlib.h: Likewise.
61991         * time/time.h: Likewise.
61992         * wcsmbs/wchar.h: Likewise.
61994         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61995         open_by_handle): Add.
61996         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61997         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61998         Augment a few comments.
61999         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62000         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62001         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62002         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62003         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62004         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62005         open_by_handle.
62007         * io/fcntl.h (AT_EMPTY_PATH): Define.
62009 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62011         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62012         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62013         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62014         to...
62015         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62016         * Versions.def: Add GLIBC_2.14.
62017         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62018         Export.
62020 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62022         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62023         round counter.
62024         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62026 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62028         [BZ #12597]
62029         * string/test-strncmp.c (do_page_test): New function.
62030         (check2): Likewise.
62031         (test_main): Call check2.
62032         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62034 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62036         [BZ #12587]
62037         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62038         Handle cache information in CPU leaf 4.
62039         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62041 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62043         [BZ #12583]
62044         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62045         character representation.
62046         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62048 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62050         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62051         END(__isnan) to END(__isnanf) to match function entry point/label
62052         EALIGN(__isnanf,...).
62054 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62056         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62058 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62060         [BZ #12510]
62061         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62062         copy from the symbol referenced in the relocation to initialize the
62063         used variable.
62064         Patch by Piotr Bury <pbury@goahead.com>.
62065         * elf/Makefile: Add rules to build and tst-unique3.
62066         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62067         * elf/tst-unique3.cc: New file.
62068         * elf/tst-unique3.h: New file.
62069         * elf/tst-unique3lib.cc: New file.
62070         * elf/tst-unique3lib2.cc: New file.
62072         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62074 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62076         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62077         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62078         to _start.
62080 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62082         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62083         to-be-loaded object along a path to loader is ld.so.
62085 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62086             Ulrich Drepper  <drepper@gmail.com>
62088         * sysdeps/x86_64/memset.S: After aligning destination, code
62089         branches to different locations depending on the value of
62090         misalignment, when multiarch is enabled. Fix this.
62092 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62094         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62095         Set _x86_64_preferred_memory_instruction for AMD processsors.
62096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62097         Set bit_Prefer_SSE_for_memop for AMD processors.
62099 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62101         * libio/fmemopen.c (fmemopen): Optimize a bit.
62103 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62105         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62107 2011-03-03  Roland McGrath  <roland@redhat.com>
62109         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62111 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62113         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62114         __bzero_ultra1 instead of __memset_ultra1.
62116 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62117             Ulrich Drepper  <drepper@gmail.com>
62119         [BZ #12509]
62120         * include/link.h (struct link_map): Add l_orig_initfini.
62121         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62122         returning unsuccessfully.
62123         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62124         close of a file loaded at startup, restore the original l_initfini
62125         list.
62126         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62127         list, store the pointer.
62128         * elf/Makefile ($(objpfx)noload-mem): New rule.
62129         (noload-ENV): Define.
62130         (tests): Add $(objpfx)noload-mem.
62131         * elf/noload.c: Include <memcheck.h>.
62132         (main): Call mtrace.  Close all opened handles.
62134 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62136         [BZ #12454]
62137         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62138         dependencies are missing.
62140 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62142         Fix __if_freereq crash: Unlike the generic version which uses free,
62143         Hurd needs munmap.
62144         * sysdeps/mach/hurd/ifreq.h: New file.
62146 2011-01-27  Petr Baudis  <pasky@suse.cz>
62147             Ulrich Drepper  <drepper@gmail.com>
62149         [BZ 12445]#
62150         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62151         to extend_alloca().
62152         * stdio-common/bug23.c: New file.
62153         * stdio-common/Makefile (tests): Add bug23.
62155 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62156             Ulrich Drepper  <drepper@gmail.com>
62158         [BZ #12489]
62159         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62160         before performing relro protection.  At old place add assertion
62161         to make sure nothing changed.
62163 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62164             Glauber de Oliveira Costa  <glommer@gmail.com>
62166         * elf/elf.h: Add new ARM TLS relocs.
62168 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62171         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62172         cast from r3.
62173         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62174         'tests' variable.
62175         * sysdeps/wordsize-64/tst-writev.c: New file.
62177 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62179         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62180         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62181         insns in _dl_start to prevent a TOC reference before relocs are
62182         resolved.
62184 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62186         [BZ #12469]
62187         * Makeconfig: Remove RANLIB definition.
62188         * Makerules: Don't use RANLIB.
62189         * aclocal.m4: Remove ranlib test.
62190         * configure.in: No need to check for ranlib.
62191         * elf/rtld-Rules: Don't use RANLIB.
62193 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62195         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62196         protection macro.
62197         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62198         inclusion protection macro.
62200         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62201         SIGRTMIN and SIGRTMAX and print information in that case only when
62202         SIGRTMIN is defined.
62204 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62206         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62207         arginfo fn returning -1.
62209         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62210         and thousands string is zero terminated.
62212 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62214         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62215         sysdeps/unix/sysv/linux/bits/socket.h.
62217 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62219         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62220         (__CPU_COUNT): Remove old macros.
62221         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62222         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62223         (__CPU_ALLOC, __CPU_FREE): Add macros.
62224         (__sched_cpualloc, __sched_cpufree): Add declarations.
62226 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62228         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62229         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62230         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62231         (readdhstai): Return value of addhstaiX call.
62232         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62233         (addgrbyX): Return value returned by cache_addgr.
62234         (readdgrbyname): Return value returned by addgrbyX.
62235         (readdgrbygid): Likewise.
62236         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62237         (addpwbyX): Return value returned by cache_addpw.
62238         (readdpwbyname): Return value returned by addhstbyX.
62239         (readdpwbyuid): Likewise.
62240         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62241         (addservbyX): Return value returned by cache_addserv.
62242         (readdservbyname): Return value returned by addservbyX:
62243         (readdservbyport): Likewise.
62244         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62245         (addhstbyX): Return value returned by cache_addhst.
62246         (readdhstbyname): Return value returned by addhstbyX.
62247         (readdhstbyaddr): Likewise.
62248         (readdhstbynamev6): Likewise.
62249         (readdhstbyaddrv6): Likewise.
62250         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62251         (readdinitgroups): Return value returned by addinitgroupsX.
62252         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62253         (prune_cache): Keep track of timeout value of re-added entries.
62254         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62255         * nscd/nscd.h: Adjust prototypes of readd* functions.
62257 2011-02-04  Roland McGrath  <roland@redhat.com>
62259         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62260         (nis_stats): Likewise.
62261         * nis/nis_modify.c (nis_modify): Likewise.
62262         * nis/nis_remove.c (nis_remove): Likewise.
62263         * nis/nis_add.c (nis_add): Likewise.
62265         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62267         * posix/fnmatch_loop.c: Add some consts.
62269         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62271 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62273         [BZ #12460]
62274         * config.make.in (config-cflags-novzeroupper): Define.
62275         * configure.in: Substitute libc_cv_cc_novzeroupper.
62276         * elf/Makefile (AVX-CFLAGS): Define.
62277         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62278         (CFLAGS-tst-auditmod4a.c): Likewise.
62279         (CFLAGS-tst-auditmod4b.c): Likewise.
62280         (CFLAGS-tst-auditmod6b.c): Likewise.
62281         (CFLAGS-tst-auditmod6c.c): Likewise.
62282         (CFLAGS-tst-auditmod7b.c): Likewise.
62283         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62285 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62287         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62288         function to the callback.
62289         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62291 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62293         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62294         of errno.
62296 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62298         [BZ #11724]
62299         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62300         of constructors.
62301         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62302         of destructors.
62303         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62305         [BZ #11724]
62306         * elf/Makefile: Add rules to build and run new test.
62307         * elf/tst-initorder.c: New file.
62308         * elf/tst-initorder.exp: New file.
62309         * elf/tst-initordera1.c: New file.
62310         * elf/tst-initordera2.c: New file.
62311         * elf/tst-initordera3.c: New file.
62312         * elf/tst-initordera4.c: New file.
62313         * elf/tst-initorderb1.c: New file.
62314         * elf/tst-initorderb2.c: New file.
62315         * elf/tst-order-a1.c: New file.
62316         * elf/tst-order-a2.c: New file.
62317         * elf/tst-order-a3.c: New file.
62318         * elf/tst-order-a4.c: New file.
62319         * elf/tst-order-b1.c: New file.
62320         * elf/tst-order-b2.c: New file.
62321         * elf/tst-order-main.c: New file.
62322         New test case by George Gensure <werkt0@gmail.com>.
62324 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62326         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62327         decoding ACE if AI_CANONIDN.
62329 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62331         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62333 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62335         * version.h (RELEASE): Bump for 2.13 release.
62336         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62338         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62340         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62341         MADV_NOHUGEPAGE.
62342         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62343         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62344         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62345         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62346         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62347         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62349         * posix/getconf.c: Update copyright year.
62350         * catgets/gencat.c: Likewise.
62351         * csu/version.c: Likewise.
62352         * debug/catchsegv.sh: Likewise.
62353         * debug/xtrace.sh: Likewise.
62354         * elf/ldconfig.c: Likewise.
62355         * elf/ldd.bash.in: Likewise.
62356         * elf/sprof.c (print_version): Likewise.
62357         * iconv/iconv_prog.c: Likewise.
62358         * iconv/iconvconfig.c: Likewise.
62359         * locale/programs/locale.c: Likewise.
62360         * locale/programs/localedef.c: Likewise.
62361         * malloc/memusage.sh: Likewise.
62362         * malloc/mtrace.pl: Likewise.
62363         * nscd/nscd.c (print_version): Likewise.
62364         * nss/getent.c: Likewise.
62366         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62367         PF_CAIF, and PF_ALG.
62368         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62370 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62372         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62373         (modules-names): Use them.
62374         (ifunc-test-modules, ifunc-pie-tests): Define.
62375         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62376         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62377         (test-extras): Likewise.
62378         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62379         $(compile-command.c).
62380         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62381         (all-built-dso): Define.
62382         (check-textrel.out, check-execstack.out): Depend on it.
62384         * configure.in: Don't override --enable-multi-arch.
62386 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62388         [BZ #6812]
62389         * nscd/hstcache.c (tryagain): Define.
62390         (cache_addhst): Return tryagain not notfound for temporary errors.
62391         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62392         failed.
62394 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62396         [BZ #10563]
62397         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62398         to make the syscall.
62399         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62401         [BZ #12378]
62402         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62403         and fall back to matching as normal character if the string ends before
62404         the matching ']' is found.  This is what POSIX requires.
62405         * posix/testfnm.c: Adjust test result.
62406         * posix/globtest.sh: Adjust test result.  Add new test.
62407         * posix/tst-fnmatch.input: Likewise.
62408         * posix/tst-fnmatch2.c: Add new test.
62410 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62412         * elf/Makefile (check-execstack): Revert last change.  Depend on
62413         check-execstack.h.
62414         (check-execstack.h): New target.
62415         (generated): Add check-execstack.h.
62416         * elf/check-execstack.c: Include "check-execstack.h".
62417         (main): Revert last change.
62418         (handle_file): Return zero if GNU_STACK is absent and
62419         DEFAULT_STACK_PERMS doesn't include PF_X.
62421 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62423         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62424         in child fails because the descriptor is already closed.
62425         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62426         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62427         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62429         [BZ #12397]
62430         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62431         syscall.
62433         [BZ #10484]
62434         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62435         temporary buffer used to handle multi lookups locally.
62436         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62438 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62440         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62441         loader is ld.so.
62443 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62445         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62446         alignment for SSE2.
62448 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62450         [BZ #12394]
62451         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62452         characters.  When rounding increased number of integer digits recompute
62453         number of groups.
62454         * stdio-common/tst-grouping.c: New file.
62455         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62457 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62459         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62460         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62462         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62463         void.
62464         * bits/select.h: Likewise.
62466 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62468         * po/ja.po: Update from translation team.
62470 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62472         [BZ #11155]
62473         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62474         implementation just like for lxstat, fxstatat, et al.
62476 2010-12-27  Jim Meyering  <meyering@redhat.com>
62478         [BZ #12348]
62479         * posix/regexec.c (build_trtable): Return failure indication upon
62480         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62482 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62484         [BZ #12201]
62485         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62486         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62487         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62488         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62490         [BZ #12207]
62491         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62493         [BZ #12204]
62494         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62495         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62497 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62499         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62500         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62501         script has SORT_BY_INIT_PRIORITY.
62502         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62503         NO_CTORS_DTORS_SECTIONS is defined.
62504         * elf/soinit.c: Likewise.
62505         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62506         NO_CTORS_DTORS_SECTIONS is defined.
62507         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62508         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62509         * sysdeps/sh/init-first.c: Likewise.
62510         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62512 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62514         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62515         always use the slow path.
62517 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62519         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62520         similar rule which adds the sysdep directories to the header search in
62521         order to pick up the correct platform stackinfo.h.
62522         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62523         perform test if it is, otherwise return successfully without testing.
62524         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62525         DEFAULT_STACK_PERMS define in stackinfo.h.
62526         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62527         defined in stackinfo.h.
62528         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62529         DEFAULT_STACK_PERMS defined in stackinfo.h.
62530         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62531         * sysdeps/ia64/stackinfo.h: Likewise.
62532         * sysdeps/s390/stackinfo.h: Likewise.
62533         * sysdeps/sh/stackinfo.h: Likewise.
62534         * sysdeps/sparc/stackinfo.h: Likewise.
62535         * sysdeps/x86_64/stackinfo.h: Likewise.
62536         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62537         PF_X for powerpc64.  Retain PF_X for powerpc32.
62539 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62541         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62542         accurately.
62543         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62544         GETDENTS_64BIT_ALIGNED.
62546 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62548         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62550 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62552         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62553         _GNU_SOURCE.
62555         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62556         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62557         Remove __restrict.
62558         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62559         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62561 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62563         [BZ #11655]
62564         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62565         are initialized.
62567 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62569         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62571 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62573         * po/it.po: Update from translation team.
62575 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62577         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62578         unused codes.
62580 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62582         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62584 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62586         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62587         specially.
62588         (gaih_getanswer_slice): Likewise.
62590 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62592         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62594 2010-05-31  Petr Baudis  <pasky@suse.cz>
62596         [BZ #11149]
62597         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62598         silently even in the chroot mode.
62600 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62602         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62603         last patch a bit.  Pretty printing
62605 2010-05-31  Petr Baudis <pasky@suse.cz>
62607         [BZ #10085]
62608         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62609         initialization of skip_initgroups_dyn.
62611 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62613         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62614         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62616 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62618         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62620 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62622         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62623         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62624         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62625         ($(objpfx)tst-fnmatch-mem): New rule.
62626         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62627         * posix/tst-fnmatch.c (main): Call mtrace.
62629 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62632         Support Intel processor model 6 and model 0x2c.
62634 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62636         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62637           signed comparison.
62639 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62641         [BZ #12205]
62642         * string/test-strncasecmp.c (check_result): New function.
62643         (do_one_test): Use it.
62644         (check1): New function.
62645         (test_main): Use it.
62646         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62647         Support strcasecmp and strncasecmp.
62649 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62651         [BZ #12194]
62652         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62653         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62655 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62657         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62658         IFUNC support.
62659         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62660         memset-x86-64.
62661         * sysdeps/x86_64/multiarch/bzero.S: New file.
62662         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62663         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62664         * sysdeps/x86_64/multiarch/memset.S: New file.
62665         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62667         Set bit_Prefer_SSE_for_memop for Intel processors.
62668         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62669         Define.
62670         (index_Prefer_SSE_for_memop): Define.
62671         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62673 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62675         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62676         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62678 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62680         [BZ #12191]
62681         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62682         (__x86_64_raw_data_cache_size_half): Likewise.
62683         (__x86_64_raw_shared_cache_size): Likewise.
62684         (__x86_64_raw_shared_cache_size_half): Likewise.
62686         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62687         (__x86_64_raw_data_cache_size_half): Likewise.
62688         (__x86_64_raw_shared_cache_size): Likewise.
62689         (__x86_64_raw_shared_cache_size_half): Likewise.
62690         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62691         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62692         and __x86_64_raw_shared_cache_size_half.  Round
62693         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62694         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62695         to multiple of 256 bytes.
62697 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62699         [BZ #12167]
62700         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62701         of inacessible symlinks.  Verify result of symlink before returning it.
62702         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62703         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62705 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62707         * math/math.h (isinf): Fix typo in comment.
62709 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62711         * po/da.po: Update from translation team.
62713 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62715         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62716         is added to the list.
62718 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62719             Ulrich Drepper  <drepper@gmail.com>
62721         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62722         the global list here.  Move code to...
62723         (_dl_add_to_namespace_list): ...here.  New function.
62724         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62725         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62726         * elf/dl-load.c (lose): Don't remove the element from the list.
62727         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62728         (_dl_map_object): Likewise.
62730 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62732         [BZ #12159]
62733         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62734         into all bytes of SSE register.
62735         Patch by Richard Li <richardpku@gmail.com>.
62737 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62739         [BZ #12140]
62740         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62741         perturbing.
62743 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62745         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62746         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62747         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62748         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62750         submachine.
62751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62753 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62755         * include/dlfcn.h (__RTLD_SECURE): Define.
62756         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62757         mode & __RTLD_SECURE instead.
62758         (open_path): Rename preloaded parameter to secure.
62759         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62760         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62761         * elf/dl-deps.c (openaux): Likewise.
62762         * elf/rtld.c (struct map_args): Remove is_preloaded.
62763         (map_doit): Don't use it.
62764         (dl_main): Likewise.
62765         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62766         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62768 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62770         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62771         (sysd-rules-targets): Remove duplicates.
62772         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62773         rtld-%.$o dependency.
62775 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62777         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62778         _dl_map_object do it.
62780 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62782         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62783         fast fma builtins, define the macros in the C99 standard.
62784         (FP_FAST_FMAF): Likewise.
62785         (FP_FAST_FMAL): Likewise.
62786         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62788         * bits/mathdef.h: Update copyright year.
62789         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62791 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62793         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62794         builtins, define the macros in the C99 standard.
62795         (FP_FAST_FMAF): Likewise.
62796         (FP_FAST_FMAL): Likewise.
62797         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62798         multiply/add.
62799         (FP_FAST_FMAF): Likewise.
62801 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62803         [BZ #3268]
62804         * math/libm-test.inc (fma_test): Some new testcases.
62805         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62806         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62807         y and infinite z.  Do multiplication by C already in long double.
62808         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62810         y and infinite z.  Do bitwise or of inexact bit into u.d.
62811         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62812         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62813         * sysdeps/i386/fpu/s_fma.S: Removed.
62814         * sysdeps/i386/fpu/s_fmal.S: Removed.
62816 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62818         [BZ #3268]
62819         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62820         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62821         computation is not scheduled after fetestexcept.  Fix value
62822         of minimum denormal long double.
62824 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62826         [BZ #3268]
62827         * math/libm-test.inc (fma_test): Add some more tests.
62828         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62829         correctly.
62831 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62833         * scripts/data/localplt-s390-linux-gnu.data: New file.
62834         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62836 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62838         [BZ #3268]
62839         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62840         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62841         instead of dbl-64.
62842         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62843         inlines.
62844         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62845         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62846         if one of x and y is very large and the other is subnormal.
62847         * sysdeps/s390/fpu/s_fmaf.c: New file.
62848         * sysdeps/s390/fpu/s_fma.c: New file.
62849         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62850         * sysdeps/powerpc/fpu/s_fma.S: New file.
62851         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62852         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62853         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62855 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62857         [BZ #3268]
62858         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62859         fma tests.
62860         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62861         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62862         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62863         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62864         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62865         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62866         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62868 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62870         [BZ #12078]
62871         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62872         * posix/bug-regex31.input: Add test case.
62874 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62876         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62877         * posix/bug-regex31.input: New file.
62879         [BZ #12078]
62880         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62881         (parse_sub_exp): Fix last change, use postorder.
62883         * posix/bug-regex31.c: New file.
62884         * posix/Makefile: Add rules to build and run bug-regex31.
62886         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62888         [BZ #12078]
62889         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62891         [BZ #12108]
62892         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62893         to have entries in sys_siglist.
62895         [BZ #12093]
62896         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62897         be NULL.
62899 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62901         [BZ #3268]
62902         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62903         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62904         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62905         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62906         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62907         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62908         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62909         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62910         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62911         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62912         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62913         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62914         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62915         * math/ftestexcept.c (fetestexcept): Likewise.
62916         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62917         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62918         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62919         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62920         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62921         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62922         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62924 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62926         [BZ #12107]
62927         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62928         newline.
62930 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62932         * string/bug-strstr1.c: New file.
62933         * string/Makefile: Add rules to build and run bug-strstr1.
62935 2010-10-05  Eric Blake  <eblake@redhat.com>
62937         [BZ #12092]
62938         * string/str-two-way.h (two_way_long_needle): Always clear memory
62939         when skipping input due to the shift table.
62941 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62943         [BZ #12005]
62944         * malloc/mcheck.c: Handle large requests.
62946         [BZ #12077]
62947         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62948         for strncmp and strncasecmp.
62949         * string/stratcliff.c: Add tests for strcmp and strncmp.
62950         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62952 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62954         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62955         __set_fpscr.
62957 2010-09-30  Andreas Jaeger  <aj@suse.de>
62959         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62960         (CGROUP_SUPER_MAGIC): Define.
62961         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62962         Handle btrfs and cgroup file systems.
62963         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62964         Likewise.
62966 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62968         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62969         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62971 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62973         [BZ #12067]
62974         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62975         trying to locate the ELF header.
62977 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62979         [BZ #11611]
62980         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62981         Mask out sign-bit copies when constructing f_fsid.
62983 2010-09-24  Petr Baudis <pasky@suse.cz>
62985         * debug/stack_chk_fail_local.c: Add missing licence exception.
62986         * debug/warning-nop.c: Likewise.
62988 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62990         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62991         implementing getdents64 using getdents syscall, set d_type if
62992         __ASSUME_GETDENTS32_D_TYPE.
62994 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62996         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62997         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62999 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63001         [BZ #12037]
63002         * posix/unistd.h: Undo change of feature selection for ftruncate from
63003         2010-01-11.
63005 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63007         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63008         detection.
63010 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63012         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63013         fanotify_mark.
63014         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63016 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63018         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63019         variables after CHECK_SP call.
63020         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63022 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63023             Ulrich Drepper  <drepper@redhat.com>
63025         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63026         re-relocationg ld.so.
63027         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63028         _dl_init_paths call.
63029         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63030         here anymore.
63032 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63034         * resolv/res_init.c (__res_vinit): Count the default server we added.
63036 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63037             Ulrich Drepper  <drepper@redhat.com>
63039         [BZ #11968]
63040         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63041         (____longjmp_chk): Use %ebx for saving value across system call.
63042         Add unwind info.
63044 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63046         * manual/Makefile: Don't mix pattern rules with normal rules.
63048 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63050         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63051         operation.
63052         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63053         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63054         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63055         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63056         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63057         Likewise.
63059 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63061         [BZ #11979]
63062         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63063         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63065 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63067         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63068         * sysdeps/x86_64/addmul_1.S: Likewise.
63069         * sysdeps/x86_64/lshift.S: Likewise.
63070         * sysdeps/x86_64/mul_1.S: Likewise.
63071         * sysdeps/x86_64/rshift.S: Likewise.
63072         * sysdeps/x86_64/sub_n.S: Likewise.
63073         * sysdeps/x86_64/submul_1.S: Likewise.
63075 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63077         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63078         Define __sched_param instead of SCHED_* and sched_param when
63079         <bits/sched.h> is included with __need_schedparam defined.
63080         * bits/sched.h [__need_schedparam]
63081         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63082         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63083         (__defined_schedparam): Define to 1.
63084         (__sched_param): New structure, identical to sched_param.
63085         (__need_schedparam): Undefine.
63087 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63089         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63090         (epoll_create1): Declare.
63092         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63094 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63096         [BZ #7066]
63097         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63098         shifting retval into place.
63100 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63102         * nis/rpcsvc/nis.h: Update copyright notice.
63103         * nis/rpcsvc/nis.x: Likewise.
63104         * nis/rpcsvc/nis_callback.h: Likewise.
63105         * nis/rpcsvc/nis_callback.x: Likewise.
63106         * nis/rpcsvc/nis_object.x: Likewise.
63107         * nis/rpcsvc/nis_tags.h: Likewise.
63108         * nis/rpcsvc/yp.h: Likewise.
63109         * nis/rpcsvc/yp.x: Likewise.
63110         * nis/rpcsvc/ypupd.h: Likewise.
63111         * nis/yp_xdr.c: Likewise.
63112         * nis/ypupdate_xdr.c: Likewise.
63114         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63115         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63116         (pmap_getport): Use __libc_rpc_getport.
63117         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63118         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63119         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63121 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63124         fanotify_mark.
63126 2010-08-27  Roland McGrath  <roland@redhat.com>
63128         * sysdeps/i386/i686/multiarch/Makefile
63129         (CFLAGS-varshift.c): New variable.
63131 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63133         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63134         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63136         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63138         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63140 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63142         * sysdeps/x86_64/strlen.S: Unroll the loop.
63143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63144         strlen-sse2 strlen-sse2-bsf.
63145         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63146         __strlen_no_bsf if bit_Slow_BSF is set.
63147         (__strlen_sse42): Removed.
63148         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63149         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63151 2010-08-25  Roland McGrath  <roland@redhat.com>
63153         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63154         * sysdeps/x86_64/multiarch/varshift.c: New file.
63155         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63156         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63157         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63158         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63160 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63162         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63163         strlen-sse2 strlen-sse2-bsf.
63164         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63165         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63166         (__strlen_sse2): Removed.
63167         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63168         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63170         bit_Slow_BSF for Atom.
63171         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63172         (index_Slow_BSF): Define.
63173         (HAS_SLOW_BSF): Define.
63175 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63177         [BZ #10851]
63178         * resolv/res_init.c (__res_vinit): When no server address at all
63179         is given default to loopback.
63181 2010-08-24  Roland McGrath  <roland@redhat.com>
63183         * configure.in: Remove config-name.h generation.
63184         * configure: Regenerated.
63185         * config-name.in: File removed.
63186         * scripts/config-uname.sh: New file.
63187         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63188         ($(objdir)config-name.h): New target.
63190         * sunrpc/rpc_parse.h: Avoid nested comment.
63192 2010-08-24  Richard Henderson  <rth@redhat.com>
63193             Ulrich Drepper  <drepper@redhat.com>
63194             H.J. Lu  <hongjiu.lu@intel.com>
63196         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63198         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63199         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63200         _mm_alignr_epi8 with _mm_loadu_si128.
63201         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63202         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63203         (__m128i_shift_right): Removed.
63204         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63205         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63206         * sysdeps/x86_64/multiarch/varshift.h: New file.
63207         * sysdeps/x86_64/multiarch/varshift.S: New file.
63209 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63211         * configure.in: Move assembler checks to before sysdep dir checking.
63213 2010-08-20  Petr Baudis  <pasky@suse.cz>
63215         * LICENSES: Sync the sunrpc license.
63217 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63219         * sunrpc/auth_des.c: Update copyright notice once again.
63220         * sunrpc/auth_none.c: Likewise.
63221         * sunrpc/auth_unix.c: Likewise.
63222         * sunrpc/authdes_prot.c: Likewise.
63223         * sunrpc/authuxprot.c: Likewise.
63224         * sunrpc/bindrsvprt.c: Likewise.
63225         * sunrpc/clnt_gen.c: Likewise.
63226         * sunrpc/clnt_perr.c: Likewise.
63227         * sunrpc/clnt_raw.c: Likewise.
63228         * sunrpc/clnt_simp.c: Likewise.
63229         * sunrpc/clnt_tcp.c: Likewise.
63230         * sunrpc/clnt_udp.c: Likewise.
63231         * sunrpc/clnt_unix.c: Likewise.
63232         * sunrpc/des_crypt.c: Likewise.
63233         * sunrpc/des_soft.c: Likewise.
63234         * sunrpc/get_myaddr.c: Likewise.
63235         * sunrpc/getrpcport.c: Likewise.
63236         * sunrpc/key_call.c: Likewise.
63237         * sunrpc/key_prot.c: Likewise.
63238         * sunrpc/openchild.c: Likewise.
63239         * sunrpc/pm_getmaps.c: Likewise.
63240         * sunrpc/pm_getport.c: Likewise.
63241         * sunrpc/pmap_clnt.c: Likewise.
63242         * sunrpc/pmap_prot.c: Likewise.
63243         * sunrpc/pmap_prot2.c: Likewise.
63244         * sunrpc/pmap_rmt.c: Likewise.
63245         * sunrpc/rpc/auth.h: Likewise.
63246         * sunrpc/rpc/auth_unix.h: Likewise.
63247         * sunrpc/rpc/clnt.h: Likewise.
63248         * sunrpc/rpc/des_crypt.h: Likewise.
63249         * sunrpc/rpc/key_prot.h: Likewise.
63250         * sunrpc/rpc/netdb.h: Likewise.
63251         * sunrpc/rpc/pmap_clnt.h: Likewise.
63252         * sunrpc/rpc/pmap_prot.h: Likewise.
63253         * sunrpc/rpc/pmap_rmt.h: Likewise.
63254         * sunrpc/rpc/rpc.h: Likewise.
63255         * sunrpc/rpc/rpc_des.h: Likewise.
63256         * sunrpc/rpc/rpc_msg.h: Likewise.
63257         * sunrpc/rpc/svc.h: Likewise.
63258         * sunrpc/rpc/svc_auth.h: Likewise.
63259         * sunrpc/rpc/types.h: Likewise.
63260         * sunrpc/rpc/xdr.h: Likewise.
63261         * sunrpc/rpc_clntout.c: Likewise.
63262         * sunrpc/rpc_cmsg.c: Likewise.
63263         * sunrpc/rpc_common.c: Likewise.
63264         * sunrpc/rpc_cout.c: Likewise.
63265         * sunrpc/rpc_dtable.c: Likewise.
63266         * sunrpc/rpc_hout.c: Likewise.
63267         * sunrpc/rpc_main.c: Likewise.
63268         * sunrpc/rpc_parse.c: Likewise.
63269         * sunrpc/rpc_parse.h: Likewise.
63270         * sunrpc/rpc_prot.c: Likewise.
63271         * sunrpc/rpc_sample.c: Likewise.
63272         * sunrpc/rpc_scan.c: Likewise.
63273         * sunrpc/rpc_scan.h: Likewise.
63274         * sunrpc/rpc_svcout.c: Likewise.
63275         * sunrpc/rpc_tblout.c: Likewise.
63276         * sunrpc/rpc_util.c: Likewise.
63277         * sunrpc/rpc_util.h: Likewise.
63278         * sunrpc/rpcinfo.c: Likewise.
63279         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63280         * sunrpc/rpcsvc/key_prot.x: Likewise.
63281         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63282         * sunrpc/rpcsvc/mount.x: Likewise.
63283         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63284         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63285         * sunrpc/rpcsvc/rex.x: Likewise.
63286         * sunrpc/rpcsvc/rstat.x: Likewise.
63287         * sunrpc/rpcsvc/rusers.x: Likewise.
63288         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63289         * sunrpc/rpcsvc/spray.x: Likewise.
63290         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63291         * sunrpc/rtime.c: Likewise.
63292         * sunrpc/svc.c: Likewise.
63293         * sunrpc/svc_auth.c: Likewise.
63294         * sunrpc/svc_authux.c: Likewise.
63295         * sunrpc/svc_raw.c: Likewise.
63296         * sunrpc/svc_run.c: Likewise.
63297         * sunrpc/svc_simple.c: Likewise.
63298         * sunrpc/svc_tcp.c: Likewise.
63299         * sunrpc/svc_udp.c: Likewise.
63300         * sunrpc/svc_unix.c: Likewise.
63301         * sunrpc/svcauth_des.c: Likewise.
63302         * sunrpc/xcrypt.c: Likewise.
63303         * sunrpc/xdr.c: Likewise.
63304         * sunrpc/xdr_array.c: Likewise.
63305         * sunrpc/xdr_float.c: Likewise.
63306         * sunrpc/xdr_mem.c: Likewise.
63307         * sunrpc/xdr_rec.c: Likewise.
63308         * sunrpc/xdr_ref.c: Likewise.
63309         * sunrpc/xdr_sizeof.c: Likewise.
63310         * sunrpc/xdr_stdio.c: Likewise.
63312         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63313         handling.
63315 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63317         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63319 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63321         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63322         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63323         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63324         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63325         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63326         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63327         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63328         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63329         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63330         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63331         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63332         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63333         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63334         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63336 2010-07-26  Anton Blanchard  <anton@samba.org>
63338         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63339         * malloc/arena.c (heap_trim): Likewise.
63341 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63343         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63344         here.  Not...
63345         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63346         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63348 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63350         * sysdeps/i386/elf/Makefile: New file.
63352 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63354         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63355         from fanotify_init.
63356         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63357         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63359 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63361         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63362         of strncasecmp_l.
63363         * sysdeps/multiarch/strcmp.S: Likewise.
63365 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63367         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63368         strncase_l-nonascii.
63369         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63370         Add strncase_l-ssse3.
63371         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63372         * sysdeps/x86_64/strcmp.S: Likewise.
63373         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63374         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63375         * sysdeps/x86_64/strncase.S: New file.
63376         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63377         * sysdeps/x86_64/strncase_l.S: New file.
63378         * string/Makefile (strop-tests): Add strncasecmp.
63379         * string/test-strncasecmp.c: New file.
63381         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63382         warning.
63384         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63385         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63387 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63389         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63391 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63393         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63394         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63395         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63397 2010-05-01  Alan Modra  <amodra@gmail.com>
63399         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63400         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63401         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63402         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63403         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63404         tidying.  Don't tail-call __sigjmp_save for static lib.
63405         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63406         save location.
63407         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63408         (CALL_MCOUNT): Add eh info, and nop after bl.
63409         (TAIL_CALL_SYSCALL_ERROR): New macro.
63410         (PSEUDO_RET): Use it.
63411         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63412         Correct save location of integer regs and cr.
63413         (_dl_profile_resolve): Correct cr save location.  Delete nops
63414         after bl when SHARED.  Reduce cfi size a little by better
63415         placement of cfi directives.
63416         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63417         make a stack frame.  Instead use parm save area as a temp.
63418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63419         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63421         Don't make a stack frame for parent, use parm save area.
63422         Increase child stack frame to 112 bytes.  Don't save unused reg,
63423         and adjust reg usage.  Set up cfi on error recovery and
63424         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63426         (__makecontext): Add dummy nop after jump to exit.
63427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63428         Use correct parm save area and cr save, reduce stack frame.
63429         Correct cfi for possible PSEUDO_RET frame setup.
63430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63431         Branch to local label emitted by PSEUDO_RET rather than
63432         __syscall_error.
63434 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63436         [BZ #11904]
63437         * locale/programs/locale.c (print_assignment): New function.
63438         (show_locale_vars): Use it.
63440 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63442         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63443         field.
63444         (struct statfs64): Likewise.
63445         (_STATFS_F_FLAGS): Define.
63446         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63447         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63448         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63449         (ST_VALID): Define locally.
63450         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63451         __statvfs_getflags, use the provided value.
63452         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63453         __ASSUME_STATFS_F_FLAGS.
63455         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63457         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63458         Add sys/fanotify.h.
63459         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63460         fanotify_mask for GLIBC_2.13.
63461         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63462         fanotify_init and fanotify_mark.
63463         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63464         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63466         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63467         Add prlimit.
63468         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63469         prlimit64 for GLIBC_2.13.
63470         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63471         prlimit64.
63472         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63473         syscall.
63474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63475         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63476         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63477         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63478         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63479         add prlimit alias.
63480         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63482         [BZ #11903]
63483         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63484         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63486         * nss/Makefile: Add rules to build and run tst-nss-test1.
63487         * shlib-versions: Add entry for libnss_test1.
63488         * nss/nss_test1.c: New file.
63489         * nss/tst-nss-test1.c: New file.
63491         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63492         (__nss_configure_lookup): Set appropriate entry in
63493         __nss_configure_lookup to true.
63494         * nss/nsswitch.h: Define enum with indeces of databases in
63495         databases and __nss_database_custom arrays.  Declare
63496         __nss_database_custom.
63497         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63498         to avoid using nscd when custom rules are installed.
63499         * nss/getXXbyYY_r.c: Likewise.
63500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63502         * nss/nss_files/files-parse.c: Whitespace fixes.
63504 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63506         [BZ #11883]
63507         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63508         * posix/fnmatch_loop.c: Likewise.
63510 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63512         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63513         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63514         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63515         * Versions.def [GLIBC_2.13]: Add.
63517 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63519         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63520         Also fail if tpwd after pwuid call is NULL.
63522 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63524         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63525         when converting to ms.
63527 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63529         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63530         EOPNOTSUPP errors with ENOTTY.
63531         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63532         EOPNOTSUPP errors with ENOTTY.
63534 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63536         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63537         Add strcasecmp_l-ssse3.
63538         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63539         strcasecmp.
63540         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63541         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63542         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63544 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63546         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63548         * string/Makefile (strop-tests): Add strcasecmp.
63549         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63550         strcasecmp_l-nonascii.
63551         (gen-as-const-headers): Add locale-defines.sym.
63552         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63553         * sysdeps/x86_64/strcasecmp.S: New file.
63554         * sysdeps/x86_64/strcasecmp_l.S: New file.
63555         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63556         * sysdeps/x86_64/locale-defines.sym: New file.
63557         * string/test-strcasecmp.c: New file.
63559         * string/test-strcasestr.c: Test both ends of the range of characters.
63560         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63562 2010-07-29  Roland McGrath  <roland@redhat.com>
63564         [BZ #11856]
63565         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63567 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63569         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63570         for ld.so.
63572 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63574         * manual/memory.texi (Malloc Tunable Parameters): Document
63575         M_PERTURB.
63577 2010-07-26  Roland McGrath  <roland@redhat.com>
63579         [BZ #11840]
63580         * configure.in (-fgnu89-inline check): Set and substitute
63581         gnu89_inline, not libc_cv_gnu89_inline.
63582         * configure: Regenerated.
63583         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63585 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63587         * string/test-strnlen.c: New file.
63588         * string/Makefile (strop-tests): Add strnlen.
63589         * string/tester.c (test_strnlen): Add a few more test cases.
63590         * string/tst-strlen.c: Better error reporting.
63592         * sysdeps/x86_64/strnlen.S: New file.
63594 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63596         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63597         lower-latency instructions.
63599 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63601         * string/test-strcasestr.c: New file.
63602         * string/test-strstr.c: New file.
63603         * string/Makefile (strop-tests): Add strstr and strcasestr.
63604         * string/str-two-way.h: Don't undefine MAX.
63605         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63607 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63609         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63610         strcasestr-nonascii.
63611         (CFLAGS-strcasestr-nonascii.c): Define.
63612         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63613         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63614         Remove unused attribute.
63616 2010-07-20  Roland McGrath  <roland@redhat.com>
63618         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63619         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63620         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63621         like LD_HWCAP_MASK can disable hwcaps.
63623 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63625         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63627 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63629         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63630         call in strcasestr.
63631         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63632         __strcasestr_sse42_nonascii.
63633         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63634         strcasestr-nonascii.c.
63635         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63637 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63639         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63640         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63641         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63642         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63644 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63646         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63647         fcntl.
63649 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63651         [BZ #11577]
63652         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63653         dl_signal_cerror.
63655 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63657         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63658         _PC_PIPE_BUF using F_GETPIPE_SZ.
63660 2010-07-05  Roland McGrath  <roland@redhat.com>
63662         * manual/arith.texi (Rounding Functions): Fix rint description
63663         implicit in round description.
63665 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63667         * elf/Makefile: Fix linking for a few tests to make recent linker
63668         happy.
63670 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63672         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63673         $(common-objpfx)libc_nonshared.a.
63675 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63677         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63678         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63679         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63680         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63681         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63682         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63683         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63684         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63699         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63700         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63701         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63702         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63703         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63704         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63705         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63706         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63707         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63708         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63709         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63710         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63726 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63728         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63729         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63730         * string/memmove.c (memmove): Renamed to ...
63731         (MEMMOVE): ...this.  Default to memmove.
63732         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63733         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63734         (END_CHK): Define.
63735         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63736         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63737         mempcpy-ssse3-back memmove-ssse3-back.
63738         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63739         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63740         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63741         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63742         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63743         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63744         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63745         * sysdeps/x86_64/multiarch/memmove.c: New file.
63746         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63747         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63748         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63749         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63750         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63751         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63752         Define.
63753         (index_Fast_Copy_Backward): Define.
63754         (HAS_ARCH_FEATURE): Define.
63755         (HAS_FAST_REP_STRING): Define.
63756         (HAS_FAST_COPY_BACKWARD): Define.
63758 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63760         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63761         Restore proper fallback handling.
63763 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63765         [BZ #11701]
63766         * posix/group_member.c (__group_member): Correct checking loop.
63768         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63769         OOM in getpwuid_r correctly.  Return error number when the caller
63770         should return, otherwise -1.
63771         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63772         call returning > 0 value.
63773         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63775 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63777         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63778         libc_nonshared.a from targets in modules-names.
63780 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63782         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63783         requires it.
63785 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63787         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63788         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63789         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63790         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63792 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63794         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63796 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63798         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63799         and F_GETPIPE_SZ.
63800         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63801         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63802         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63803         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63804         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63805         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63807 2010-06-14  Roland McGrath  <roland@redhat.com>
63809         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63811 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63813         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63814         __REDIRECT followed by __THROW.
63815         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63816         * posix/getopt.h (getopt): Likewise.
63818 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63820         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63821         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63822         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63823         in AT_FLAGS.
63824         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63825         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63827 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63829         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63831 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63833         [BZ #11640]
63834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63835         Properly check family and model.
63837 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63839         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63841 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63843         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63845 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63847         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63848         symbol reference.
63850 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63852         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63853         symbol reference.
63855 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63857         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63858         and internal_recvmmsg.
63859         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63860         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63861         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63862         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63864         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63865         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63866         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63868 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63870         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63872 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63874         POWER7 optimizations.
63875         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63876         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63878 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63880         * version.h: Update for 2.13 development version.
63882 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63884         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63885         exceptions.  Return 0.
63887 2010-05-07  Roland McGrath  <roland@redhat.com>
63889         * elf/ldconfig.c (main): Add a const.
63891 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63893         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63894         (args_options): Add no-idn option.
63895         (ahosts_keys_int): Add idn_flags to ai_flags.
63896         (parse_option): Handle 'i' option to clear idn_flags.
63898         * malloc/malloc.c (_int_free): Possible race in the most recently
63899         added check.  Only act on the data if no current modification
63900         happened.
63902 See ChangeLog.17 for earlier changes.