Replace %xmm8 with %xmm0
[glibc.git] / ChangeLog
blob362aceebc96e9e0d52460225271cfe2ec03f6056
1 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
5 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
7         * debug/strcpy_chk.c: Improve performance.
8         * debug/stpcpy_chk.c: Likewise.
9         * sysdeps/x86_64/strcpy_chk.S: Remove.
10         * sysdeps/x86_64/stpcpy_chk.S: Remove.
12         [BZ #18240]
13         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17         [BZ #15128]
18         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19         ifuncmain8.
20         (modules-names): Add ifuncmod8.
21         ($(objpfx)ifuncmain8): New rule.
22         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
23         <cpuid.h>.
24         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
25         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
26         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
27         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
28         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
29         * sysdeps/x86_64/dl-trampoline.h: Likewise.
30         * sysdeps/x86_64/ifuncmain8.c: New file.
31         * sysdeps/x86_64/ifuncmod8.c: Likewise.
32         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
33         Removed.
34         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
35         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
36         Change rtld_savespace_sse to __glibc_unused2.
37         (RTLD_CHECK_FOREIGN_CALL): Removed.
38         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
39         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
40         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
42 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
44         * sysdeps/aarch64/bzero.S (__bzero): Remove.
46 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
48         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
49         Unconditionally set __fpcr to avoid uninialized warning.
50         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
52 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
55         is corrupt.
57         * malloc/arena.c (arena_get2): Drop unused argument.
58         (arena_lock): Adjust.
59         (arena_get_retry): Likewise.
61 2015-08-24  Andreas Schwab  <schwab@suse.de>
63         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
64         Don't define.
65         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
66         (__ASSUME_IPC64): Don't undef.
67         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
68         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
69         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
70         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
71         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
72         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
73         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
74         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
75         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
76         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
77         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
78         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
79         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
80         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
81         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
82         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
83         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
84         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
85         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
86         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
87         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
89 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
91         * manual/Makefile (install): Only build manual when perl is available.
93 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
95         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
96         '#undef memcpy' by '#undef memchr'.
98 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
100         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
101         memchr not point to the internal __GI_memchr implementation.
103 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
105         * timezone/Makefile (CFLAGS-zdump.c): Remove
106         -Wno-strict-prototypes.
107         (CFLAGS-zic.c): Likewise.
108         (CFLAGS-ialloc.c): Likewise.
109         (CFLAGS-scheck.c): Likewise.
111         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
112         -Wno-error=undef.
114 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
116         * i386/i686/multiarch/strcasestr-c.c: Removed.
117         * x86_64/multiarch/strcasestr.c: Likewise.
118         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
119         Remove strcasestr.
121 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
123         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
125         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
126         variables for high and low parts before possibly modifying them.
128 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
130         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
131         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
132         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
133         of "multiarch/init-arch.h".
134         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
135         * sysdeps/x86/init-arch.h: This.
137 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
139         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
140         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
142 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
144         [BZ #17787]
145         * manual/macros.texi: Add twoexp macro.
146         * manual/filesys.texi: Fix exponents.
147         * manual/llio.texi: Likewise.
148         * manual/stdio.texi: Likewise.
150 2015-08-20  Florian Weimer  <fweimer@redhat.com>
152         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
153         incorrect use.
155 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
157         [BZ #18370]
158         * math/s_csqrt.c (__csqrt): Force underflow exception for results
159         whose real or imaginary part has small absolute value.
160         * math/s_csqrtf.c (__csqrtf): Likewise.
161         * math/s_csqrtl.c (__csqrtl): Likewise.
162         * math/auto-libm-test-in: Add more tests of csqrt.
163         * math/auto-libm-test-out: Regenerated.
164         * sysdeps/i386/fpu/libm-test-ulps: Update.
166 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
168         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
169         __ppc_set_ppr_very_low): New functions.
170         * manual/platform.texi: Add documentation about
171         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
173 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
175         * string/stpncpy.c (stpncpy): Improve performance using
176         __strnlen/memcpy/memset.
178 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
180         [BZ #18796]
181         * scripts/test-installation.pl: Don't add -lmvec to build options if
182         libmvec wasn't built.
184 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
186         [BZ #14341]
187         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
188         case when there is a gap between DT_REL and DT_JMPREL sections.
189         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
190         (LDFLAGS-tst-split-dynreloc): New.
191         (tst-split-dynreloc-ENV): Likewise.
192         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
193         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
195 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
197         [BZ #18822]
198         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
199         attribute_hidden.
200         (__xstat64_conv): Likewise.
201         (__xstat32_conv): Likewise.
203 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
205         [BZ #18822]
206         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
207         Don't load %ebx when calling __setcontext.  Call __setcontext
208         with HIDDEN_JUMPTARGET.
209         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
210         libc_hidden_def.
212 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
214         * sysdeps/i386/i686/Makefile
215         [$(subdir) == string] (sysdep_routines): Moved to ...
216         * sysdeps/i386/Makefile: Here.
217         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
218         * sysdeps/i386/cacheinfo.c: Here.
219         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
220         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
221         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
222         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
224 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
226         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
227         __i586__ is defined.
228         (HAS_I686): Defined to 1 if __i686__ is defined.
230 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
232         * elf/Makefile [$(have-z-execstack) = yes]
233         (CPPFLAGS-tst-execstack.c): New variable.
235         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
236         conditional to [defined UTMPX || _HAVE_UT_TYPE].
237         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
238         UTMPX || _HAVE_UT_TV].
239         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
240         UTMPX || _HAVE_UT_TV - 0].
242 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
244         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
245         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
246         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
248 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
250         * sysdeps/powerpc/dl-procinfo.c:
251         (_dl_powerpc_cap_flags): Added missing strings for some
252         hwcap features.
253         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
255 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
257         Port the 0x7efe...feff pattern to GCC 6.
258         See Steve Ellcey's bug report in:
259         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
260         * string/memrchr.c (MEMRCHR):
261         * string/rawmemchr.c (RAWMEMCHR):
262         * string/strchr.c (strchr):
263         * string/strchrnul.c (STRCHRNUL):
264         Rewrite code to avoid issues with signed shift overflow.
266 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
268         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
269         whether cpuid is available only if HAS_CPUID is 0.
270         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
271         (HAS_I586): Likewise.
272         (HAS_I686): Likewise.
274 2015-08-18  Zack Weinberg  <zackw@panix.com>
276         * misc/Versions (libc): Add GLIBC_2.23.
278 2015-08-18  Alan Modra  <amodra@gmail.com>
280         [BZ #18421]
281         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
282         .Lp__global.
283         (_start): Load %dp via .Lp__global.
284         [!SHARED]: Use .section .rodata.
286 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
288         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
289         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
291 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
293         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
294         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
296 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
298         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
299         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
301 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
303         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
304         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
306 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
308         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
309         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
311 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
313         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
314         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
316 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
318         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
320 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
322         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
323         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
324         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
325         (__ASSUME_LWS_CAS): Delete.
327 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
329         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
330         * sysdeps/hppa/configure: Regenerated.
331         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
332         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
333         * sysdeps/hppa/nptl/tls.h: Likewise.
335 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
337         [BZ #18823]
338         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
339         for scaling up small arguments.
340         * math/s_csqrtf.c (__csqrtf): Likewise.
341         * math/s_csqrtl.c (__csqrtl): Likewise.
342         * math/auto-libm-test-in: Add more tests of csqrt.
343         * math/auto-libm-test-out: Regenerated.
345 2015-08-17  Andreas Schwab  <schwab@suse.de>
347         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
348         version set GLIBC_2.19.
350 2015-08-16  Zack Weinberg  <zackw@panix.com>
352         [BZ #18681]
353         * misc/regexp.h: This interface is no longer supported.
354         Remove all contents, leaving only an #error directive.
355         * misc/regexp.c (loc1, loc2, locs, step, advance):
356         Demote to compatibility symbols.
358 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
360         [BZ #18084]
361         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
362         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
363         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
364         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
365         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
366         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
367         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
368         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
369         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
371 2015-08-15  Zack Weinberg  <zackw@panix.com>
373         [BZ #18795]
374         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
375         buffer length is known to be too large, not if it's known to be
376         small enough.
377         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
378         overflow at runtime, involving a length parameter, twice: once
379         with a compile-time constant length parameter, once without.
381 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
383         [BZ #18824]
384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
385         scaling x * y up instead of down.
386         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
387         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
388         * math/auto-libm-test-in: Add more tests of fma.
389         * math/auto-libm-test-out: Regenerated.
391 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
393         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
395 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
397         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
398         unnecessary movq.
399         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
400         Likewise.
402 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
404         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
405         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
406         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
407         and tgamma.
408         * math/auto-libm-test-out: Regenerated.
409         * sysdeps/i386/fpu/libm-test-ulps: Update.
410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
412         [BZ #16520]
413         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
414         (__tanh): Force underflow exception for arguments with small
415         absolute value.
416         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
417         (__tanhf): Force underflow exception for arguments with small
418         absolute value.
419         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
420         (__tanhl): Force underflow exception for arguments with small
421         absolute value.
422         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
423         (__tanhl): Force underflow exception for arguments with small
424         absolute value.
425         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
426         (__tanhl): Force underflow exception for arguments with small
427         absolute value.
428         * math/auto-libm-test-in: Add more tests of tanh.
429         * math/auto-libm-test-out: Regenerated.
430         * sysdeps/i386/fpu/libm-test-ulps: Update.
432 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
434         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
435         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
437 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
439         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
440         <cpuid.h>.
442 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
444         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
445         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
447 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
449         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
450         Remove $(objpfx)init-arch.o.
451         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
452         init-arch.
453         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
454         (INIT_ARCH_EXT): Defined as empty.
455         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
456         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
457         __init_cpu_features call.  Replace HAS_XXX with
458         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
459         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
460         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
461         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
462         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
463         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
464         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
465         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
466         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
467         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
468         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
469         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
470         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
471         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
472         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
473         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
474         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
475         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
476         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
477         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
478         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
479         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
480         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
481         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
482         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
483         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
484         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
485         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
486         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
487         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
488         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
489         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
490         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
491         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
492         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
493         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
495 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
497         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
498         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
499         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
500         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
501         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
502         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
503         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
504         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
505         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
506         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
507         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
508         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
509         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
510         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
511         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
512         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
513         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
514         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
515         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
516         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
517         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
518         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
519         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
520         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
521         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
522         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
523         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
524         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
525         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
526         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
527         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
528         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
529         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
530         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
531         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
532         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
533         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
534         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
535         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
536         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
537         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
538         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
539         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
541 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
543         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
544         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
545         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
546         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
547         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
548         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
549         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
550         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
551         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
552         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
553         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
554         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
555         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
556         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
557         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
558         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
559         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
560         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
561         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
562         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
564         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
565         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
566         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
567         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
568         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
569         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
570         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
571         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
572         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
573         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
574         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
575         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
576         * sysdeps/x86_64/multiarch/memset.S: Likewise.
577         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
578         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
579         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
580         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
581         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
582         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
583         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
584         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
585         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
587 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
589         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
590         (dl_platform_init): Call init_cpu_features.
591         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
592         * sysdeps/i386/i686/cacheinfo.c
593         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
594         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
595         * sysdeps/i386/i686/multiarch/Versions: Removed.
596         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
597         Removed.
598         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
599         * sysdeps/unix/sysv/linux/x86/Makefile
600         (libpthread-sysdep_routines): Remove init-arch.
601         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
602         <sysdeps/x86_64/dl-procinfo.c> instead of
603         sysdeps/generic/dl-procinfo.c>.
604         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
605         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
606         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
607         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
608         [$(subdir) == elf] (tests-static): Add
609         tst-get-cpu-features-static.
610         * sysdeps/x86/Versions: New file.
611         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
612         * sysdeps/x86/cpu-features.c: Likewise.
613         * sysdeps/x86/cpu-features.h: Likewise.
614         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
615         * sysdeps/x86/libc-start.c: Likewise.
616         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
617         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
618         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
619         * sysdeps/x86_64/dl-procinfo.c: Likewise.
620         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
621         Assume USE_MULTIARCH is defined and don't check it.
622         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
623         (is_amd): Likewise.
624         (max_cpuid): Likewise.
625         (intel_check_word): Likewise.
626         (__cache_sysconf): Don't call __init_cpu_features.
627         (__x86_preferred_memory_instruction): Removed.
628         (init_cacheinfo): Don't call __init_cpu_features. Replace
629         __cpu_features with GLRO(dl_x86_cpu_features).
630         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
631         (dl_platform_init): Call init_cpu_features.
632         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
633         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
634         * sysdeps/x86_64/multiarch/Versions: Removed.
635         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
636         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
637         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
638         Removed.
639         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
641 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
643         [BZ #18820]
644         * libio/Makefile (test-fmemopen-mem): New test.
645         * libio/test-fmemopen.c (do_bz18820): New test.
646         * libio/fmemopen.c (__fmemopen): Fix memory leak.
647         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
649 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
651         [BZ #16734]
652         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
653         (FREE_BUF): Delete.
654         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
655         * libio/genops.c (_IO_setb): Use malloc and free directly.
656         (_IO_default_doallocate, _IO_default_finish): Likewise.
657         ( _IO_unbuffer_all): Likewise.
658         ( libc_freeres_fn): Likewise.
659         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
660         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
661         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
662         (_IO_wdefault_doallocate): Likewise.
664 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
666         [BZ #18086]
667         * sysdeps/posix/nice.c (nice): Restore old errno.
668         * posix/tst-nice.c (do_test): Add test for BZ #18086.
670 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
672         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
674 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
676         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
677         __bcopy and add a weak_alias to bcopy.
678         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
679         for static build.
681         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
682         cleanup macro usage.
683         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
684         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
685         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
686         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
687         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
688         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
689         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
690         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
691         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
692         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
693         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
694         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
695         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
696         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
697         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
698         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
699         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
700         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
701         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
703         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
704         libc_hidden_def.
705         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
707         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
708         (sysdep_routines): Add strstr-ppc64.
709         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
711 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
713         [BZ #18778]
714         * elf/Makefile (tests): Add Add tst-nodelete2.
715         (modules-names): Add tst-nodelete2mod.
716         (tst-nodelete2mod.so-no-z-defs): New.
717         ($(objpfx)tst-nodelete2): Likewise.
718         ($(objpfx)tst-nodelete2.out): Likewise.
719         (LDFLAGS-tst-nodelete2): Likewise.
720         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
721         out of loop through all loaded libraries.
722         * elf/tst-nodelete2.c: New file.
723         * elf/tst-nodelete2mod.c: Likewise.
725 2015-08-11  Andreas Schwab  <schwab@suse.de>
727         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
728         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
729         (__openat64_nocancel): Likewise.
731 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
733         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
734         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
735         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
736         * math/auto-libm-test-out: Regenerated.
737         * sysdeps/i386/fpu/libm-test-ulps: Update.
738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
740 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
742         [BZ #18790]
743         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
744         threshold for returning +/- 1.
745         * math/auto-libm-test-in: Add more tests of tanh.
746         * math/auto-libm-test-out: Regenerated.
747         * sysdeps/i386/fpu/libm-test-ulps: Update.
749 2015-08-10  Andreas Schwab  <schwab@suse.de>
751         [BZ #18781]
752         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
753         MORE_OFLAGS to oflag.
754         * io/test-lfs.c (do_test): Test openat64.
756 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
758         [BZ #18789]
759         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
760         smaller threshold for returning the argument.
761         * math/auto-libm-test-in: Add more tests of sinh.
762         * math/auto-libm-test-out: Regenerated.
763         * sysdeps/i386/fpu/libm-test-ulps: Update.
765 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
767         [BZ #18674]
768         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
769         break.
771 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
773         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
774         (generated): Don't add $(addprefix z.,$(tzfiles)).
776 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
778         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
779         * scripts/sysd-rules.awk: Likewise.
781 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
783         * iconvdata/tst-tables.sh: Change echo -n to printf.
784         * nss/db-Makefile: Likewise.
785         * posix/tst-getconf.sh: Likewise.
786         * stdio-common/tst-unbputc.sh: Likewise.
788 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
790         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
791         MADV_*_PAGES defines behind this feature check.
793 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
795         [BZ #18480]
796         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
797         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
798         Define.
799         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
800         LOAD_REGS_5, LOAD_REGS_6): Update.
801         (INTERNAL_SYSCALL): Update using new LOAD defines.
802         (INTERNAL_SYSCALL_NCS): Likewise.
803         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
805 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
807         [BZ #16734]
808         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
810 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
812         [BZ #17905]
813         * catgets/Makefile (tst-catgets-mem): New test.
814         * catgets/catgets.c (catopen): Don't use unbounded alloca.
815         * catgets/open_catalog.c (__open_catalog): Likewise.
816         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
818 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
820         [BZ #18787]
821         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
822         clobber registers.
823         (atomic_compare_and_exchange_val_acq): Use register asms to assign
824         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
825         Cast return to __typeof (oldval).
827 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
829         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
830         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
831         and delete sys/syscall.h include.
833 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
835         [BZ #16517]
836         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
837         (tan): Force underflow exception for arguments with small absolute
838         value.
839         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
840         (__kernel_tanf): Force underflow exception for arguments with
841         small absolute value.
842         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
843         (__kernel_tanl): Force underflow exception for arguments with
844         small absolute value.
845         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
846         (__kernel_tanl): Force underflow exception for arguments with
847         small absolute value.
848         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
849         (__kernel_tanl): Force underflow exception for arguments with
850         small absolute value.
851         * math/auto-libm-test-in: Add more tests of tan.
852         * math/auto-libm-test-out: Regenerated.
854 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
856         Fix sysdeps/i386/fpu/s_scalbn.S build
858         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
860 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
862         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
864 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
866         Fix gcrt0.o compilation
868         When static-start-installed-name is different from
869         start-installed-name, we must not use the shared objects.
871         * csu/Makefile
872         (extra-objs): Add gmon-start.o when building shared library and
873         $(static-start-installed-name) is different from
874         $(start-installed-name).
875         $(objpfx)g$(static-start-installed-name): When building shared
876         library and $(static-start-installed-name) is different from
877         $(static-start-installed-name), revert to non-shared rule,
878         i.e. using $(objpfx)% and gmon-start.o.
880 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
882         [BZ #16519]
883         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
884         (__ieee754_sinh): Force underflow exception for arguments with
885         small absolute value.
886         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
887         (__ieee754_sinhf): Force underflow exception for arguments with
888         small absolute value.
889         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
890         (__ieee754_sinhl): Force underflow exception for arguments with
891         small absolute value.
892         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
893         (__ieee754_sinhl): Force underflow exception for arguments with
894         small absolute value.
895         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
896         (__ieee754_sinhl): Force underflow exception for arguments with
897         small absolute value.
898         * math/auto-libm-test-in: Add more tests of sinh.
899         * math/auto-libm-test-out: Regenerated.
900         * sysdeps/i386/fpu/libm-test-ulps: Update.
902 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
904         * libio/oldfileops.c: Include unistd.h.
906 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
908         * stdlib/isomac.c: Include ctype.h.
910 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
912         * dirent/tst-seekdir.c (main): Converted to ...
913         (do_test): ... this.
914         (TEST_FUNCTION): New macro.
915         Include test-skeleton.c.
916         * elf/tst-dlmodcount.c (main): Converted to ...
917         (do_test): ... this.
918         (TEST_FUNCTION): New macro.
919         Include test-skeleton.c.
920         * elf/tst-order-main.c (main): Converted to ...
921         (do_test): ... this.
922         (TEST_FUNCTION): New macro.
923         Include test-skeleton.c.
924         * elf/tst-pie2.c (main): Converted to ...
925         (do_test): ... this.
926         (TEST_FUNCTION): New macro.
927         Include test-skeleton.c.
928         * inet/tst-ether_aton.c (main): Converted to ...
929         (do_test): ... this.
930         (TEST_FUNCTION): New macro.
931         Include test-skeleton.c.
932         * misc/tst-mntent.c (main): Converted to ...
933         (do_test): ... this.
934         (TEST_FUNCTION): New macro.
935         Include test-skeleton.c.
936         * misc/tst-tsearch.c (main): Converted to ...
937         (do_test): ... this.
938         (TEST_FUNCTION): New macro.
939         Include test-skeleton.c.
940         * posix/tst-regexloc.c (main): Converted to ...
941         (do_test): ... this.
942         (TEST_FUNCTION): New macro.
943         Include test-skeleton.c.
944         * resolv/tst-aton.c (main): Converted to ...
945         (do_test): ... this.
946         (TEST_FUNCTION): New macro.
947         Include test-skeleton.c.
948         * stdio-common/test-fwrite.c (main): Converted to ...
949         (do_test): ... this.
950         (TEST_FUNCTION): New macro.
951         Include test-skeleton.c.
952         * stdio-common/tst-ferror.c (main): Converted to ...
953         (do_test): ... this.
954         (TEST_FUNCTION): New macro.
955         Include test-skeleton.c.
956         * stdio-common/tst-printf.c (main): Converted to ...
957         (do_test): ... this.
958         (TEST_FUNCTION): New macro.
959         Include test-skeleton.c.
960         * stdio-common/tst-printfsz.c (main): Converted to ...
961         (do_test): ... this.
962         (TEST_FUNCTION): New macro.
963         Include test-skeleton.c.
964         * stdlib/tst-strtod.c (main): Converted to ...
965         (do_test): ... this.
966         (TEST_FUNCTION): New macro.
967         Include test-skeleton.c.
968         * string/tst-strlen.c (main): Converted to ...
969         (do_test): ... this.
970         (TEST_FUNCTION): New macro.
971         Include test-skeleton.c.
972         * string/tst-svc.c (main): Converted to ...
973         (do_test): ... this.
974         (TEST_FUNCTION): New macro.
975         Include test-skeleton.c.
976         * time/tst-strptime.c (main): Converted to ...
977         (do_test): ... this.
978         (TEST_FUNCTION): New macro.
979         Include test-skeleton.c.
980         * timezone/tst-timezone.c (main): Converted to ...
981         (do_test): ... this.
982         (TEST_FUNCTION): New macro.
983         Include test-skeleton.c.
985 2015-08-05  Zack Weinberg  <zackw@panix.com>
987         * misc/regexp.h: Update comments.
989 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
991         [BZ #18635]
992         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
993         before return label.
995 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
997         [BZ #18661]
998         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
999         when calling __errno_location.
1000         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1001         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1003 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1005         [BZ #18661]
1006         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1007         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1008         __gettimeofday.
1010 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1012         [BZ #18661]
1013         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1014         (__start_context): Don't use pop to restore %rdi so that stack
1015         is aligned to 16 bytes when calling __setcontext.
1017 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1019         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1020         only for libc.
1021         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1023 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1025         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1026         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1027         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1029 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1031         * string/memccpy.c (memccpy):
1032         Improve performance by using memchr/memcpy/__mempcpy.
1034 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1036         * string/strncpy.c (strncpy):
1037         Improve performance by using __strnlen/memcpy.
1039 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1041         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1042         Optimize to avoid an unnecessary FPCR read.
1044 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1046         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1047         Optimize to reduce FPCR/FPSR accesses.
1049 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1051         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1052         dead->data[category] != NULL.
1054 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1056         [BZ #18647]
1057         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1058         and |x| close to 1, use absolute value of x when computing log.
1059         * math/auto-libm-test-in: Add more tests of pow.
1060         * math/auto-libm-test-out: Regenerated.
1062 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1064         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1065         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1066         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1068 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1070         [BZ #18525]
1071         * locales/km_KH: Remove timezone definition.
1072         * locales/lo_LA: Likewise.
1073         * locales/my_MM: Likewise.
1074         * locales/nan_TW@latin: Likewise.
1075         * locales/th_TH: Likewise.
1076         * locales/uk_UA: Likewise.
1078 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1080         [BZ #18265]
1081         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1082         (wcsncat): Likewise.
1083         (wcscmp): Likewise.
1084         (wcsncmp): Likewise.
1086 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1088         * test-skeleton.c (usage): New function.
1089         (main): Call usage when opt is '?'.
1091 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1093         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1094         before first use.
1096 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1098         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1099         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1100         in there too.
1102 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1104         * version.h (RELEASE): Set to "development".
1105         (VERSION): Set to "2.22.90"
1107         * version.h (RELEASE): Set to "stable".
1108         (VERSION): Set to "2.22"
1109         * include/features.h (__GLIBC_MINOR__): Set to 22.
1111 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1113         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1114         Restructure macro to avoid "value computed is not used" warning.
1115         (atomic_compare_and_exchange_val_acq): Likewise.
1117 2015-08-04  Andreas Schwab  <schwab@suse.de>
1119         [BZ #18635]
1120         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1121         ret.
1122         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1124 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1126         * po/pl.po: Updated translation.
1127         * po/uk.po: Likewise.
1128         * po/fi.po: Likewise.
1129         * po/ko.po: Likewise.
1130         * po/ru.po: Likewise.
1131         * po/vi.po: Likewise.
1133 2015-07-31  Zack Weinberg  <zackw@panix.com>
1135         [BZ #18681]
1136         * regexp.h: Add unconditional #warning stating that this header
1137         will be removed soon.  Revise banner comment to match.
1138         (compile): Consistently use ERROR instead of RETURN to report
1139         errors (partial fix for bz#18681).
1140         * regexp.c: Don't include regexp.h. Remove some unnecessary
1141         declarations.
1143 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1145         * po/libc.pot: Regenerated.
1147 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1149         [BZ #18740]
1150         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1151         float-vlen4-arch-ext-cflags): Removed.
1152         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1153         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1155 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1157         [BZ #14113]
1158         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1159         aligned to __aligned__.
1160         (pthread_cond_t, pthread_rwlock_t): Likewise.
1162 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1164         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1166 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1168         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1169         (struct sigaction): Change sa_flags from a long to an int, and add
1170         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1172 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1174         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1175         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1176         sysdeps/generic/sysdep.h include.
1177         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1178         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1179         sysdeps/hppa/sysdep.h.
1180         (ENTRY, PSEUDO): Undefine before defining.
1182 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1184         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1185         from scratch to use INTERNAL_SYSCALL.
1187 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1189         [BZ #18078]
1190         * scripts/check-localplt.awk: Support alternate relocations.
1191         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1192         sections.
1193         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1194         malloc entries with + REL R_386_GLOB_DAT.
1195         * sysdeps/x86_64/localplt.data: New file.
1197 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1199         [BZ #18731]
1200         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1201         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1202         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1204 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1206         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1208 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1210         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1211         directly in terms of __sync_fetch_and_add and delete (int) cast.
1213 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1215         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1216         the -D_ASM_IA64_CURRENT_H flag.
1218 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1220         [BZ #18641]
1221         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1223 2015-07-27  Andreas Schwab  <schwab@suse.de>
1225         * conform/conformtest.pl (checknamespace): Filter out string
1226         literals while tokenizing.
1228 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1230         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1231         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1232         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1234 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1236         * nptl/tst-join7mod.c: Add #include <string.h>.
1238 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1240         * sysdeps/nios2/libm-test-ulps: Update.
1242 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1244         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1245         Fix order of arguments to the rt_sigprocmask syscall.
1246         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1247         Likewise.
1249 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1251         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1253 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1255         [BZ #18457]
1256         * nptl/Makefile (tests): New test case tst-join7.
1257         (modules-names): New test case module tst-join7mod.
1258         * nptl/tst-join7.c: New file.
1259         * nptl/tst-join7mod.c: New file.
1260         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1261         all translation units in libc.so, libpthread.so and rtld.
1263 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1267 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1269         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1270         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1271         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1272         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1273         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1274         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1275         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1276         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1277         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1278         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1280         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1281         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1282         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1283         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1284         implementation.
1286 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1288         [BZ #17711]
1289         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1290         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1291         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1292         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1293         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1294         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1296 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1298         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1299         instead of just saying load lock in the comments.
1301 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1303         * sysdeps/unix/Subdirs: Moved ...
1304         * sysdeps/posix/Subdirs: ... here.
1305         * login/pty.h (struct termios, struct winsize): Add forward decls.
1306         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1307         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1308         * sysdeps/arm/nacl/libc.abilist: Updated.
1309         * sysdeps/nacl/libutil.abilist: New file.
1311         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1312         (SIGWINCH): New macro.
1314         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1315         * sysdeps/arm/nacl/libc.abilist: Add it.
1317 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1319         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1321 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1323         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1324         Swap __glibc_reserved0 and sa_flags order.
1326 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1328         [BZ #18657]
1329         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1330         are pending TLS destructor calls.
1331         * include/link.h (struct link_map): Add concurrency note for
1332         L_TLS_DTOR_COUNT.
1333         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1334         Don't touch the link map flag.  Atomically increment
1335         l_tls_dtor_count.
1336         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1337         Avoid taking the load lock and don't touch the link map flag.
1338         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1339         * stdlib/Makefile (tests): Use it.
1340         * stdlib/tst-tls-atexit.c (do_test): dlopen
1341         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1342         to allow tst-tls-atexit-nodelete test case to use it.
1344 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1346         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1347         to bits/types.h.
1348         (msgqnum_t): New typedef.
1349         (msglen_t): Likewise.
1350         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1351         and msg_qbytes type to msglen_t.
1353 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1355         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1356         pad0 to __glibc_reserved0.
1357         (struct stat64): Likewise.
1359 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1361         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1362         Change sa_flags from a long to an int and add __glibc_reserved0 before
1363         it for padding.
1365 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1367         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1368         anonymous by deleting "siginfo" name.
1370 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1372         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1373         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1374         rather than __nacl_irt_filename.
1375         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1377         * NEWS: New item for arm-nacl port.
1378         * sysdeps/arm/nacl/libc.abilist: New file.
1379         * sysdeps/nacl/ld.abilist: New file.
1380         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1381         * sysdeps/nacl/libanl.abilist: New file.
1382         * sysdeps/nacl/libcrypt.abilist: New file.
1383         * sysdeps/nacl/libdl.abilist: New file.
1384         * sysdeps/nacl/libm.abilist: New file.
1385         * sysdeps/nacl/libpthread.abilist: New file.
1386         * sysdeps/nacl/libresolv.abilist: New file.
1387         * sysdeps/nacl/librt.abilist: New file.
1389 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1391         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1392         __startcontext to initialize the new context.
1393         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1394         up CFI directive to forbid further backtracing.
1396 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1398         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1399         reference.
1400         * charmaps/ANSI_X3.4-1968: Likewise.
1401         * charmaps/BS_4730: Likewise.
1402         * charmaps/BS_VIEWDATA: Likewise.
1403         * charmaps/CP1250: Likewise.
1404         * charmaps/CP1251: Likewise.
1405         * charmaps/CP1252: Likewise.
1406         * charmaps/CP1253: Likewise.
1407         * charmaps/CP1254: Likewise.
1408         * charmaps/CP1255: Likewise.
1409         * charmaps/CP1256: Likewise.
1410         * charmaps/CSN_369103: Likewise.
1411         * charmaps/EBCDIC-DK-NO: Likewise.
1412         * charmaps/GB_1988-80: Likewise.
1413         * charmaps/GREEK-CCITT: Likewise.
1414         * charmaps/GREEK7: Likewise.
1415         * charmaps/INIS-8: Likewise.
1416         * charmaps/ISIRI-3342: Likewise.
1417         * charmaps/ISO_2033-1983: Likewise.
1418         * charmaps/ISO_5427-EXT: Likewise.
1419         * locales/POSIX: Likewise.
1420         * locales/ar_SA: Likewise.
1421         * locales/be_BY: Likewise.
1422         * locales/be_BY@latin: Likewise.
1423         * locales/ca_ES: Likewise.
1424         * locales/cs_CZ: Likewise.
1425         * locales/da_DK: Likewise.
1426         * locales/de_BE: Likewise.
1427         * locales/de_CH: Likewise.
1428         * locales/de_LU: Likewise.
1429         * locales/en_AU: Likewise.
1430         * locales/en_BW: Likewise.
1431         * locales/en_CA: Likewise.
1432         * locales/en_DK: Likewise.
1433         * locales/en_GB: Likewise.
1434         * locales/en_IE: Likewise.
1435         * locales/en_NZ: Likewise.
1436         * locales/en_ZA: Likewise.
1437         * locales/en_ZW: Likewise.
1438         * locales/es_AR: Likewise.
1439         * locales/es_BO: Likewise.
1440         * locales/es_CL: Likewise.
1441         * locales/es_CO: Likewise.
1442         * locales/es_DO: Likewise.
1443         * locales/es_EC: Likewise.
1444         * locales/es_ES: Likewise.
1445         * locales/es_HN: Likewise.
1446         * locales/es_MX: Likewise.
1447         * locales/es_PA: Likewise.
1448         * locales/es_PE: Likewise.
1449         * locales/es_PY: Likewise.
1450         * locales/es_SV: Likewise.
1451         * locales/es_US: Likewise.
1452         * locales/es_UY: Likewise.
1453         * locales/es_VE: Likewise.
1454         * locales/et_EE: Likewise.
1455         * locales/fa_IR: Likewise.
1456         * locales/fo_FO: Likewise.
1457         * locales/fr_CA: Likewise.
1458         * locales/fr_CH: Likewise.
1459         * locales/gv_GB: Likewise.
1460         * locales/he_IL: Likewise.
1461         * locales/hr_HR: Likewise.
1462         * locales/id_ID: Likewise.
1463         * locales/is_IS: Likewise.
1464         * locales/it_CH: Likewise.
1465         * locales/iw_IL: Likewise.
1466         * locales/kl_GL: Likewise.
1467         * locales/ko_KR: Likewise.
1468         * locales/kw_GB: Likewise.
1469         * locales/lg_UG: Likewise.
1470         * locales/lt_LT: Likewise.
1471         * locales/lv_LV: Likewise.
1472         * locales/mi_NZ: Likewise.
1473         * locales/nhn_MX: Likewise.
1474         * locales/nl_BE: Likewise.
1475         * locales/pl_PL: Likewise.
1476         * locales/sk_SK: Likewise.
1477         * locales/sl_SI: Likewise.
1478         * locales/sv_FI: Likewise.
1479         * locales/tl_PH: Likewise.
1480         * locales/tr_TR: Likewise.
1481         * locales/vi_VN: Likewise.
1483 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1485         [BZ #17475]
1486         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1487         of tu_IN and bh_IN.
1489 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1491         [BZ #18694]
1492         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1493         bits/wordsize.h.
1494         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1496 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1498         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1499         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1500         (spawn_thread): New function.
1501         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1502         (do_test): ... here.  Use IS_LOADED to test for its
1503         availability.
1505 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1507         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1509 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1511         [BZ #18696]
1512         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1513         si_addr_bnd.
1514         (si_lower): New.
1515         (si_upper): Likewise.
1517 2015-07-16  David S. Miller  <davem@davemloft.net>
1519         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1521 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1523         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1524         buffer.
1525         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1526         fail output information.
1528 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1531         and strstr-ppc64..
1532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1533         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1534         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1535         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1536         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1538 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1540         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1541         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1542         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1543         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1545 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1547         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1548         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1549         rtld_hidden_proto.
1550         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1552 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1554         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1555         the test can fail.
1557         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1559         [BZ #18676]
1560         * elf/tst-nodelete-opened.c: New test case.
1561         * elf/tst-nodelete-opened-lib.c: New test case module.
1562         * elf/Makefile (tests, modules-names): Use them.
1563         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1564         early.
1566 2015-07-15  David S. Miller  <davem@davemloft.net>
1568         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1569         futex-intenal.h
1570         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1571         * sysdeps/sparc/sparc64/Makefile: Likewise.
1572         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1573         Remove space from macro define.
1574         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1576 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1578         [BZ #17475]
1579         * locale/iso-639.def: Update Bhili and Tulu language codes as
1580         per iso639-3.
1582 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1584         * elf/tst-leaks1.c (main): Converted to ...
1585         (do_test): ... this.
1586         (TEST_FUNCTION): New macro.
1587         Include test-skeleton.c.
1588         * localedata/tst-langinfo.c (main): Converted to ...
1589         (do_test): ... this.
1590         (TEST_FUNCTION): New macro.
1591         Include test-skeleton.c.
1592         * math/test-fpucw.c (main): Converted to ...
1593         (do_test): ... this.
1594         (TEST_FUNCTION): New macro.
1595         Include test-skeleton.c.
1596         * math/test-tgmath.c (main): Converted to ...
1597         (do_test): ... this.
1598         (TEST_FUNCTION): New macro.
1599         Include test-skeleton.c.
1600         * math/test-tgmath2.c (main): Converted to ...
1601         (do_test): ... this.
1602         (TEST_FUNCTION): New macro.
1603         Include test-skeleton.c.
1604         * setjmp/tst-setjmp.c (main): Converted to ...
1605         (do_test): ... this.
1606         (TEST_FUNCTION): New macro.
1607         Include test-skeleton.c.
1608         * stdio-common/tst-sscanf.c (main): Converted to ...
1609         (do_test): ... this.
1610         (TEST_FUNCTION): New macro.
1611         Include test-skeleton.c.
1612         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1613         (do_test): ... this.
1614         (TEST_FUNCTION): New macro.
1615         Include test-skeleton.c.
1617         * elf/tst-audit9.c (main): Converted to ...
1618         (do_test): ... this.
1619         (TEST_FUNCTION): New macro.
1620         Include test-skeleton.c.
1622 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1624         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1626 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1628         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1629         New variable.
1631 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1633         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1635 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1637         * sysdeps/generic/dl-fileid.h: New file.
1638         * sysdeps/posix/dl-fileid.h: New file.
1639         * sysdeps/nacl/dl-fileid.h: New file.
1640         * include/link.h: Include <dl-fileid.h>.
1641         (struct link_map): Replace l_dev and l_ino with l_file_id.
1642         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1643         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1644         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1646 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1648         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1650 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1652         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1653         Add iff $CXX is set.
1654         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1655         Likewise.
1656         (tst-nodelete-zmodiff): Likewise.
1657         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1659 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1661         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1663 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1665         * sysdeps/aarch64/fpu/math_private.h
1666         (define math_opt_barrier): Add AArch64 version.
1667         (math_force_eval): Likewise.
1669 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1671         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1673 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1675         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1676         %ld with %jd and cast to intmax_t.
1677         (do_test_length_zero): Likewise.
1679 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1681         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1683 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1685         * sysdeps/tile/libm-test-ulps: Regenerated.
1687         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1688         Comment out the whole function, not just its body.
1690 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1692         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1693         locks.
1695         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1697 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1699         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1700         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1702 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1704         * sysdeps/nptl/futex-internal.h: New file.
1705         * sysdeps/nacl/futex-internal.h: New file.
1706         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1707         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1708         error checking.
1709         (setxid_unmark_thread): Likewise.
1710         (__nptl_setxid): Likewise.
1711         (__wait_lookup_done): Likewise.
1712         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1713         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1714         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1715         * nptl/pthread_once.c (clear_once_control): Likewise.
1716         (__pthread_once_slow): Likewise.
1717         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1718         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1719         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1720         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1721         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1722         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1723         Likewise.
1724         (__pthread_rwlock_rdlock): Likewise.
1725         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1726         Likewise.
1727         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1728         Likewise.
1729         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1730         Likewise.
1731         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1732         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1733         Likewise.
1734         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1735         __ASSUME_PRIVATE_FUTEX check.
1736         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1737         Check that shared futexes are supported.
1738         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1739         wrappers with error checking.
1740         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1741         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1742         * nptl/pthread_barrierattr_setpshared.c
1743         (pthread_barrierattr_setpshared): Check that shared futexes are
1744         supported.
1745         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1746         Likewise.
1747         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1748         Likewise.
1749         * nptl/sem_init.c (futex_private_if_supported): Remove.
1750         (__new_sem_init): Adapt and check that shared futexes are supported.
1751         * nptl/sem_open.c (sem_open): Likewise.
1752         * nptl/sem_post.c (futex_wake): Remove.
1753         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1754         (do_futex_wait): Use futex wrappers with error checking.
1755         * nptl/sem_wait.c: Include lowlevellock.h.
1756         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1757         Use futex_supports_pshared.
1758         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1759         Use futex wrappers with error checking.
1760         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1761         Likewise.
1762         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1763         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1764         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1765         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1766         (futex_wake): Likewise.
1767         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1768         (do_futex_wait): Use futex wrappers with error checking.
1769         (__new_sem_wait_slow): Update EINTR handling.
1770         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1772 2015-07-09  Martin Sebor  <msebor@redhat.com>
1774         [BZ #18435]
1775         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1776         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1777         * nptl/Makefile (test-xfail-tst-once5): Define.
1779 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1781         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1782         * elf/dl-minimal.c: For readability, reorder some definitions and
1783         introduce more page breaks.  Include <stdio.h>.
1784         (__libc_fatal): New function.
1786         * include/unistd.h: Add rtld_hidden_proto for _exit.
1787         * posix/_exit.c: Add rtld_hidden_def.
1788         * sysdeps/mach/hurd/_exit.c: Likewise.
1789         * sysdeps/nacl/_exit.c: Likewise.
1790         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1791         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1793 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1795         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1796         bndmov encoding with zero displacement.
1798 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1799             H.J. Lu  <hongjiu.lu@intel.com>
1801         [BZ #18134]
1802         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1803         * sysdeps/i386/configure: Regenerated.
1804         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1805         (_dl_runtime_profile): Save and restore Intel MPX return bound
1806         registers when calling _dl_call_pltexit.  Add
1807         PRESERVE_BND_REGS_PREFIX before return.
1808         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1809         (LRV_BND1_OFFSET): Likewise.
1810         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1811         lrv_bnd1.
1812         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1813         typo in bndmov encoding.
1814         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1815         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1816         branch instructions to preserve bounds.
1818 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1821         [GLIBC_2.22]: Add fmemopen.
1823 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1825         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1826         returns an error, also try to use host port from __mach_host_self for
1827         the __vm_wire call.
1828         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1830 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1832         [BZ #18400]
1833         [BZ #18648]
1834         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1835         Fix pr_uid and pr_gid members.
1836         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1837         definition to elf_greg_t.
1839 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1841         [BZ #18383]
1842         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1843         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1844         * sysdeps/arm/configure: Regenerated.
1845         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1846         (test-xfail-tst-tlsalign-static): Variable removed.
1848         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1849         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1850         rather than explicit 'ln -s'.
1852         * resolv/rpc/netdb.h: New file.
1853         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1855 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1857         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1858         length buffers.
1859         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1860         test-skeleton.c.
1862         [BZ #6544]
1863         [BZ #11216]
1864         [BZ #12836]
1865         [BZ #13151]
1866         [BZ #13152]
1867         [BZ #14292]
1868         * include/stdio.h (fmemopen): Remove hidden prototype.
1869         (__fmemopen): Add new hidden prototype.
1870         * libio/Makefile: Add oldfmemopen object.
1871         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1872         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1873         compliance.
1874         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1875         symbol compatibility.
1876         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1877         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1878         fmemopen.
1879         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1880         on append and read mode.
1881         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1882         fmemopen.
1883         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1884         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1885         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1886         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1887         Likewise.
1888         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1889         [GLIBC_2.22]: Likewise.
1890         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1891         Likewise.
1892         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1893         Likewise.
1894         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1895         [GLIBC_2.22]: Likewise.
1896         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1897         [GLIBC_2.22]: Likewise.
1898         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1899         [GLIBC_2.22]: Likewise.
1900         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1901         [GLIBC_2.22]: Likewise.
1902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1903         [GLIBC_2.22]: Likewise.
1904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1905         [GLIBC_2.22]: Likewise.
1906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1907         [GLIBC_2.22]: Likewise.
1908         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1909         Likewise.
1910         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1911         Likewise.
1912         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1913         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1914         [GLIBC_2.22]: Likewise.
1915         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1916         [GLIBC_2.22]: Likewise.
1917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1918         [GLIBC_2.22]: Likewise.
1919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1920         [GLIBC_2.22]: Likewise.
1921         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1922         Likewise.
1923         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1924         Likewise.
1925         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1926         Likewise.
1927         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1928         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1930 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1932         [BZ #18643]
1933         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1934         IPV6_PATHMTU, and IPV6_DONTFRAG.
1936 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1938         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1939         and _IO_UNBUFFERED.
1940         * libio/oldfileops.c: Likewise.
1941         * libio/wfileops.c: Likewise.
1943 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1945         * nscd/selinux.c: Delete selinux/flask.h include.
1947 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1949         [BZ #18641]
1950         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1951         (putpwent): Likewise.
1952         (getpwnam): Likewise.
1953         (getpwent_r): Likewise.
1954         (getpwuid_r): Likewise.
1955         (getpwnam_r): Likewise.
1956         (fgetpwent_r): Likewise.
1958 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1960         [BZ #18557]
1961         * inet/rcmd.c (__validuser2_sa): Check user first to
1962         short-circuit host check.
1964 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1965             Mikhail Ilin  <m.ilin@samsung.com>
1967         [BZ #17833]
1968         * elf/Makefile (tests): Add tst-nodelete.
1969         (modules-names): Add tst-nodelete-uniquemod.
1970         (tst-nodelete-uniquemod.so-no-z-defs): New.
1971         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1972         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1973         ($(objpfx)tst-nodelete): Likewise.
1974         ($(objpfx)tst-nodelete.out): Likewise.
1975         (LDFLAGS-tst-nodelete): Likewise.
1976         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1977         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1978         implement forced object deletion.
1979         (_dl_close): Pass false to _dl_close_worker.
1980         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1981         * elf/tst-nodelete.cc: New file.
1982         * elf/tst-nodeletelib.cc: Likewise.
1983         * elf/tst-znodeletelib.cc: Likewise.
1984         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1986 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1988         [BZ #18508]
1989         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1990         Depend on $(libdl).
1991         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1992         is not called infinitely times.
1993         (backtrace_helper): New function.
1994         (trace_arg): New struct.
1995         (st1): Enlarge stack size.
1996         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1997         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1998         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1999         Likewise.
2001 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2003         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2005 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2007         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2008         Include sys/types.h instead of bits/types.h.
2009         Remove inclusion of bits/wordsize.h.
2011 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2013         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2014         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2015         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2016         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2017         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2018         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2020 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2022         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2023         link-defines.sym.
2024         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2025         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2026         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2027         and LR_SIZE.
2028         * sysdeps/i386/link-defines.sym: New file.
2030 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2032         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2033         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2034         ($(objpfx)tst-audit3): New rule.
2035         ($(objpfx)tst-audit3.out): Likewise.
2036         * sysdeps/i386/tst-audit3.c: New file.
2037         * sysdeps/i386/tst-audit3.h: Likewise.
2038         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2039         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2041 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2043         [BZ #18633]
2044         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2045         pointer in C code.
2046         (__strcat_c): Likewise.
2047         (__strcat_g): Likewise.
2049 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2051         [BZ #18592]
2052         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2054 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2056         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2057         New function.  (__ieee754_sqrtf): New function.
2058         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2059         New function.
2060         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2061         New function.
2063 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2065         * sysdeps/ieee754/support.c: Remove unused file.
2067 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2069         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2070         registers instead of d ones so the layout is kernel abi compatible.
2071         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2072         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2073         Likewise.
2075 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2077         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2079 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2081         [BZ #18619]
2082         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2083         and return argument in case of subnormal argument.
2085 2015-07-01  Martin Sebor  <msebor@redhat.com>
2087         [BZ #18435]
2088         * nptl/Makefile: Add tst-once5.cc.
2089         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2090         Remove macro redefinitions.
2091         * nptl/tst-once5.cc: New test.
2093 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2095         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2097         * sysdeps/arm/libm-test-ulps: Regenerated.
2099         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2100         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2102 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2104         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2105         lll_lock_wait_private and lll_futex_wake probes.
2107         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2108         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2109         Likewise.
2110         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2111         atomic_spin_nop.
2112         * sysdeps/x86_64/bits/atomic.h: Likewise.
2113         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2114         to atomic_spin_nop and move ...
2115         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2116         ... here and ...
2117         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2118         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2119         atomic_spin_nop instead of BUSY_WAIT_NOP.
2120         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2121         Likewise.
2122         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2123         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2124         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2125         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2126         instead of atomic_delay.
2128 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2130         [BZ #18613]
2131         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2132         X_ADJ not X when adjusting exponent.
2133         (__ieee754_gamma_r): Do intermediate computations in
2134         round-to-nearest then adjust overflowing and underflowing results
2135         as needed.
2136         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2137         of X_ADJ not X when adjusting exponent.
2138         (__ieee754_gammaf_r): Do intermediate computations in
2139         round-to-nearest then adjust overflowing and underflowing results
2140         as needed.
2141         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2142         log of X_ADJ not X when adjusting exponent.
2143         (__ieee754_gammal_r): Do intermediate computations in
2144         round-to-nearest then adjust overflowing and underflowing results
2145         as needed.  Use 1.0L not 1.0f as numerator of division.
2146         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2147         log of X_ADJ not X when adjusting exponent.
2148         (__ieee754_gammal_r): Do intermediate computations in
2149         round-to-nearest then adjust overflowing and underflowing results
2150         as needed.  Use 1.0L not 1.0f as numerator of division.
2151         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2152         of X_ADJ not X when adjusting exponent.
2153         (__ieee754_gammal_r): Do intermediate computations in
2154         round-to-nearest then adjust overflowing and underflowing results
2155         as needed.  Use 1.0L not 1.0f as numerator of division.
2156         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2157         to auto-libm-test-in.
2158         (tgamma_test): Use ALL_RM_TEST.
2159         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2160         tests of tgamma with spurious-overflow.
2161         * math/auto-libm-test-out: Regenerated.
2162         * math/gen-libm-have-vector-test.sh: Do not check for START.
2163         * sysdeps/i386/fpu/libm-test-ulps: Update.
2164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2166         [BZ #18612]
2167         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2168         arguments, just return 0.5 times the argument, with underflow
2169         forced as needed.
2170         * math/auto-libm-test-in: Add more tests of j1.
2171         * math/auto-libm-test-out: Regenerated.
2173         [BZ #16559]
2174         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2175         (__ieee754_j1): Force underflow exception for small results.
2176         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2177         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2178         (__ieee754_j1f): Force underflow exception for small results.
2179         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2180         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2182         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2183         (__ieee754_j1l): Force underflow exception for small results.
2184         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2185         * math/auto-libm-test-in: Add more tests of j1 and jn.
2186         * math/auto-libm-test-out: Regenerated.
2188         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2189         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2190         (PF_MPLS): Likewise.
2191         (AF_IB): Likewise.
2192         (AF_MPLS): Likewise.
2193         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2194         value and macro.
2195         (MS_RMT_MASK): Include MS_LAZYTIME.
2197 2015-06-26  Mel Gorman  <mgorman@suse.de>
2199         [BZ #18502]
2200         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2201         already minimal.
2203 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2205         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2206         (DT_MIPS_NUM): Update.
2207         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2208         DT_MIPS_RLD_MAP_REL.
2210 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2212         [BZ #16559]
2213         [BZ #18602]
2214         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2215         round-to-nearest internally then recompute results that
2216         underflowed to zero in the original rounding mode.
2217         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2218         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2219         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2220         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2221         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2222         * sysdeps/i386/fpu/libm-test-ulps: Update.
2223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2225 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2227         * NEWS: Fixed description of link with vector math library.
2229 2015-06-25  Andreas Schwab  <schwab@suse.de>
2231         [BZ #18549]
2232         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2233         * libio/test-fmemopen.c (do_test): Add test for it.
2235 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2237         [BZ #17841]
2238         * Makeconfig (no-pie-ldflag): New.
2239         (+link): Set to $(+link-pie) if default to PIE.
2240         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2241         * config.make.in (build-pie-default): New.
2242         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2243         is default.  AC_SUBST.
2244         * configure: Regenerated.
2245         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2247 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2249         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2250         to 'unsigned int'.
2252         * resolv/gai_misc.h (struct waitlist): Change type of field
2253         counterp to 'volatile unsigned int *'.
2254         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2255         FUTEXADDR and OLDVAL.
2256         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2257         Give local variable TOTAL type 'volatile unsigned int'.
2258         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2259         * resolv/gai_suspend.c (gai_suspend):
2260         Give local variable CNTR type 'unsigned int'.
2262         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2263         counterp to 'volatile unsigned int *'.
2264         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2265         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2266         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2267         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2268         Give local variable TOTAL type 'volatile unsigned int'.
2269         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2271 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2273         [BZ #18383]
2274         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2275         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2276         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2277         comment for i386/x86-64.
2278         (test-xfail-tst-tlsalign-extern-static): Removed.
2280 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2282         * math/test-double.h: New file.
2283         * math/test-float.h: Likewise.
2284         * math/test-ldouble.h: Likewise.
2285         * math/test-math-inline.h: Likewise.
2286         * math/test-math-no-inline.h: Likewise.
2287         * math/test-math-scalar.h: Likewise.
2288         * math/test-math-vector.h: Likewise.
2289         * math/test-vec-loop.h: Remove file.  Contents moved into
2290         test-math-vector.h.
2291         * math/libm-test.inc (MATHCONST): Do not document macro.
2292         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2293         and test-math-scalar.h.
2294         (FUNC): Remove macro.
2295         (FUNC_TEST): Likewise.
2296         (FLOAT): Likewise.
2297         (MATHCONST): Likewise.
2298         (PRINTF_EXPR): Likewise.
2299         (PRINTF_XEXPR): Likewise.
2300         (PRINTF_NEXPR): Likewise.
2301         (TEST_DOUBLE): Likewise.
2302         (TEST_MATHVEC): Likewise.
2303         (__NO_MATH_INLINES): Likewise.
2304         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2305         and test-math-scalar.h.
2306         (FUNC): Remove macro.
2307         (FUNC_TEST): Likewise.
2308         (FLOAT): Likewise.
2309         (MATHCONST): Likewise.
2310         (PRINTF_EXPR): Likewise.
2311         (PRINTF_XEXPR): Likewise.
2312         (PRINTF_NEXPR): Likewise.
2313         (TEST_FLOAT): Likewise.
2314         (TEST_MATHVEC): Likewise.
2315         (__NO_MATH_INLINES): Likewise.
2316         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2317         and test-math-scalar.h.
2318         (FUNC): Remove macro.
2319         (FUNC_TEST): Likewise.
2320         (FLOAT): Likewise.
2321         (MATHCONST): Likewise.
2322         (PRINTF_EXPR): Likewise.
2323         (PRINTF_XEXPR): Likewise.
2324         (PRINTF_NEXPR): Likewise.
2325         (TEST_DOUBLE): Likewise.
2326         (TEST_MATHVEC): Likewise.
2327         (TEST_INLINE): Likewise.
2328         (__NO_MATH_INLINES): Likewise.
2329         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2330         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         (TEST_INLINE): Likewise.
2341         (__NO_MATH_INLINES): Likewise.
2342         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2343         and test-math-scalar.h.
2344         (FUNC): Remove macro.
2345         (FUNC_TEST): Likewise.
2346         (FLOAT): Likewise.
2347         (MATHCONST): Likewise.
2348         (PRINTF_EXPR): Likewise.
2349         (PRINTF_XEXPR): Likewise.
2350         (PRINTF_NEXPR): Likewise.
2351         (TEST_LDOUBLE): Likewise.
2352         (TEST_MATHVEC): Likewise.
2353         (TEST_INLINE): Likewise.
2354         (__NO_MATH_INLINES): Likewise.
2355         * math/test-ldouble.c: Include test-ldouble.h,
2356         test-math-no-inline.h and test-math-scalar.h.
2357         (FUNC): Remove macro.
2358         (FUNC_TEST): Likewise.
2359         (FLOAT): Likewise.
2360         (MATHCONST): Likewise.
2361         (PRINTF_EXPR): Likewise.
2362         (PRINTF_XEXPR): Likewise.
2363         (PRINTF_NEXPR): Likewise.
2364         (TEST_LDOUBLE): Likewise.
2365         (TEST_MATHVEC): Likewise.
2366         (__NO_MATH_INLINES): Likewise.
2367         * math/test-double-vlen2.h: Include test-double.h,
2368         test-math-no-inline.h and test-math-vector.h.
2369         (FLOAT): Remove macro.
2370         (FUNC): Likewise.
2371         (MATHCONST): Likewise.
2372         (PRINTF_EXPR): Likewise.
2373         (PRINTF_XEXPR): Likewise.
2374         (PRINTF_NEXPR): Likewise.
2375         (TEST_DOUBLE): Likewise.
2376         (TEST_MATHVEC): Likewise.
2377         (__NO_MATH_INLINES): Likewise.
2378         (CNCT): Likewise.
2379         (CONCAT): Likewise.
2380         (WRAPPER_NAME): Likewise.
2381         (WRAPPER_DECL): Likewise.
2382         (WRAPPER_DECL_ff): Likewise.
2383         (WRAPPER_DECL_fFF): Likewise.
2384         (VECTOR_WRAPPER): Likewise.
2385         (VECTOR_WRAPPER_ff): Likewise.
2386         (VECTOR_WRAPPER_fFF): Likewise.
2387         (VEC_LEN): New macro.
2388         * math/test-double-vlen4.h: Include test-double.h,
2389         test-math-no-inline.h and test-math-vector.h.
2390         (FLOAT): Remove macro.
2391         (FUNC): Likewise.
2392         (MATHCONST): Likewise.
2393         (PRINTF_EXPR): Likewise.
2394         (PRINTF_XEXPR): Likewise.
2395         (PRINTF_NEXPR): Likewise.
2396         (TEST_DOUBLE): Likewise.
2397         (TEST_MATHVEC): Likewise.
2398         (__NO_MATH_INLINES): Likewise.
2399         (CNCT): Likewise.
2400         (CONCAT): Likewise.
2401         (WRAPPER_NAME): Likewise.
2402         (WRAPPER_DECL): Likewise.
2403         (WRAPPER_DECL_ff): Likewise.
2404         (WRAPPER_DECL_fFF): Likewise.
2405         (VECTOR_WRAPPER): Likewise.
2406         (VECTOR_WRAPPER_ff): Likewise.
2407         (VECTOR_WRAPPER_fFF): Likewise.
2408         (VEC_LEN): New macro.
2409         * math/test-double-vlen8.h: Include test-double.h,
2410         test-math-no-inline.h and test-math-vector.h.
2411         (FLOAT): Remove macro.
2412         (FUNC): Likewise.
2413         (MATHCONST): Likewise.
2414         (PRINTF_EXPR): Likewise.
2415         (PRINTF_XEXPR): Likewise.
2416         (PRINTF_NEXPR): Likewise.
2417         (TEST_DOUBLE): Likewise.
2418         (TEST_MATHVEC): Likewise.
2419         (__NO_MATH_INLINES): Likewise.
2420         (CNCT): Likewise.
2421         (CONCAT): Likewise.
2422         (WRAPPER_NAME): Likewise.
2423         (WRAPPER_DECL): Likewise.
2424         (WRAPPER_DECL_ff): Likewise.
2425         (WRAPPER_DECL_fFF): Likewise.
2426         (VECTOR_WRAPPER): Likewise.
2427         (VECTOR_WRAPPER_ff): Likewise.
2428         (VECTOR_WRAPPER_fFF): Likewise.
2429         (VEC_LEN): New macro.
2430         * math/test-float-vlen4.h: Include test-float.h,
2431         test-math-no-inline.h and test-math-vector.h.
2432         (FLOAT): Remove macro.
2433         (FUNC): Likewise.
2434         (MATHCONST): Likewise.
2435         (PRINTF_EXPR): Likewise.
2436         (PRINTF_XEXPR): Likewise.
2437         (PRINTF_NEXPR): Likewise.
2438         (TEST_FLOAT): Likewise.
2439         (TEST_MATHVEC): Likewise.
2440         (__NO_MATH_INLINES): Likewise.
2441         (CNCT): Likewise.
2442         (CONCAT): Likewise.
2443         (WRAPPER_NAME): Likewise.
2444         (WRAPPER_DECL): Likewise.
2445         (WRAPPER_DECL_ff): Likewise.
2446         (WRAPPER_DECL_fFF): Likewise.
2447         (VECTOR_WRAPPER): Likewise.
2448         (VECTOR_WRAPPER_ff): Likewise.
2449         (VECTOR_WRAPPER_fFF): Likewise.
2450         (VEC_LEN): New macro.
2451         * math/test-float-vlen8.h: Include test-float.h,
2452         test-math-no-inline.h and test-math-vector.h.
2453         (FLOAT): Remove macro.
2454         (FUNC): Likewise.
2455         (MATHCONST): Likewise.
2456         (PRINTF_EXPR): Likewise.
2457         (PRINTF_XEXPR): Likewise.
2458         (PRINTF_NEXPR): Likewise.
2459         (TEST_FLOAT): Likewise.
2460         (TEST_MATHVEC): Likewise.
2461         (__NO_MATH_INLINES): Likewise.
2462         (CNCT): Likewise.
2463         (CONCAT): Likewise.
2464         (WRAPPER_NAME): Likewise.
2465         (WRAPPER_DECL): Likewise.
2466         (WRAPPER_DECL_ff): Likewise.
2467         (WRAPPER_DECL_fFF): Likewise.
2468         (VECTOR_WRAPPER): Likewise.
2469         (VECTOR_WRAPPER_ff): Likewise.
2470         (VECTOR_WRAPPER_fFF): Likewise.
2471         (VEC_LEN): New macro.
2472         * math/test-float-vlen16.h: Include test-float.h,
2473         test-math-no-inline.h and test-math-vector.h.
2474         (FLOAT): Remove macro.
2475         (FUNC): Likewise.
2476         (MATHCONST): Likewise.
2477         (PRINTF_EXPR): Likewise.
2478         (PRINTF_XEXPR): Likewise.
2479         (PRINTF_NEXPR): Likewise.
2480         (TEST_FLOAT): Likewise.
2481         (TEST_MATHVEC): Likewise.
2482         (__NO_MATH_INLINES): Likewise.
2483         (CNCT): Likewise.
2484         (CONCAT): Likewise.
2485         (WRAPPER_NAME): Likewise.
2486         (WRAPPER_DECL): Likewise.
2487         (WRAPPER_DECL_ff): Likewise.
2488         (WRAPPER_DECL_fFF): Likewise.
2489         (VECTOR_WRAPPER): Likewise.
2490         (VECTOR_WRAPPER_ff): Likewise.
2491         (VECTOR_WRAPPER_fFF): Likewise.
2492         (VEC_LEN): New macro.
2493         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2494         test-vec-loop.h.
2495         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2496         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2497         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2498         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2499         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2500         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2501         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2503 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2505         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2506         (__getlogin_r): ... this.
2508 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2510         [BZ #18594]
2511         * math/s_ccosh.c (__ccosh): Compare with least normal value
2512         instead of comparing class with FP_SUBNORMAL.
2513         * math/s_ccoshf.c (__ccoshf): Likewise.
2514         * math/s_ccoshl.c (__ccoshl): Likewise.
2515         * math/s_cexp.c (__cexp): Likewise.
2516         * math/s_cexpf.c (__cexpf): Likewise.
2517         * math/s_cexpl.c (__cexpl): Likewise.
2518         * math/s_csin.c (__csin): Likewise.
2519         * math/s_csinf.c (__csinf): Likewise.
2520         * math/s_csinh.c (__csinh): Likewise.
2521         * math/s_csinhf.c (__csinhf): Likewise.
2522         * math/s_csinhl.c (__csinhl): Likewise.
2523         * math/s_csinl.c (__csinl): Likewise.
2524         * math/s_ctan.c (__ctan): Likewise.
2525         * math/s_ctanf.c (__ctanf): Likewise.
2526         * math/s_ctanh.c (__ctanh): Likewise.
2527         * math/s_ctanhf.c (__ctanhf): Likewise.
2528         * math/s_ctanhl.c (__ctanhl): Likewise.
2529         * math/s_ctanl.c (__ctanl): Likewise.
2530         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2531         csin, csinh, ctan and ctanh.
2532         * math/auto-libm-test-out: Regenerated.
2533         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2534         * sysdeps/i386/fpu/libm-test-ulps: Update.
2535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2537 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2539         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2540         return value is wrong, print the expected value too.
2542 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2544         [BZ #18585]
2545         * elf/readlib.c (is_gdb_python_file): New.
2546         (process_file): Don't issue errors on filenames with -gdb.py
2547         suffix.
2549 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2551         * math/auto-libm-test-in: Add more tests of csin and csinh.
2552         * math/auto-libm-test-out: Regenerated.
2553         * math/libm-test.inc (csin_test_data): Remove tests moved to
2554         auto-libm-test-in.
2555         (csinh_test_data): Likewise.
2557         [BZ #18593]
2558         * math/s_csin.c (__csin): Negate before rather than after possibly
2559         overflowing multiplication.
2560         * math/s_csinf.c (__csinf): Likewise.
2561         * math/s_csinh.c (__csinh): Likewise.
2562         * math/s_csinhf.c (__csinhf): Likewise.
2563         * math/s_csinhl.c (__csinhl): Likewise.
2564         * math/s_csinl.c (__csinl): Likewise.
2565         * math/auto-libm-test-in: Add some tests of csin and csinh.
2566         * math/auto-libm-test-out: Regenerated.
2567         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2568         (csinh_test_data): Likewise.
2569         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2571         [BZ #18586]
2572         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2573         underflow exception for small results.
2575 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2577         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2578         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2579         variable and included header.
2580         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2581         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2582         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2583         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2584         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2585         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2586         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2587         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2588         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2589         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2590         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2591         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2592         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2593         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2594         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2595         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2597 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2599         [BZ #16526]
2600         [BZ #16538]
2601         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2602         (__sin): Force underflow exception for arguments with small
2603         absolute value.
2604         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2605         (__kernel_sinf): Force underflow exception for arguments with
2606         small absolute value.
2607         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2608         (__kernel_sincosl): Force underflow exception for arguments with
2609         small absolute value.
2610         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2611         (__kernel_sinl): Force underflow exception for arguments with
2612         small absolute value.
2613         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2614         (__kernel_sincosl): Force underflow exception for arguments with
2615         small absolute value.
2616         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2617         (__kernel_sinl): Force underflow exception for arguments with
2618         small absolute value.
2619         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2620         (__kernel_sinl): Force underflow exception for arguments with
2621         small absolute value.
2622         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2623         (__kernel_sinf): Force underflow exception for arguments with
2624         small absolute value.
2625         * math/auto-libm-test-in: Add more tests of sin and sincos.
2626         * math/auto-libm-test-out: Regenerated.
2628         [BZ #18245]
2629         [BZ #18583]
2630         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2631         (__kernel_standard_l): Use feholdexcept and fesetenv around
2632         conversion to double instead of special-casing overflow and
2633         underflow.
2634         * math/libm-test.inc (fmod_test_data): Add more tests.
2635         (remainder_test_data): Likewise.
2636         (sqrt_test_data): Likewise.
2638 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2640         [BZ #17403]
2641         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2642         atomic_read_barrier, atomic_write_barrier): Define.
2643         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2644         atomic_read_barrier, atomic_write_barrier): Define.
2646 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2648         * math/Makefile [$(PERL) != no]
2649         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2650         dependency on libm-test.stmp below the inclusion of Rules.
2652 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2654         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2655         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2656         and included header.
2657         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2658         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2659         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2660         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2661         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2662         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2663         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2664         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2665         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2666         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2667         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2668         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2669         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2670         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2671         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2672         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2673         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2674         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2675         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2677 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2679         [BZ #18371]
2680         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2681         intermediate but not final result might underflow.
2682         * math/s_csqrtf.c (__csqrtf): Likewise.
2683         * math/s_csqrtl.c (__csqrtl): Likewise.
2684         * math/auto-libm-test-in: Add more tests of csqrt.
2685         * math/auto-libm-test-out: Regenerated.
2686         * sysdeps/i386/fpu/libm-test-ulps: Update.
2688         [BZ #18219]
2689         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2690         threshold on absolute value of exponent for which scaling is used.
2691         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2692         * math/auto-libm-test-in: Add more tests of exp2.
2693         * math/auto-libm-test-out: Regenerated.
2695 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2697         [BZ #17977]
2698         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2699         when initializing interface list, based on the bug analysis
2700         and the patch proposed by Eric Newton.
2701         * resolv/tst-res_hconf_reorder.c: New test.
2702         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2703         tst-res_hconf_reorder.
2704         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2705         and $(shared-thread-library).
2706         (tst-res_hconf_reorder-ENV): New variable.
2708         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2709         in comment.
2711 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2713         [BZ #16353]
2714         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2715         (__expm1): Force underflow exception for arguments with small
2716         absolute value.
2717         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2718         (__expm1f): Force underflow exception for arguments with small
2719         absolute value.
2720         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2721         (__expm1): Force underflow exception for arguments with small
2722         absolute value.
2723         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2724         (__expm1f): Force underflow exception for arguments with small
2725         absolute value.
2726         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2727         Check for small arguments before calling __expm1.
2728         * math/auto-libm-test-in: Do not mark underflow exceptions as
2729         possibly missing for bug 16353.
2730         * math/auto-libm-test-out: Regenerated.
2732 2015-06-22  Andreas Schwab  <schwab@suse.de>
2734         [BZ #18513]
2735         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2736         PTR queries.
2738 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2740         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2742         * string/strcoll_l.c: Remove unused struct element idxnow.
2744 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2746         [BZ #18569]
2747         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2748         underflow and return argument in case of subnormal argument.
2749         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2750         Likewise.
2751         * math/auto-libm-test-in: Add more tests of expm1.
2752         * math/auto-libm-test-out: Regenerated.
2754         [BZ #16361]
2755         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2756         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2757         tiny results.
2758         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2759         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2760         tiny results.
2761         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2762         mark underflow exceptions as possibly missing for bug 16361.
2763         * math/auto-libm-test-out: Regenerated.
2765 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2767         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2768         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2769         Remove variable.
2770         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2771         (test-xfail-XOPEN2K8/utmpx.h/conform).
2773         * conform/conformtest.pl ($xerrors): New variable.
2774         (note_error): New function.
2775         (compiletest): New argument $xfail.  Use not_error.
2776         (runtest): Likewise.
2777         (top level): Handle xfail- lines.  Update calls to compiletest and
2778         runtest.  Handle xfail- and optional- in headers listed with
2779         allow-header.
2780         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2781         (O_EXEC): Likewise.
2782         (O_SEARCH): Likewise.
2783         * conform/data/stropts.h-data (ioctl): Likewise.
2784         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2785         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2786         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2787         (msghdr.msg_controllen): Likewise.
2788         (cmsghdr.cmsg_len): Likewise.
2789         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2790         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2791         variable.
2792         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2793         (test-xfail-XPG4/stropts.h/conform): Likewise.
2794         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2795         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2796         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2797         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2798         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2799         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2800         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2801         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2802         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2803         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2804         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2805         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2806         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2807         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2808         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2809         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2810         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2811         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2812         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2814 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2816         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2817         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2818         definitions for proper unfolding of __MATHDECL_VEC.
2820 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2822         * benchtests/bench-strcoll.c:
2823         Include string.h.
2824         (main): Remove unused variable res.
2826 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2828         * timezone/Makefile (%/UTC %/Universal):
2829         Generate test-result files for UTC and Universal.
2831 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2833         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2835 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2837         [BZ #16350]
2838         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2839         for arguments with small absolute value.
2840         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2841         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2842         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2843         (__asinh): Force underflow exception for arguments with small
2844         absolute value.
2845         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2846         (__asinhf): Force underflow exception for arguments with small
2847         absolute value.
2848         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2849         (__asinhl): Force underflow exception for arguments with small
2850         absolute value.
2851         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2852         (__asinhl): Force underflow exception for arguments with small
2853         absolute value.
2854         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2855         (__asinhl): Force underflow exception for arguments with small
2856         absolute value.
2857         * math/auto-libm-test-in: Do not mark underflow exceptions as
2858         possibly missing for bug 16350.
2859         * math/auto-libm-test-out: Regenerated.
2861         * include/bits/ipc.h: Remove file.
2862         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2863         variable.
2864         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2865         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2866         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2867         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2868         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2869         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2870         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2871         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2872         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2874         * math/auto-libm-test-in: Remove spurious underflow allowance for
2875         tests of cexp.
2876         * math/auto-libm-test-out: Regenerated.
2878         [BZ #18558]
2879         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2880         unconditional definition.
2881         (MCAST_BLOCK_SOURCE): Likewise.
2882         (MCAST_UNBLOCK_SOURCE): Likewise.
2883         (MCAST_LEAVE_GROUP): Likewise.
2884         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2885         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2886         (MCAST_MSFILTER): Likewise.
2887         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2888         Remove variable.
2889         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2890         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2891         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2892         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2893         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2895 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2897         * NEWS: Mention addition of x86_64 vector sincosf.
2898         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2899         * math/test-float-vlen4.h: Likewise.
2900         * math/test-float-vlen8.h: Likewise.
2901         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2902         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2903         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2904         * sysdeps/x86_64/fpu/Versions: New versions added.
2905         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2906         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2907         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2908         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2909         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2910         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2911         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2912         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2913         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2914         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2915         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2916         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2917         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2918         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2919         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2920         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2921         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2922         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2923         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2924         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2925         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2926         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2927         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2928         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2930         * NEWS: Mention addition of x86_64 vector sincos.
2931         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2932         * math/math.h (__MATHDECL_VEC): New macro.
2933         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2934         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2935         declaration under condition.
2936         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2937         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2938         TEST_VEC_LOOP change.
2939         * math/test-double-vlen4.h: Likewise.
2940         * math/test-double-vlen8.h: Likewise.
2941         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2942         * math/test-float-vlen4.h: Likewise.
2943         * math/test-float-vlen8.h: Likewise.
2944         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2945         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2946         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2947         * sysdeps/x86_64/fpu/Versions: New versions added.
2948         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2949         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2950         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2951         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2952         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2953         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2954         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2955         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2956         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2957         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2958         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2959         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2960         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2961         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2962         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2963         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2964         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2965         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2966         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2967         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2968         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2969         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2970         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2971         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2973         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2974         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2975         redirections for powf.
2976         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2977         * sysdeps/x86_64/fpu/Versions: New versions added.
2978         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2979         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2980         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2981         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2982         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2983         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2984         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2985         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2986         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2987         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2988         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2989         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2990         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2991         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2992         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2993         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2994         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2995         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2996         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2997         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2998         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2999         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3000         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3001         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3002         * math/test-float-vlen16.h: Fixed 2 argument macro.
3003         * math/test-float-vlen4.h: Likewise.
3004         * math/test-float-vlen8.h: Likewise.
3005         * NEWS: Mention addition of x86_64 vector powf.
3007 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3009         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3010         and redefine.
3011         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3012         and redefine.
3013         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3014         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3015         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3017         [BZ #18553]
3018         * resource/getpriority.c (getpriority): Rename to __getpriority
3019         and define as weak alias of __getpriority.
3020         * resource/setpriority.c (setpriority): Rename to __setpriority
3021         and define as weak alias of __setpriority.
3022         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3023         __getpriority and define as weak alias of __getpriority.
3024         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3025         __setpriority and define as weak alias of __setpriority.
3026         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3027         strong name.
3028         (setpriority): Use __setpriority as strong name.
3029         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3030         __getpriority and define as weak alias of __getpriority.
3031         * include/sys/resource.h (__getpriority): Declare.  Use
3032         libc_hidden_proto.
3033         (__setpriority): Likewise.
3034         (getpriority): Don't use libc_hidden_proto.
3035         (setpriority): Likewise.
3036         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3037         getpriority.  Call __setpriority instead of setpriority.
3038         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3039         Remove variable.
3041         [BZ #18547]
3042         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3043         as weak alias of __getttynam.  Use prototype function definition.
3044         Call __setttyent, __getttyent and __endttyent instead of
3045         setttyent, getttyent and endttyent.
3046         (getttyent): Rename to __getttyent and define as weak alias of
3047         __getttyent.  Call __setttyent instead of setttyent.  Call
3048         __fgets_unlocked instead of fgets_unlocked.
3049         (setttyent): Rename to __setttyent and define as weak alias of
3050         __setttyent.
3051         (endttyent): Rename to __endttyent and define as weak alias of
3052         __endttyent.
3053         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3054         (__setttyent): Likewise.
3055         (__endttyent): Likewise.
3056         (getttyent): Don't use libc_hidden_proto.
3057         (setttyent): Likewise.
3058         (endttyent): Likewise.
3059         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3060         __endttyent instead of setttyent, getttyent and endttyent.
3061         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3062         Remove variable.
3064         [BZ #18546]
3065         * socket/recv.c (__recv): Use libc_hidden_def.
3066         * socket/socket.c (__socket): Likewise.
3067         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3068         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3069         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3070         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3071         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3072         libc_hidden_def.
3073         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3074         libc_hidden_weak.
3075         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3076         Use libc_hidden_proto.
3077         (__recv): Likewise.
3078         * socket/Versions (libc): Export __recv and __socket at version
3079         GLIBC_PRIVATE.
3080         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3081         instead of recv.
3082         (init_mq_netlink): Call __socket instead of socket.
3083         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3084         Remove variable.
3086         [BZ #18545]
3087         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3088         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3089         hidden_weak.
3090         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3091         define as alias of __mq_timedsend.  Use hidden_weak.
3092         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3093         __mq_timedsend as strong name.
3094         (mq_timedreceive): Use __mq_timedreceive as strong name.
3095         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3096         (__mq_timedreceive): Likewise.
3097         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3098         __mq_timedreceive instead of mq_timedreceive.
3099         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3100         instead of mq_timedsend.
3101         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3102         Remove variable.
3104         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3105         hidden_def and hidden_weak instead of libc_hidden_def and
3106         libc_hidden_weak.
3107         (top level): Refer to hidden_def in comment.
3108         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3109         macro.  Use it instead of libc_hidden_def.
3110         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3111         specify __GI_* name explicitly.
3112         (mq_timedreceive): Likewise.
3113         (mq_setattr): Likewise.
3115         [BZ #18544]
3116         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3117         __pthread_barrier_init and define as weak alias of
3118         __pthread_barrier_init.
3119         * sysdeps/sparc/nptl/pthread_barrier_init.c
3120         (pthread_barrier_init): Likewise.
3121         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3122         __pthread_barrier_wait and define as weak alias of
3123         __pthread_barrier_wait.
3124         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3125         (pthread_barrier_wait): Likewise.
3126         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3127         (pthread_barrier_wait): Likewise.
3128         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3129         (pthread_barrier_wait): Likewise.
3130         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3131         (pthread_barrier_wait): Likewise.
3132         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3133         __pthread_barrier_wait at version GLIBC_PRIVATE.
3134         * include/pthread.h (__pthread_barrier_init): Declare.
3135         (__pthread_barrier_wait): Likewise.
3136         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3137         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3138         (helper_thread): Likewise.
3139         (init_mq_netlink): Call __pthread_barrier_init instead of
3140         pthread_barrier_init.
3142         [BZ #18542]
3143         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3144         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3145         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3146         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3147         vswscanf.
3148         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3149         Remove variable.
3151         [BZ #18540]
3152         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3153         strong alias of _IO_fflush.  Use libc_hidden_def.
3154         * libio/iofflush_u.c (fflush_unlocked): Rename to
3155         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3156         Use libc_hidden_weak.
3157         * include/stdio.h (__fflush_unlocked): Declare.  Use
3158         libc_hidden_proto.
3159         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3160         fflush_unlocked.
3161         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3162         Remove variable.
3164         [BZ #18539]
3165         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3166         define as weak alias of __addseverity.
3167         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3168         Remove variable.
3169         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3170         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3171         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3173         [BZ #18536]
3174         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3175         (__tfind): Likewise.
3176         (__tdelete): Likewise.
3177         (__twalk): Likewise.
3178         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3179         __twalk to GLIBC_PRIVATE.
3180         * include/search.h (__tsearch): Use libc_hidden_proto.
3181         (__tfind): Likewise.
3182         (__tdelete): Likewise.
3183         (__twalk): Likewise.
3184         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3185         Call __tdelete instead of tdelete.
3186         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3187         tfind.  Call __tsearch instead of tsearch.
3188         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3189         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3190         Remove variable.
3191         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3193         [BZ #18534]
3194         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3195         (dprintf): Define as a weak alias of __dprintf, not a strong
3196         alias.
3197         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3198         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3199         dprintf.
3200         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3201         Remove variable.
3202         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3203         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3205         [BZ #18533]
3206         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3207         not a strong alias.
3208         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3209         Remove variable.
3211         [BZ #18532]
3212         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3213         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3214         (in6addr_loopback): Rename to __in6addr_loopback and define as
3215         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3216         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3217         libc_hidden_proto.
3218         (__in6addr_any): Likewise.
3219         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3220         in6addr_any.
3221         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3222         variable.
3223         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3225 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3227         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3228         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3229         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3230         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3231         redirections for pow.
3232         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3233         * sysdeps/x86_64/fpu/Versions: New versions added.
3234         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3235         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3236         build of SSE, AVX2 and AVX512 IFUNC versions.
3237         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3238         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3239         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3240         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3241         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3242         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3243         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3244         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3245         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3246         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3247         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3248         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3249         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3250         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3251         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3252         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3253         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3254         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3255         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3256         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3257         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3258         * NEWS: Mention addition of x86_64 vector pow.
3260         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3261         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3262         redirections for expf.
3263         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3264         * sysdeps/x86_64/fpu/Versions: New versions added.
3265         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3266         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3267         build of SSE, AVX2 and AVX512 IFUNC versions.
3268         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3269         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3270         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3271         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3272         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3273         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3274         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3275         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3276         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3277         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3278         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3279         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3280         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3281         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3282         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3283         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3284         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3285         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3286         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3287         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3288         * NEWS: Mention addition of x86_64 vector expf.
3290         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3291         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3292         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3293         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3294         redirections for exp.
3295         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3296         * sysdeps/x86_64/fpu/Versions: New versions added.
3297         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3298         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3299         build of SSE, AVX2 and AVX512 IFUNC versions.
3300         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3301         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3302         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3303         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3304         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3305         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3306         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3307         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3308         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3309         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3310         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3311         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3312         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3313         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3314         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3315         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3316         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3317         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3318         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3319         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3320         * NEWS: Mention addition of x86_64 vector exp.
3322         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3323         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3324         redirections for logf.
3325         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3326         * sysdeps/x86_64/fpu/Versions: New versions added.
3327         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3328         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3329         build of SSE, AVX2 and AVX512 IFUNC versions.
3330         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3331         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3332         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3333         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3334         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3335         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3336         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3337         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3338         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3339         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3340         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3341         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3342         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3343         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3344         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3345         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3346         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3347         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3348         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3349         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3350         * NEWS: Mention addition of x86_64 vector logf.
3352         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3353         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3354         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3355         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3356         redirections for log.
3357         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3358         * sysdeps/x86_64/fpu/Versions: New versions added.
3359         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3360         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3361         build of SSE, AVX2 and AVX512 IFUNC versions.
3362         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3363         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3364         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3365         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3366         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3367         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3368         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3369         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3370         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3371         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3372         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3373         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3374         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3375         test.
3376         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3377         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3378         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3379         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3380         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3381         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3382         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3383         * NEWS: Mention addition of x86_64 vector log.
3385 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3387         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3388         cfi_adjust_cfa_offset argument.
3389         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3390         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3392         [BZ #18034]
3393         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3394         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3395         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3396         ordering using ldar.
3397         (_dl_tlsdesc_dynamic): Likewise.
3398         (_dl_tlsdesc_return_lazy): Likewise.
3399         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3400         relaxed atomics instead of volatile and synchronize with release store.
3401         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3402         volatile.
3403         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3405 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3407         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3408         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3409         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3410         * sysdeps/x86_64/fpu/Versions: New versions added.
3411         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3412         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3413         build of SSE, AVX2 and AVX512 IFUNC versions.
3414         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3415         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3416         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3417         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3418         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3419         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3420         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3421         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3422         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3423         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3424         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3425         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3426         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3427         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3428         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3429         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3430         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3431         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3432         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3433         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3434         * NEWS: Mention addition of x86_64 vector sinf.
3436 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3438         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3439         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3440         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3441         Remove variable.
3442         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3443         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3445 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3447         [BZ #18530]
3448         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3449         strong alias of _IO_fputs.  Use libc_hidden_def.
3450         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3451         and define as weak alias of __fputs_unlocked.  Use
3452         libc_hidden_weak.
3453         * include/stdio.h (__fputs_unlocked): Declare.  Use
3454         libc_hidden_proto.
3455         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3456         fputs_unlocked.
3458         [BZ #18529]
3459         * resolv/netdb.h [__USE_POSIX]: Change condition to
3460         [__USE_XOPEN2K].
3461         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3462         not expect.
3463         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3464         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3465         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3466         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3467         [XPG4 || UNIX98] (AI_ALL): Likewise.
3468         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3469         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3470         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3471         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3472         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3473         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3474         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3475         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3476         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3477         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3478         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3479         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3480         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3481         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3482         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3483         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3484         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3485         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3486         [XPG4 || UNIX98] (gai_strerror): Likewise.
3487         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3488         [XPG4 || UNIX98] (getnameinfo): Likewise.
3490         [BZ #18528]
3491         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3492         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3493         __USE_XOPEN2K8].
3494         (getgrent): Likewise.
3495         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3496         expect.
3497         [XPG3 || POSIX2008] (endgrent): Likewise.
3498         [XPG3] (setgrent): Likewise.
3499         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3500         variable.
3501         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3503         [BZ #18527]
3504         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3505         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3506         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3507         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3508         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3509         * include/unistd.h (__getlogin_r): Declare.  Use
3510         libc_hidden_proto.
3511         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3512         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3513         variable.
3514         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3515         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3516         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3518 2015-06-12  Martin Sebor  <msebor@redhat.com>
3520         [BZ #18512]
3521         * Makerules (check-install-supported): New target.
3522         (install): Add check-install-supported as a dependency.
3523         * manual/install.texi (Installing the C Library): Document
3524         that overriding prefix and exec_prefix is not supported.
3525         Mention DESTDIR.
3526         * INSTALL: Regenerate from the above.
3528 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3530         [BZ #18519]
3531         * posix/Versions (libc): Export __libc_pread at version
3532         GLIBC_PRIVATE.
3533         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3534         instead of pread.
3535         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3536         variable.
3538         [BZ #18522]
3539         * misc/efgcvt_r.c
3540         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3541         (cvt_symbol): Use weak_alias instead of strong_alias.
3542         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3543         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3544         Remove variable.
3545         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3546         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3548         [BZ #18520]
3549         * inet/herrno.c (h_errno): Rename to __h_errno.
3550         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3551         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3552         to __h_errno instead of h_errno.
3553         * nptl/herrno.c (h_errno): Rename to __h_errno.
3554         (__h_errno_location): Refer to __h_errno not h_errno.
3555         * resolv/Versions (h_errno): Rename to __h_errno.
3556         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3557         Remove variable.
3558         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3560 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3562         * configure.ac: More strict check for AVX512 assembler support.
3563         * configure: Regenerated.
3565         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3566         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3567         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3568         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3569         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3570         * sysdeps/x86_64/fpu/Versions: New versions added.
3571         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3572         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3573         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3574         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3575         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3576         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3577         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3578         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3579         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3580         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3581         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3582         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3583         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3584         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3585         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3586         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3587         test.
3588         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3589         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3590         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3591         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3592         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3593         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3594         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3595         * NEWS: Mention addition of x86_64 vector sin.
3597 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3599         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3600         comment.
3602 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3604         [BZ #18479]
3605         * nptl/pt-interp.c: New file.
3606         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3607         Add pt-interp.
3608         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3609         $(common-objpfx)runtime-linker.h.
3611 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3613         * Makeconfig (+interp): Remove unused variable.
3614         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3615         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3616         $(elf-objpfx)runtime-linker.h.
3617         ($(elf-objpfx)runtime-linker.h): Rename to
3618         $(common-objpfx)runtime-linker.h and move ...
3619         * Makerules [$(build-shared) = yes]: ... here.
3620         * elf/interp.c: Include <runtime-linker.h> instead of
3621         <elf/runtime-linker.h>.
3623 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3625         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3626         (__gettimeofday_syscall): Remove vsyscall fallback.
3627         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3628         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3629         Add syscall fallback function.
3630         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3631         if vDSO is not present.
3632         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3633         fallback function.
3634         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3635         present.
3636         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3637         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3639 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3641         [BZ #18497]
3642         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3643         of wcscmp.
3644         (wcscmp): Define as weak alias of WCSCMP.
3645         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3646         wcscoll.
3647         (USE_HIDDEN_DEF): Define.
3648         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3649         __wcscoll.  Don't use libc_hidden_weak.
3650         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3651         wcscmp.
3652         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3653         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3654         __GI_wcscmp.
3655         (weak_alias): Undefine and redefine.
3656         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3657         __wcscmp and define as weak alias of __wcscmp.
3658         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3659         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3660         (__wcscoll): Likewise.
3661         (wcscmp): Don't use libc_hidden_proto.
3662         (wcscoll): Likewise.
3663         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3664         wcscoll.
3665         * posix/regexec.c (check_node_accept_bytes): Likewise.
3666         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3667         variable.
3668         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3669         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3671         [BZ #18507]
3672         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3673         __fstatvfs and define as weak alias of __fstatvfs.  Use
3674         libc_hidden_weak.
3675         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3676         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3677         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3678         Define as alias of __fstatvfs, not fstatvfs.
3679         (fstatvfs64): Likewise.
3680         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3681         Define as alias of __statvfs, not statvfs.
3682         (statvfs64): Likewise.
3683         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3684         Remove variable.
3686 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3689         (HAVE_GETCPU_VSYSCALL): Define.
3690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3691         (HAVE_GETCPU_VSYSCALL): Likewise.
3692         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3693         * sysdeps/unix/sysv/linux/sched_getcpu.c
3694         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3695         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3696         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3697         prototype.
3698         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3699         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3700         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3701         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3702         Define.
3703         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3704         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3705         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3706         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3708 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3710         * sysdeps/x86_64/fpu/Makefile: New file.
3711         * sysdeps/x86_64/fpu/Versions: New file.
3712         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3713         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3714         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3715         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3716         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3717         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3718         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3719         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3720         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3721         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3722         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3723         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3724         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3725         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3726         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3727         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3728         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3729         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3730         * sysdeps/x86_64/configure: Regenerated.
3731         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3732         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3733         * manual/install.texi (Configuring and compiling): Document
3734         --disable-mathvec.
3735         * INSTALL: Regenerated.
3736         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3738         * math/Makefile: Added rules for vector tests.
3739         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3740         declaration under condition.
3741         * math/test-double-vlen2.h: New file.
3742         * math/test-double-vlen4.h: New file.
3743         * math/test-double-vlen8.h: New file.
3744         * math/test-vec-loop.h: Added initialization macro.
3745         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3746         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3747         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3748         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3749         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3750         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3751         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3752         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3753         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3754         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3755         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3757         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3758         * sysdeps/x86_64/fpu/Versions: New versions added.
3759         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3760         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3761         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3762         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3763         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3764         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3765         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3766         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3767         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3769         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3770         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3771         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3772         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3773         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3774         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3775         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3776         * NEWS: Mention addition of x86_64 vector cosf.
3778         * math/Makefile: Added CFLAGS for new tests.
3779         * math/test-float-vlen16.h: New file.
3780         * math/test-float-vlen4.h: New file.
3781         * math/test-float-vlen8.h: New file.
3782         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3783         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3784         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3785         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3786         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3787         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3788         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3789         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3790         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3791         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3792         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3794 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3796         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3797         * locale/programs/ld-ctype.c: Likewise.
3799 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3801         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3802         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3803         bit_ZMM16_31_state): New macro.
3804         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3805         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3807 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3809         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3811 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3813         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3815 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3817         [BZ #18498]
3818         * libio/memstream.c (open_memstream): Rename to __open_memstream
3819         and define as weak alias of __open_memstream.
3820         * include/stdio.h (__open_memstream): Declare.  Use
3821         libc_hidden_proto.
3822         (open_memstream): Don't use libc_hidden_proto.
3823         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3824         open_memstream.
3825         * posix/getopt.c (_getopt_internal_r): Likewise.
3826         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3827         variable.
3828         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3829         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3830         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3832         [BZ #18496]
3833         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3834         instead of wcrtomb.
3836         [BZ #18483]
3837         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3838         [__USE_XOPEN2K8].  Remove redundant #endif.
3839         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3840         Remove redundant #if.
3841         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3842         Remove variable.
3843         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3844         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3846         [BZ #18495]
3847         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3848         (__iswlower): Likewise.
3849         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3850         (__iswlower): Likewise.
3851         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3852         instead of towlower.
3853         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3854         instead of iswlower.  Call __towupper instead of towupper.
3855         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3856         instead of iswalnum.
3858 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3860         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3861         errors to stderr.
3863 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3865         [BZ #15661]
3866         [BZ #17322]
3867         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3868         Check for overflow properly.  Check for O_APPEND.  Ignore large
3869         file system block sizes.  Add comments about problems.
3870         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3871         * manual/filesys.texi (Storage Allocation): New node.
3873 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3875         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3876         cancellable syscalls.
3877         (SYS_ify): Add guard to no redefine it.
3878         (INLINE_SYSCALL): Likewise.
3879         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3880         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3881         SYSCALL_CANCEL instead.
3882         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3883         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3884         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3885         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3886         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3887         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3888         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3889         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3890         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3891         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3892         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3893         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3894         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3895         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3896         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3897         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3898         Likewise.
3899         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3900         (__libc_pread64): Likewise.
3901         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3902         (__libc_preadv): Likewise.
3903         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3904         (__libc_readv64): Likewise.
3905         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3906         (__libc_pwrite): Likewise.
3907         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3908         (__libc_pwrite64): Likewise.
3909         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3910         (__libc_pwritev): Likewise.
3911         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3912         (__libc_pwritev64): Likewise.
3913         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3914         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3915         (sync_file_range): Likewise.
3916         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3917         Likewise.
3918         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3919         Likewise.
3920         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3921         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3922         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3923         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3924         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3925         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3926         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3927         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3929         Likewise.
3930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3931         (__libc_read64): Likewise.
3932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3933         Likewise.
3934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3935         Likewise.
3936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3937         Likewise.
3938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3939         Likewise.
3940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3941         (__libc_pread64): Likewise.
3942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3943         Likewise.
3944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3945         (__libc_pwrite64): Likewise.
3946         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3947         (sync_file_range): Likewise.
3948         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3949         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3950         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3951         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3952         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3953         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3954         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3955         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3956         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3957         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3958         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3959         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3960         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3961         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3962         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3963         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3964         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3965         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3966         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3967         Likewise.
3968         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3969         Likewise.
3970         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3971         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3972         Likewise.
3973         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3974         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3975         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3976         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3977         Likewise.
3978         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3979         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3980         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3981         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3982         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3984 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3986         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3987         Include dl-vdso.
3988         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3989         Use VDSO routines for gettimeofday, clock_gettime if
3990         available.
3991         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3992         Declare VDSO symbols.
3993         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3994         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3995         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3996         * sysdeps/unix/sysv/linux/arm/Versions: Add
3997         __vdso_clock_gettime.
3999 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4001         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4002         be an inline implementation regardless of library is built within.
4003         (open_not_cancel_2): Likewise.
4004         (__read_nocancel): Likewise.
4005         (__write_nocancel): Likewise.
4006         (openat_not_cancel): Likewise.
4007         (openat_not_cancel_3): Likewise.
4008         (openat64_not_cancel): Likewise.
4009         (openat64_not_cancel_3): Likewise.
4010         (__close_nocancel): Likewise.
4011         (pause_not_cancel): Likewise.
4012         (nanosleep_not_cancel): Likewise.
4013         (sigsuspend_not_cancel): Likewise.
4015 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4017         [BZ #14958]
4018         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4019         wake-up.
4020         (__pthread_rwlock_rdlock_slow): Likewise.
4021         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4022         Likewise.
4023         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4024         Likewise.
4025         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4026         * nptl/tst-rwlock16.c: New file.
4027         * nptl/Makefile (tests): Add new test.
4029 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4031         [BZ #18324]
4032         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4033         missing wake-up of readers.
4034         * nptl/tst-rwlock15.c: New file.
4035         * nptl/Makefile (tests): Add new test.
4037 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4039         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4040         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4041         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4042         and __nacl_supply_interface_rtld.
4043         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4044         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4045         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4046         Add __nacl_supply_interface_rtld.
4047         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4049 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4051         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4052         isfinite.
4053         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4054         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4056 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4058         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4059         __signbit* with standard C99 macros.
4060         * math/e_exp10l.c: Likewise.
4061         * math/e_exp2l.c: Likewise.
4062         * math/e_scalb.c: Likewise.
4063         * math/e_scalbf.c: Likewise.
4064         * math/e_scalbl.c: Likewise.
4065         * math/s_ldexp.c: Likewise.
4066         * math/s_ldexpf.c: Likewise.
4067         * math/s_ldexpl.c: Likewise.
4068         * math/w_atan2.c: Likewise.
4069         * math/w_atan2f.c: Likewise.
4070         * math/w_atan2l.c: Likewise.
4071         * math/w_cosh.c: Likewise.
4072         * math/w_coshf.c: Likewise.
4073         * math/w_coshl.c: Likewise.
4074         * math/w_exp10.c: Likewise.
4075         * math/w_exp10f.c: Likewise.
4076         * math/w_exp10l.c: Likewise.
4077         * math/w_exp2.c: Likewise.
4078         * math/w_exp2f.c: Likewise.
4079         * math/w_exp2l.c: Likewise.
4080         * math/w_fmod.c: Likewise.
4081         * math/w_fmodf.c: Likewise.
4082         * math/w_fmodl.c: Likewise.
4083         * math/w_hypot.c: Likewise.
4084         * math/w_hypotf.c: Likewise.
4085         * math/w_hypotl.c: Likewise.
4086         * math/w_jnl.c: Likewise.
4087         * math/w_lgamma.c: Likewise.
4088         * math/w_lgamma_r.c: Likewise.
4089         * math/w_lgammaf.c: Likewise.
4090         * math/w_lgammaf_r.c: Likewise.
4091         * math/w_lgammal.c: Likewise.
4092         * math/w_lgammal_r.c: Likewise.
4093         * math/w_pow.c: Likewise.
4094         * math/w_powf.c: Likewise.
4095         * math/w_powl.c: Likewise.
4096         * math/w_remainder.c: Likewise.
4097         * math/w_remainderf.c: Likewise.
4098         * math/w_remainderl.c: Likewise.
4099         * math/w_scalb.c: Likewise.
4100         * math/w_scalbf.c: Likewise.
4101         * math/w_scalbl.c: Likewise.
4102         * math/w_scalbln.c: Likewise.
4103         * math/w_scalblnf.c: Likewise.
4104         * math/w_scalblnl.c: Likewise.
4105         * math/w_sinh.c: Likewise.
4106         * math/w_sinhf.c: Likewise.
4107         * math/w_sinhl.c: Likewise.
4108         * math/w_tgamma.c: Likewise.
4109         * math/w_tgammaf.c: Likewise.
4110         * math/w_tgammal.c: Likewise.
4111         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4112         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4113         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4114         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4115         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4116         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4117         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4118         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4119         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4120         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4121         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4122         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4123         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4124         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4125         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4126         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4127         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4128         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4129         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4130         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4131         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4132         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4133         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4134         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4135         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4136         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4137         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4138         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4139         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4140         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4141         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4142         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4143         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4144         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4145         * stdio-common/printf_fp.c: Likewise.
4146         * stdio-common/printf_fphex.c: Likewise.
4147         * stdio-common/printf_size.c: Likewise.
4149 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4151         [BZ #18470]
4152         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4153         strnlen.
4154         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4155         Remove variable.
4156         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4157         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4158         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4159         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4160         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4161         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4162         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4163         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4164         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4165         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4167         [BZ #18468]
4168         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4169         weak alias of __wmemchr.  Use libc_hidden_weak.
4170         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4171         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4172         instead of wmemchr.
4174 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4176         [BZ #18383]
4177         * elf/tst-tlsalign-extern.c: New file.
4178         * elf/tst-tlsalign-extern-static.c: New file.
4179         * elf/tst-tlsalign-vars.c: New file.
4180         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4181         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4182         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4183         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4184         (test-xfail-tst-tlsalign-extern-static): New variable.
4186 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4188         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4189         Use variable name _sc_err instead of err.
4190         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4191         instead of ret.
4192         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4193         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4194         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4195         (INLINE_SYSCALL): Likewise.
4197         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4198         * include/string.h (__strnlen): Use libc_hidden_proto.
4199         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4200         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4201         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4202         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4203         (libc_hidden_def): Undefine and redefine.
4204         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4205         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4206         __GI_strnlen.
4207         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4208         libc_hidden_def.
4209         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4211         [BZ #18469]
4212         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4213         weak alias of __towlower.  Use libc_hidden_weak.
4214         (towupper): Rename to __towupper and define as weak alias of
4215         __towupper.  Use libc_hidden_weak.
4216         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4217         (__towupper): Likewise.
4218         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4219         __towlower instead of towlower.
4221 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4223         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4224         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4226 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4228         * sysdeps/aarch64/libm-test-ulps: Update.
4230 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4232         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4233         Define.
4234         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4235         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4236         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4237         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4238         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4239         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4240         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4242 2015-06-01  Martin Sebor  <msebor@redhat.com>
4244         [BZ #18116]
4245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4246         (__setcontext): Use extended four-operand version of mtsf whenever
4247         possible.
4248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4249         (__novec_swapcontext): Likewise.
4251 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4253         * benchtests/scripts/compare_bench.py: New file.
4254         * benchtests/scripts/import_bench.py (mean): New function.
4255         (split_list): Likewise.
4256         (do_for_all_timings): Likewise.
4257         (compress_timings): Likewise.
4259         * benchtests/scripts/import_bench.py: New file.
4260         * benchtests/scripts/validate_benchout.py: Import import_bench
4261         instead of jsonschema.
4262         (validate_bench): Remove function.
4263         (main): Use import_bench.
4265 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4267         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4268         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4270 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4274 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4276         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4277         set THREAD_SELF->tid to a magic value and futex-wake it.
4278         Pass its address to the thread_exit system call.
4279         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4280         bit is clear.
4281         * sysdeps/nacl/lowlevellock.h: New file.
4282         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4284         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4285         Add TIMEOUT to current time, don't subtract it.
4287 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4289         [BZ #2981]
4290         [BZ #18422]
4291         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4292         ($(objpfx)tst-audit2.out): Also depend on
4293         $(objpfx)tst-auditmod9b.so.
4294         * elf/tst-audit2.c: Include <dlfcn.h>.
4295         (calloc_called): New.
4296         (calloc): Allow to be called more than once.
4297         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4299 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4301         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4302         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4304 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4306         * stdlib/monetary.h: Fix comment.
4308 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4310         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4311         Avoid using variables in #defines that might cause shadowing.
4312         (INTERNAL_VSYSCALL_CALL): Likewise.
4314 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4316         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4318         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4319         * nptl/lll_timedlock_wait.c: ... to this new file.
4320         * nptl/Makefile (libpthread-routines): Add it.
4321         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4322         * nptl/lll_timedwait_tid.c: ... to this new file.
4323         * nptl/Makefile (libpthread-routines): Add it.
4324         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4325         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4326         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4327         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4328         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4329         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4330         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4331         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4332         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4333         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4335 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4337         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4338         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4339         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4340         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4341         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4342         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4343         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4344         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4345         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4346         * sysdeps/unix/sysv/linux/tile/sysdep.h
4347         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4348         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4349         using vDSO syscall macro.
4351 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4353         [BZ #17293]
4354         * uk_UA: Fix sorting order for Ukrainian locale
4356 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4358         * stdlib/monetary.h: Fix comment.
4360 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4362         [BZ #18234]
4363         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4364         st_mtim and st_ctim members.
4365         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4366         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4367         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4368         (struct stat64): Likewise.
4369         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4370         (struct stat64): Likewise.
4371         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4372         (struct stat64): Likewise.
4374 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4376         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4377         Define and include sysdep-vdso.h.
4378         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4379         Likewise.
4380         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4381         Likewise.
4382         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4383         Define with VDSO_SYMBOL and use PTR_MANGLE.
4384         (__vdso_clock_gettime): Likewise.
4385         (__vdso_clock_getres): Likewise.
4386         (_libc_vdso_platform_setup): Likewise.
4387         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4388         Likewise.
4389         (_libc_vdso_platform_setup): Likewise.
4390         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4391         Likewise.
4392         (__vdso_clock_gettime): Likewise.
4393         (__vdso_clock_getres): Likewise.
4394         (__vdso_get_tbfreq): Likewise.
4395         (__vdso_getcpu): Likewise.
4396         (__vdso_time): Likewise.
4397         (__vdso_sigtramp_rt64): Likewise.
4398         (__vdso_signtramp32): Likewise.
4399         (__vdso_sigtramp_rt32): Likewise.
4400         (_libc_vdso_platform_setup): Likewise.
4401         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4402         Likewise.
4403         (__vdso_clock_gettime): Likewise.
4404         (__vdso_clock_getres): Likewise.
4405         (_libc_vdso_platform_setup): Likewise.
4406         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4407         Likewise.
4408         (__vdso_clock_gettime): Likewise.
4409         (_libc_vdso_platform_setup): Likewise.
4410         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4411         Likewise.
4412         (__vdso_getcpu): Likewise.
4413         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4414         Use VDSO_SYMBOL macro to define.
4415         (__vdso_clock_gettime): Likewise.
4416         (__vdso_clock_getres): Likewise.
4417         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4418         Likewise.
4419         (__vdso_clock_gettime): Likewise.
4420         (__vdso_clock_getres): Likewise.
4421         (__vdso_get_tbfreq): Likewise.
4422         (__vdso_getcpu): Likewise.
4423         (__vdso_time): Likewise.
4424         (__vdso_sigtramp_rt64): Likewise.
4425         (__vdso_signtramp32): Likewise.
4426         (__vdso_sigtramp_rt32): Likewise.
4427         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4428         Likewise.
4429         (__vdso_clock_gettime): Likewise.
4430         (__vdso_clock_getres): Likewise.
4431         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4432         Likewise.
4433         (__vdso_clock_gettime): Likewise.
4434         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4435         Likewise.
4436         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4437         macro.
4438         (INTERNAL_VSYSCALL): Likewise.
4439         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4440         Remove macro.
4441         (INTERNAL_VSYSCALL): Likewise.
4442         (INTERNAL_VSYSCALL_NCS): Likewise.
4443         (INTERNAL_VSYSCALL_CALL): New macro.
4444         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4445         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4446         Likewise.
4447         (INTERNAL_VSYSCALL): Likewise.
4448         (INTERNAL_VSYSCALL_NCS): Likewise.
4449         (INTERNAL_VSYSCALL_CALL): New macro.
4450         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4452         (INLINE_VSYSCALL): Remove macro.
4453         (INTERNAL_VSYSCALL): Remove macro.
4454         (INTERNAL_VSYSCALL_NCS): Remove macro.
4455         (INTERNAL_VSYSCALL_CALL): New macro.
4456         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4457         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4458         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4459         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4460         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4462         (INLINE_VSYSCALL): Remove macro.
4463         (INTERNAL_VSYSCALL): Likewise.
4464         (INTERNAL_VSYSCALL_NCS): Likewise.
4465         (INTERNAL_VSYSCALL_CALL): New macro.
4466         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4467         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4468         PTR_DEMANGLE on vDSO pointer.
4469         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4470         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4471         macro.
4472         (INTERNAL_SYSCALL): Likewise.
4473         (INTERNAL_VSYSCALL_NCS): Remove macro.
4474         (INTERNAL_VSYSCALL_CALL): New macro.
4475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4476         Remove macro.
4477         (INTERNAL_VSYSCALL): Likewise.
4478         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4479         sysdep-vdso.h instead of libc-vdso.h.
4480         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4481         definition.
4482         (INLINE_VSYSCALL): Likewise.
4483         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4484         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4485         definition.
4486         (INLINE_VSYSCALL): Likewise.
4487         (INTERNAL_VSYSCALL): Likewise.
4488         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4489         * sysdeps/unix/sysv/linux/timespec_get.c
4490         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4491         (timespec_get): Use ANSI prototype.
4492         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4493         and definition for Linux.
4495 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4497         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4498         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4500 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4502         [BZ #2981]
4503         [BZ #18410]
4504         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4505         for missing DT_PLTRELSZ.
4507 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4509         Remove obsolete aliases that broke 'locale -a'
4510         [BZ #18412]
4511         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4512         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4513         breaking some applications that use 'locale -a' output.
4514         Change the encoding of this file from Latin-1 to ASCII to avoid
4515         other potential problems with people grepping this file.
4517 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4519         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4520         -fasynchronous-unwind-tables.
4521         (CFLAGS-sendto.c): Likewise.
4522         (CFLAGS-sendmsg.c): Likewise.
4523         (CFLAGS-connect.c): Likewise.
4524         (CFLAGS-recvmsg.c): Likewise.
4525         (CFLAGS-recvfrom.c): Likewise.
4526         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4527         (SOCKETCALL): New macro: non-cancellable socketcall.
4528         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4529         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4530         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4531         * sysdeps/unix/sysv/linux/accept.c: New file.
4532         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4533         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4534         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4535         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4536         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4537         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4538         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4539         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4540         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4541         * sysdeps/unix/sysv/linux/send.c: Likewise.
4542         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4543         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4544         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4545         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4546         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4547         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4548         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4549         prototype.
4550         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4551         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4552         instead of __internal_xxx function.
4553         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4554         prototype.
4555         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4556         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4557         instead of __internal_xxx function.
4558         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4559         prototype.
4560         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4561         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4562         instead of __internal_xxx function.
4563         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4564         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4565         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4566         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4567         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4568         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4569         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4570         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4571         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4572         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4573         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4574         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4575         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4576         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4577         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4578         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4579         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4580         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4581         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4582         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4585         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4586         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4587         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4588         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4589         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4590         * sysdeps/unix/sysv/linux/send.S: Likewise.
4591         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4592         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4593         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4594         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4595         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4596         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4597         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4598         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4599         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4600         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4601         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4602         socketcall is implemented in GLIBC.
4604 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4606         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4607         (__fma): Ignore uninitialized warnings around packing.
4608         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4609         (__fmaf): Ignore uninitialized warnings around packing.
4610         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4611         (__fmal): Ignore uninitialized warnings around packing.
4613         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4614         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4615         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4616         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4618         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4619         switch statement into default case.
4620         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4622         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4623         a conditional in forcing "inexact".
4624         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4625         Likewise.
4627 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4629         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4630         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4631         for each INTERNAL_SYSCALL use.
4633 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4635         [BZ #438]
4636         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4637         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4638         variable.
4640         [BZ #18444]
4641         * string/basename.c (basename): Rename to __basename and define as
4642         weak alias of __basename.  Use libc_hidden_weak.
4643         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4644         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4645         __basename instead of basename.
4646         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4647         Remove variable.
4648         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4650 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4652         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4653         (_IO_JUMPS_FILE_plus): New.
4654         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4655         _IO_CAST_FIELD_ACCESS.
4656         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4657         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4658         * libio/freopen.c (freopen): Likewise.
4659         * libio/freopen64.c (freopen64): Likewise.
4660         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4661         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4662         * libio/iofwide.c (_IO_fwide): Likewise.
4663         * libio/memstream.c (open_memstream): Likewise.
4664         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4665         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4666         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4668 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4670         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4671         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4672         NADJ.
4673         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4674         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4675         NADJ.
4676         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4677         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4678         NADJ.
4680         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4681         (p == 4) case.
4683         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4684         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4685         Remove variable.
4686         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4687         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4688         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4690 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4692         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4693         Adjust jump table label generation macros.
4695 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4697         * stdio-common/vfprintf.c (vfprintf): Move local variables
4698         args_malloced, specs, specs_malloced, and the code after
4699         do_positional to the printf_positional function.
4700         (printf_positional): New function.
4702 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4704         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4705         function.
4706         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4707         STEP4_TABLE, process_arg): Move macro definitions
4708         out of the vfprintf function.  (Cosmetic change only.)
4710 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4712         * benchtests/Makefile (stdio-common-bench): Define.
4713         (benchset): Add stdio-common-bench.
4714         * sprintf-inputs: New file.
4715         * sprintf-source.c: New file.
4717 2015-05-21  Andreas Schwab  <schwab@suse.de>
4719         [BZ #13028]
4720         [BZ #17053]
4721         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4722         of struct __res_state.
4723         * resolv/res_send.c (__libc_res_nsend): Likewise.
4724         (get_nsaddr): New function.
4725         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4726         statp directly.
4728 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4730         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4731         -D_POSIX_C_SOURCE=199506L.
4733         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4735         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4736         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4737         Do not mention otherwise.
4738         [POSIX] (_XOPEN_VERSION): Do not expect.
4739         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4740         [POSIX] (_POSIX2_C_BIND): Likewise.
4741         [POSIX] (_POSIX2_VERSION): Likewise.
4742         [POSIX] (_XOPEN_XPG2): Likewise.
4743         [POSIX] (_XOPEN_XPG3): Likewise.
4744         [POSIX] (_XOPEN_XPG4): Likewise.
4745         [POSIX] (_XOPEN_UNIX): Likewise.
4746         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4747         [POSIX] (_POSIX_BARRIERS): Likewise.
4748         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4749         [POSIX] (_POSIX_CPUTIME): Likewise.
4750         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4751         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4752         [POSIX] (_POSIX_SHELL): Likewise.
4753         [POSIX] (_POSIX_SPAWN): Likewise.
4754         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4755         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4756         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4757         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4758         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4759         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4760         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4761         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4762         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4763         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4764         [POSIX] (_POSIX2_PBS): Likewise.
4765         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4766         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4767         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4768         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4769         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4770         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4771         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4772         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4773         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4774         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4775         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4776         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4777         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4778         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4779         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4780         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4781         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4782         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4783         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4784         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4785         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4786         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4787         [POSIX] (_SC_2_C_BIND): Likewise.
4788         [POSIX] (_SC_2_C_VERSION): Likewise.
4789         [POSIX] (_SC_2_PBS): Likewise.
4790         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4791         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4792         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4793         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4794         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4795         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4796         [POSIX] (_SC_BARRIERS): Likewise.
4797         [POSIX] (_SC_BASE): Likewise.
4798         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4799         [POSIX] (_SC_DEVICE_IO): Likewise.
4800         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4801         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4802         [POSIX] (_SC_FD_MGMT): Likewise.
4803         [POSIX] (_SC_FIFO): Likewise.
4804         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4805         [POSIX] (_SC_FILE_LOCKING): Likewise.
4806         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4807         [POSIX] (_SC_IOV_MAX): Likewise.
4808         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4809         [POSIX] (_SC_NETWORKING): Likewise.
4810         [POSIX] (_SC_PAGE_SIZE): Likewise.
4811         [POSIX] (_SC_PASS_MAX): Likewise.
4812         [POSIX] (_SC_PIPE): Likewise.
4813         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4814         [POSIX] (_SC_REGEXP): Likewise.
4815         [POSIX] (_SC_SHELL): Likewise.
4816         [POSIX] (_SC_SIGNALS): Likewise.
4817         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4818         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4819         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4820         [POSIX] (_SC_USER_GROUPS): Likewise.
4821         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4822         [POSIX] (_SC_STREAMS): Likewise.
4823         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4824         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4825         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4826         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4827         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4828         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4829         [POSIX] (_PC_FILESIZEBITS): Likewise.
4830         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4831         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4832         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4833         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4834         [POSIX] (uid_t): Likewise.
4835         [POSIX] (gid_t): Likewise.
4836         [POSIX] (off_t): Likewise.
4837         [POSIX] (pid_t): Likewise.
4838         [POSIX] (cuserid): Allow.
4839         (_SC_2_CHAR_TERM): Require constant.
4840         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4841         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4842         variable.
4844 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4846         * sysdeps/nacl/pthread-pids.h: New file.
4847         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4848         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4850         * nptl/pthread-pids.h: New file.
4851         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4852         * nptl/nptl-init.c: Include <pthread-pids.h>.
4853         (__pthread_initialize_minimal_internal):
4854         Call __pthread_initialize_pids instead of set_tid_address syscall.
4856         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4857         * sysdeps/posix/usleep.c: ... here.
4859 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4861         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4862         call_pselect6 object.
4863         [$(subdir) = io]: Remove call_sync_file_range object.
4864         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4865         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4866         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4867         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4869 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4871         * math/s_cproj.c: Add include "math_private.h".
4872         * math/s_cprojf.c: Likewise.
4873         * math/s_cprojl.c: Likewise.
4875 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4877         [BZ #18244]
4878         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4879         high mantissa bit when testing whether P is a NaN.
4880         * math/libm-test.inc (remainder_test_data): Add more tests.
4881         (remquo_test_data): Likewise.
4883         [BZ #18049]
4884         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4885         below -32, return the argument, with underflow if subnormal.
4886         * math/auto-libm-test-in: Add more tests of atanh.
4887         * math/auto-libm-test-out: Regenerated.
4889 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4891         [BZ #18434]
4892         * nptl/tst-sem15.c: New file.
4893         * nptl/Makefile (tests): Add it.
4894         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4895         s/<</>>/ to fix typo in EOVERFLOW check.
4896         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4898 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4900         * manual/strings.texi (envz_remove): Fix typo in safety
4901         annotations.
4903 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4904             Steve Ellcey  <sellcey@imgtec.com>
4906         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4907         in order to avoid strict alias warnings.
4908         (iruserok_af): Ditto for ra.
4910 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4912         [BZ #17581]
4913         * malloc/hooks.c
4914         (magicbyte): Convert to a function and avoid returning 0x01.
4915         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4916         (mem2chunk_check): Fix unsigned comparisons to zero.
4917         Hoist defs of sz and magic.
4919 2015-05-19  Richard Henderson  <rth@redhat.com>
4921         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4923         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4925 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4927         [BZ #16159]
4928         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4929         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4930         (reused_arena): Find a non-corrupt arena.
4931         (heap_trim): Pass arena to unlink.
4932         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4933         malloc_printerr.
4934         (top_check): Likewise.
4935         (free_check): Likewise.
4936         (realloc_check): Likewise.
4937         * malloc/malloc.c (malloc_printerr): Add arena argument.
4938         (unlink): Likewise.
4939         (munmap_chunk): Adjust.
4940         (ARENA_CORRUPTION_BIT): New macro.
4941         (arena_is_corrupt): Likewise.
4942         (set_arena_corrupt): Likewise.
4943         (sysmalloc): Use mmap if there are no usable arenas.
4944         (_int_malloc): Likewise.
4945         (__libc_malloc): Don't fail if arena_get returns NULL.
4946         (_mid_memalign): Likewise.
4947         (__libc_calloc): Likewise.
4948         (__libc_realloc): Adjust for additional argument to
4949         malloc_printerr.
4950         (_int_free): Likewise.
4951         (malloc_consolidate): Likewise.
4952         (_int_realloc): Likewise.
4953         (_int_memalign): Don't touch corrupt arenas.
4954         * malloc/tst-malloc-backtrace.c: New test case.
4956         * Makefile (summarize-tests): Fix return value on success.
4958         * manual/string.texi (Envz Functions): Add envz_remove.
4960 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4962         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4963         (invalid_name): New function, broken out of ...
4964         (__opendirat): ... here.  Call it.
4965         (need_isdir_precheck): New function, broken out of ...
4966         (__opendirat): ... here.  Call it.
4967         Use __fxstatat64, not __xstatat64.
4968         (opendir_oflags): New function, broken out of ...
4969         (__opendirat): ... here.  Call it.
4970         (opendir_tail): New function, broken out of ...
4971         (__opendirat): ... here.  Call it.
4972         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4973         opendir_tail, rather than punting to __opendirat.
4974         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4976 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4978         * .gitignore: Ignore generated *.pyc.
4980 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4982         * include/stdio.h: Define __need_wint_t.
4983         * test-skeleton.c: Avoid `for' loop initial declaration.
4984         * nptl/tst-initializers1.c: Use test-skeleton.c.
4986 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4988         [BZ #18418]
4989         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4991 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4993         [BZ #16352]
4994         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4995         (__ieee754_atanh): Force underflow exception for results with
4996         small absolute value.
4997         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4998         (__ieee754_atanhf): Force underflow exception for results with
4999         small absolute value.
5000         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5001         (__ieee754_atanh): Force underflow exception for results with
5002         small absolute value.
5003         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5004         (__ieee754_atanhf): Force underflow exception for results with
5005         small absolute value.
5006         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5007         (__ieee754_atanhl): Force underflow exception for results with
5008         small absolute value.
5009         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5010         (__ieee754_atanhl): Force underflow exception for results with
5011         small absolute value.
5012         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5013         (__ieee754_atanhl): Force underflow exception for results with
5014         small absolute value.
5015         * math/auto-libm-test-in: Do not allow missing underflow
5016         exceptions from atanh.
5017         * math/auto-libm-test-out: Regenerated.
5019         [BZ #18221]
5020         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5021         2**-28 as threshold for returning x or +/- 1/x.
5022         * math/auto-libm-test-in: Add more tests of tan.
5023         * math/auto-libm-test-out: Regenerated.
5025         [BZ #18220]
5026         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5027         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5028         * math/auto-libm-test-in: Add another test of lgamma.
5029         * math/auto-libm-test-out: Regenerated.
5031 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5033         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5034         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5035         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5036         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5037         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5038         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5039         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5040         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5041         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5042         (log1): Use fabs.  (my_log2): Use fabs.
5043         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5044         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5045         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5046         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5047         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5048         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5049         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5050         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5051         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5052         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5053         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5055 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5057         [BZ #18217]
5058         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5059         as threshold for returning 1 - x.
5060         * math/auto-libm-test-in: Add more tests of erfc.
5061         * math/auto-libm-test-out: Regenerated.
5063 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5065         [BZ #18196]
5066         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5067         threshold for large arguments.
5068         * math/auto-libm-test-in: Add another test of atan.
5069         * math/auto-libm-test-out: Regenerated.
5071         [BZ #16339]
5072         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5073         (__log1p): Force underflow exception for results with small
5074         absolute value.
5075         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5076         (__log1pf): Force underflow exception for results with small
5077         absolute value.
5078         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5079         (__log1p): Force underflow exception for results with small
5080         absolute value.
5081         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5082         (__log1pf): Force underflow exception for results with small
5083         absolute value.
5084         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5085         (__log1pl): Force underflow exception for results with small
5086         absolute value.
5087         * math/auto-libm-test-in: Do not allow missing underflow
5088         exceptions from log1p.
5089         * math/auto-libm-test-out: Regenerated.
5091 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5092             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5094         [BZ #16704]
5095         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5097 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5099         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5100         (libmvec): New variable.
5101         * configure.ac: Added option for mathvec build.
5102         * configure: Regenerated.
5103         * mathvec/Depend: New file.
5104         * mathvec/Makefile: New file.
5105         * shlib-versions: Added libmvec.
5106         * math/Makefile: Added rule for libm.so installation.
5108         * bits/math-vector.h: New file.
5109         * bits/libm-simd-decl-stubs.h: New header.
5110         * math/Makefile (headers): Added new header
5111         libm-simd-decl-stubs.h.
5112         * math/math.h (__MATHCALL_VEC): New macro.
5114         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5115         for conditions in testing functions.
5116         * math/Makefile: Added call of libm-have-vector-test.sh.
5117         * math/libm-test.inc (HAVE_VECTOR): New macros.
5119         * math/libm-test.inc: START refactored.
5120         * math/test-double.c (TEST_MATHVEC): Add define.
5121         * math/test-float.c: Likewise.
5122         * math/test-idouble.c: Likewise.
5123         * math/test-ifloat.c: Likewise.
5124         * math/test-ildoubl.c: Likewise.
5125         * math/test-ldouble.c: Likewise.
5126         * sysdeps/generic/math-tests-arch.h
5127         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5128         architecture check.
5130         * math/test-double.c (FUNC_TEST): New macro.
5131         * math/test-float.c: Likewise.
5132         * math/test-idouble.c: Likewise.
5133         * math/test-ifloat.c: Likewise.
5134         * math/test-ildoubl.c: Likewise.
5135         * math/test-ldouble.c: Likewise.
5136         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5138 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5140         * sysdeps/nacl/fdopendir.c: New file.
5142         * dirent/scandir-tail.c: New file.
5143         * dirent/scandir64-tail.c: New file.
5144         * dirent/Makefile (routines): Add them.
5145         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5146         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5147         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5148         [!SCANDIR] (SCANDIR_TAIL): New macro.
5149         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5150         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5151         (SCANDIRAT): Macro removed.
5152         (SCANDIR_TAIL): New macro.
5153         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5154         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5155         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5156         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5157         (READDIR): Macro removed.
5158         (SCANDIR_TAIL): New macro.
5159         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5160         (SCANDIR_TAIL): New macro.
5162         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5163         * dirent/scandir-cancel.c: ... to this new file.
5164         * dirent/Makefile (routines): Add it.
5165         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5166         * sysdeps/unix/sysv/linux/i386/scandir64.c
5167         (SKIP_SCANDIR_CANCEL): Macro removed.
5168         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5170         * dirent/tst-scandir.c: New file.
5171         * dirent/tst-scandir64.c: New file.
5172         * dirent/Makefile (tests): Add them.
5174 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5176         [BZ #18409]
5177         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5179 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5181         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5182         list.
5184 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5186         * benchtests/bench-strcoll.c: New benchmark.
5187         * benchtests/Makefile: Generate locales and run benchmark.
5188         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5189         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5190         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5191         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5192         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5193         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5194         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5195         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5196         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5197         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5198         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5199         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5200         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5201         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5202         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5203         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5204         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5205         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5206         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5207         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5208         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5209         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5210         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5211         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5213 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5215         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5216         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5218 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5220         * posix/uname-values.h: New file.
5221         * posix/uname.c: Include that instead of <config-name.h>.
5222         * sysdeps/nacl/uname-values.h: New file.
5223         * sysdeps/arm/nacl/uname-values.h: New file.
5225 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5227         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5228         splitting into fields.
5230 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5232         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5233         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5234         * locale/localeinfo.h: Add enum collation_encoding_type.
5235         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5236         * programs/ld-collate.c (collate_output): Add encoding type info.
5237         * string/strcoll_l.c (STRDIFF): New function.
5238         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5239         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5241 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5243         [BZ #18397]
5244         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5245         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5246         <fpu_control.h> instead of <math/fpu_control.c>.
5247         * sysdeps/mips/mips32/fpu/Makefile: New file.
5249 2015-05-11  Andreas Schwab  <schwab@suse.de>
5251         [BZ #18007]
5252         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5253         nss_endgrent.
5254         (_nss_compat_endgrent): Call nss_endgrent.
5255         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5256         nss_endpwent.
5257         (_nss_compat_endpwent): Call nss_endpwent.
5258         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5259         needent, call nss_setspent only if non-zero.
5260         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5261         (internal_endspent): Don't call nss_endspent.
5262         (_nss_compat_endspent): Call nss_endspent.
5263         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5264         Remove.  All uses removed.
5265         (internal_setent): Remove parameter stayopen, add parameter
5266         stream.  Use it instead of global variable.
5267         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5268         (internal_endent, internal_getent): Add parameter stream.  Use it
5269         instead of global variable.
5270         (CONCAT(_nss_files_end,ENTNAME))
5271         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5272         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5273         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5274         uses removed.
5275         (internal_setent, internal_endent): Add parameter stream.  Use it
5276         instead of global variable.
5277         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5278         stream.
5279         (get_next_alias): Add parameter stream.
5280         (_nss_files_getaliasent_r): Pass global stream.
5281         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5282         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5283         (_nss_files_gethostbyname4_r): Pass local stream to
5284         internal_setent, internal_getent and internal_endent.  Remove
5285         locking.
5287 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5289         * tst-strfmon1.c (tests): Update expected currency symbol.
5291 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5293         * sysdeps/nacl/gethostname.c: New file.
5295 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5297         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5298         and sinh.
5299         * math/auto-libm-test-out: Regenerated.
5300         * sysdeps/i386/fpu/libm-test-ulps: Update.
5301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5303 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5305         [BZ #18125]
5306         * stdlib/tst-setcontext3.c: New file.
5307         * stdlib/tst-setcontext3.sh: New file.
5308         * stdlib/Makefile (tests): Add tst-setcontext3.
5309         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5310         to verify test program created output file.
5311         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5312         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5313         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5314         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5316 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5318         [BZ #18383]
5319         * elf/tst-tlsalign.c: New file.
5320         * elf/tst-tlsalign-static.c: New file.
5321         * elf/tst-tlsalign-lib.c: New file.
5322         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5323         (tests-static): Add tst-tlsalign-static.
5324         (modules-names): Add tst-tlsalign-lib.
5325         (test-xfail-tst-tlsalign): New variable.
5326         (test-xfail-tst-tlsalign-static): New variable.
5328         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5329         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5331 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5333         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5334         csqrt, erfc, sin and sincos.
5335         * math/auto-libm-test-out: Regenerated.
5336         * sysdeps/i386/fpu/libm-test-ulps: Update.
5337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5339 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5341         * sysdeps/aarch64/libm-test-ulps: Update.
5343 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5345         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5346         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5347         * math/auto-libm-test-out: Regenerated.
5348         * sysdeps/i386/fpu/libm-test-ulps: Update.
5349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5351 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5353         [BZ #18265]
5354         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5355         (wcsncpy): Likewise.
5357 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5359         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5360         Assume __ASSUME_FALLOCATE is always true.
5361         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5362         (__posix_fallocate64_l64): Likweise.
5363         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5364         (posix_fallocate): Likewise.
5365         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5366         (__posix_fallocate64_l64): Likewise.
5367         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5368         [!__ASSUME_FALLOCATE]: Add comment.
5370 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5372         * sysdeps/unix/sysv/linux/i386/Makefile
5373         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5374         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5375         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5376         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5377         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5378         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5379         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5381 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5383         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5384         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5385         tgamma.
5386         * math/auto-libm-test-out: Regenerated.
5387         * sysdeps/i386/fpu/libm-test-ulps: Update.
5388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5390 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5392         * math/auto-libm-test-in: Add more tests of tgamma.
5393         * math/auto-libm-test-out: Regenerated.
5394         * sysdeps/i386/fpu/libm-test-ulps: Update.
5395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5397         * math/auto-libm-test-in: Add more tests of tanh.
5398         * math/auto-libm-test-out: Regenerated.
5399         * sysdeps/i386/fpu/libm-test-ulps: Update.
5400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5402         * math/auto-libm-test-in: Add more tests of tan.
5403         * math/auto-libm-test-out: Regenerated.
5404         * sysdeps/i386/fpu/libm-test-ulps: Update.
5405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5407         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5408         * math/auto-libm-test-out: Regenerated.
5409         * sysdeps/i386/fpu/libm-test-ulps: Update.
5410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5412         * math/auto-libm-test-in: Add another test of pow.
5413         * math/auto-libm-test-out: Regenerated.
5414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5416         * math/auto-libm-test-in: Add more tests of lgamma.
5417         * math/auto-libm-test-out: Regenerated.
5418         * sysdeps/i386/fpu/libm-test-ulps: Update.
5419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5421         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5422         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5429         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5430         Elf64_Chdr structs and ELFCOMPRESS constants.
5432 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5434         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5435         expm1.
5436         * math/auto-libm-test-out: Regenerated.
5437         * sysdeps/i386/fpu/libm-test-ulps: Update.
5438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5440         * math/auto-libm-test-in: Add more tests of erf and erfc.
5441         * math/auto-libm-test-out: Regenerated.
5442         * sysdeps/i386/fpu/libm-test-ulps: Update.
5443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5445 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5447         * config.h.in (HAVE_AARCH64_BE): Add.
5449 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5451         * math/auto-libm-test-in: Add more tests of csqrt.
5452         * math/auto-libm-test-out: Regenerated.
5453         * sysdeps/i386/fpu/libm-test-ulps: Update.
5454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5456         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5457         * math/auto-libm-test-out: Regenerated.
5458         * sysdeps/i386/fpu/libm-test-ulps: Update.
5459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5461         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5463 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5465         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5466         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5468         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5469         (euidaccess, eaccess): Define as weak aliases.
5471         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5472         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5473         but __suseconds_t is often 'long int' so some sources assume that
5474         type is being used (e.g. they use %ld to print tv_usec).
5476 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5478         [BZ #18007]
5479         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5480         (CVE-2014-8121)
5481         * nss/tst-nss-getpwent.c: New file.
5482         * nss/Makefile (tests): Add new test.
5484 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5486         [BZ #18346]
5487         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5488         exponents less than 48 as cases where high part of mantissa needs
5489         examining to determine whether argument is integral.
5490         * math/libm-test.inc (round_test_data): Add more tests.
5492 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5494         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5496 2015-04-27  David S. Miller  <davem@davemloft.net>
5498         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5499         __tls_get_addr.
5500         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5502 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5504         [BZ#18333]
5505         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5507 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5509         [BZ#18333]
5510         * time/tzset.c (parse_tzname): Return error on memory allocation
5511         failure.
5512         * test-skeleton.c (struct temp_name_list): Change type of name
5513         member to non-const.
5514         (add_temp_file): Create a copy of the file name.
5515         (delete_temp_files): Deallocate memory.
5516         (create_temp_file): Add comment.
5518 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5520         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5521         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5523 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5525         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5526         * sysdeps/arm/configure: Regenerated.
5528 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5530         [BZ #17715]
5531         * time/tzfile.c (__tzfile_read): Check for large values of
5532         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5533         * time/tzset.c (__tzstring_len): New function, based on the old
5534         __tzstring function.
5535         (__tzstring): Call __tzstring_len.
5536         (parse_tzname): New helper function extracted from
5537         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5538         the input string.
5539         (parse_offset): New helper function extracted from
5540         __tzset_parse_tz.  Replace switch with fallthrough with
5541         initialization before sscanf.
5542         (parse_rule): Likewise.
5543         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5544         new-style function definition.
5545         * timezone/Makefile (tests): Add tst-tzset.
5546         (tst-tzset.out): Dependencies on time zone files.
5547         (tst-tzset-ENV): Set TZDIR.
5548         (testdata/XT%): Copy crafted time zone files.
5549         * timezone/README: Mention crafted time zone files.
5550         * timezone/testdata/XT1, timezone/testdata/XT2,
5551         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5552         files.
5553         * timezone/tst-tzset.c: New test.
5555 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5557         * Makeconfig (+gccwarn): Remove -Winline.
5559 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5561         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5563 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5565         * NEWS: Mention sysconf() cache information support for s390.
5566         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5568 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5570         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5571         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5572         (__nearbyint): Likewise.
5573         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5574         (copysignl): Likewise.
5576 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5578         [BZ #18287]
5579         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5580         based on padding.  (CVE-2015-1781)
5582 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5584         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5585         libc-vdso.h.
5586         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5587         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5588         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5589         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5590         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5591         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5592         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5593         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5594         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5595         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5596         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5597         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5598         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5599         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5600         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5601         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5602         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5603         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5604         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5605         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5606         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5607         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5608         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5610 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5612         * stdlib/setenv.c (__add_to_environ):
5613         Dump core quickly if setenv (..., NULL, ...) is called.
5614         This time, do it the right way, and pacify GCC with a pragma.
5616 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5618         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5619         IMAP->l_prev cannot be null, and #if out the code for the contrary
5620         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5621         believe that NS (&_dl_ns[NSID]) could point outside the array.
5623         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5624         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5625         before using NSID as an index.
5627 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5629         [BZ #17825]
5630         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5631         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5632         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5634 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5636         Add preliminary port to Google Native Client on ARM.
5637         * abi-tags (.*-.*-nacl.*): New entry.
5638         * sysdeps/arm/nacl: New directory.
5639         * sysdeps/nacl: New directory.
5641 2015-04-16  David S. Miller  <davem@davemloft.net>
5643         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5644         lowlevellock-futex.h
5646 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5648         * sysdeps/tile/configure.ac: New file.
5649         * sysdeps/tile/configure: Regenerated.
5651 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5653         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5654         conditionals for weak_alias and libc_hidden_weak.
5655         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5656         libc_hidden_weak and weak_alias.
5657         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5658         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5659         and weak_alias for static one.
5661 2015-04-15  David S. Miller  <davem@davemloft.net>
5663         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5665 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5667         [BZ #18206]
5668         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5669           Use signed comparision instead of substraction to avoid
5670           overflow bug.
5671         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5672           Take the sign of ret.
5673         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5674           Do not expect precise return values. Only the sign matters.
5675         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5676         * wcsmbs/test-wcsncmp.c: New File.
5677         * string/test-strncmp.c: Add wcsncmp support.
5679 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5681         [BZ #6792]
5682         * math/w_log1p.c: New file.
5683         * math/w_log1pf.c: Likewise.
5684         * math/w_log1pl.c: Likewise.
5685         * math/Makefile (libm-calls): Add w_log1p.
5686         * math/s_log1pl.c (log1pl): Remove weak_alias.
5687         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5688         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5689         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5690         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5691         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5692         [NO_LONG_DOUBLE] (log1pl): Likewise.
5693         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5694         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5695         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5696         (log1p): Remove long_double_symbol.
5697         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5698         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5699         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5700         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5701         remove weak_alias for corresponding log1p function.
5702         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5703         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5704         * sysdeps/ia64/fpu/w_log1p.c: New file.
5705         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5706         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5707         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5709 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5711         [BZ #18247]
5712         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5713         decimal exponent by 1.
5714         * stdlib/tst-strtod-round-data: Add more tests.
5715         * stdlib/tst-strtod-round.c (tests): Regenerated.
5717 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5719         * math/auto-libm-test-in: Add more tests of clog and clog10.
5720         * math/auto-libm-test-out: Regenerated.
5721         * sysdeps/i386/fpu/libm-test-ulps: Update.
5722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5724 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5726         * Makeconfig (module-cppflags): Exclude all .v.i files.
5727         (skip-module-cppflags): Variable removed.
5729         * configure.ac (libc_config_ok): Initialize before reading
5730         preconfigure scripts, not after.
5731         * configure: Regenerated.
5733         * test-skeleton.c (TIMEOUT): Move #define to top level.
5734         (main): Grok environment variable TEST_DIRECT.  If set, print
5735         test expectation details into that file and then behave as if
5736         given --direct.
5738 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5740         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5741         warning on 32-bit.
5743 2015-04-08  David S. Miller  <davem@davemloft.net>
5745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5747 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5749         * math/auto-libm-test-in: Add more tests of atanh.
5750         * math/auto-libm-test-out: Regenerated.
5751         * sysdeps/i386/fpu/libm-test-ulps: Update.
5752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5754         * math/auto-libm-test-in: Add more tests of atan.
5755         * math/auto-libm-test-out: Regenerated.
5756         * sysdeps/i386/fpu/libm-test-ulps: Update.
5757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5759 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5761         * elf/pldd.c (main): Rewrite to use struct
5762         scratch_buffer instead of extend_alloca.
5763         * elf/pldd-xx.c (find_maps): Likewise.
5764         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5765         <alloca.h>.
5766         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5767         scratch_buffer instead of extend_alloca.
5768         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5769         grp/compat-initgroups.c.
5770         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5771         Rewrite to use struct scratch_buffer instead of extend_alloca.
5772         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5773         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5775 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5777         * math/auto-libm-test-in: Add more tests of cbrt.
5778         * math/auto-libm-test-out: Regenerated.
5779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5781         * math/auto-libm-test-in: Add more tests of cabs.
5782         * math/auto-libm-test-out: Regenerated.
5783         * sysdeps/i386/fpu/libm-test-ulps: Update.
5784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5786         [BZ #18210]
5787         [BZ #18211]
5788         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5789         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5790         computations.
5791         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5792         clog10.
5793         * math/auto-libm-test-out: Regenerated.
5794         * sysdeps/i386/fpu/libm-test-ulps: Update.
5795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5797         [BZ #18197]
5798         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5799         (atan): Set FE_TONEAREST mode for internal computations.
5800         * math/auto-libm-test-in: Add more tests of atan.
5801         * math/auto-libm-test-out: Regenerated.
5803 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5805         [BZ #17930]
5806         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5808 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5810         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5812 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5814         * include/scratch_buffer.h: New file.
5815         * malloc/scratch_buffer_grow.c: Likewise.
5816         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5817         * malloc/scratch_buffer_set_array_size.c: Likewise.
5818         * malloc/tst-scratch_buffer.c: Likewise.
5819         * malloc/Makefile (routines): Add scratch_buffer_grow.
5820         (tests): Add test case.
5821         * malloc/Versions (GLIBC_PRIVATE): Export
5822         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5823         __libc_scratch_buffer_set_array_size.
5825 2015-04-06  Richard Henderson  <rth@redhat.com>
5827         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5828         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5830         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5831         unsigned int before printing.
5833 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5835         [BZ #17596]
5836         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5837         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5839 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5841         * include/libc-internal.h (libc_max_align_t): Define.
5843 2015-04-02  Andreas Schwab  <schwab@suse.de>
5845         [BZ #16850]
5846         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5848 2015-04-02  Mel Gorman  <mgorman@suse.de>
5850         [BZ #17195]
5851         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5852         as well as the main arena.
5854 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5856         [BZ #18185]
5857         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5858         sharing L2 cache to 2 for Silvermont/Knights Landing.
5860 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5862         [BZ #17711]
5863         * config.make.in (have-protected-data): New.
5864         * configure.ac: Check linker support for protected data symbol.
5865         * configure: Regenerated.
5866         * elf/Makefile (modules-names): Add tst-protected1moda and
5867         tst-protected1modb if $(have-protected-data) is yes.
5868         (tests): Add tst-protected1a and tst-protected1b if
5869         $(have-protected-data) is yes.
5870         ($(objpfx)tst-protected1a): New.
5871         ($(objpfx)tst-protected1b): Likewise.
5872         (tst-protected1modb.so-no-z-defs): Likewise.
5873         * elf/tst-protected1a.c: New file.
5874         * elf/tst-protected1b.c: Likewise.
5875         * elf/tst-protected1mod.h: Likewise.
5876         * elf/tst-protected1moda.c: Likewise.
5877         * elf/tst-protected1modb.c: Likewise.
5879 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5881         [BZ #17711]
5882         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5883         indicates it is called from do_lookup_x on relocation against
5884         protected data, skip the data definion in the executable from
5885         copy reloc.
5886         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5887         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5888         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5889         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5890         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5891         otherwise to 0.
5892         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5893         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5894         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5895         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5896         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5897         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5899 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5901         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5902         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5904 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5906         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5907         THREAD_SETMEM_NC.
5908         * sysdeps/x86_64/nptl/tls.h: Ditto.
5910 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5912         * dlfcn/tststatic.c (main): Converted to ...
5913         (do_test): ... this.
5914         (TEST_FUNCTION): New macro.
5915         Include test-skeleton.c.
5917 2015-03-26  Alan Modra  <amodra@gmail.com>
5919         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5920         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5921         zero for undefined weak.
5922         (elf_machine_plt_conflict): Similarly.
5924 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5926         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5927         atanh.
5928         * math/auto-libm-test-out: Regenerated.
5929         * sysdeps/i386/fpu/libm-test-ulps: Update.
5930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5932         * math/auto-libm-test-in: Add another test of asin.
5933         * math/auto-libm-test-out: Regenerated.
5934         * sysdeps/i386/fpu/libm-test-ulps: Update.
5935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5937         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5938         Remove macro.
5939         (LLL_EBX_REG): Likewise.
5940         (LLL_ENTER_KERNEL): Likewise.
5942         * math/auto-libm-test-in: Add more tests of asin.
5943         * math/auto-libm-test-out: Regenerated.
5944         * sysdeps/i386/fpu/libm-test-ulps: Update.
5945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5947         [BZ #18138]
5948         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5949         libc_do_syscall_args): New structure.
5950         (INTERNAL_SYSCALL_MAIN_0): New macro.
5951         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5952         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5953         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5954         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5955         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5956         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5957         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5958         Replace conditional definitions by conditional definitions of ....
5959         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5960         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5961         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5962         (libpthread-sysdep_routines): Add libc-do-syscall.
5963         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5964         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5965         to __NR_futex not 240.
5967 2015-03-25  Alan Modra  <amodra@gmail.com>
5969         * NEWS: Advertise TLS optimization.
5970         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5971         (DT_PPC_NUM): Increment.
5972         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5973         (CHECK_STATIC_TLS): Use here.
5974         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5975         TLS descriptors.
5976         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5977         * sysdeps/powerpc/dl-tls.c: New file.
5978         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5979         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5980         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5981         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5986 2015-03-25  Alan Modra  <amodra@gmail.com>
5988         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5989         for overlapping .opd entries" to "support...".
5990         * sysdeps/powerpc/powerpc64/configure: Regenerate
5992 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5994         * math/auto-libm-test-in: Add more tests of acos.
5995         * math/auto-libm-test-out: Regenerated.
5996         * sysdeps/i386/fpu/libm-test-ulps: Update.
5997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5999         * math/auto-libm-test-in: Add more tests of expm1.
6000         * math/auto-libm-test-out: Regenerated.
6001         * sysdeps/i386/fpu/libm-test-ulps: Update.
6002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6004 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6006         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6007         * math/auto-libm-test-out: Regenerated.
6008         * sysdeps/i386/fpu/libm-test-ulps: Update.
6009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6011         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6014         * math/auto-libm-test-in: Add more tests of log2.
6015         * math/auto-libm-test-out: Regenerated.
6016         * sysdeps/i386/fpu/libm-test-ulps: Update.
6017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6019 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6021         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6022         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6023         _IO_IS_APPENDING bit in READ_WRITE instead.
6025 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6027         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6028         (__determine_cpumask_size): Replace extend_alloca with a
6029         variable-length array.  Do not treat res == 0 as an error.
6031 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6033         [BZ #18100]
6034         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6035         and integer overflow.
6036         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6037         (main): Add integer overflow tests.
6038         * manual/pattern.texi (Calling Wordexp): Document additional use
6039         for WRDE_SYNTAX.
6041 2015-03-23  Alan Modra  <amodra@gmail.com>
6043         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6044         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6045         and false branch of conditional.
6046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6047         Likewise.
6049 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6051         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6052         libc-modules.h
6053         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6054         unused declaration of _hurd_intr_rpc_msg_in_trap.
6055         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6056         defined instead of whether it is non-zero.
6057         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6058         input constraint instead of both input and output constraint.  Use ecx
6059         clobber instead of %ecx.
6060         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6061         mutex_unlock): Use a statement expression instead of an expression list.
6062         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6063         type to vm_size_t instead of vm_address_t.
6064         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6065         defined instead of whether it is non-zero.
6066         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6067         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6068         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6069         comparisons with mapaddr.
6070         * nscd/nscd-client.h: Include <time.h>.
6071         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6072         9th parameter to __vm_region instead of int.
6073         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6074         * scripts/check-local-headers.sh (exclude): Add device/,
6075         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6076         cthreads.h.
6078 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6080         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6081         to account for alignment padding.
6082         * sysdeps/arm/memmove.S: Likewise.
6084 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6086         * sysdeps/unix/sysv/linux/generic/README: New file.
6088 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6090         [BZ #18138]
6091         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6092         (futex_abstimed_wait)
6093         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6094         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6095         of lll_futex_timed_wait.
6097 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6099         [BZ #17542]
6100         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6102 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6104         [BZ #17090]
6105         [BZ #17620]
6106         [BZ #17621]
6107         [BZ #17628]
6108         * NEWS: Update.
6109         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6110         entries with Static TLS too.  Skip entries past the end of the
6111         allocated DTV, from Alan Modra.
6112         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6113         Static TLS DTV entry set up from...
6114         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6115         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6116         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6117         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6118         for Static TLS.
6119         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6120         that the slot we find is associated with the given map before
6121         using its generation count.
6122         * nptl_db/db_info.c: Include ldsodefs.h.
6123         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6124         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6125         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6126         (link_map::l_tls_offset): New struct field.
6127         (dtv_t::counter): Likewise.
6128         (rtld_global): New struct.
6129         (_rtld_global): New rtld variable.
6130         (dl_tls_dtv_slotinfo_list): New rtld global field.
6131         (dtv_slotinfo_list): New struct.
6132         (dtv_slotinfo): Likewise.
6133         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6134         (td_lookup): Rename to...
6135         (td_mod_lookup): ... this.  Use new mod parameter instead of
6136         LIBPTHREAD_SO.
6137         * nptl_db/td_thr_tlsbase.c: Include link.h.
6138         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6139         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6140         addresses even if the DTV is out of date or missing them.
6141         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6142         index zero-length arrays.
6143         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6144         (td_lookup): Make it a macro implemented in terms of...
6145         (td_mod_lookup): ... this declaration.
6146         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6147         (DB_MAIN_VARIABLE): Likewise.
6149 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6151         [BZ #18134]
6152         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6154 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6156         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6158 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6160         [BZ #18128]
6161         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6162         (atomic_add, atomic_increment_and_test)
6163         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6165 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6167         * stdlib/setenv.c (__add_to_environ):
6168         Dump core quickly if setenv (..., NULL, ...) is called.
6170 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6172         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6173         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6174         all the necessary asm magic in one place.
6175         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6176         using those.
6178 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6180         [BZ #14906]
6181         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6182         traced file mtime. Use consistent log message.
6183         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6184         (register_traced_file): Call install_watches. Always set mtime.
6185         (invalidate_cache): Iterate over all trace files. Call install_watches.
6186         (inotify_check_files): Don't inline. Handle watching parent
6187         directories and configuration file movement in and out.
6188         (handle_inotify_events): New function.
6189         (main_loop_poll): Call handle_inotify_events.
6190         (main_loop_epoll): Likewise.
6191         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6192         (struct traced_file): Use array of inotify fds. Add parent directory,
6193         and basename.
6194         (struct database_dyn): Remove unused file_mtime.
6195         (init_traced_file): New inline function.
6196         (define_traced_file): New macro.
6197         * nss/nss_db/db-init.c: Use define_traced_file.
6198         (_nss_db_init): Use init_traced_file.
6199         * nss/nss_files/files-init.c: Use define_traced_file.
6200         (_nss_files_init): Use init_traced_file.
6202 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6204         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6205         [_LIBC]: Do not include <stdlib.h>.
6206         [!_LIBC] (abort): Remove declaration.
6207         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6208         _FP_STATIC_ASSERT instead of conditionally calling abort.
6209         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6210         (_FP_EXTEND_CNAN): Likewise.
6211         (FP_TRUNC): Likewise.
6212         (__FP_CLZ): Likewise.
6213         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6215 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6217         * manual/string.texi (XPG basename): Fix prototype.
6219 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6221         [BZ #18080]
6222         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6223         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6224         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6225         (__setcontext): Likewise.
6226         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6227         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6228         Call rt_sigprocmask syscall one time to set new signal mask
6229         and retrieve the current signal mask instead of two calls.
6230         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6231         (__swapcontext): Likewise.
6232         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6233         * stdlib/tst-setcontext2.c: New file.
6235 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6237         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6239 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6241         [BZ #18093]
6242         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6243         the wrong size.
6245 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6247         [BZ #18043]
6248         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6250 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6252         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6253         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6254         Remove define.
6255         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6256         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6257         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6258         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6259         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6260         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6261         define.
6262         * nptl_db/td_symbol_list.c (td_lookup): Remove
6263         HAVE_ASM_GLOBAL_DOT_NAME code.
6264         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6265         HAVE_ASM_GLOBAL_DOT_NAME check.
6266         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6267         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6268         (DOT_LABEL): Remove define.
6269         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6270         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6271         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6272         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6273         (__TLS_GET_ADDR): Likewise.
6274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6275         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6277 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6279         [BZ #18111]
6280         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6281         (_FPU_SETCW): Initialize cw from fpsr before storing.
6282         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6283         (fesetexceptflag): Rewrite using fpu_control.h.
6284         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6286 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6288         [BZ #18110]
6289         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6290         asms.
6291         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6293 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6295         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6296         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6297         abort.
6298         (_FP_FMA): Likewise.
6299         (_FP_DIV): Likewise.
6301 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6303         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6304         with 0 in that case.
6305         * Makefile (summarize-tests): New canned sequence, factored out of
6306         commands for targets tests and xtests.  Display summary lines that
6307         don't start with PASS: or XFAIL: rather than ones that do start with
6308         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6309         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6310         do start with ERROR: or FAIL:.
6311         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6312         (except for [$(build-shared) = yes]).
6313         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6314         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6315         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6316         * nptl/Makefile: Revert 2015-03-04 changes.
6317         [$(CXX) empty] (tests-unsupported): New variable.
6318         * debug/Makefile: Likewise.
6320         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6321         gnulib file.  Replace __attribute with __attribute__ throughout.
6323 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6325         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6327 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6329         [BZ #18104]
6330         * math/auto-libm-test-in: Add another test of pow.
6331         * math/auto-libm-test-out: Regenerated.
6333 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6335         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6336         $(config-cflags-nofma).
6338 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6340         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6341         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6342         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6343         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6344         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6345         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6346         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6347         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6348         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6349         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6350         Add comment on closing #endif.
6352 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6354         * posix/wordexp.c (CHAR_IN_SET): New macro.
6355         (parse_param): Use it.
6357 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6359         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6361 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6363         [BZ #18043]
6364         * posix/wordexp.c (parse_param): Fix buffer overflow.
6365         * posix/wordexp-test.c (test_case): Add test case.
6367 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6369         [BZ #18042]
6370         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6371         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6373 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6375         [BZ #18043]
6376         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6377         (do_bz18043): Delete.
6378         (at_page_end): New.
6379         (testit): Refactor to have words at the edge of unreadable page.
6381 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6383         [BZ #16734]
6384         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6385         Cleanup read-only streams as well.
6386         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6388 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6390         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6391         <bits/libc-lockP.h>
6393 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6395         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6396         on [__KERNEL__].
6397         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6398         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6399         * soft-fp/op-common.h (_FP_DECL): Likewise.
6401 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6403         * elf/ifuncdep2.c (global): Replace
6404         __attribute__((visibility("protected"))) with
6405         asm (".protected global").
6406         * elf/ifuncmod1.c (global): Likewise.
6407         * elf/ifuncmod5.c (global): Likewise.
6409 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6411         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6412         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6414 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6416         * manual/install.texi (Configuring and compiling):
6417         Document test-wrapper-env-only.
6418         * INSTALL: Regenerated.
6420 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6422         [BZ #18043]
6423         * posix/wordexp.c (parse_param): Fix buffer overflow.
6424         * posix/wordexp-test.c (do_bz18043): Add test case.
6426 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6428         * time/tst-strptime2.c (do_test): Ensure failing tests are
6429         reported correctly.
6430         * time/tst-strptime3.c (do_test): Likewise.
6432 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6434         Fix aio_error thread-safety.
6435         * sysdeps/pthread/aio_error.c: New file
6436         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6437         synchronization.
6439 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6441         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6442         (group_number, vfprintf): Use it.
6443         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6444         (JUMP, REF): Use it.
6445         (WORK_BUFFER_SIZE): New enum constant.
6446         (process_arg, vfprintf): Use it.
6448 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6450         * manual/errno.texi (Error Messages): Complete example function
6451         by adding missing #define.
6452         (program_invocation_name): Add statement indicating GNU
6453         extension and reference which header file declares the variable.
6454         (program_invocation_short_name): Likewise.
6456 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6458         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6459         compatibility note.
6461 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6463         * Makeconfig (test-wrapper-env-only): New variable.
6464         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6465         then use that with $(test-wrapper-env-only) rather than using
6466         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6468 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6470         [BZ #18082]
6471         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6472         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6473         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6474         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6475         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6476         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6477         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6478         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6479         Likewise.
6480         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6481         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6482         Likewise.
6483         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6484         Likewise.
6485         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6486         Likewise.
6487         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6488         Likewise.
6489         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6490         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6491         Likewise.
6492         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6493         Likewise.
6494         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6495         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6497 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6499         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6500         (ETH_ALEN): New macro.
6501         (struct ether_addr): Use it for length of ether_addr_octet.
6503         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6504         (setdb): Don't call __nss_configure_lookup for "rpc".
6505         (do_test): Don't call test_rpc.
6506         (output_rpcent, test_rpc): Functions moved ...
6507         * sunrpc/test-rpcent.c: ... to this new file.
6508         * sunrpc/Makefile (tests): Add it.
6510         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6511         __xpg_sigpause.
6512         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6513         * nptl/tst-signal6.c: Likewise.
6514         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6515         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6517         * configure.ac (libc_cv_cxx_link_ok): New check.
6518         Reset CXX to empty if it fails to link.
6519         * configure: Regenerated.
6520         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6521         bug-atexit3-lib only if $(CXX) is nonempty.
6522         * nptl/Makefile (tests): Likewise for tst-cancel24.
6523         (tests, tests-static): Likewise for tst-cancel24-static.
6524         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6525         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6526         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6527         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6529 2015-03-04  Andreas Schwab  <schwab@suse.de>
6531         [BZ #17631]
6532         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6533         for non-GCC compilers.
6534         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6535         Likewise.
6537 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6539         [BZ #17776]
6540         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6541         integer before bitwise and assembly operations.
6542         (feclearexcept): Likewise.
6543         * math/test-fenvinline.c: New file.
6544         * math/Makefile: Add test-fenvinline test.
6546 2015-03-03  Alan Modra  <amodra@gmail.com>
6548         [BZ #16512]
6549         * scripts/localplt.awk: Strip off symbol version.
6550         * NEWS: Mention bug fix.
6552 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6554         * sysdeps/pthread/timer_routines.c
6555         (timer_free_list, thread_free_list, thread_active_list): Make static.
6557 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6559         [BZ #17779]
6560         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6561         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6562         Undefine.
6563         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6564         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6565         Likewise.
6566         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6567         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6568         Likewise.
6570 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6572         [BZ #18036]
6573         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6574         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6576 2015-03-02  Andreas Schwab  <schwab@suse.de>
6578         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6579         variable name.
6581 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6583         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6584         Return error status.
6586 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6588         [BZ #15969]
6589         * locale/findlocale.c (_nl_find_locale): Introduce const
6590         version of loc_name and drop unsafe type casts.
6592 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6594         * dlfcn/tststatic2.c (main): Converted to ...
6595         (do_test): ... this.
6596         (TEST_FUNCTION): New macro.
6597         Include test-skeleton.c.
6599 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6601         [BZ #17711]
6602         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6603         (tests-pie): Add vismain.
6604         (CFLAGS-vismain.c): New.
6605         * elf/vismain.c: Add comments for PIE requirement.
6607 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6609         [BZ #18046]
6610         [BZ #18047]
6611         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6612         0x1p-56L as threshold for just returning the argument.
6613         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6614         0x1p-32L as threshold for just returning the argument.
6615         * math/auto-libm-test-in: Add more tests of atanh.
6616         * math/auto-libm-test-out: Regenerated.
6617         * sysdeps/i386/fpu/libm-test-ulps: Update.
6618         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6620 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6622         * string/bcopy.c (bcopy): Call memmove for performance.
6624 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6626         * string/bzero.c (__bzero): Call memset for performance.
6628 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6630         [BZ #18068]
6631         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6632         to 00100000.
6634 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6636         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6638 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6640         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6641         (__kernel_standard): Use CSTR macro when setting exc.name.
6642         * sysdeps/ieee754/Makefile [$(subdir) = math]
6643         (CFLAGS-k_standard.c): Remove variable.
6645         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6646         setting p and q from "else if" to "else".
6647         (qzero): Likewise.
6648         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6649         (qone): Likewise.
6650         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6651         (qzerof): Likewise.
6652         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6653         (qonef): Likewise.
6654         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6655         (qzero): Likewise.
6656         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6657         (qone): Likewise.
6659         [BZ #18038]
6660         [BZ #18039]
6661         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6662         return pi/2 for arguments below 0x1p-113L.
6663         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6664         return pi/2 for arguments below 0x1p-106L.
6665         * math/auto-libm-test-in: Add more tests of acos.
6666         * math/auto-libm-test-out: Regenerated.
6668         [BZ #16351]
6669         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6670         (MO): New macro.
6671         (__ieee754_asin): Force underflow exception for results with small
6672         absolute value.
6673         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6674         (MO): New macro.
6675         (__ieee754_asinf): Force underflow exception for results with
6676         small absolute value.
6677         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6678         (__ieee754_asin): Force underflow exception for results with small
6679         absolute value.
6680         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6681         (__ieee754_asinf): Force underflow exception for results with
6682         small absolute value.
6683         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6684         (__ieee754_asinl): Force underflow exception for results with
6685         small absolute value.
6686         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6687         (__ieee754_asinl): Force underflow exception for results with
6688         small absolute value.
6689         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6690         (__ieee754_asinl): Force underflow exception for results with
6691         small absolute value.
6692         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6693         Include <math.h>.
6694         * math/auto-libm-test-in: Do not mark underflow exceptions as
6695         possibly missing for bug 16351.
6696         * math/auto-libm-test-out: Regenerated.
6698         [BZ #18030]
6699         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6700         of power of 2 down when low part has opposite sign.
6701         * math/libm-test.inc (logb_test_data): Add more tests.
6703 2015-02-26  Andreas Schwab  <schwab@suse.de>
6705         [BZ #18032]
6706         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6707         over collating symbol inside a bracket expression.  Minor cleanup.
6708         * posix/tst-fnmatch3.c (do_test): Add test case.
6710 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6712         [BZ #18029]
6713         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6714         Adjust exponent of power of 2 down when low part has opposite
6715         sign.
6716         * math/libm-test.inc (ilogb_test_data): Add more tests.
6718 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6720         [BZ #15969]
6721         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6722         the previous change.
6724         [BZ #15969]
6725         * locale/findlocale.c (_nl_find_locale): Retry archive search
6726         after alias expansion.
6728 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6730         * iconv/tst-iconv3.c (main): Converted to ...
6731         (do_test): ... this.
6732         (TEST_FUNCTION): New macro.
6733         Include test-skeleton.c.
6735         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6736         (convert): Make function static.
6737         (test_unalign): Likewise.  Add const to argument pointee types.
6738         (main): Replace with static function do_test.
6739         Print "Succeeded." only if RET is zero.
6740         (TEST_FUNCTION): New macro.
6741         Include test-skeleton.c.
6743         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6744         returns a null pointer.
6746 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6748         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6749         to __memcpy_ppc only for static builds.
6751 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6753         [BZ #18020]
6754         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6755         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6756         * math/auto-libm-test-in: Add more tests of asinh.
6757         * math/auto-libm-test-out: Regenerated.
6758         * sysdeps/i386/fpu/libm-test-ulps: Update.
6759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6761 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6763         [BZ #15850]
6764         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6765         and ip6_mtuinfo definitions here.
6766         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6767         in this define too.  Update comment.
6769 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6771         * elf/sprof.c (load_shobj): Tweak error message to match others.
6773 2015-02-24  Kevin Easton  <kevin@guarana.org>
6775         [BZ #16145] (partial fix)
6776         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6777         to reduce lock contention.
6779 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6781         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6782         (struct timex): Update time comment.
6783         (ADJ_SETOFFSET): Define.
6785 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6787         [BZ #18019]
6788         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6789         2**56 not 2**28 as threshold for log (2x) formula.
6790         * math/auto-libm-test-in: Add more tests of acosh.
6791         * math/auto-libm-test-out: Regenerated.
6792         * sysdeps/i386/fpu/libm-test-ulps: Update.
6793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6795 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6797         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6798         parenthesis around the buf assignment.
6799         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6801 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6803         [BZ #16783]
6804         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6805         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6806         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6807         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6808         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6809         * math/libm-test.inc (scalb_test_data): Add more tests.
6811 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6813         [BZ #17916]
6814         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6815         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6817 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6819         [BZ #17523]
6820         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6821         * io/bits/fcntl2.h (open): Use it.
6822         (openat): Likewise.
6823         * io/open.c (__libc_open): Likewise.
6824         * io/open64.c (__libc_open64): Likewise.
6825         * io/open64_2.c (__open64_2): Likewise.
6826         * io/open_2.c (__open_2): Likewise.
6827         * io/openat.c (__openat): Likewise.
6828         * io/openat64.c (__openat64): Likewise.
6829         * io/openat64_2.c (__openat64_2): Likewise.
6830         * io/openat_2.c (__openat_2): Likewise.
6831         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6832         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6833         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6834         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6835         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6836         (__open_nocancel): Likewise.
6837         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6838         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6839         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6841 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6843         [BZ #14841]
6844         * resolv/gethnamaddr.c (getanswer): Skip logging if
6845         RES_USE_DNSSEC is set.
6846         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6848 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6850         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6852 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6854         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6855         201304L, for Unicode 7.
6857 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6859         [BZ #17836]
6860         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6861         shared library.  Add gmon-start.os otherwise.
6862         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6863         $(objpfx)gmon-start.os if builing shared library.
6864         ($(objpfx)g$(static-start-installed-name)): Likewise.
6866 2015-02-23  Andreas Schwab  <schwab@suse.de>
6868         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6870 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6872         [BZ #17269]
6873         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6874         (enlarge_userbuf): Likewise.
6876 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6878         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6879         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6880         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6881         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6883 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6885         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6886         expression inside statement expression.
6888 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6890         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6891         <sysdeps/nptl/lowlevellock.h> and remove macros and
6892         functions that are now defined there.
6893         (SYS_futex): Remove.
6894         (lll_compare_and_swap): Remove.
6895         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6897 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6899         [BZ #17999]
6900         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6901         instead of scandirat.
6902         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6903         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6904         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6905         __scandirat.
6906         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6907         (__scandirat): Declare.  Use libc_hidden_proto.
6908         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6909         Remove variable.
6910         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6912 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6914         [BZ #15319]
6915         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6916         (MO): New macro.
6917         (__ieee754_atan2): For results with small absolute value, force
6918         underflow exception and remove excess range and precision from
6919         return value.
6920         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6921         (MO): New macro.
6922         (__ieee754_atan2f): For results with small absolute value, force
6923         underflow exception and remove excess range and precision from
6924         return value.
6925         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6926         (MO): New macro.
6927         (__atan): For results with small absolute value, force underflow
6928         exception and remove excess range and precision from return value.
6929         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6930         (MO): New macro.
6931         (__atanf): For results with small absolute value, force underflow
6932         exception and remove excess range and precision from return value.
6933         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6934         <math.h>.
6935         (__ieee754_atan2): Force underflow exception for results with
6936         small absolute value.
6937         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6938         <math_private.h>.
6939         (atan): Force underflow exception for results with small absolute
6940         value.
6941         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6942         (__atanf): Force underflow exception for results with small
6943         absolute value.
6944         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6945         <math.h>.
6946         (__atanl): Force underflow exception for results with small
6947         absolute value.
6948         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6949         (__atanl): Force underflow exception for results with small
6950         absolute value.
6951         * sysdeps/x86/fpu/bits/mathinline.h
6952         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6953         (__ieee754_atan2): Only define inline for long double.
6954         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6955         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6956         * math/auto-libm-test-in: Do not mark underflow exceptions as
6957         possibly missing for bug 15319.  Add more tests of atan2.
6958         * math/auto-libm-test-out: Regenerated.
6959         * math/libm-test.inc (casin_test_data): Do not mark underflow
6960         exceptions as possibly missing for bug 15319.
6961         (casinh_test_data): Likewise.
6962         * sysdeps/i386/fpu/libm-test-ulps: Update.
6964 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6966         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6967         * sysdeps/mips/bits/endian.h: Fix comments.
6969 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6971         [BZ #17996]
6972         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6973         (hdestroy_r): Likewise.
6974         (hsearch_r): Likewise.
6975         (__hcreate_r): Declare and use libc_hidden_proto.
6976         (__hdestroy_r): Likewise.
6977         (__hsearch_r): Likewise.
6978         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6979         (hcreate): Call __hcreate_r instead of hcreate_r.
6980         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6981         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6982         as weak alias of __hcreate_r.
6983         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6984         __hdestroy_r.
6985         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6986         __hsearch_r.
6987         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6988         Remove variable.
6989         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6990         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6991         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6992         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6994 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6996         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6997         arena_lock into a single arena_get.
6999 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7001         * dl-reloc.c: Inlucde libc-internal.h.
7002         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7003         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7004         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7005         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7006         (grow_heap): Likewise.
7007         * malloc/malloc.c: Include libc-internal.h.
7008         (do_check_malloc): Call powerof2.
7009         (sysmalloc): Use pagesize. Call ALIGN_UP.
7010         (systrim): Use pagesize.
7011         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7012         (__libc_valloc): Use pagesize.
7013         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7015 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7017         [BZ #17991]
7018         * include/sys/resource.h (__getrlimit64): Declare.  Use
7019         libc_hidden_proto.
7020         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7021         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7022         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7023         getrlimit64.
7024         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7025         __getrlimit64.
7026         [!getrlimit64] (getrlimit64): Define as weak alias of
7027         __getrlimit64.  Use libc_hidden_weak.
7028         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7029         using __getrlimit64 not __new_getrlimit64.
7030         (__GI_getrlimit64): Likewise.
7031         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7032         Likewise.
7033         (__GI_getrlimit64): Likewise.
7034         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7036         (getrlimit): Add __getrlimit64 alias.
7037         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7038         Likewise.
7039         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7040         Remove variable.
7041         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7042         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7044 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7046         * libio/fileops.c: Add missing sys/mman.h
7047         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7049 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7051         * manual/math.texi (Errors in Math Functions): Clarify goals
7052         regarding inexact and underflow exceptions.
7054 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7056         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7057         * sysdeps/mips/memset.S: Ditto.
7059 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7061         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7063 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7065         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7066         (__v1longjmp): Remove versioned symbol.
7067         (__v1siglongjmp): Remove alias and versioned symbol.
7068         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7069         (__v2siglongjmp): Likewise.
7071 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7073         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7075 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7077         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7079 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7081         [BZ #17987]
7082         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7083         zero result does not depend on the sign resulting from
7084         subtraction.
7085         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7086         Likewise.
7087         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7088         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7089         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7090         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7091         * math/libm-test.inc (remquo_test_data): Add more tests.
7093 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7095         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7096         Problem reported by J William Piggott.
7098 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7100         [BZ #17978]
7101         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7102         products 4 * y and 2 * y where those would overflow.
7103         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7104         Likewise.
7105         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7106         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7107         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7108         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7109         * math/libm-test.inc (remquo_test_data): Add more tests.
7111         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7113         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7114         [defined _COMPILING_NEWLIB].
7115         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7116         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7118         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7119         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7121 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7123         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7124         acquired.
7126 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7128         [BZ #17792]
7129         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7130         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7131         HOST_STACK_END_ADDR): Likewise.
7133 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7135         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7136         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7137         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7139 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7141         * sysdeps/generic/c++-types.data: New file.
7142         * sysdeps/generic/ld.abilist: New file.
7143         * sysdeps/generic/libBrokenLocale.abilist: New file.
7144         * sysdeps/generic/libanl.abilist: New file.
7145         * sysdeps/generic/libc.abilist: New file.
7146         * sysdeps/generic/libcrypt.abilist: New file.
7147         * sysdeps/generic/libdl.abilist: New file.
7148         * sysdeps/generic/libm.abilist: New file.
7149         * sysdeps/generic/libpthread.abilist: New file.
7150         * sysdeps/generic/libresolv.abilist: New file.
7151         * sysdeps/generic/librt.abilist: New file.
7153 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7155         [BZ #17569]
7156         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7157         Compute absolute value of x as modified by fmod, not original
7158         value of x.
7159         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7160         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7161         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7162         RUN_TEST_ffI_f1_mod8.
7163         (remquo_test_data): Add more tests.
7165 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7167         * sysdeps/init_array/pt-crti.S: New file.
7169 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7171         [BZ #17967]
7172         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7173         __builtin_fmaf instead of relying on contraction of a * b + c.
7175 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7177         [BZ #17969]
7178         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7179         node.
7181 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7183         [BZ #17964]
7184         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7185         __builtin_fma instead of relying on contraction of a * b + c.
7187 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7189         * Makeconfig (ASFLAGS): Add -Werror=undef.
7190         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7191         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7192         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7194         * Makeconfig (after-link): New variable.
7195         (+link-pie, +link-pie-tests): Use it.
7196         (+link-static, +link-static-tests): Likewise.
7197         (+link, +link-tests): Likewise.
7198         * Makerules (build-module, build-module-asneeded): Likewise.
7199         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7200         Likewise.
7201         * elf/Makefile ($(objpfx)ld.so): Likewise.
7203 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7205         [BZ #17965]
7206         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7207         both struct timeval and struct timespec.
7209 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7211         [BZ #16560]
7212         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7213         and redefine.
7214         (__ieee754_exp2l): Do not multiply small fractional parts by
7215         M_LN2l.
7216         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7217         small argument.
7218         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7219         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7220         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7221         * math/auto-libm-test-in: Add more tests of exp2.
7222         * math/auto-libm-test-out: Regenerated.
7224 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7226         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7227         unaligned path.
7229 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7231         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7232         little endian.
7234 2015-02-12  Andreas Schwab  <schwab@suse.de>
7236         [BZ #15790]
7237         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7238         Filter out elision flags from value returned in kind.
7239         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7240         * nptl/tst-pthread-mutexattr.c: New file.
7242 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7244         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7245         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7246         into gnu-gnu, and update comment to refer to abi-tags.
7248 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7250         [BZ #15467]
7251         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7252         (__sincos): Set errno to EDOM for infinite argument.
7253         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7254         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7255         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7256         (__sincosl): Set errno to EDOM for infinite argument.
7257         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7258         (__sincosl): Set errno to EDOM for infinite argument.
7259         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7260         (__sincosl): Set errno to EDOM for infinite argument.
7261         * math/libm-test.inc (sincos_test_data): Test errno setting.
7263 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7265         * string/strxfrm_l.c: Remove #define STRCMP.
7266         * string/strcoll_l.c: Remove #define STRLEN.
7267         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7268         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7270 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7272         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7273         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7274         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7275         * sysdeps/mips/mips64/Makefile: ... here.
7276         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7277         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7278         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7279         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7280         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7281         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7282         * sysdeps/mips/mips64/n64/Implies: Likewise.
7284 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7286         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7287         <sys/time.h>, <string.h>, and <errno.h>.
7288         (dest_offset, dest_address, value, zero): Remove unused variables.
7289         (ldouble): Remove typedef.
7290         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7291         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7292         1).  Fix code style.
7293         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7294         (check): Function removed.
7295         (CHECK): New macro.
7296         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7297         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7298         Don't call set_sigaction_FP and remove_sigaction_FP here.
7299         (ldouble_test): Just use 'long double' as macro argument, no need for
7300         the 'ldouble' typedef.
7301         (do_test): Set up SIGFPE handler at start, using plain signal rather
7302         than sigaction.  Fix code style.
7304 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7306         [BZ #17949]
7307         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7308         jump label.
7310 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7312         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7313         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7315         * sysdeps/powerpc/configure.ac: Remove file.
7316         * sysdeps/powerpc/configure: Likewise.
7318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7319         [sysdep_routines]: Remove wordcopy-power6 object.
7320         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7321         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7322         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7323         (__memmove_ppc32): Likewise.
7324         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7325         file.
7326         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7327         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7328         Remove preprocessor.
7330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7331         [sysdep_routines]: Remove wide chars objects.
7332         [wcsmbs]: New rule for wide char objects.
7334         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7335         Remove wordcopy-power6 obejct.
7336         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7337         Use local call for wordcopy and memcpy symbols.
7338         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7339         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7340         implementation for loader.
7341         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7343         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7344         Remove wordcopy-power7 object.
7345         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7346         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7347         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7348         (_wordcopy_fwd_dest_aligned): Likewise.
7349         (_wordcopy_bwd_aligned): Likewise.
7350         (_wordcopy_bwd_dest_aligned): Likewise.
7352         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7353         Rewrite to call __memmove_ppc instead of include default
7354         implementation.
7356         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7357         Remove wide chars objects.
7358         [wcsmbs]: New rule for wide char objects.
7360 2015-02-09  Andreas Schwab  <schwab@suse.de>
7362         [BZ #17912]
7363         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7364         in terms of __O_DIRECTORY.
7366 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7368         * time/getdate.c: Include <stdbool.h>.
7369         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7370         call PTR_MANGLE.
7371         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7372         PTR_DEMANGLE.
7374 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7376         Add ersatz _Static_assert on older C hosts
7377         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7378         pre-C11 C platform that is not known to support _Static_assert.
7380 2015-02-07  Richard Braun  <rbraun@sceen.net>
7382         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7383         sigstate.
7384         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7386 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7388         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7389         priority against unexistent AIO_PRIO_DELTA_MAX.
7390         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7391         instead of int.
7392         * misc/fchflags.c (fchflags): Likewise.
7393         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7394         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7395         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7396         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7397         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7398         Declare macros.
7399         [__USE_MISC] (chflags, fchflags): Declare functions.
7400         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7401         EINVAL when nfds is greater than FD_SETSIZE.
7402         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7403         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7404         45.
7405         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7406         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7407         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7408         MACH_RCV_TIMED_OUT.
7409         * hurd/hurd/signal.h (_hurd_self_sigstate,
7410         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7411         Explicit casts from void *.
7412         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7413         * abi-tags: Rename gnu-gnu os into gnu.
7415         [BZ #4719]
7416         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7417         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7418         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7419         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7420         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7421         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7423         [BZ #17944]
7424         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7425         duplicates ADDR->sun_path with sockaddr LEN limitation.
7426         * sysdeps/mach/hurd/connect.c: Include <string.h>
7427         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7428         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7429         * sysdeps/mach/hurd/sendto.c: Likewise.
7430         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7431         implementing it by hand.
7433 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7435         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7436         Use sfi_breg on ldr.
7437         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7438         Likewise.
7440         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7441         it's defined.
7442         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7443         Test SIGSETXID only if it's defined.
7445         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7447         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7448         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7450         * nptl/tst-align2.c: Moved ...
7451         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7452         * nptl/Makefile (tests): Remove tst-align2.
7453         * sysdeps/unix/sysv/linux/Makefile
7454         [$(subdir) = nptl] (tests): Add tst-align-clone.
7455         * nptl/tst-getpid1.c: Moved ...
7456         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7457         * nptl/tst-getpid2.c: Moved ...
7458         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7459         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7460         * sysdeps/unix/sysv/linux/Makefile
7461         [$(subdir) = nptl] (tests): ... here.
7462         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7463         * sysdeps/unix/sysv/linux/Makefile
7464         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7466         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7467         Drop trailing \n from perror argument.  Use return rather than exit.
7469         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7470         on [SA_SIGINFO].
7471         * nptl/tst-cancel21.c (do_test): Likewise.
7472         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7473         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7474         [!SA_SIGINFO]: Make it a stub test.
7476         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7477         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7479         * posix/tst-getlogin.c: Move to ...
7480         * login/tst-getlogin.c: ... here.
7481         * posix/Makefile (tests): Move tst-getlogin to ...
7482         * login/Makefile (tests): ... here.
7484         * libio/tst-atime.c (do_test): Move local variables SV and E
7485         inside [ST_NOATIME] conditional.
7487         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7489         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7491         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7492         (wait_code): New function replaces macro.
7493         Call nanosleep rather than syscall.
7495         * nptl/pt-system.c: Rewritten.  Put everything under
7496         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7497         Use IFUNC to redirect when possible.
7499         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7500         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7501         Use IFUNC to redirect when possible.
7503         * nptl/pt-fork.c: Rewritten.  Put everything under
7504         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7505         Use IFUNC to redirect when possible.
7506         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7508         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7509         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7510         unconditionally nowadays.  This included the only reference to
7511         __vdso_clock_gettime that appears outside libc proper.
7512         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7513         Remove version set (containing only __vdso_clock_gettime).
7514         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7515         Add attribute_hidden.
7516         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7517         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7518         libc_hidden_data_def.
7519         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7520         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7522         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7523         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7524         setrpcent, and getrpcport to ...
7525         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7526         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7527         getrpcbynumber_r, and getrpcent_r to ...
7528         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7529         * inet/getrpcbyname.c: Moved ...
7530         * sunrpc/getrpcbyname.c: ... here.
7531         * inet/getrpcbyname_r.c: Moved ...
7532         * sunrpc/getrpcbyname_r.c: ... here.
7533         * inet/getrpcbynumber.c: Moved ...
7534         * sunrpc/getrpcbynumber.c: ... here.
7535         * inet/getrpcbynumber_r.c: Moved ...
7536         * sunrpc/getrpcbynumber_r.c: ... here.
7537         * inet/getrpcent.c: Moved ...
7538         * sunrpc/getrpcent.c: ... here.
7539         * inet/getrpcent_r.c: Moved ...
7540         * sunrpc/getrpcent_r.c: ... here.
7541         * inet/Makefile (routines): Move those to ...
7542         * sunrpc/Makefile (routines): ... here.
7543         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7544         the $(subdirs) list.
7545         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7546         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7547         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7548         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7550         * elf/Makefile (routines): Include $(all-dl-routines), not just
7551         $(dl-routines).
7552         (rtld-routines): Likewise.  Use = rather than :=.
7553         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7554         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7555         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7556         * sysdeps/arm/Makefile: Likewise.
7557         * sysdeps/i386/Makefile: Likewise.
7558         * sysdeps/x86_64/Makefile: Likewise.
7559         * sysdeps/hppa/Makefile [$(subdir) = elf]
7560         (sysdep_routines, sysdep-rtld-routines): Don't add
7561         $(sysdep-dl-routines) to these.
7562         * sysdeps/ia64/Makefile: Likewise.
7563         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7564         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7565         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7566         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7567         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7568         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7569         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7570         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7571         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7572         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7573         these; sysdep-dl-routines alone is enough.
7575 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7577         [BZ #17932]
7578         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7579         where multiplication results in zero and third argument is finite
7580         and nonzero.
7581         * math/auto-libm-test-in: Add more tests of fma.
7582         * math/auto-libm-test-out: Regenerated.
7584         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7585         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7586         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7587         (_FP_CMP_EQ): Likewise.
7588         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7590         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7591         extra argument CHECK_NAN.  Redefine as wrapper around
7592         _FP_EXTEND_CNAN.
7594 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7596         * version.h (RELEASE): Set to "stable".
7597         (VERSION): Set to "2.21"
7598         * include/features.h (__GLIBC_MINOR__): Set to 21.
7600         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7602 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7603             Paul Eggert  <eggert@cs.ucla.edu>
7605         [BZ #16618]
7606         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7607         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7608         size in bytes. Store needed elements in wpmax. Use needed size
7609         in bytes for extend_alloca.
7611 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7613         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7614         binutls 2.25, and texinfo 5.2.
7615         * INSTALL: Regenerate.
7616         * sysdeps/nios2/configure: Regenerate.
7617         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7618         * manual/contrib.texi: Update.
7619         * po/be.po: Update.
7620         * po/bg.po: Update.
7621         * po/ca.po: Update.
7622         * po/cs.po: Update.
7623         * po/da.po: Update.
7624         * po/de.po: Update.
7625         * po/el.po: Update.
7626         * po/eo.po: Update.
7627         * po/es.po: Update.
7628         * po/fi.po: Update.
7629         * po/fr.po: Update.
7630         * po/gl.po: Update.
7631         * po/hr.po: Update.
7632         * po/hu.po: Update.
7633         * po/ia.po: Update.
7634         * po/id.po: Update.
7635         * po/it.po: Update.
7636         * po/ja.po: Update.
7637         * po/ko.po: Update.
7638         * po/lt.po: Update.
7639         * po/nb.po: Update.
7640         * po/nl.po: Update.
7641         * po/pl.po: Update.
7642         * po/pt_BR.po: Update.
7643         * po/ru.po: Update.
7644         * po/rw.po: Update.
7645         * po/sk.po: Update.
7646         * po/sl.po: Update.
7647         * po/sv.po: Update.
7648         * po/tr.po: Update.
7649         * po/uk.po: Update.
7650         * po/vi.po: Update.
7651         * po/zh_CN.po: Update.
7652         * po/zh_TW.po: Update.
7654         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7655         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7656         * sysdeps/hppa/dl-irel.h: Remove #warning.
7657         * sysdeps/hppa/entry.h: Provide prototype for
7658         __canonicalize_funcptr_for_compare and cast argument.
7659         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7660         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7661         * sysdeps/hppa/sotruss-lib.c: New file.
7662         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7663         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7664         (atomic_compare_and_exchange_bool_acq): Likewise.
7665         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7666         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7668         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7669         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7670         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7672 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7674         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7675         called function in non-PIC case.
7677 2015-01-31  David S. Miller  <davem@davemloft.net>
7679         * sysdeps/sparc/sparc32/bits/atomic.h
7680         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7681         unlock not after it.
7682         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7683         volatile register usage warnings from the compiler.
7685         * sysdeps/sparc/nptl/sem_init.c: Delete.
7686         * sysdeps/sparc/nptl/sem_post.c: Delete.
7687         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7688         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7689         * sysdeps/sparc/sparc32/sem_init.c: New file.
7690         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7691         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7692         padding explicitly initialized.
7693         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7694         padding for in-semaphore spinlock.
7695         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7696         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7697         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7698         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7699         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7700         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7701         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7702         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7703         version.
7704         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7705         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7707 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7709         [BZ #17801]
7710         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7711         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7712         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7713         New.
7714         (index_AVX_Fast_Unaligned_Load): Likewise.
7715         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7716         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7717         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7718         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7719         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7720         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7721         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7722         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7723         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7725 2015-01-29  Andreas Schwab  <schwab@suse.de>
7727         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7729 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7731         [BZ #17892]
7732         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7734 2015-01-28  Martin Sebor  <msebor@redhat.com>
7736         * math/README.libm-test: Clarify. Add "How to read the test output."
7738 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7740         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7741         Define to 0.
7743 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7745         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7746         (__HAVE_64B_ATOMICS): Define to 0.
7748 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7750         [BZ #17885]
7751         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7752         value to set as new flag.
7754         [BZ #16576]
7755         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7756         and use _ARCH_PPCSQ instead.
7757         (__ieee754_sqrt): Likewise.
7758         (__ieee754_sqrtf): Likewise.
7759         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7760         _ARCH_PPCSQ is defined.
7761         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7762         fsqrt instruction.
7763         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7764         _ARCH_PPCSQ is defined.
7765         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7766         fsqrts instruction.
7767         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7769 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7771         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7772         bug (GCC BZ #64739).
7774 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7776         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7777         Mark _retval as used.
7778         (lll_futex_wake_unlock): Likewise.
7779         (lll_futex_timed_wait_requeue_pi): Likewise.
7781         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7782         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7783         register variables.
7785         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7786         libm_hidden_def.
7788         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7789         (__bswap_64): Mark as __always_inline.
7791 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7793         [BZ #15378]
7794         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7795         when none of the search directories exist.
7797 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7799         [BZ #17869]
7800         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7801         power8 in .machine directive.
7803         [BZ #17868]
7804         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7805         set dependency from opd value.
7807 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7810         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7811         architecture.
7813 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7815         [BZ #17870]
7816         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7817         with uint64_t.
7818         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7819         (uint64_t) 1.
7820         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7821         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7822         Replace 1UL with (uint64_t) 1.
7823         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7824         int with uint64_t.
7826 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7828         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7829         (if_freenameindex): Likewise.
7831         * resource/getrlimit64.c: Add missing libc_hidden_def.
7833 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7835         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7836         __label__.
7837         (_FP_FMA): Likewise.
7838         (_FP_TO_INT_ROUND): Likewise.
7839         (_FP_FROM_INT): Likewise.
7841 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7843         [BZ #16418]
7844         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7845         Make code racy and cancel safe.
7847 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7849         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7850         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7851         attribution.
7853         * pwd/tst-getpw.c: Rewrite.
7855         [BZ #17702]
7856         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7857         (modules-names): Add moddummy1 and moddummy2.
7858         ($(objpfx)tst-rec-dlopen): Define.
7859         * dlfcn/moddummy1.c: New file.
7860         * dlfcn/moddummy2.c: New file.
7861         * dlfcn/tst-rec-dlopen.c: New file.
7862         * elf/dl-cache.c (_dl_load_cache_lookup):
7863         Return char*. Copy result with alloca/strcpy/strdup.
7864         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7865         returns char*. Free cached. If not saving realname
7866         free cached.
7867         * elf/dl-open.c (dl_open_worker): Do not assert that
7868         _r_debug->r_state is RT_CONSISTENT.
7869         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7870         returns char*.
7872 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7873             Carlos O'Donell  <carlos@redhat.com>
7875         [BZ #12674]
7876         * nptl/sem_waitcommon.c: New file.
7877         * nptl/sem_wait.c: Include sem_waitcommon.c.
7878         (__sem_wait_cleanup, do_futex_wait): Remove.
7879         (__new_sem_wait): Adapt.
7880         (__new_sem_trywait): New function.
7881         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7882         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7883         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7884         (sem_timedwait): Adapt.
7885         * nptl/sem_post.c (__new_sem_post): Adapt.
7886         (futex_wake): New function.
7887         (__old_sem_post): Add release MO fence.
7888         * nptl/sem_open.c (sem_open): Adapt.
7889         * nptl/sem_init.c (__new_sem_init): Adapt.
7890         (futex_private_if_supported): New function.
7891         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7892         (__old_sem_getvalue): Add using previous code.
7893         * sysdeps/nptl/internaltypes.h: Adapt.
7894         * nptl/tst-sem13.c (do_test): Adapt.
7895         * nptl/tst-sem11.c (main): Adapt.
7896         * nptl/sem_trywait.c: Remove.
7897         * nptl/DESIGN-sem.txt: Remove.
7898         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7899         (gen-as-const-headers): Remove structsem.sym.
7900         * nptl/structsem.sym: Remove.
7901         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7902         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7903         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7904         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7905         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7906         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7907         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7908         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7909         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7910         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7911         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7912         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7913         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7914         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7915         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7916         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7917         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7918         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7919         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7920         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7921         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7922         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7924 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7926         * INSTALL: Regenerated.
7928         * po/libc.pot: Regenerated.
7930 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7931             Sandra Loosemore  <sandra@codesourcery.com>
7932             Andrew Jenner  <andrew@codesourcery.com>
7933             Joseph Myers  <joseph@codesourcery.com>
7934             Nathan Sidwell  <nathan@codesourcery.com>
7936         * NEWS: Mention new Nios II port.
7937         * sysdeps/nios2/Implies: New file.
7938         * sysdeps/nios2/Makefile: New file.
7939         * sysdeps/nios2/Subdirs: New file.
7940         * sysdeps/nios2/Versions: New file.
7941         * sysdeps/nios2/__longjmp.S: New file.
7942         * sysdeps/nios2/abort-instr.h: New file.
7943         * sysdeps/nios2/backtrace.c: New file.
7944         * sysdeps/nios2/bits/endian.h: New file.
7945         * sysdeps/nios2/bits/fenv.h: New file.
7946         * sysdeps/nios2/bits/link.h: New file.
7947         * sysdeps/nios2/bits/setjmp.h: New file.
7948         * sysdeps/nios2/bsd-_setjmp.S: New file.
7949         * sysdeps/nios2/bsd-setjmp.S: New file.
7950         * sysdeps/nios2/configure: New generated file.
7951         * sysdeps/nios2/configure.ac: New file.
7952         * sysdeps/nios2/crti.S: New file.
7953         * sysdeps/nios2/crtn.S: New file.
7954         * sysdeps/nios2/dl-init.c: New file.
7955         * sysdeps/nios2/dl-machine.h: New file.
7956         * sysdeps/nios2/dl-sysdep.h: New file.
7957         * sysdeps/nios2/dl-tls.h: New file.
7958         * sysdeps/nios2/dl-trampoline.S: New file.
7959         * sysdeps/nios2/gccframe.h: New file.
7960         * sysdeps/nios2/gmp-mparam.h: New file.
7961         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7962         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7963         * sysdeps/nios2/ldsodefs.h: New file.
7964         * sysdeps/nios2/libc-tls.c: New file.
7965         * sysdeps/nios2/libm-test-ulps: New file.
7966         * sysdeps/nios2/machine-gmon.h: New file.
7967         * sysdeps/nios2/math-tests.h: New file.
7968         * sysdeps/nios2/math_private.h: New file.
7969         * sysdeps/nios2/memusage.h: New file.
7970         * sysdeps/nios2/nptl/Makefile: New file.
7971         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7972         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7973         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7974         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7975         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7976         * sysdeps/nios2/nptl/tls.h: New file.
7977         * sysdeps/nios2/preconfigure: New file.
7978         * sysdeps/nios2/s_fma.c: New file.
7979         * sysdeps/nios2/s_fmaf.c: New file.
7980         * sysdeps/nios2/setjmp.S: New file.
7981         * sysdeps/nios2/sfp-machine.h: New file.
7982         * sysdeps/nios2/sotruss-lib.c: New file.
7983         * sysdeps/nios2/stackguard-macros.h: New file.
7984         * sysdeps/nios2/stackinfo.h: New file.
7985         * sysdeps/nios2/start.S: New file.
7986         * sysdeps/nios2/sysdep.h: New file.
7987         * sysdeps/nios2/tls-macros.h: New file.
7988         * sysdeps/nios2/tst-audit.h: New file.
7989         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7990         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7991         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7992         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7993         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7994         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7995         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7996         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7997         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7998         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7999         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8000         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8001         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8002         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8003         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8004         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8005         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8006         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8007         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8008         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8009         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8010         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8011         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8012         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8013         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8014         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8015         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8016         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8017         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8018         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8019         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8020         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8021         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8022         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8023         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8024         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8025         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8026         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8027         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8028         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8029         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8030         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8031         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8032         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8034 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8036         [BZ #17844]
8037         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8038         (getutent): Use weak_alias in non SHARED case
8039         and default_symbol_version in SHARED case.
8040         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8041         (getutent_r, pututline): Likewise.
8042         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8043         (getutid): Likewise.
8044         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8045         (getutid_r): Likewise.
8046         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8047         (getutline): Likewise.
8048         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8049         (getutline_r): Likewise.
8050         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8051         (updwtmp): Likewise.
8053 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8055         [BZ #17848]
8056         * sysdeps/s390/s390-32/memcmp.S
8057         (memcmp_g5): Rename to __memcmp_g5.
8058         * sysdeps/s390/s390-32/memcpy.S
8059         (memcpy_g5): Rename to __memcpy_g5.
8060         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8061         (memcpy_mvcle) Rename to __memcpy_mvcle.
8062         * sysdeps/s390/s390-32/memset.S
8063         (memset_g5): Rename to __memset_g5.
8064         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8065         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8066         and use prefixed functions.
8067         * sysdeps/s390/s390-32/multiarch/memcmp.S
8068         (memcmp_z196): Rename to __memcmp_z196.
8069         (memcmp_z10): Rename to __memcmp_z10.
8070         (memcmp): Set alias to __memcmp_g5.
8071         (bcmp): Set alias to __memcmp_g5.
8072         * sysdeps/s390/s390-32/multiarch/memcpy.S
8073         (memcpy_z196): Rename to __memcpy_z196.
8074         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8075         (memcpy_z10): Rename to __memcpy_z10.
8076         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8077         (memcpy): Set alias to __memcpy_g5.
8078         * sysdeps/s390/s390-32/multiarch/memset.S
8079         (memset_z196): Rename to __memset_z196.
8080         Jump to __memset_mvcle instead of memset_mvcle.
8081         (memset_z10): Rename to __memset_z10.
8082         Jump to __memset_mvcle instead of memset_mvcle.
8083         (memset_mvcle) Rename to __memset_mvcle.
8084         (memset): Set alias to __memset_g5.
8085         * sysdeps/s390/s390-64/memcmp.S
8086         (memcmp_z900): Rename to __memcmp_z900.
8087         * sysdeps/s390/s390-64/memcpy.S
8088         (memcpy_z900): Rename to __memcpy_z900.
8089         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8090         (memcpy_mvcle) Rename to __memcpy_mvcle.
8091         * sysdeps/s390/s390-64/memset.S
8092         (memset_z900): Rename to __memset_z900.
8093         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8094         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8095         and use prefixed functions.
8096         * sysdeps/s390/s390-64/multiarch/memcmp.S
8097         (memcmp_z196): Rename to __memcmp_z196.
8098         (memcmp_z10): Rename to __memcmp_z10.
8099         (memcmp): Set alias to __memcmp_z900.
8100         (bcmp): Set alias to __memcmp_z900.
8101         * sysdeps/s390/s390-64/multiarch/memcpy.S
8102         (memcpy_z196): Rename to __memcpy_z196.
8103         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8104         (memcpy_z10): Rename to __memcpy_z10.
8105         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8106         (memcpy): Set alias to __memcpy_z900.
8107         * sysdeps/s390/s390-64/multiarch/memset.S
8108         (memset_z196): Rename to __memset_z196.
8109         Jump to __memset_mvcle instead of memset_mvcle.
8110         (memset_z10): Rename to __memset_z10.
8111         Jump to __memset_mvcle instead of memset_mvcle.
8112         (memset_mvcle) Rename to __memset_mvcle.
8113         (memset): Set alias to __memset_z900.
8115 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8117         [BZ #17748]
8118         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8119         __fesetenv instead of fesetenv.
8121 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8123         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8124         macro.
8126 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8128         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8129         regression on LE.
8131         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8132         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8133         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8134         strncmp-power8 object.
8135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8136         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8137         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8138         * NEWS: Update.
8140 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8141             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8143         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8144         trailing byte check.
8146 2015-01-13  David S. Miller  <davem@davemloft.net>
8148         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8150 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8152         * login/logout.c (logout): Use memset rather than bzero.
8153         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8154         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8155         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8156         (_gethtbyaddr): Likewise.
8157         * locale/programs/simple-hash.c (bcopy): Macro removed.
8159 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8161         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8162         Add strcmp-power8 object.
8163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8164         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8165         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8166         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8167         __strcmp_power8 implementation.
8168         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8169         * NEWS: Update.
8171         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8172         Add strncpy-power8 and stpncpy-power8 objects.
8173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8174         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8175         implementations.
8176         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8177         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8178         __stpncpy_power8 implementation.
8179         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8180         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8181         __strncpy_power8 implementation.
8182         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8183         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8184         * NEWS: Update.
8186         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8187         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8188         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8190         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8191         strncat-power8 object.
8192         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8193         __strcat_power8 implementation.
8194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8195         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8196         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8197         optimized strcat for power8.
8199         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8200         strcpy-power8 and stpcpy-power8 objects.
8201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8202         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8203         implementations.
8204         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8205         multiarch stpcpy implementation for POWER8.
8206         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8207         multiarch strcpy implementation for POWER8.
8208         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8209         __strcpy_power8 function.
8210         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8211         stpcpy for POWER8.
8212         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8213         strcpy for POWER8.
8214         * NEWS: Update.
8216 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8218         [BZ #16009]
8219         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8220         weights and rules. Use do_xfrm_cached if data fits in cache,
8221         do_xfrm otherwise.  Moved former main loop to...
8222         * (do_xfrm_cached): New function.
8223         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8224         find_idx, find_position and stack_push.
8225         * (find_idx): New function.
8226         * (find_position): Likewise.
8227         * localedata/sort-test.sh: Added test run for do_xfrm.
8228         * localedata/xfrm-test.c (main): Added command line option
8229         -nocache to run the test with strings that are too large for
8230         the STRXFRM cache.
8232 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8234         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8235         variable to lll_futex_wake call, not the value itself.
8237 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8239         [BZ #17803]
8240         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8241         twom64.  Adjust value to 0x1p-64L.
8242         (__scalblnl): Only return standard underflowing result for K <=
8243         -64 not K <= -63; adjust exponent for underflowing result by 64
8244         not 63.
8245         * math/libm-test.inc (scalbn_test_data): Add more tests.
8246         (scalbln_test_data): Likewise.
8248         [BZ #17834]
8249         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8250         0x1p63L.
8251         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8252         not HX.
8253         * math/libm-test.inc (scalbn_test_data): Add more tests.
8254         (scalbln_test_data): Likewise.
8256 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8257             Stefani Seibold  <stefani@seibold.net>
8259         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8260         (sysdep_routines): Add dl-vdso here, ...
8261         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8262         (sysdep_routines): ... not here.
8263         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8264         fallback when vDSO is not presented.
8265         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8266         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8267         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8268         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8269         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8270         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8271         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8272         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8273         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8274         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8275         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8276         fallback configurable symbol when vDSO is not available.
8277         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8278         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8279         be able to redefine fallback symbol when vDSO is not available.
8280         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8281         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8283 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8285         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8286         (TLS_INIT_TP): Add tm_capable initialization.
8287         (TLS_DEFINE_INIT_TP): Likewise.
8288         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8289         TCB.
8290         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8291         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8292         calculation.
8293         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8294         transactoion is lock elision is built and TCB tm_capable is set.
8295         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8297         (INTERNAL_SYSCALL_NCS): Likewise.
8298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8299         (INTERNAL_SYSCALL_NCS): Likewise.
8300         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8302         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8303         for powerpc.
8304         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8305         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8306         and remove it for 32 bits case.
8307         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8308         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8309         initialization.
8310         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8311         Disable lock elision with rdlocks if elision is not available.
8313         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8314         (sysdep_routines): Add lock elision objects.
8315         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8316         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8317         [pthread_mutex_t] (__elision): Add field.
8318         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8319         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8320         elision definitions for powerpc.
8321         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8322         implementation of lock elision for powerpc.
8323         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8324         implementation of timed lock elision for powerpc.
8325         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8326         implementation of trylock with lock elision for powerpc.
8327         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8328         implementaion of unlock for lock elision for powerpc.
8329         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8330         automatic enable lock elision for mutexes.
8331         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8332         transaction execution definitions for powerpc.
8333         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8334         definitions.
8335         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8336         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8337         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8338         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8339         * NEWS: Update.
8341 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8343         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8344         for #include of <shm-directory.h>.
8346 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8348         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8349         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8351 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8353         [BZ #17791]
8354         * NEWS: Mention bug fix.
8355         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8356         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8357         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8359 2015-01-09  Torvald Riegel <triegel@redhat.com>
8361         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8363 2015-01-09  Torvald Riegel <triegel@redhat.com>
8365         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8367 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8369         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8370         pointer and cast to uintptr_t.
8372 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8374         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8375         removed.
8376         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8378 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8380         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8381         of 0.
8383 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8385         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8386         <nptl/pthreadP.h> instead.
8387         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8389         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8390         already defined.
8391         [__SIGRTMIN] (init): Function removed.
8392         [__SIGRTMIN] (initialized): Variable removed.
8393         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8394         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8395         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8396         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8397         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8398         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8399         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8400         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8401         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8402         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8403         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8404         * sysdeps/nptl/allocrtsig.c: New file.
8405         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8406         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8407         * sysdeps/generic/testrtsig.h: File removed.
8409         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8410         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8412         * nptl/nptl-init.c (pthread_functions): Conditionalize
8413         .ptr__nptl_setxid initialization on [SIGSETXID].
8415         * sysdeps/nptl/sys/procfs.h: New file.
8416         * nptl_db/Makefile (headers): Add it.
8417         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8419         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8420         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8421         * nptl/pthread_attr_setaffinity.c: Include it.
8422         * nptl/pthread_setattr_default_np.c: Likewise.
8423         * nptl/check-cpuset.h: New file.
8425 2015-01-08  Richard Henderson  <rth@redhat.com>
8427         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8428         (CFLAGS-tst-execstack-prog.c): Likewise.
8429         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8431 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8432             Sandra Loosemore  <sandra@codesourcery.com>
8433             Andrew Jenner  <andrew@codesourcery.com>
8434             Joseph Myers  <joseph@codesourcery.com>
8435             Nathan Sidwell  <nathan@codesourcery.com>
8437         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8438         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8439         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8440         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8441         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8442         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8443         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8444         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8445         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8446         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8447         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8448         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8449         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8450         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8451         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8452         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8453         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8455 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8457         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8458         timespec struct member in syscall macro.
8459         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8460         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8461         first timeval struct member in syscall macro.
8462         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8464 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8466         [BZ #17748]
8467         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8468         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8469         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8470         __feupdateenv and define as weak alias of __feupdateenv.  Use
8471         libm_hidden_weak.
8472         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8473         libm_hidden_def.
8474         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8475         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8476         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8477         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8478         libm_hidden_def.
8479         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8480         __feupdateenv and define as weak alias of __feupdateenv.  Use
8481         libm_hidden_weak.
8482         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8483         libm_hidden_def.
8484         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8485         __feupdateenv and define as weak alias of __feupdateenv.  Use
8486         libm_hidden_weak.
8487         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8488         libm_hidden_def.
8489         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8490         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8491         (__feupdateenv): Likewise.
8492         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8493         __feupdateenv and define as weak alias of __feupdateenv.  Use
8494         libm_hidden_weak.
8495         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8496         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8497         libm_hidden_def.
8498         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8499         function.
8500         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8501         libm_hidden_def.
8502         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8503         __feupdateenv instead of feupdateenv.
8504         (default_libc_feupdateenv_test): Likewise.
8505         (libc_feresetround_ctx): Likewise.
8507 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8509         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8510         prototype.
8512 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8514         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8515         COLL_SYM in a couple of places to avoid uninitialized variable
8516         wanings on tilegx gcc 4.8.2.
8518 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8520         * sysdeps/aarch64/strcpy.S: New file.
8521         * sysdeps/aarch64/stpcpy.S: New file.
8522         * NEWS: Updated.
8524 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8526         * sysdeps/aarch64/strrchr.S: New file.
8527         * NEWS: Updated.
8529 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8531         [BZ #17658]
8532         * stdlib/setenv.c: Fix memory leak when setting large,
8533         duplicate string.
8535 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8537         [BZ #17273]
8538         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8539         and tabs from buffer before parsing fstab entry.
8540         * misc/tst-mntent.c (main): Add test for mount entry with
8541         trailing spaces and tabs.
8543 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8545         [BZ #17748]
8546         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8547         * math/fesetround.c (fesetround): Rename to __fesetround and
8548         define as weak alias of __fesetround.  Use libm_hidden_weak.
8549         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8550         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8551         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8552         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8553         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8554         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8555         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8556         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8557         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8558         __fesetround_inline.
8559         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8560         __fesetround_inline instead of __fesetround.
8561         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8562         __fesetround and define as weak alias of __fesetround.  Use
8563         libm_hidden_weak.  Call __fesetround_inline instead of
8564         __fesetround.
8565         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8566         __fesetround and define as weak alias of __fesetround.  Use
8567         libm_hidden_weak.
8568         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8569         Likewise.
8570         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8571         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8572         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8573         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8574         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8575         __fesetround and define as weak alias of __fesetround.  Use
8576         libm_hidden_weak.
8577         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8578         __fesetround instead of fesetround.
8579         (default_libc_feholdexcept_setround): Likewise.
8580         (libc_feholdsetround_ctx): Likewise.
8581         (libc_feholdsetround_noex_ctx): Likewise.
8583         [BZ #17748]
8584         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8585         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8586         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8587         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8588         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8589         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8590         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8591         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8592         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8593         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8594         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8595         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8596         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8597         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8598         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8599         libm_hidden_def.
8600         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8601         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8602         Likewise.
8603         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8604         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8605         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8606         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8607         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8608         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8609         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8610         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8611         __fesetenv instead of fesetenv.
8612         (libc_feresetround_noex_ctx): Likewise.
8613         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8614         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8615         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8616         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8617         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8618         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8619         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8620         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8621         (__feupdateenv): Likewise.
8622         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8623         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8624         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8625         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8627 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8629         [BZ #17806]
8630         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8631         addresses have been freed.
8633 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8635         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8636         and nservall.
8638 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8640         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8641         Clean up check_pf allocation pattern. addresses
8643 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8645         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8646         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8647         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8648         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8649         * nptl/pthread_join.c (pthread_join): Likewise.
8650         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8651         * sysdeps/posix/waitid.c (__waitid): Likewise.
8652         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8653         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8654         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8655         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8656         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8657         Likewise.
8658         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8659         (__libc_pread64): Likewise.
8660         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8661         (__libc_pwrite): Likewise.
8662         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8663         (__libc_pwrite64): Likewsie.
8664         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8665         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8666         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8667         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8668         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8669         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8670         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8672         Likewise.
8673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8674         (__libc_pread64): Likewise.
8675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8676         Likewise.
8677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8678         (__libc_pwrite64): Likewise.
8679         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8680         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8681         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8682         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8683         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8684         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8685         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8686         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8687         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8688         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8689         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8690         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8691         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8692         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8693         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8694         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8695         Likewise.
8697 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8699         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8700         (CFLAGS-test-double.c): Likewise.
8701         (CFLAGS-test-ldouble.c): Likewise.
8702         (CPPFLAGS-test-ifloat.c): Likewise.
8703         (CPPFLAGS-test-idouble.c): Likewise.
8704         (CPPFLAGS-test-ildoubl.c): Likewise.
8705         (CFLAGS-test-test-fenv.c): Remove variable.
8706         (CFLAGS-test-misc.c): Likewise.
8708 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8710         [BZ #17797]
8711         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8712         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8713         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8714         CLOCKS_PER_SEC == 1000000.
8715         * time/clocktest.c (main): Replace %ld with %jd and cast to
8716         intmax_t.
8718 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8720         * sysdeps/generic/unwind-resume.h: New file.
8721         * sysdeps/gnu/unwind-resume.c: Include it.
8722         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8723         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8724         argument list.
8725         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8726         global rather than static.
8727         (_Unwind_Resume): Update user.
8728         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8729         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8730         rather than static.  Add __attribute__ ((cold)).
8731         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8732         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8733         * sysdeps/arm/arm-unwind-resume.S: New file.
8734         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8735         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8736         * sysdeps/arm/Makefile [$(subdir) = csu]
8737         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8738         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8739         Add rt-arm-unwind-resume.
8740         [$(subdir) = nptl]
8741         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8742         Add pt-arm-unwind-resume.
8743         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8744         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8746 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8748         [BZ #17748]
8749         * include/fenv.h (__feholdexcept): Declare.  Use
8750         libm_hidden_proto.
8751         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8752         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8753         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8754         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8755         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8756         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8757         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8758         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8759         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8760         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8761         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8762         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8763         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8764         (feholdexcept): Likewise.
8765         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8766         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8767         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8768         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8769         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8770         __feholdexcept instead of feholdexcept.
8771         (default_libc_feholdexcept_setround): Likewise.
8773 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8775         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8776         to avoid using stl/str to align destination.
8778 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8780         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8782 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8784         [BZ #17796]
8785         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8786         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8787         Define as weak alias not strong alias.
8789 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8791         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8792         bltzal with addiupc.
8793         (RTLD_START): Ditto.
8795 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8797         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8798         for __vdso_* functions in declarations.
8799         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8800         definitions.
8801         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8802         INTERNAL_VSYSCALL): Use struct return types to check for error.
8804         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8805         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8806         function with cast from llround().
8807         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8808         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8809         Define.
8811 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8813         [BZ #17793]
8814         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8815         Define as weak alias not strong alias.
8817         [BZ #17635]
8818         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8819         ...
8820         * ctype/ctype-extn.c: ... here.
8821         (__isblank_l): Move to ...
8822         * ctype/ctype-c99_l.c: ... here.  New file.
8823         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8824         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8825         Remove variable.
8826         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8827         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8828         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8829         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8830         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8832         [BZ #17777]
8833         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8834         (posix_fadvise64): Define as weak alias not strong alias.
8835         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8836         (posix_fallocate64): Likewise.
8837         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8838         Remove variable.
8839         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8840         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8841         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8842         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8843         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8845 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8847         [BZ #16191]
8848         * NEWS: Mention bug fix.
8849         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8850         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8851         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8852         (HOST_STACK_END_ADDR): Likewise.
8854 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8856         [BZ #17748]
8857         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8858         * math/fegetround.c (fegetround): Rename to __fegetround and
8859         define as weak alias of __fegetround.  Use libm_hidden_weak.
8860         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8861         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8862         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8863         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8864         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8865         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8866         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8867         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8868         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8869         Undefine after rather than before function definition; use
8870         parentheses around function name in definition.
8871         (__fegetround): Also undefine macro after function definition.
8872         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8873         __fegetround and define as weak alias of __fegetround.  Use
8874         libm_hidden_weak.  Do not undefine as macro.
8875         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8876         Likewise.
8877         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8878         __fegetround and define as weak alias of __fegetround.  Use
8879         libm_hidden_weak.
8880         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8881         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8882         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8883         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8884         __fegetround and define as weak alias of __fegetround.  Use
8885         libm_hidden_weak.
8886         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8887         __fegetround instead of fegetround.
8889         [BZ #17782]
8890         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8891         Condition macro definition on [__USE_MISC].
8893         [BZ #17781]
8894         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8895         (struct sigaction): Change type of sa_flags field to int.
8897         [BZ #17780]
8898         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8899         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8900         __glibc_reserved0.
8902         * nptl/version.c (banner): Use single year in copyright notice.
8904         * NEWS: Update copyright dates.
8905         * catgets/gencat.c (print_version): Likewise.
8906         * csu/version.c (banner): Likewise.
8907         * debug/catchsegv.sh: Likewise.
8908         * debug/pcprofiledump.c (print_version): Likewise.
8909         * debug/xtrace.sh (do_version): Likewise.
8910         * elf/ldconfig.c (print_version): Likewise.
8911         * elf/ldd.bash.in: Likewise.
8912         * elf/pldd.c (print_version): Likewise.
8913         * elf/sotruss.sh: Likewise.
8914         * elf/sprof.c (print_version): Likewise.
8915         * iconv/iconv_prog.c (print_version): Likewise.
8916         * iconv/iconvconfig.c (print_version): Likewise.
8917         * locale/programs/locale.c (print_version): Likewise.
8918         * locale/programs/localedef.c (print_version): Likewise.
8919         * login/programs/pt_chown.c (print_version): Likewise.
8920         * malloc/memusage.sh (do_version): Likewise.
8921         * malloc/memusagestat.c (print_version): Likewise.
8922         * malloc/mtrace.pl: Likewise.
8923         * manual/libc.texinfo: Likewise.
8924         * nptl/version.c (banner): Likewise.
8925         * nscd/nscd.c (print_version): Likewise.
8926         * nss/getent.c (print_version): Likewise.
8927         * nss/makedb.c (print_version): Likewise.
8928         * posix/getconf.c (main): Likewise.
8929         * scripts/test-installation.pl: Likewise.
8930         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8932 2015-01-02  Will Newton  <will.newton@linaro.org>
8934         * sysdeps/arm/armv7/configure: Removed.
8935         * sysdeps/arm/armv7/configure.ac: Likewise.
8937 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8939         * All files with FSF copyright notices: Update copyright dates
8940         using scripts/update-copyrights.
8941         * intl/plural.c: Regenerated.
8942         * locale/programs/charmap-kw.h: Likewise.
8943         * locale/programs/locfile-kw.h: Likewise.
8945 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8947         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8949 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8951         [BZ #17748]
8952         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8953         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8954         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8955         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8956         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8957         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8958         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8959         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8960         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8961         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8962         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8963         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8964         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8965         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8966         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8967         libm_hidden_def.
8968         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8969         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8970         Likewise.
8971         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8972         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8973         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8974         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8975         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8976         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8977         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8978         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8979         __fegetenv instead of fegetenv.
8980         (libc_feholdsetround_noex_ctx): Likewise.
8982 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8984         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8985         (Elf_MIPS_ABIFlags_v0): New structure.
8986         (EF_MIPS_FP64): Define.
8987         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8988         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8989         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8990         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8991         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8992         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8993         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8994         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8995         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8996         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8997         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8998         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8999         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9000         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9001         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9002         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9003         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9004         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9005         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9006         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9007         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9008         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9009         field.
9010         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9011         EF_MIPS_FP64.
9012         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9013         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9014         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9015         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9016         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9017         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9018         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9019         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9020         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9021         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9022         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9023         record the current FP ABI extension.
9024         (mips-mode-switch): Define to show if kernel headers support mode
9025         switching.
9026         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9027         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9028         supported SYSV ABI version to 3.
9029         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9030         feature.
9032 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9033             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9035         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9036         path.
9037         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9039 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9041         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9042         __fegetround and redefine to call __fegetround.  Remove condition
9043         on [!__NO_MATH_INLINES].
9044         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9045         function.
9046         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9047         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9048         Remove macro.
9049         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9050         instead of <fenv_libc.h>.
9051         (__llrintl): Call fegetround instead of __fegetround.
9052         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9053         instead of <fenv_libc.h>.
9054         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9055         (__lrintl): Call fegetround instead of __fegetround.
9056         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9057         instead of <fenv_libc.h>.
9058         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9059         (__rintl): Call fegetround instead of __fegetround.
9061 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9063         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9064         arrays.
9066 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9068         [BZ #17775]
9069         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9070         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9071         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9073 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9075         * sysdeps/i386/tls-macros.h: Include <features.h>.
9076         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9077         (TLS_IE): Likewise.
9078         (TLS_LD): Likewise.
9079         (TLS_GD): Likewise.
9080         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9081         define for GCC >= 5.0.
9083 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9085         * math/test-fenv.c (test_single_exception, set_single_exc,
9086         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9087         feexcp_mask_test, feenable_test, fe_single_test): Add
9088         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9089         case where they are not used.
9090         * math/libm-test.inc: Likewise.
9091         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9092         unused in the absence of FP rounding/exception support.
9093         * stdio-common/tst-printf-round.c: Likewise.
9094         * stdlib/tst-strtod-round.c: Likewise.
9095         * stdlib/tst-strtod-underflow.c: Likewise.
9097 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9099         [BZ #17723]
9100         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9101         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9102         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9103         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9104         libm_hidden_weak.
9105         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9106         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9107         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9108         libm_hidden_def.
9109         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9110         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9111         libm_hidden_weak.
9112         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9113         Likewise.
9114         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9115         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9116         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9117         libm_hidden_weak.
9118         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9119         libm_hidden_def.
9120         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9121         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9122         (__feraiseexcept): Likewise.
9123         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9124         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9125         libm_hidden_weak.
9126         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9127         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9128         libm_hidden_def.
9129         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9130         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9131         Use libm_hidden_def.
9132         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9133         libm_hidden_def.
9134         (feraiseexcept): Define as weak not strong alias.  Use
9135         libm_hidden_weak.
9136         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9137         New inline function.  Factored out of ...
9138         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9139         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9140         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9141         feraiseexcept.
9142         * math/w_acos.c (__acos): Likewise.
9143         * math/w_asin.c (__asin): Likewise.
9144         * math/w_ilogb.c (__ilogb): Likewise.
9145         * math/w_j0.c (y0): Likewise.
9146         * math/w_j1.c (y1): Likewise.
9147         * math/w_jn.c (yn): Likewise.
9148         * math/w_log.c (__log): Likewise.
9149         * math/w_log10.c (__log10): Likewise.
9150         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9151         * sysdeps/aarch64/fpu/math_private.h
9152         (libc_feupdateenv_test_aarch64): Likewise.
9153         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9154         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9155         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9156         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9157         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9158         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9159         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9160         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9161         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9162         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9164 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9166         [BZ #17732]
9167         * io/test-utime.c (main): Replace %ld with %jd and cast to
9168         intmax_t.
9169         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9170         * nptl/tst-mutex5.c: Include <stdint.h>.
9171         (do_test): Replace %ld with %jd and cast to intmax_t.
9172         * posix/tst-regex.c (run_test): Likewise.
9173         (run_test_backwards): Likewise.
9174         * rt/tst-clock.c: Include <stdint.h>.
9175         (clock_test): Replace %ld with %jd and cast to intmax_t.
9176         * rt/tst-cpuclock1.c: Include <stdint.h>.
9177         (do_test): Replace %lu with %ju and cast to uintmax_t.
9178         * rt/tst-cpuclock2.c: Include <stdint.h>.
9179         (do_test): Replace %lu with %ju and cast to uintmax_t.
9180         * rt/tst-mqueue1.c: Include <stdint.h>.
9181         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9182         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9183         intmax_t.
9184         * rt/tst-mqueue4.c (do_test): Likewise.
9185         * rt/tst-timer4.c: Include <stdint.h>.
9186         (check_ts): Replace %ld with %jd and cast to intmax_t.
9187         (do_test): Likewise.
9188         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9189         and cast to intmax_t.
9190         * sysdeps/pthread/tst-timer.c (main): Likewise.
9191         * time/clocktest.c (main): Likewise.
9192         * time/tst-posixtz.c (do_test): Likewise.
9193         * timezone/tst-timezone.c (main): Likewise.
9195 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9196             H.J. Lu  <hongjiu.lu@intel.com>
9198         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9199         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9200         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9201         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9202         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9203         version if bit_Fast_Unaligned_Load is set.
9204         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9205         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9206         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9207         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9208         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9209         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9211         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9212         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9213         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9214         to 4.
9215         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9216         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9217         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9218         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9220 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9222         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9223         instead of #if to avoid a Wundef warning.
9224         * stdlib/tst-limits.c (do_test): Likewise.
9226         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9227         parallel other exception macros.
9228         (fegetenv): Convert from macro to extern inline so that it applies
9229         retroactively to inline functions already seen by the compiler.
9230         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9232         * posix/Makefile (before-compile): Use $(objpfx) for
9233         posix-conf-vars-def.h.
9235 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9237         * posix/getconf.c (main): Use size_t for type of I.
9238         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9239         NSPEC.
9241         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9242         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9243         * posix/posix-envs.def: Likewise.
9244         * sysdeps/posix/sysconf.c: Likewise.
9245         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9246         (specs): Remove array.
9247         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9248         array.
9250         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9251         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9252         (__sysconf): Use CONF_IS_* macros.
9254         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9255         ($(objpfx)posix-conf-vars-def.h): New target.
9256         * posix/posix-conf-vars.list: New file.
9257         * posix/posix-conf-vars.h: New file.
9258         * posix/confstr.c: Include posix-conf-vars.h.
9259         (confstr): Use CONF_IS_* macros.
9260         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9261         CONF_IS_* macros.
9262         * scripts/gen-posix-conf-vars.awk: New file.
9264 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9266         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9267         fegetround): Add no-op macros to avoid linknamespace issues.
9269         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9270         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9272         * sysdeps/unix/sysv/linux/tile/sysdep.h
9273         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9274         assembly-specific section to avoid a redefinition warning.
9276         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9277         long before casting to pointer to avoid a cast warning.
9279 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9281         * sysdeps/tile/tilegx/Implies: New file.
9283 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9285         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9287 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9289         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9291 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9293         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9294         not define.
9295         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9296         <kernel-features.h>.
9297         (__utimes) [__NR_utimes]: Make code unconditional.
9298         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9299         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9300         (__ASSUME_UTIMES): Do not undefine.
9301         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9302         (__ASSUME_UTIMES): Likewise.
9303         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9304         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9305         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9306         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9308 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9310         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9312 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9314         [BZ #17747]
9315         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9316         alias to weak alias for j0l, y0l.
9317         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9318         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9320         [BZ #17746]
9321         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9322         conversion.
9324 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9326         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9327         to zero if not already defined.
9329 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9331         [BZ #17724]
9332         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9333         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9334         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9335         (char *) casts added.
9336         * sysdeps/ieee754/k_standardf.c: New file.
9337         * sysdeps/ieee754/k_standardl.c: Likewise.
9338         * math/Makefile (libm-support): Remove k_standard.
9339         (libm-calls): Add k_standard.
9341 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9343         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9344         Optimize to avoid an unnecessary FPCR read.
9346 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9348         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9349         Optimize to reduce FPCR/FPSR accesses.
9351 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9353         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9354         Call libc_fetestexcept_aarch64.
9356 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9358         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9359         Call libc_fesetround_aarch64.
9361 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9363         [BZ #17733]
9364         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9365         (__bind): Do not define as weak alias.
9366         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9367         define.
9368         (__getsockname): Do not define as weak alias.
9370 2014-12-22  Will Newton  <will.newton@linaro.org>
9372         * manual/install.texi: Document that we require bison 2.7
9373         or above.
9374         * INSTALL: Regenerate.
9375         * configure.ac: Use AC_CHECK_PROG_VER instead of
9376         AC_PATH_PROG when checking for bison and check for
9377         version 2.7 or above.
9378         * configure: Regenerate.
9380 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9382         [BZ #17745]
9383         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9384         * sysdeps/tile/ffsll.c (ffsll): To here.
9386         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9388 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9390         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9391         if not defined.
9392         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9393         definition.
9394         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9395         hidden ___tls_get_addr.
9396         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9397         hidden __tls_get_addr.
9398         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9399         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9400         Likewise.
9402 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9404         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9405         _dl_init call.
9407 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9409         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9410         from "call _dl_init@PLT".
9411         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9413 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9415         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9416         guarantees.
9418 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9420         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9422 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9424         [BZ #17744]
9425         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9426         strnlen.
9428 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9430         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9431         of multu on MIPSr6.
9432         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9433         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9434         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9435         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9436         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9438 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9440         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9441         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9442         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9443         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9444         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9445         mips32r6/mips64r6.
9446         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9448 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9450         * string/strncat.c (STRNCAT): Simplify implementation.
9452 2014-12-19  David S. Miller  <davem@davemloft.net>
9454         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9455         access the quad as both a long double and as a series of 4 words.
9457         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9458         link_map->l_info array access.
9460 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9462         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9464         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9465         * math/atest-exp2.c (TIMEOUT): Likewise.
9466         * math/atest-sincos.c (TIMEOUT): Likewise.
9468 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9470         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9471         -Wno-error with -fno-builtin-lround.
9473 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9475         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9476         Contains futex constants and functions moved over from ...
9477         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9478         <lowlevellock-futex.h>.
9479         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9480         (lll_timedwait_tid): Add comments and parentheses around macro
9481         arguments.
9483 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9485         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9486         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9487         (__lll_private_flag): Remove.
9488         (lll_futex_wait): Likewise.
9489         (lll_futex_timed_wait): Likewise.
9490         (lll_futex_wake): Likewise.
9491         (lll_futex_requeue): Likewise.
9492         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9493         (__lll_timedwait_tid): Spell out argument names.
9494         (lll_timedwait_tid): Add comments and parentheses around macro
9495         arguments.
9496         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9497         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9499 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9501         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9502         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9503         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9504         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9505         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9506         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9507         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9508         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9509         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9510         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9511         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9512         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9513         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9514         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9515         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9516         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9517         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9518         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9519         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9521 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9523         * sysdeps/x86_64/x32/Makefile: New file.
9525 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9527         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9528         1L with (mp_limb_t) 1.
9530 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9532         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9533         * nptl/libc_pthread_init.c: ... here.
9534         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9535         * nptl/register-atfork.c: ... here.
9537         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9538         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9539         Use assert_perror to check its return value.
9540         (__gai_create_helper_thread): Likewise.
9542         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9544         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9546 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9548         [BZ #17725]
9549         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9550         __profil_counter.
9551         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9552         Likewise.
9553         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9554         Likewise.
9555         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9556         Likewise.
9557         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9558         (profil_counter): Likewise.
9559         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9560         (profil_counter): Likewise.
9561         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9562         Likewise.
9563         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9564         Likewise.
9565         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9566         (profil_counter): Likewise.
9567         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9568         Likewise.
9569         [!__profil_counter] (profil_counter): Define as weak alias of
9570         __profil_counter.
9571         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9572         (profil_counter): Rename to __profil_counter.
9573         [!__profil_counter] (profil_counter): Define as weak alias of
9574         __profil_counter.
9575         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9576         (profil_counter): Rename to __profil_counter.
9577         [!__profil_counter] (profil_counter): Define as weak alias of
9578         __profil_counter.
9579         * sysdeps/posix/profil.c: Update comment referring to
9580         profil_counter.
9581         (__profil): Use __profil_counter instead of profil_counter.
9582         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9583         __profil_counter.  Use __profil_counter_ushort and
9584         __profil_counter_uint in definitions.
9585         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9586         instead of profil_counter_uint and profil_counter_ushort.
9588         [BZ #17722]
9589         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9590         define as weak alias of __inet_makeaddr.
9591         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9592         as weak alias of __inet_addr.
9593         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9594         as weak alias of __inet_pton.  Use libc_hidden_weak.
9595         * include/arpa/inet.h (__inet_pton): Declare.  Use
9596         libc_hidden_proto.
9597         (inet_makeaddr): Don't use libc_hidden_proto.
9598         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9599         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9600         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9601         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9602         Remove variable.
9603         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9604         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9606 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9608         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9610 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9612         * stdio-common/bug-vfprintf-nargs.c (do_test):
9613         Cast value to intptr_t to avoid format warning
9614         for usage with PRIdPTR printing macro.
9616 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9618         * libio/tst-widetext.c (do_test):
9619         Use format type %td instead of %Zd for ptrdiff_t
9620         in order to avoid format warning.
9622 2014-12-17  Andreas Schwab  <schwab@suse.de>
9624         * nscd/mem.c (gc): Add size_t cast to match printf format.
9626 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9628         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9629         (init): Apply PTR_MANGLE to pointers before storing them.
9630         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9631         before using them.
9633 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9635         [BZ #17719]
9636         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9637         define as weak alias of __memrchr.
9638         (__memrchr): Do not define as strong alias of memrchr.
9639         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9640         Remove variable.
9641         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9642         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9643         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9645         [BZ #17717]
9646         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9647         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9648         (if_indextoname): Rename to __if_indextoname and define as weak
9649         alias of __if_indextoname.  Use libc_hidden_weak.
9650         (if_freenameindex): Rename to __if_freenameindex and define as
9651         weak alias of __if_freenameindex.
9652         (if_nameindex): Rename to __if_nameindex and define as weak alias
9653         of __if_nameindex.
9654         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9655         __if_nametoindex and define as weak alias of __if_nametoindex.
9656         Use libc_hidden_weak.
9657         (if_freenameindex): Rename to __if_freenameindex and define as
9658         weak alias of __if_freenameindex.
9659         (if_nameindex): Rename to __if_nameindex and define as weak alias
9660         of __if_nameindex.
9661         (if_indextoname): Rename to __if_indextoname and define as weak
9662         alias of __if_indextoname.  Use libc_hidden_weak.
9663         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9664         __if_nametoindex and define as weak alias of __if_nametoindex.
9665         Use libc_hidden_weak.
9666         (if_freenameindex): Rename to __if_freenameindex and define as
9667         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9668         (if_nameindex_netlink): Use __if_freenameindex instead of
9669         if_freenameindex.
9670         (if_nameindex): Rename to __if_nameindex and define as weak alias
9671         of __if_nameindex.  Use libc_hidden_weak.
9672         (if_indextoname): Rename to __if_indextoname and define as weak
9673         alias of __if_indextoname.  Use libc_hidden_weak.
9674         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9675         libc_hidden_proto.
9676         [!_ISOMAC] (__if_freenameindex): Likewise.
9677         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9678         if_nametoindex.
9679         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9680         variable.
9681         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9682         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9683         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9684         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9685         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9686         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9687         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9689         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9690         Remove variable.
9691         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9692         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9694 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9696         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9697         subscript above bounds'
9699         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9700         bounds.
9702 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9704         * libio/tst-fopenloc.c: Use test-skeleton.c.
9706         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9707         (entry): Rename to ITEM.
9708         (do_test, comp): Adjust.
9710         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9712 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9714         * string/tester.c: Include <libc-internal.h>.
9715         (test_memset): Ignore -Wmemset-transposed-args.
9717 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9719         * misc/tst-mntent2.c (do_test): Fix warning.
9721 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9723         * elf/tst-unique4lib.cc(a): Mark as used.
9725 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9727         [BZ #17630]
9728         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9729         names.
9731 2014-12-16  Allan McRae  <allan@archlinux.org>
9733         * stdio-common/Makefile (tests): Re-add bug26.
9735 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9737         [BZ #17657]
9738         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9739         static array.
9741 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9743         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9744         (__lll_lock_wait): Likewise.
9745         (__lll_timedlock_wait): Likewise.
9746         (__lll_timedwait_tid): Likewise.
9747         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9748         (__lll_robust_timedlock_wait): Likewise.
9749         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9750         (lll_cond_trylock): Likewise.
9751         (__lll_lock): Likewise.
9752         (__lll_robust_lock): Likewise.
9753         (__lll_cond_lock): Likewise.
9754         (lll_robust_cond_lock): Likewise.
9755         (__lll_timedlock): Likewise.
9756         (__lll_robust_timedlock): Likewise.
9757         (__lll_unlock): Likewise.
9758         (__lll_robust_unlock): Likewise.
9759         (lll_wait_tid): Likewise.
9760         (lll_timedwait_tid): Likewise.
9762 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9764         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9766 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9768         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9770 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9772         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9773         * stdio-common/tst-sprintf.c: Likewise.
9775 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9777         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9779 2014-12-15  Jeff Law  <law@redhat.com>
9781         [BZ #16617]
9782         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9783         on the heap.  (CVE-2012-3406)
9784         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9785         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9786         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9788 2014-12-15  Will Newton  <will.newton@linaro.org>
9790         * manual/install.texi: Bump required version of texinfo
9791         to 4.7 from 4.5.
9792         * INSTALL: Regenerated.
9793         * configure.ac: Check for makeinfo version 4.7 and above.
9794         * configure: Regenerated.
9796 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9798         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9799         PREFIX, string constant to insert between directory and name.
9800         * sysdeps/posix/shm_open.c: Update caller.
9801         * sysdeps/posix/shm_unlink.c: Likewise.
9802         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9803         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9804         (SEM_SHM_PREFIX): New macro.
9805         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9806         [$(have-thread-library) = no].
9807         * nptl/Makefile (libpthread-routines): Add shm-directory.
9808         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9809         * sysdeps/nptl/shm-directory.h: New file.
9810         * sysdeps/posix/shm-directory.c
9811         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9812         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9813         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9814         INTERNAL_SYSCALL.
9815         (__where_is_shmfs): Function removed.
9816         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9817         Variables removed.
9818         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9819         Use SHM_GET_NAME.
9820         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9822         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9823         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9824         unconditional for use inside libpthread.
9825         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9827 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9829         * nptl/pthread_getaffinity.c: New file.
9830         * nptl/pthread_setaffinity.c: New file.
9831         * nptl/pthread_getname.c: New file.
9832         * nptl/pthread_setname.c: New file.
9834         * nptl/pthread_create.c (START_THREAD_DEFN)
9835         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9837 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9838             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9840         * resolv/res_send.c (send_vc): Disable warning resplen may
9841         be used uninitialized.
9843 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9845         * nptl/tst-mutex6.c
9846         (ATTR_NULL): New define checks ATTR against NULL.
9847         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9848         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9850 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9852         [BZ #17581]
9853         * malloc/hooks.c
9854         (mem2mem_check): Revert my previous change.
9855         (malloc_check_get_size): Revert my previous change.
9856         (mem2chunk_check): Revert my previous change.
9858 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9860         * sysdeps/posix/shm-directory.c: New file.
9861         * sysdeps/posix/shm-directory.h: New file.
9862         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9863         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9864         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9865         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9866         Transmute EPERM to EACCES.
9867         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9868         from ...
9869         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9870         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9872 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9874         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9875         pointer and cast to uintptr_t.
9876         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9877         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9878         Add cast to avoid warning.
9879         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9881 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9883         * nptl/semaphore.h: Move to ...
9884         * sysdeps/pthread/semaphore.h: ... here.
9885         * Makefile (installed-headers): Change nptl/semaphore.h to
9886         sysdeps/pthread/semaphore.h.
9888 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9890         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9891         generated error format strings.
9893         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9894         -Wformat-extra-args warnings for scanf formats.
9895         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9896         test of zero-length format (duh).
9897         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9898         corner-case scanf format test.
9899         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9900         generated fprintf format string.
9901         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9902         corner-case sprintf format tests.
9903         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9904         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9905         -Wformat-extra-args warnings throughout.
9906         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9907         (CFLAGS-scanf4.c): Likewise.
9908         (CFLAGS-scanf7.c): Likewise.
9909         (CFLAGS-tst-sprintf.c): Likewise.
9910         (CFLAGS-tst-printf.c): Likewise.
9911         (CFLAGS-tst-printfsz.c): Likewise.
9913 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9915         * include/cpio.h: New file.
9916         * include/fmtmsg.h: Likewise.
9918         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9919         corresponding format argument to size_t.
9920         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9921         arguments.
9922         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9923         corresponding format argument to size_t.
9924         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9925         arguments.
9926         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9927         corresponding format argument to size_t.
9928         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9929         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9930         (CFLAGS-tst-mbswcs2.c): Likewise.
9931         (CFLAGS-tst-mbswcs3.c): Likewise.
9932         (CFLAGS-tst-mbswcs4.c): Likewise.
9933         (CFLAGS-tst-mbswcs5.c): Likewise.
9934         (CFLAGS-tst-trans.c): Likewise
9936 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9938         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9939         rather than assuming they won't contain any '%'s.
9941 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9943         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9944         inhibit_loop_to_libcall to avoid recursive calls.
9945         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9946         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9948 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9950         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9951         prototype.
9953 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9955         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9956         integer value instead of boolean.
9958 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9960         * malloc/malloc.c: Fix powerof2 check.
9962 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9964         * locale/programs/locfile.h (maybe_swap_uint32):
9965         Remove inline and add unused attribute.
9967 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9969         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9970         Truncating assembler expression to a .long expression.
9972 2014-12-11  Andreas Schwab  <schwab@suse.de>
9974         * elf/rtld.c (struct map_args): Constify str member.
9975         (do_preload): Constify fname argument.
9977 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9979         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9980         constants definition.
9982 2014-12-11  Andreas Schwab  <schwab@suse.de>
9984         [BZ #16657]
9985         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9986         FORCE_ELISION instead of DO_ELISION.
9987         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9988         Remove.
9989         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9990         Likewise.
9992         * iconvdata/gconv-modules: Remove duplicate entry.
9994 2014-12-11  Will Newton  <will.newton@linaro.org>
9996         Merge gettext 0.19.3 into intl/.
9998         This involves a number of cosmetic changes to comments
9999         and ANSI function definitions and prototypes throughout
10000         all the files. The gettext copyright header is used but
10001         with the date ranges taken from the glibc copy.
10003         * NEWS: Add gettext merge to 2.21.
10004         * intl/bindtextdom.c: Switch to gettext copyright.
10005         Use ANSI definitions and prototypes.
10006         Use gl_* locking primitives rather than __libc_* ones.
10007         Use __builtin_expect rather than __glibc_likely/unlikely.
10008         * intl/dcgettext.c: Switch to gettext copyright.
10009         Use ANSI definitions and prototypes.
10010         * intl/dcigettext.c: Switch to gettext copyright.
10011         Use ANSI definitions and prototypes.
10012         (INTDIV0_RAISES_SIGFPE): New define.
10013         Use gl_* locking primitives rather than __libc_* ones.
10014         Include eval-plural.h instead of plural-eval.c.
10015         Use __builtin_expect rather than __glibc_likely/unlikely.
10016         * intl/dcngettext.c: Switch to gettext copyright.
10017         Use ANSI definitions and prototypes.
10018         * intl/dgettext.c: Likewise.
10019         * intl/dngettext.c: Likewise.
10020         * intl/plural-eval.c: Renamed to...
10021         * intl/eval-plural.h: ...this.
10022         * intl/explodename.c: Switch to gettext copyright.
10023         Use ANSI definitions and prototypes.
10024         (_nl_explode_name): Use strchr instead of __rawmemchr.
10025         * intl/finddomain.c: Switch to gettext copyright.
10026         Use ANSI definitions and prototypes.
10027         Use gl_* locking primitives rather than __libc_* ones.
10028         (_nl_find_domain): Use malloc rather than alloca for
10029         allocation of temporary locale name.
10030         * intl/gettext.c: Switch to gettext copyright.
10031         Use ANSI definitions and prototypes.
10032         * intl/gettextP.h: Switch to gettext copyright.
10033         Use ANSI definitions and prototypes.
10034         Use gl_* locking primitives rather than __libc_* ones.
10035         * intl/gmo.h: Switch to gettext copyright.
10036         (struct sysdep_string): Move struct segment_pair outside of
10037         struct definition.
10038         * intl/hash-string.c: Use ANSI definitions and prototypes.
10039         * intl/hash-string.h: Switch to gettext copyright.
10040         Use ANSI definitions and prototypes.
10041         * intl/l10nflist.c: Switch to gettext copyright.
10042         Use ANSI definitions and prototypes.
10043         (_nl_normalize_codeset): Avoid integer overflow.
10044         * intl/loadinfo.h: Switch to gettext copyright.
10045         Use ANSI definitions and prototypes.
10046         (LIBINTL_DLL_EXPORTED): New define.
10047         (PATH_SEPARATOR): New define.
10048         * intl/loadmsgcat.c: Switch to gettext copyright.
10049         * intl/localealias.c: Switch to gettext copyright.
10050         Use ANSI definitions and prototypes.
10051         (_nl_expand_alias): Use PATH_SEPARATOR.
10052         * intl/ngettext.c: Switch to gettext copyright.
10053         Use ANSI definitions and prototypes.
10054         * intl/plural-exp.c: Likewise.
10055         * intl/plural-exp.h: Switch to gettext copyright.
10056         Use ANSI definitions and prototypes.
10057         (struct expression): Move definition of enum operator outside
10058         of struct definition.
10059         * intl/plural.c: Regenerate.
10060         * intl/plural.y: Switch to gettext copyright.
10061         Use ANSI definitions and prototypes.
10062         Port to bison 3.0.
10063         * intl/textdomain.c: Switch to gettext copyright.
10064         Use ANSI definitions and prototypes.
10065         Use gl_* locking primitives rather than __libc_* ones.
10067 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10069         * debug/warning-nop.c: Add used atrribute.
10071 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10073         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10075         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10076         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10077         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10079 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10080             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10082         [BZ #17634]
10083         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10084         Undefine after defining function.  Define as weak alias of
10085         __wcschr.  Use libc_hidden_weak.
10086         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10087         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10088         (libc_hidden_def): Also define __GI___wcschr alias.
10089         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10090         __wcschr and define as weak alias of __wcschr.
10091         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10092         __wcschr.
10093         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10094         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10095         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10096         libc_hidden_weak.  Do not use libc_hidden_def.
10097         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10098         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10099         __GI___wcschr alias.
10100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10101         [IS_IN (libc)] (wcschr): Define as macro expanding to
10102         __redirect_wcschr.
10103         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10104         [IS_IN (libc)] (__wcschr_power6): Likewise.
10105         [IS_IN (libc)] (__wcschr_power7): Likewise.
10106         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10107         instead of wcschr.
10108         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10109         __libc_wcschr.
10110         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10111         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10112         __wcschr and define as weak alias of __wcschr.  Use
10113         libc_hidden_builtin_def.
10114         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10115         as weak alias of __wcschr.  Use libc_hidden_weak.
10116         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10117         wcschr.
10118         * time/era.c (_nl_init_era_entries): Likewise.
10119         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10120         variable.
10121         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10122         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10124 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10126         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10127         format for long int variable.
10129 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10131         [BZ #10672]
10132         * manual/search.texi: (Array Sort Function): Remove claim how to make
10133         qsort stable.
10135 2014-12-10  Andreas Schwab  <schwab@suse.de>
10137         [BZ #12847]
10138         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10139         user-controlled locks.
10141 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10143         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10144         register.
10146 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10148         * configure.ac (--disable-werror): New configure option.
10149         (enable_werror): New AC_SUBST.
10150         * configure: Regenerated.
10151         * config.make.in (enable-werror): New variable.
10152         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10153         -Wno-error=undef.
10154         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10155         * manual/install.texi (Configuring and compiling): Document
10156         --disable-werror.
10157         * INSTALL: Regenerated.
10158         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10159         (CFLAGS-tst-chk2.c): Likewise.
10160         (CFLAGS-tst-chk3.c): Likewise.
10161         (CFLAGS-tst-chk4.cc): Likewise.
10162         (CFLAGS-tst-chk5.cc): Likewise.
10163         (CFLAGS-tst-chk6.cc): Likewise.
10164         (CFLAGS-tst-lfschk1.c): Likewise.
10165         (CFLAGS-tst-lfschk2.c): Likewise.
10166         (CFLAGS-tst-lfschk3.c): Likewise.
10167         (CFLAGS-tst-lfschk4.cc): Likewise.
10168         (CFLAGS-tst-lfschk5.cc): Likewise.
10169         (CFLAGS-tst-lfschk6.cc): Likewise.
10171         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10172         (main): Disable -Wdeprecated-declarations around calls to
10173         register_printf_function.
10175         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10176         (do_test): Disable -Wdiv-by-zero around some calls to
10177         fwrite_unlocked and fread_unlocked.
10179         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10180         (DIAG_POP_NEEDS_COMMENT): Likewise.
10181         (_DIAG_STR1): Likewise.
10182         (_DIAG_STR): Likewise.
10183         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10184         * stdio-common/bug21.c: Include <libc-internal.h>.
10185         (do_test): Disable -Wformat around call to sscanf.
10186         * stdio-common/scanf14.c: Include <libc-internal.h>.
10187         (main): Disable -Wformat around some calls to scanf functions.
10189 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10191         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10193 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10195         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10196         stack variable alignment.
10198 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10200         [BZ #17682]
10201         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10202         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10203         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10204         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10205         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10206         __getrlimit instead of getrlimit.
10207         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10208         __gettimeofday instead of gettimeofday.
10209         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10210         Likewise.
10211         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10212         Likewise.
10213         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10214         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10215         Remove variable.
10216         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10217         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10219 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10221         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10222         for wide-character tests.
10224 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10226         * io/openat64.c: #include <libc-internal.h>
10227         (__openat64): Prototypify.  Use ignore_value on MODE.
10228         * io/openat.c: Likewise.
10229         * misc/reboot.c: #include <libc-internal.h>
10230         (reboot): Prototypify.  Use ignore_value on HOWTO.
10231         * misc/ptrace.c: #include <libc-internal.h>
10232         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10234 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10236         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10237         XPG4, UNIX98 and XOPEN2K.
10238         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10239         Remove variable.
10240         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10242 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10244         * libio/fileops.c: Use ISO C style for function definitions.
10245         * libio/iofopen.c: Likewise.
10246         * libio/wfileops.c: Likewise.
10248         [BZ #17653]
10249         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10250         offset on EOF.
10251         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10252         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10253         (fgets_func): Function pointer to fgets and fgetws.
10254         (do_ftell_test): Add test to verify ftell value after read
10255         EOF.
10256         (do_test): Set fgets_func.
10258         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10259         O_TRUNC flag for w and w+ modes.
10260         (do_rewind_test): Likewise.
10261         (do_ftell_test): Likewise.
10262         (do_write_test): Likewise.
10264         [BZ #17647]
10265         * libio/fileops.c (do_ftell): Seek only when there are
10266         unflushed writes.
10267         * libio/wfileops.c (do_ftell_wide): Likewise.
10268         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10269         test case.
10270         (do_one_test): Call it.
10272 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10274         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10275         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10276         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10277         Remove variable.
10278         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10279         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10280         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10282 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10284         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10285         Remove variable.
10286         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10288         [BZ #17668]
10289         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10290         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10291         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10292         __freeifaddrs.  Use libc_hidden_weak.
10293         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10294         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10295         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10296         __freeifaddrs.  Use libc_hidden_weak.
10297         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10298         __getifaddrs and define as weak alias of __getifaddrs.  Use
10299         libc_hidden_weak.
10300         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10301         __freeifaddrs.  Use libc_hidden_weak.
10302         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10303         Remove variable.
10304         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10305         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10307 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10309         [BZ #17601]
10310         * sysdeps/mips/start.S (__start): Use indirect jump to call
10311         __libc_start_main.
10313 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10315         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10317         * nptl/tst-mutex1.c: Include <stdbool.h>.
10318         [!ATTR] (ATTR_NULL): New macro.
10319         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10320         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10321         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10323         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10324         to char *.
10326         [BZ #17665]
10327         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10328         Change conditional to [__USE_MISC].
10330         [BZ #17664]
10331         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10332         fgets_unlocked.
10333         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10334         __fgets_unlocked.
10335         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10336         fgets_unlocked.
10337         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10338         Remove variable.
10339         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10340         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10341         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10342         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10343         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10344         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10345         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10346         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10347         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10349         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10351 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10353         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10354         Remove strpbrk objects.
10355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10356         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10357         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10358         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10359         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10360         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10362         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10363         Remove strcspn objects.
10364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10365         (__libc_ifunc_impl_list): Remove strcspn implementation.
10366         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10367         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10368         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10369         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10371         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10372         Remove strspn objetcs.
10373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10374         (__libc_ifunc_impl_list): Remove strspn implementation.
10375         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10376         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10377         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10378         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10380 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10382         [BZ #17581]
10383         * malloc/hooks.c
10384         (mem2mem_check): Add a terminator to the chain of checking blocks.
10385         (malloc_check_get_size): Use it here.
10386         (mem2chunk_check): Ditto.
10388 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10390         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10391         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10393 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10395         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10397         * nptl/nptl-init.c: Include libc-internal.h.
10398         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10400         * elf/ldconfig.c (search_dir): Expand comment.
10402 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10404         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10405         variable.
10406         (linknamespace-symlist-stdlibs-tests): Likewise.
10407         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10408         instead of $(objpfx)symlist-stdlibs.
10409         (linknamespace-libs-isoc): New variable.
10410         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10411         (linknamespace-libs-ISO): New variable.
10412         (linknamespace-libs-ISO99): Likewise.
10413         (linknamespace-libs-ISO11): Likewise.
10414         (linknamespace-libs-XPG3): Likewise.
10415         (linknamespace-libs-XPG4): Likewise.
10416         (linknamespace-libs-POSIX): Likewise.
10417         (linknamespace-libs-UNIX98): Likewise.
10418         (linknamespace-libs-XOPEN2K): Likewise.
10419         (linknamespace-libs-POSIX2008): Likewise.
10420         (linknamespace-libs-XOPEN2K8): Likewise.
10421         ($(objpfx)symlist-stdlibs): Replace by
10422         $(linknamespace-symlist-stdlibs-tests).  Use
10423         $(linknamespace-libs-$*) as set of libraries.
10424         ($(linknamespace-header-tests)): Update dependencies.  Use
10425         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10426         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10427         * conform/linknamespace.pl: Remove comment about considering
10428         definitions of symbols from irrelevant libraries.
10430 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10432         [BZ #13862]
10433         * elf/dl-tls.c: Include <atomic.h>.
10434         (oom): Remove #ifdef SHARED/#endif.
10435         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10436         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10437         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10438         big enough.
10439         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10440         * nptl/Makefile (tests): Add tst-stack4.
10441         (modules-names): Add tst-stack4mod.
10442         ($(objpfx)tst-stack4): New.
10443         (tst-stack4mod.sos): Likewise.
10444         ($(objpfx)tst-stack4.out): Likewise.
10445         ($(tst-stack4mod.sos)): Likewise.
10446         (clean): Likewise.
10447         * nptl/tst-stack4.c: New file.
10448         * nptl/tst-stack4mod.c: Likewise.
10450 2014-11-27  J. Brown  <jb999@gmx.de>
10452         * sysdeps/x86/bits/string.h: Add recent CPUs.
10454 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10456         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10457         sigblock.
10459         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10460         feof.
10462         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10463         variable.
10465 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10467         * nscd/connections.c: Include libc-internal.h because of macro
10468         usage ignore_value.
10470 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10472         * string/bits/string3.h (__warn_memset_zero_len): Don't
10473         declare for gcc newer than 5.0.
10474         (memset): Don't test for zero-length __LEN for gcc newer than
10475         5.0.
10477 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10479         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10480         size_t for %zu format.
10482         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10483         difference, not %ju.
10485 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10487         * include/libc-internal.h (ignore_value): New macro.
10488         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10489         with ignore_value.
10491         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10492         definition.
10494         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10495         pthread_cleanup_push to void *.
10497         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10498         Undefine.
10500         [BZ #16619]
10501         [BZ #16740]
10502         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10503         instead of 1L << 52.
10505         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10506         * libio/bug-rewind2.c (do_test): Likewise.
10508         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10509         * debug/test-strcpy_chk-ifunc.c: Likewise.
10510         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10511         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10512         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10513         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10514         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10515         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10516         * Rules [$(multi-arch) = no] (tests): Do not filter out
10517         $(tests-ifunc).
10518         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10519         * debug/Makefile (tests-ifunc): Remove variable.
10520         (tests): Do not add $(tests-ifunc).
10521         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10522         (tests): Do not add $(tests-ifunc).
10523         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10524         [TEST_IFUNC]: Remove conditionals.
10525         * string/test-string.h (TEST_IFUNC): Remove macro.
10526         [TEST_IFUNC]: Remove conditionals.
10528         * string/test-strchr.c [!WIDE] (L): New macro.
10529         [WIDE] (L): Likewise.
10530         (check1): Use CHAR instead of char.  Use L on string and character
10531         constants.
10533 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10535         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10536         tests.
10537         * sysdeps/powerpc/bits/atomic.h
10538         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10539         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10540         (atomic_exchange_and_add_acq): Likewise.
10541         (atomic_exchange_and_add_rel): Likewise.
10542         * sysdeps/powerpc/powerpc32/bits/atomic.h
10543         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10544         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10545         * sysdeps/powerpc/powerpc64/bits/atomic.h
10546         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10547         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10549 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10551         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10552         Change synchronization of __sched_fifo_min_prio and
10553         __sched_fifo_max_prio.
10554         * nptl/pthread_mutexattr_getprioceiling.c
10555         (pthread_mutexattr_getprioceiling): Likewise.
10556         * nptl/pthread_mutexattr_setprioceiling.c
10557         (pthread_mutexattr_setprioceiling): Likewise.
10558         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10559         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10560         Likewise.
10562 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10564         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10565         void.
10567 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10569         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10570         third argument const.
10572 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10574         fnmatch: work around GCC compiler warning bug with uninit var
10575         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10576         This works around a bug with x86-64 GCC 4.9.2 and earlier
10577         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10578         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10579         used uninitialized in this function [-Wmaybe-uninitialized]".
10581 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10583         * posix/bug-regex31.c (main): Return RES not 0.
10585 2014-11-25  Anton Blanchard <anton@samba.org>
10587         * sysdeps/powerpc/bits/atomic.h
10588         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10590 2014-11-24  Sterling Augustine  <saugustine@google.com>
10592         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10594 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10596         [BZ #17608]
10597         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10599 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10601         [BZ #17633]
10602         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10603         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10604         variable.
10605         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10606         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10608 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10610         * string/strncpy.c (strncpy): Improve performance by using memset.
10612 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10614         * string/strcpy.c (strcpy):
10615         Improve performance by using strlen and memcpy.
10617 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10619         * string/strcoll_l.c (get_next_seq): __always_inline.
10620         * string/strcoll_l.c (do_compare): __always_inline.
10622 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10624         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10625         defined.
10626         * include/mqueue.h: Likewise.
10627         * include/stdlib.h: Likewise.
10629         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10630         (get_null_defines): Adjust.
10631         * sunrpc/Makefile: Adjust comment.
10632         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10633         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10634         (CFLAGS-interp.c): Likewise.
10635         (CFLAGS-ldconfig.c): Likewise.
10636         (CPPFLAGS-.os): Likewise.
10637         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10638         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10639         * extra-modules.mk (extra-modules.mk): Likewise.
10640         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10641         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10642         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10643         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10644         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10645         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10646         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10647         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10648         * iconvdata/Makefile (CPPFLAGS): Likewise.
10649         (cpp-srcs-left): Add libof for all iconvdata routines.
10650         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10651         * include/assert.h: Likewise.
10652         * include/ctype.h: Likewise.
10653         * include/errno.h: Likewise.
10654         * include/libc-symbols.h: Likewise.
10655         * include/math.h: Likewise.
10656         * include/netdb.h: Likewise.
10657         * include/resolv.h: Likewise.
10658         * include/stdio.h: Likewise.
10659         * include/stdlib.h: Likewise.
10660         * include/string.h: Likewise.
10661         * include/sys/stat.h: Likewise.
10662         * include/wctype.h: Likewise.
10663         * intl/l10nflist.c: Likewise.
10664         * libidn/idn-stub.c: Likewise.
10665         * libio/libioP.h: Likewise.
10666         * nptl/libc_multiple_threads.c: Likewise.
10667         * nptl/pthreadP.h: Likewise.
10668         * posix/regex_internal.h: Likewise.
10669         * resolv/res_hconf.c: Likewise.
10670         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10671         * sysdeps/arm/memmove.S: Likewise.
10672         * sysdeps/arm/sysdep.h: Likewise.
10673         * sysdeps/generic/_itoa.h: Likewise.
10674         * sysdeps/generic/symbol-hacks.h: Likewise.
10675         * sysdeps/gnu/errlist.awk: Likewise.
10676         * sysdeps/gnu/errlist.c: Likewise.
10677         * sysdeps/i386/i586/memcpy.S: Likewise.
10678         * sysdeps/i386/i586/memset.S: Likewise.
10679         * sysdeps/i386/i686/memcpy.S: Likewise.
10680         * sysdeps/i386/i686/memmove.S: Likewise.
10681         * sysdeps/i386/i686/mempcpy.S: Likewise.
10682         * sysdeps/i386/i686/memset.S: Likewise.
10683         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10684         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10685         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10686         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10687         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10688         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10689         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10690         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10691         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10692         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10693         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10694         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10695         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10696         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10697         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10698         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10699         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10700         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10701         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10702         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10703         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10704         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10705         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10706         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10707         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10708         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10709         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10710         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10711         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10712         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10713         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10714         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10715         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10716         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10717         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10718         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10719         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10720         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10721         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10722         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10723         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10724         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10725         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10726         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10727         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10728         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10729         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10730         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10731         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10732         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10733         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10734         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10735         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10736         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10737         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10738         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10739         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10740         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10741         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10742         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10743         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10744         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10745         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10746         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10747         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10748         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10749         * sysdeps/posix/closedir.c: Likewise.
10750         * sysdeps/posix/opendir.c: Likewise.
10751         * sysdeps/posix/readdir.c: Likewise.
10752         * sysdeps/posix/rewinddir.c: Likewise.
10753         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10754         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10755         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10756         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10757         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10758         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10759         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10760         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10761         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10762         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10763         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10764         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10765         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10766         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10767         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10768         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10769         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10770         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10771         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10772         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10773         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10774         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10775         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10776         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10777         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10778         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10779         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10780         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10781         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10782         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10783         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10784         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10785         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10786         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10787         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10788         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10789         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10790         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10791         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10792         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10793         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10794         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10795         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10796         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10797         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10798         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10799         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10800         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10801         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10802         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10803         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10804         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10805         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10806         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10807         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10808         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10809         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10810         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10811         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10812         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10813         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10814         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10815         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10816         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10817         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10818         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10819         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10820         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10821         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10822         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10823         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10824         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10825         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10826         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10827         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10828         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10829         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10830         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10831         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10832         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10833         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10834         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10835         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10836         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10837         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10838         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10839         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10840         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10841         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10842         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10843         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10844         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10845         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10846         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10847         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10848         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10849         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10850         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10851         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10852         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10853         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10854         * sysdeps/unix/alpha/sysdep.S: Likewise.
10855         * sysdeps/unix/alpha/sysdep.h: Likewise.
10856         * sysdeps/unix/make-syscalls.sh: Likewise.
10857         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10858         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10859         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10860         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10861         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10862         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10863         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10864         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10865         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10866         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10867         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10868         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10869         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10870         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10871         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10872         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10873         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10874         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10875         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10876         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10877         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10878         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10879         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10880         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10881         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10882         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10883         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10886         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10887         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10889         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10890         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10891         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10892         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10893         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10894         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10895         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10896         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10897         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10898         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10899         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10900         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10901         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10902         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10903         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10904         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10905         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10906         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10907         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10908         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10909         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10910         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10911         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10912         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10913         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10914         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10915         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10916         * sysdeps/x86_64/memcpy.S: Likewise.
10917         * sysdeps/x86_64/memmove.c: Likewise.
10918         * sysdeps/x86_64/memset.S: Likewise.
10919         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10920         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10921         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10922         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10923         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10924         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10925         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10926         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10927         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10928         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10929         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10930         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10931         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10932         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10933         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10934         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10935         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10936         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10937         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10938         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10939         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10940         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10941         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10942         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10943         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10944         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10945         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10946         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10947         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10948         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10949         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10950         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10951         * sysdeps/x86_64/strcmp.S: Likewise.
10953         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10955         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10956         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10957         * elf/rtld-Rules: Likewise.
10958         * elf/setup-vdso.h: Likewise.
10959         * include/assert.h: Likewise.
10960         * include/bits/stdlib-float.h: Likewise.
10961         * include/errno.h: Likewise.
10962         * include/sys/stat.h: Likewise.
10963         * include/unistd.h: Likewise.
10964         * sysdeps/aarch64/setjmp.S: Likewise.
10965         * sysdeps/alpha/setjmp.S: Likewise.
10966         * sysdeps/arm/__longjmp.S: Likewise.
10967         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10968         * sysdeps/arm/setjmp.S: Likewise.
10969         * sysdeps/arm/sysdep.h: Likewise.
10970         * sysdeps/generic/_itoa.h: Likewise.
10971         * sysdeps/generic/dl-sysdep.h: Likewise.
10972         * sysdeps/generic/ldsodefs.h: Likewise.
10973         * sysdeps/i386/dl-tls.h: Likewise.
10974         * sysdeps/i386/setjmp.S: Likewise.
10975         * sysdeps/m68k/setjmp.c: Likewise.
10976         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10977         * sysdeps/mach/hurd/opendir.c: Likewise.
10978         * sysdeps/posix/getcwd.c: Likewise.
10979         * sysdeps/posix/opendir.c: Likewise.
10980         * sysdeps/posix/profil.c: Likewise.
10981         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10982         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10983         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10984         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10985         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10986         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10987         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10988         * sysdeps/s390/dl-tls.h: Likewise.
10989         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10990         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10991         * sysdeps/sh/sh3/setjmp.S: Likewise.
10992         * sysdeps/sh/sh4/setjmp.S: Likewise.
10993         * sysdeps/unix/alpha/sysdep.h: Likewise.
10994         * sysdeps/unix/arm/sysdep.S: Likewise.
10995         * sysdeps/unix/i386/sysdep.S: Likewise.
10996         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10997         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10998         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10999         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11000         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11001         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11002         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11003         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11004         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11005         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11006         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11007         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11008         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11011         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11012         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11013         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11014         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11015         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11016         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11017         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11018         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11019         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11020         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11021         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11022         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11023         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11024         * sysdeps/x86_64/setjmp.S: Likewise.
11026         * include/math.h: Use IS_IN instead of IS_IN_libm.
11027         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11028         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11029         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11030         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11031         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11032         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11033         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11034         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11035         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11036         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11037         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11038         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11039         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11040         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11041         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11042         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11043         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11044         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11045         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11046         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11047         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11048         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11049         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11050         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11051         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11052         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11053         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11054         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11055         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11056         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11057         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11058         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11059         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11061         Likewise.
11062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11063         Likewise.
11064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11065         Likewise.
11066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11067         Likewise.
11068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11069         Likewise.
11070         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11071         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11072         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11073         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11074         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11075         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11081         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11082         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11083         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11084         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11085         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11086         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11087         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11088         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11089         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11090         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11091         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11092         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11093         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11094         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11096         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11098         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11099         * nptl/pthreadP.h: Likewise.
11100         * nptl_db/structs.def: Likewise.
11101         * sysdeps/arm/sysdep.h: Likewise.
11102         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11103         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11104         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11105         * sysdeps/unix/alpha/sysdep.h: Likewise.
11106         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11107         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11108         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11109         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11110         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11111         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11112         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11113         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11114         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11115         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11116         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11117         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11118         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11119         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11122         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11123         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11124         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11125         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11126         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11127         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11128         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11129         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11130         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11131         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11133         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11134         * nptl/pthreadP.h: Likewise.
11135         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11136         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11137         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11138         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11139         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11140         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11141         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11142         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11143         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11144         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11145         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11146         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11148         Likewise.
11149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11150         Likewise.
11151         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11152         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11153         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11155         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11156         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11157         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11158         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11160         * dlfcn/dladdr.c: Use IS_IN.
11161         * dlfcn/dladdr1.c: Likewise.
11162         * dlfcn/dlclose.c: Likewise.
11163         * dlfcn/dlerror.c: Likewise.
11164         * dlfcn/dlinfo.c: Likewise.
11165         * dlfcn/dlmopen.c: Likewise.
11166         * dlfcn/dlopen.c: Likewise.
11167         * dlfcn/dlsym.c: Likewise.
11168         * dlfcn/dlvsym.c: Likewise.
11170         * include/ifaddrs.h: Use IS_IN.
11171         * inet/check_pf.c: Likewise.
11172         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11173         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11175         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11176         IS_IN_ldconfig.
11177         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11178         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11180         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11181         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11182         IS_IN (libc).
11184         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11186         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11187         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11188         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11189         * include/libc-symbols.h (IS_IN_LIB): New macro.
11190         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11191         * include/netdb.h: Likewise.
11192         * include/stap-probe.h: Remove all uses of IN_LIB.
11194         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11195         instead of IN_MODULE.
11196         * include/libc-symbols.h (IN_MODULE): Define using
11197         MODULE_NAME.
11198         (PASTE_NAME, PASTE_NAME1): New macros.
11199         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11200         of IN_LIB.
11201         (STAP_PROBE_ASM): Likewise.
11203 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11205         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11206         __mach_init in dlopened libc.
11208 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11210         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11211         * sysdeps/arm/preconfigure: Regenerate.
11213 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11215         * nptl/pthread_create.c (__pthread_create_2_1): Set
11216         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11217         when copying values from IATTR into PD.
11219 2014-11-21  Will Newton  <will.newton@linaro.org>
11220             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11222         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11223         Refactor inline-asm.  Also add comment.
11225         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11226         ElfW macro instead of hardcoded Elf64 types.
11227         (la_aarch64_gnu_pltenter): Likewise.
11228         * sysdeps/aarch64/dl-machine.h
11229         (elf_machine_runtime_setup): Use ElfW(Addr).
11231         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11232         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11233         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11234         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11235         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11236         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11237         (R_AARCH64_TLS_DTPMOD): This.
11238         (R_AARCH64_TLS_DTPREL64): Rename to ...
11239         (R_AARCH64_TLS_DTPREL): This.
11240         (R_AARCH64_TLS_TPREL64): Rename to ...
11241         (R_AARCH64_TLS_TPREL): This.
11242         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11243         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11244         R_AARCH64_TLS_TPREL64.
11245         (elf_machine_rela): Likewise.
11247 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11249         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11250         by setting it to 0.  64b atomics are not supported currently.
11252 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11254         [BZ #16469]
11255         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11256         search domain names.
11258 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11260         [BZ #16469]
11261         * NEWS: Update.
11262         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11263         trailing dot.
11264         * posix/tst-getaddrinfo5.c: New.
11265         * posix/Makefile (tests): Add it.
11267 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11269         [BZ #14498]
11270         * NEWS: Fixed.
11271         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11272         after parsing line but before break_if_match.
11273         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11274         if there is a protocol mismatch.
11276 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11278         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11279         because the potential race is on the user-supplied stream.
11281 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11283         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11284         string literal if not passed a buffer.
11285         * manual/job.texi (ctermid): Update reasoning, note deviation
11286         from posix, suggest mtasurace when not passed a buffer, for
11287         future non-preliminary safety notes.
11289 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11291         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11292         of not passing it a buffer.
11293         Reported by Peng Haitao.
11295 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11297         * manual/Makefile ($(objpfx)stamp-summary): Require
11298         check-safety.sh to pass.
11299         * manual/check-safety.sh: Wish for verification that every
11300         @deftypefn and @deftypefun is followed by a @safety remark.
11302 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11304         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11306         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11307         PTHREAD_CANCEL_ASYNCHRONOUS.
11308         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11309         send SIGCANCEL.
11311         * nptl/default-sched.h: New file.
11312         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11313         * nptl/pthread_create.c: Include it.
11314         (__pthread_create_2_1): Use collect_default_sched instead of making
11315         Linux syscalls here directly.
11317 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11319         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11320         __pthread_once): Use C11 atomics.
11322 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11324         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11326 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11328         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11329         atomic_thread_fence_acquire, atomic_thread_fence_release,
11330         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11331         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11332         atomic_compare_exchange_weak_relaxed,
11333         atomic_compare_exchange_weak_acquire,
11334         atomic_compare_exchange_weak_release,
11335         atomic_exchange_acquire, atomic_exchange_release,
11336         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11337         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11338         atomic_fetch_and_acquire,
11339         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11341 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11343         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11344         USE_ATOMIC_COMPILER_BUILTINS): Define.
11345         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11346         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11347         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11348         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11349         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11350         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11351         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11352         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11353         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11354         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11355         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11356         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11357         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11358         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11359         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11360         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11361         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11362         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11363         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11364         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11365         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11366         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11367         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11368         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11369         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11370         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11371         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11372         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11373         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11374         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11375         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11376         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11377         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11378         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11379         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11380         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11381         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11382         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11383         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11384         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11386 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11388         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11389         the sched_priority value here.  It was already checked when the user
11390         called pthread_attr_setschedparam.
11392         * nptl/tst-bad-schedattr.c: New file.
11393         * nptl/Makefile (tests): Add it.
11395 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11396             Florian Weimer  <fweimer@redhat.com>
11397             Joseph Myers  <joseph@codesourcery.com>
11398             Adam Conrad  <adconrad@0c3.net>
11399             Andreas Schwab  <schwab@suse.de>
11400             Brooks  <bmoses@google.com>
11402         [BZ #17625]
11403         * wordexp-test.c (__dso_handle): Add prototype.
11404         (__register_atfork): Likewise.
11405         (__app_register_atfork): New function.
11406         (registered_forks): New global.
11407         (register_fork): New function.
11408         (test_case): Add 3 new tests for WRDE_CMDSUB.
11409         (main): Call __app_register_atfork.
11410         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11411         fork count is non-zero fail the test.
11412         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11413         is set.
11414         (parse_dollars): Remove check for WRDE_NOCMD.
11415         (parse_dquote): Likewise.
11417 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11419         * Makeconfig (built-modules): List non-library modules to be
11420         built.
11421         (module-cppflags): Include libc-modules.h for
11422         everything except shlib-versions.v.i.
11423         (CPPFLAGS): Use it.
11424         (before-compile): Add libc-modules.h.
11425         ($(common-objpfx)libc-modules.h,
11426         $(common-objpfx)libc-modules.stmp): New targets.
11427         (common-generated): Add libc-modules.h and libc-modules.stmp.
11428         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11429         * include/libc-symbols.h: Don't include libc-modules.h.
11430         * include/libc-modules.h: Remove file.
11431         * scripts/gen-libc-modules.awk: New script to generate
11432         libc-modules.h.
11433         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11434         Depend on libc-modules.stmp.
11436         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11438         * Makeconfig (in-module): Get value of libof set for the
11439         translation unit.
11440         (CPPFLAGS): Use $(in-module).
11441         * Makerules: Don't suffix routine names for nonlib.
11442         * include/libc-modules.h: New file.
11443         * include/libc-symbols.h: Include libc-modules.h
11444         (IS_IN): New macro to replace IS_IN_* macros.
11445         * elf/Makefile: Set libof-* for each routine.
11446         * elf/rtld-Rules: Likewise.
11447         * extra-modules.mk: Likewise.
11448         * iconv/Makefile: Likewise.
11449         * iconvdata/Makefile: Likewise.
11450         * locale/Makefile: Likewise.
11451         * malloc/Makefile: Likewise.
11452         * nss/Makefile: Likewise.
11453         * sysdeps/gnu/Makefile: Likewise.
11454         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11455         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11456         * sysdeps/s390/s390-64/Makefile: Likewise.
11457         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11458         CPPFLAGS for nscd instead of nonlib.
11460 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11462         * nptl/createthread.c: New file.
11464         * nptl/createthread.c: Moved ...
11465         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11467         * nptl/createthread.c: Add proper top-line comment.
11468         (do_clone): Folded into ...
11469         (create_thread): ... here.  Take new arguments STOPPED_START and
11470         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11471         increment __nptl_threads, do event-reporting logic, do
11472         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11473         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11474         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11475         just send SIGCANCEL.
11476         * nptl/pthread_create.c: Forward-declare create_thread before
11477         including createthread.c.
11478         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11479         declaration, and new macro START_THREAD_SELF to replace argument.
11480         Remove return statement.
11481         (report_thread_creation): New function.
11482         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11483         synchronization logic, and __nptl_nthreads increment here, around
11484         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11485         PD->parent_cancelhandling here, before create_thread.  When
11486         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11487         __deallocate_stack, and ENOMEM translation here.
11489 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11491         [BZ #17616]
11492         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11493         (mptwo): Rename to __mptwo.
11494         (__inv): Use __mptwo instead of mptwo.
11495         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11496         (mptwo): Rename to __mptwo.
11497         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11498         of mpone and __mptwo instead of mptwo.
11499         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11500         instead of mpone.
11501         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11502         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11503         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11504         of mpone and __mptwo instead of mptwo.
11505         (__mpranred): Use __mpone instead of mpone.
11506         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11507         variable.
11508         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11509         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11510         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11511         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11512         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11513         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11514         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11515         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11516         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11517         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11518         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11519         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11520         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11521         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11522         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11523         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11524         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11525         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11526         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11528 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11530         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11531         replace BSD Handler xref with BSD Signal Handling.
11533 2014-11-17  Richard Henderson  <rth@redhat.com>
11535         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11536         (_FP_PACK_RAW_2): Remove.
11537         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11538         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11539         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11540         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11541         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11542         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11543         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11544         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11545         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11546         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11547         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11548         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11549         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11550         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11551         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11552         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11554 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11556         * signal/signal.h [__USE_MISC]
11557         (struct sigvec): Remove type.
11558         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11559         (sigvec): Remove declaration.
11560         * sysdeps/posix/sigvec.c: Moved ...
11561         * signal/sigvec.c: ... here, replacing old file.
11562         (struct sigvec): New type, copied from old signal.h definition.
11563         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11564         (__sigvec): Convert definition to prototype.
11565         (sigvec): Replace weak_alias with compat_symbol.
11566         * signal/Versions (libc: GLIBC_2.21): New version set.
11567         * include/signal.h: Remove __sigvec declaration.
11568         * sysdeps/unix/bsd/sigvec.c: Remove file.
11569         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11570         * manual/signal.texi (BSD Handler): Remove subsection.
11571         Move siginterrupt up to ...
11572         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11573         (Blocking in BSD): Fold subsection into its parent.
11574         * NEWS: Mention sigvec removal.
11576 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11578         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11579         (DLA_FMS): Make definition conditional only on [__FMA4__].
11580         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11581         definition.
11583         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11584         Make definition conditional only on [PROF].
11585         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11586         definition.
11587         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11588         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11590         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11591         !__GNUC__].
11592         * include/signal.h (__sigpause): Move declaration above call to
11593         libc_hidden_proto.
11594         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11595         variable.
11596         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11597         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11599 2014-11-14  David S. Miller  <davem@davemloft.net>
11601         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11602         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11604 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11606         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11607         * configure: Regenerated.
11608         * manual/install.texi (Tools for Compilation): Document a
11609         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11610         compiler verified to work.
11611         * INSTALL: Regenerated.
11613         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11614         redeclare with asm name.
11615         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11616         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11617         including <string.h>.
11618         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11619         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11620         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11621         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11622         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11623         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11624         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11626 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11628         * stdlib/strtol.c (__strtol): Use prototype definition.
11630         [BZ #17594]
11631         * stdlib/strtol.c (SYM__): New macro.
11632         (SYM__1): Likewise.
11633         (__strtol): Likewise.
11634         (strtol): Rename to __strtol and define as weak alias of
11635         __strtol.  Use libc_hidden_weak.
11637 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11639         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11640         Use numbered labels in inline assembly.
11642 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11644         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11645         Add setjmp LIBC_PROBE.
11646         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11647         Likewise.
11648         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11649         Add longjmp, longjmp_target LIBC_PROBE.
11650         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11651         Likewise.
11653 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11655         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11656         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11657         to get rid of unused variable warning.
11659 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11661         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11662         Check for unwind_backtrace ==  NULL only in SHARED case.
11663         (__backchain_backtrace): Compile only in SHARED case.
11664         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11665         Likewise.
11666         (__backchain_backtrace): Declare as static.
11668 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11670         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11671         (__libc_multiple_threads_ptr): Variable moved ...
11672         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11674 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11676         * conform/GlibcConform.pm: New file.
11677         * conform/conformtest.pl: Use GlibcConform module.
11678         * conform/linknamespace.pl: New file.
11679         * conform/list-header-symbols.pl: Likewise.
11680         * conform/Makefile (linknamespace-symlists-base): New variable.
11681         (linknamespace-symlists-tests): Likewise.
11682         (linknamespace-header-base): Likewise.
11683         (linknamespace-header-tests): Likewise.
11684         (tests-special): Add new tests.
11685         ($(linknamespace-symlists-tests)): New rule.
11686         (linknamespace-libs): New variable.
11687         ($(objpfx)symlist-stdlibs): New rule.
11688         ($(linknamespace-header-tests)): Likewise.
11689         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11690         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11691         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11692         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11693         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11694         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11695         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11696         (test-xfail-ISO/math.h/linknamespace): Likewise.
11697         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11698         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11699         (test-xfail-ISO/time.h/linknamespace): Likewise.
11700         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11701         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11702         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11703         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11704         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11705         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11706         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11707         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11708         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11709         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11710         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11711         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11712         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11713         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11714         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11715         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11716         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11717         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11718         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11719         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11720         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11721         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11722         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11723         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11724         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11725         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11726         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11727         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11728         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11729         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11730         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11731         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11732         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11733         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11734         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11735         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11736         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11737         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11738         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11739         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11740         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11741         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11742         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11743         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11744         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11745         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11746         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11747         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11748         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11749         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11750         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11751         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11752         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11753         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11754         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11755         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11756         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11757         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11758         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11759         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11760         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11761         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11762         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11763         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11764         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11765         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11766         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11767         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11768         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11769         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11770         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11771         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11772         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11773         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11774         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11775         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11776         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11777         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11778         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11779         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11780         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11781         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11782         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11783         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11784         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11785         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11786         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11787         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11788         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11789         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11790         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11791         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11792         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11793         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11794         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11795         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11796         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11797         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11798         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11799         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11800         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11801         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11802         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11803         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11804         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11805         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11806         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11807         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11808         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11809         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11810         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11811         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11812         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11813         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11814         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11815         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11816         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11817         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11818         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11819         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11820         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11821         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11822         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11823         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11824         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11825         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11826         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11827         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11828         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11829         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11830         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11831         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11832         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11833         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11834         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11835         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11836         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11837         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11838         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11839         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11840         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11841         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11842         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11843         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11844         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11845         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11846         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11847         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11848         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11849         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11851         [BZ #17589]
11852         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11853         of fgets_unlocked.
11855         [BZ #17585]
11856         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11857         (memmem): Rename to __memmem and define as weak alias of
11858         __memmem.  Use libc_hidden_weak.
11859         (__memmem): Use libc_hidden_def.
11860         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11861         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11862         memmem.
11864         [BZ #17582]
11865         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11866         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11867         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11868         and define as weak alias of __fgets_unlocked.  Use
11869         libc_hidden_weak.
11870         (__fgets_unlocked): Use libc_hidden_def.
11871         * include/stdio.h (__fgets_unlocked): Declare.  Use
11872         libc_hidden_proto.
11873         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11874         __fgets_unlocked instead of fgets_unlocked.
11875         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11876         (GET_NPROCS_CONF_PARSER): Likewise.
11877         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11878         (GET_NPROCS_CONF_PARSER): Likewise.
11880         [BZ #17574]
11881         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11882         weak alias of __wmemset.  Use libc_hidden_weak.
11883         (__wmemset): Use libc_hidden_def.
11884         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11885         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11886         of wmemset.
11888         [BZ #17573]
11889         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11890         with asm name __mempcpy.
11891         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11893         [BZ #17572]
11894         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11895         and define as weak alias of __rawmemchr.
11896         (__rawmemchr): Do not define as strong alias of rawmemchr.
11898         [BZ #17571]
11899         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11900         alias of __qsort_r.
11901         (qsort): Call __qsort_r instead of qsort_r.
11902         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11903         (__qsort_r): Declare.  Call libc_hidden_proto.
11904         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11905         instead of qsort_r.
11906         * nscd/gai.c (__qsort_r): Define to qsort_r.
11907         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11908         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11909         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11911         [BZ #17570]
11912         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11913         define as weak alias of __malloc_info.
11915         [BZ #17584]
11916         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11917         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11918         (__rewinddir): Use libc_hidden_def.
11919         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11920         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11921         (__rewinddir): Use libc_hidden_def.
11922         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11923         weak alias of __rewinddir.  Don't use libc_hidden_def.
11924         (__rewinddir): Use libc_hidden_def.
11925         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11926         (__rewinddir): Use libc_hidden_proto.
11927         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11928         rewinddir.
11929         (__getcwd): Use __rewinddir instead of rewinddir.
11931         [BZ #17583]
11932         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11933         alias of __fileno.  Use libc_hidden_weak.
11934         (__fileno): Use libc_hidden_def.
11935         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11936         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11937         alias of __ftello.
11938         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11939         __ftello.
11940         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11941         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11942         libc_hidden_def.
11943         (fread_unlocked): Don't use libc_hidden_ver.
11944         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11945         and define as weak alias of __fread_unlocked.  Don't use
11946         libc_hidden_def.
11947         (__fread_unlocked): Use libc_hidden_def.
11948         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11949         (ftello): Don't use libc_hidden_proto.
11950         (__ftello): Declare.  Use libc_hidden_proto.
11951         (fread_unlocked): Don't use libc_hidden_proto.
11952         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11953         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11954         and __ftello instead of fileno, fread_unlocked and ftello.
11956 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11958         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11959         GOT12.
11960         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11961         Likewise.
11962         (_dl_start_user): Likewise.
11963         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11965 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11966             Siddhesh Poyarekar  <siddhesh@redhat.com>
11968         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11969         Move argv and envp down instead of moving argc up.
11970         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11972 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11974         [BZ #17506]
11975         * test-skeleton.c (main): Return successful if one of
11976         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11977         * string/tst-strcoll-overflow.c: Define expected status.
11979 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11981         [BZ #17475]
11982         * locale/iso-639.def: Define Bhili and Tulu language codes.
11984 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11986         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11988 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11990         [BZ #17555]
11991         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11993 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11995         * configure.ac: Updated check of minimal required version to
11996         2.22.
11997         * manual/install.texi (Tools for Compilation): Updated version
11998         number.
11999         * configure: Regenerated.
12000         * INSTALL: Likewise.
12002 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12004         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12005         __tls_get_addr.
12007 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12009         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12010         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12011         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12012         libc_hidden_weak.
12013         (waitpid): Define as alias of __waitpid.
12014         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12015         __waitpid.
12016         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12017         libc_hidden_weak.
12018         (waitpid): Define as alias of __waitpid.
12019         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12020         __libc_waitpid alias.
12021         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12022         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12023         Likewise.
12024         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12025         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12026         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12027         alias.
12028         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12029         __waitpid.
12030         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12031         libc_hidden_weak.
12032         (waitpid): Define as alias of __waitpid.
12034 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12036         * manual/llio.texi: Add comment that write safety has been
12037         fixed in Linux.
12039         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12040         (localplt-build-dso): Add elf/ld.so.
12041         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12042         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12043         and free for ld.so.
12044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12045         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12047         Likewise.
12048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12049         Likewise.
12050         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12051         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12052         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12053         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12054         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12055         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12056         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12057         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12058         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12059         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12060         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12062 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12064         [BZ #14132]
12065         * include/libc-symbols.h (INTUSE): Remove macro.
12066         (INTDEF): Likewise.
12067         (INTVARDEF): Likewise.
12068         (_INTVARDEF): Likewise.
12069         (INTDEF2): Likewise.
12070         (INTVARDEF2): Likewise.
12071         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12072         rtld_hidden_def instead of INTVARDEF.
12073         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12074         (_dl_starting_up_internal): Remove declaration.
12075         (_dl_starting_up): Use rtld_hidden_proto.
12076         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12077         declaration.
12078         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12079         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12080         _dl_starting_up.
12081         * elf/dl-writev.h (_dl_writev): Likewise.
12082         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12083         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12084         _dl_starting_up_internal.
12086 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12088         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12089         test-skeleton.c.
12091 2014-11-05  Will Newton  <will.newton@linaro.org>
12093         * benchtests/Makefile: (bench-malloc): Add malloc thread
12094         scalability benchmark.
12095         * benchtests/bench-malloc-threads.c: New file.
12097 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12099         * sysdeps/aarch64/strchrnul.S: New file.
12101 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12103         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12104         definition.
12105         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12106         Likwise.
12107         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12108         Likewise.
12109         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12110         Likewise.
12111         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12112         Likewise.
12113         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12114         Likewise.
12116 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12118         * catgets/test-gencat.c: Use test-skeleton.c.
12119         * catgets/tst-catgets.c: Likewise.
12120         * csu/tst-empty.c: Likewise.
12121         * elf/tst-audit2.c: Likewise.
12122         * elf/tst-global1.c: Likewise.
12123         * elf/tst-pathopt.c: Likewise.
12124         * elf/tst-piemod1.c: Likewise.
12125         * elf/tst-tls10.c: Likewise.
12126         * elf/tst-tls11.c: Likewise.
12127         * elf/tst-tls12.c: Likewise.
12128         * gnulib/tst-gcc.c: Likewise.
12129         * iconvdata/tst-e2big.c: Likewise.
12130         * iconvdata/tst-loading.c: Likewise.
12131         * iconv/tst-iconv1.c: Likewise.
12132         * iconv/tst-iconv2.c: Likewise.
12133         * inet/test-inet6_opt.c: Likewise.
12134         * inet/tst-gethnm.c: Likewise.
12135         * inet/tst-network.c: Likewise.
12136         * inet/tst-ntoa.c: Likewise.
12137         * intl/tst-codeset.c: Likewise.
12138         * intl/tst-gettext2.c: Likewise.
12139         * intl/tst-gettext3.c: Likewise.
12140         * intl/tst-ngettext.c: Likewise.
12141         * intl/tst-translit.c: Likewise.
12142         * io/test-stat.c: Likewise.
12143         * libio/test-fmemopen.c: Likewise.
12144         * libio/tst-freopen.c: Likewise.
12145         * libio/tst-sscanf.c: Likewise.
12146         * libio/tst-ungetwc1.c: Likewise.
12147         * libio/tst-ungetwc2.c: Likewise.
12148         * libio/tst-widetext.c: Likewise.
12149         * localedata/tst-ctype.c: Likewise.
12150         * localedata/tst-digits.c: Likewise.
12151         * localedata/tst-leaks.c: Likewise.
12152         * localedata/tst-mbswcs1.c: Likewise.
12153         * localedata/tst-mbswcs2.c: Likewise.
12154         * localedata/tst-mbswcs3.c: Likewise.
12155         * localedata/tst-mbswcs4.c: Likewise.
12156         * localedata/tst-mbswcs5.c: Likewise.
12157         * localedata/tst-setlocale.c: Likewise.
12158         * localedata/tst-trans.c: Likewise.
12159         * localedata/tst-wctype.c: Likewise.
12160         * localedata/tst-xlocale1.c: Likewise.
12161         * login/tst-grantpt.c: Likewise.
12162         * malloc/tst-calloc.c: Likewise.
12163         * malloc/tst-malloc.c: Likewise.
12164         * malloc/tst-mallocstate.c: Likewise.
12165         * malloc/tst-mcheck.c: Likewise.
12166         * malloc/tst-mtrace.c: Likewise.
12167         * malloc/tst-obstack.c: Likewise.
12168         * math/atest-exp2.c: Likewise.
12169         * math/atest-exp.c: Likewise.
12170         * math/atest-sincos.c: Likewise.
12171         * math/test-matherr.c: Likewise.
12172         * math/test-misc.c: Likewise.
12173         * math/test-powl.c: Likewise.
12174         * math/tst-definitions.c: Likewise.
12175         * misc/tst-dirname.c: Likewise.
12176         * misc/tst-efgcvt.c: Likewise.
12177         * misc/tst-fdset.c: Likewise.
12178         * misc/tst-hsearch.c: Likewise.
12179         * misc/tst-mntent2.c: Likewise.
12180         * nptl/tst-sem7.c: Likewise.
12181         * nptl/tst-sem8.c: Likewise.
12182         * nptl/tst-sem9.c: Likewise.
12183         * nss/test-netdb.c: Likewise.
12184         * posix/tst-fnmatch.c: Likewise.
12185         * posix/tst-getlogin.c: Likewise.
12186         * posix/tst-gnuglob.c: Likewise.
12187         * posix/tst-mmap.c: Likewise.
12188         * pwd/tst-getpw.c: Likewise.
12189         * resolv/tst-inet_ntop.c: Likewise.
12190         * rt/tst-timer.c: Likewise.
12191         * stdio-common/test-fseek.c: Likewise.
12192         * stdio-common/test-popen.c: Likewise.
12193         * stdio-common/test-vfprintf.c: Likewise.
12194         * stdio-common/tst-cookie.c: Likewise.
12195         * stdio-common/tst-fileno.c: Likewise.
12196         * stdio-common/tst-gets.c: Likewise.
12197         * stdio-common/tst-obprintf.c: Likewise.
12198         * stdio-common/tst-perror.c: Likewise.
12199         * stdio-common/tst-sprintf2.c: Likewise.
12200         * stdio-common/tst-sprintf3.c: Likewise.
12201         * stdio-common/tst-sprintf.c: Likewise.
12202         * stdio-common/tst-swprintf.c: Likewise.
12203         * stdio-common/tst-tmpnam.c: Likewise.
12204         * stdio-common/tst-unbputc.c: Likewise.
12205         * stdio-common/tst-wc-printf.c: Likewise.
12206         * stdlib/tst-environ.c: Likewise.
12207         * stdlib/tst-fmtmsg.c: Likewise.
12208         * stdlib/tst-limits.c: Likewise.
12209         * stdlib/tst-rand48-2.c: Likewise.
12210         * stdlib/tst-rand48.c: Likewise.
12211         * stdlib/tst-random2.c: Likewise.
12212         * stdlib/tst-random.c: Likewise.
12213         * stdlib/tst-strtol.c: Likewise.
12214         * stdlib/tst-strtoll.c: Likewise.
12215         * stdlib/tst-tls-atexit.c: Likewise.
12216         * stdlib/tst-xpg-basename.c: Likewise.
12217         * string/test-ffs.c: Likewise.
12218         * string/tst-bswap.c: Likewise.
12219         * string/tst-inlcall.c: Likewise.
12220         * string/tst-strtok.c: Likewise.
12221         * string/tst-strxfrm.c: Likewise.
12222         * sysdeps/x86_64/tst-audit10.c: Likewise.
12223         * sysdeps/x86_64/tst-audit3.c: Likewise.
12224         * sysdeps/x86_64/tst-audit4.c: Likewise.
12225         * sysdeps/x86_64/tst-audit5.c: Likewise.
12226         * time/tst-ftime_l.c: Likewise.
12227         * time/tst-getdate.c: Likewise.
12228         * time/tst-mktime3.c: Likewise.
12229         * time/tst-mktime.c: Likewise.
12230         * time/tst-posixtz.c: Likewise.
12231         * time/tst-strptime2.c: Likewise.
12232         * time/tst-strptime3.c: Likewise.
12233         * wcsmbs/tst-btowc.c: Likewise.
12234         * wcsmbs/tst-mbrtowc.c: Likewise.
12235         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12236         * wcsmbs/tst-wchar-h.c: Likewise.
12237         * wcsmbs/tst-wcpncpy.c: Likewise.
12238         * wcsmbs/tst-wcrtomb.c: Likewise.
12239         * wcsmbs/tst-wcsnlen.c: Likewise.
12240         * wcsmbs/tst-wcstof.c: Likewise.
12242 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12244         [BZ #14132]
12245         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12246         INTDEF.
12247         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12248         declaration.
12249         (_dl_mcount): Use rtld_hidden_proto.
12250         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12251         _dl_mcount.
12252         * elf/rtld.c (_rtld_global_ro): Likewise.
12254         [BZ #14132]
12255         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12256         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12257         of _dl_init_internal.
12258         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12259         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12260         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12261         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12262         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12263         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12264         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12265         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12266         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12267         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12268         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12269         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12270         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12271         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12272         * sysdeps/tile/dl-start.S (_start): Likewise.
12273         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12274         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12276         [BZ #14132]
12277         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12278         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12279         (rtld_progname): Make macro definition unconditional.
12280         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12281         INTDEF.
12282         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12283         (dl_main): Likewise.
12284         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12285         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12286         instead of _dl_argv_internal.
12287         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12288         __GI__dl_argv instead of INTUSE(_dl_argv).
12289         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12290         __GI__dl_argv instead of _dl_argv_internal.
12292         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12293         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12294         macro.
12295         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12296         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12297         New macro.
12298         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12299         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12300         macro.
12301         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12302         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12304 2014-11-04  Andreas Schwab  <schwab@suse.de>
12306         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12308 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12310         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12311         mtvsrd instruction in binary form.
12313 2014-11-03  Andreas Schwab  <schwab@suse.de>
12315         [BZ #17522]
12316         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12317         for less than MB_LEN_MAX use a local buffer of that size.
12318         * libio/tst-fputws.c: New file.
12319         * libio/Makefile (tests): Add tst-fputws.
12321 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12323         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12324         the size of the fpu_fr.fpu_dregs[] array.
12326 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12328         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12329         (__nanosleep): Do not define as alias.
12330         (nanosleep): Define as alias of __nanosleep.
12331         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12332         __libc_nanosleep name.
12334 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12336         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12337         install.texi in comment.
12339 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12341         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12342         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12343         ... add here and use lwsync or sync ...
12344         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12345         ... and add here using lwsync.
12347 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12349         * elf/dl-machine-reject-phdr.h: New file.
12350         * elf/dl-load.c: #include that.
12351         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12352         if that returned true.
12354 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12356         [BZ #17496]
12357         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12358         gen-as-const-headers chunk.  Add a big scare comment after the last
12359         safe place to touch before-compile.
12361 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12363         * manual/install.texi (Tools for Compilation): Update autoconf
12364         version requirements.
12365         * INSTALL: Regenerated.
12367         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12368         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12369         (__libc_pselect): Likewise.
12371         [BZ #14138]
12372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12377 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12379         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12380         correct barrier instruction.
12381         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12382         Likewise.
12383         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12384         Likewise.
12386 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12388         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12389         after defining inlines.  Instead, just use parens to defeat macro
12390         expansion of __isctype in its declaration.
12392 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12394         * include/sys/uio.h (__libc_readv): Remove declaration.
12395         (__libc_writev): Likewise.
12396         * misc/readv.c (__libc_readv): Rename to __readv.
12397         (__readv): Do not define as alias.
12398         (readv): Define as alias of __readv.
12399         * misc/writev.c (__libc_writev): Rename to __writev.
12400         (__writev): Do not define as alias.
12401         (writev): Define as alias of __writev.
12402         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12403         (__readv): Do not define as alias.
12404         (readv): Define unconditionally as alias of __readv.
12405         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12406         (__writev): Do not define as alias.
12407         (writev): Define unconditionally as alias of __writev.
12408         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12409         name.
12410         (writev): Do not define __libc_writev name.
12412 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12414         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12415         (convert_charseq): New function, broken out of ...
12416         (use_from_charmap): ... here.  Call it.
12417         (use_to_charmap): Use convert_charseq and free instead of duplicating
12418         its code with a variable-length stack struct.
12420 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12422         * include/fcntl.h (__libc_creat): Remove declaration.
12423         * io/creat.c (__libc_creat): Rename to creat.
12424         (creat): Do not define as alias.
12425         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12426         of creat instead of __libc_creat.
12427         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12428         to creat.
12429         (creat): Do not define as alias.
12430         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12431         __libc_creat.
12432         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12433         __libc_creat name.
12434         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12435         Likewise.
12437 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12439         * manual/llio.texi: Add comments discussing why write() may be
12440         considered MT-unsafe on Linux.
12442 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12444         * dl-load.c (local_strdup): Remove.
12445         (expand_dynamic_string_token): Use __strdup.
12446         (decompose_rpath): Likewise.
12447         (_dl_map_object): Likewise.
12449 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12451         [BZ #14132]
12452         * sysdeps/generic/unwind-dw2-fde.c
12453         (__register_frame_info_bases_internal): Do not declare.
12454         (__register_frame_info_table_bases_internal): Likewise.
12455         (__deregister_frame_info_bases_internal): Likewise.
12456         (__register_frame_info_bases): Declare and use hidden_proto before
12457         definition.  Use hidden_def instead of INTDEF.
12458         (__register_frame_info_table_bases): Likewise.
12459         (__deregister_frame_info_bases): Likewise.
12460         (__register_frame_info): Do not use INTUSE.
12461         (__register_frame): Likewise.
12462         (__register_frame_info_table): Likewise.
12463         (__register_frame_table): Likewise.
12464         (__deregister_frame_info): Likewise.
12465         (__deregister_frame): Likewise.
12467 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12469         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12470         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12471         not undefine.
12472         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12473         Likewise.
12474         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12475         Likewise.
12477 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12479         [BZ #14138]
12480         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12481         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12482         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12483         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12484         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12485         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12486         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12487         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12488         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12489         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12490         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12491         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12492         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12493         syscall.
12494         (setfsuid): Likewise.
12495         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12496         (setfsuid): Likewise.
12497         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12498         (setfsuid): Likewise.
12499         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12500         Likewise.
12501         (setfsuid): Likewise.
12502         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12503         (setfsuid): Likewise.
12504         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12505         Likewise.
12506         (setfsuid): Likewise.
12508 2014-10-27  Andreas Schwab  <schwab@suse.de>
12510         [BZ #17501]
12511         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12512         check for Slow_SSE4_2 feature bit.
12513         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12514         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12515         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12516         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12518 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12520         * configure.ac: Validate compiler version with a empirical test of
12521         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12522         $CC -v output.
12523         * configure: Regenerated.
12525         * inet/htons.c (htons): Prototypify.
12526         * inet/htonl.c (htonl): Likewise.
12528 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12530         * string/strncat.c (strncat): Improve performance by using strlen.
12532 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12534         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12536 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12538         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12539         Call libc_fetestexcept_aarch64.
12541 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12543         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12544         Call libc_feholdexcept_aarch64.
12546 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12548         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12549         Call get_rounding_mode.
12551 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12553         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12554         Simplify logic.
12556 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12558         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12559         Simplify logic.
12561 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12563         [BZ #14138]
12564         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12565         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12566         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12567         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12568         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12569         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12570         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12571         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12572         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12573         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12574         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12575         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12576         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12577         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12578         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12579         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12580         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12581         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12582         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12583         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12584         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12585         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12586         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12587         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12588         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12589         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12590         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12591         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12592         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12593         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12594         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12595         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12596         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12597         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12598         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12599         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12600         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12601         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12602         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12603         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12604         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12605         syscall.
12606         (geteuid): Likewise.
12607         (getgid): Likewise.
12608         (getuid): Likewise.
12609         (getresgid): Likewise.
12610         (getresuid): Likewise.
12611         (getgroups): Likewise.
12612         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12613         (geteuid): Likewise.
12614         (getgid): Likewise.
12615         (getuid): Likewise.
12616         (getresgid): Likewise.
12617         (getresuid): Likewise.
12618         (getgroups): Likewise.
12619         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12620         (geteuid): Likewise.
12621         (getgid): Likewise.
12622         (getuid): Likewise.
12623         (getresgid): Likewise.
12624         (getresuid): Likewise.
12625         (getgroups): Likewise.
12626         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12627         Likewise.
12628         (geteuid): Likewise.
12629         (getgid): Likewise.
12630         (getuid): Likewise.
12631         (getresgid): Likewise.
12632         (getresuid): Likewise.
12633         (getgroups): Likewise.
12634         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12635         (geteuid): Likewise.
12636         (getgid): Likewise.
12637         (getuid): Likewise.
12638         (getresgid): Likewise.
12639         (getresuid): Likewise.
12640         (getgroups): Likewise.
12641         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12642         Likewise.
12643         (geteuid): Likewise.
12644         (getgid): Likewise.
12645         (getuid): Likewise.
12646         (getgroups): Likewise.
12648         [BZ #14138]
12649         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12650         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12651         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12652         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12653         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12654         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12655         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12656         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12657         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12658         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12659         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12660         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12661         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12662         __chown.
12663         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12664         (lchown): Likewise.
12665         (fchown): Likewise.
12666         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12667         Likewise.
12668         (lchown): Likewise.
12669         (fchown): Likewise.
12670         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12671         (lchown): Likewise.
12672         (fchown): Likewise.
12673         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12674         Likewise.
12675         (lchown): Likewise.
12676         (fchown): Likewise.
12678 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12680         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12681         Simplify logic.
12683 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12685         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12686         Cleanup logic.
12688 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12690         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12691         Remove unused include.
12693 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12695         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12696         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12697         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12698         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12700 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12701             Helge Deller <deller@gmx.de>
12703         [BZ #17508]
12704         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12705         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12706         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12708 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12710         [BZ #14132]
12711         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12712         Remove macro definition.
12713         (__ashrdi3_v_glibc20): Likewise.
12714         (__lshrdi3_v_glibc20): Likewise.
12715         (__cmpdi2_v_glibc20): Likewise.
12716         (__ucmpdi2_v_glibc20): Likewise.
12717         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12718         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12719         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12720         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12721         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12722         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12724 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12726         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12727         old GNU extension [0] syntax.
12728         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12729         alloca rather than an array member with variable length.
12730         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12731         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12732         (parse_opt): ... here.  Likewise use alloca there.
12733         Validate the -i argument before checking for rootness.
12734         (send_shutdown): New function, broken out of ...
12735         (parse_opt): ... here.
12737 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12739         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12740         macro to get at the _rt_local_ro field.
12741         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12742         ([PIC] case) or _dl_hwcap ([!PIC] case).
12743         * sysdeps/arm/setjmp.S: Likewise.
12745         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12746         * sysdeps/arm/configure.ac: New check to define it.
12747         * sysdeps/arm/configure: Regenerated.
12748         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12749         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12750         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12751         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12752         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12753         Use move/movt pair instead of a load.
12754         (LDST_GLOBAL): Macro removed.
12755         (LDR_GLOBAL): New macro replaces it.
12756         (LDR_HIDDEN): New macro.
12757         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12758         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12760         * setjmp/tst-setjmp-static.c: New file.
12761         * setjmp/Makefile (tests): Add it.
12762         (tests-static): New variable.
12764 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12766         [BZ #17485]
12767         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12769 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12771         [BZ #14132]
12772         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12774 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12776         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12778 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12780         * io/fts.c (dirent_not_directory): New function.
12781         (fts_build): Call it.
12783 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12785         * nptl/version.c (__nptl_main): Use normal __write rather than
12786         INTERNAL_SYSCALL.
12787         (banner): Update copyright years.
12789         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12790         gettimeofday.
12791         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12792         * nptl/pthread_cond_timedwait.c: Likewise.
12793         * nptl/pthread_mutex_timedlock.c: Likewise.
12794         * nptl/sem_timedwait.c: Likewise.
12796         * sysdeps/nptl/bits/libc-lock.h
12797         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12798         (__libc_lock_init_recursive): Return void, not 0.
12799         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12800         (__libc_rwlock_init): Likewise.
12801         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12803 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12805         [BZ #15215]
12806         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12807         (__pthread_once_slow): ... here.
12808         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12809         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12811 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12813         [BZ #15215]
12814         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12815         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12816         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12817         * nptl/pthread_once.c (__pthread_once): Likewise.
12818         Update comments.
12820 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12822         [BZ #14138]
12823         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12824         name.
12825         (writev): Use __libc_writev as strong name.
12826         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12827         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12829 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12831         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12833         * sysdeps/i386/nptl/tls.h
12834         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12835         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12836         New macros.
12837         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12838         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12839         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12840         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12841         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12842         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12844         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12845         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12846         on [__NR_futex].
12847         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12848         broken out of ...
12849         (__pthread_mutex_init): ... here.  Call it.
12850         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12851         Conditionalize PI cases on [__NR_futex].
12852         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12853         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12854         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12856         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12857         conditional on [SIGSETXID].
12858         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12859         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12860         is defined.  Likewise for SIGSETXID.
12861         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12862         Conditionalize definitions on [SIGSETXID].
12863         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12864         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12865         unblocking on [SIGCANCEL].
12867         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12868         [__NR_set_robust_list].
12870 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12872         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12873         (do_compare): Likewise.
12875 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12877         [BZ #15884]
12878         * string/strcoll_l.c: Don't include stdio.h.
12879         (coll_seq): Remove members idxarr and rulearr.
12880         (get_next_seq_cached): Remove function.
12881         (get_next_seq): Likewise.
12882         (get_next_seq_nocache): Rename to get_next_seq.
12883         (do_compare): Remove function.
12884         (do_compare_nocache): Rename to do_compare.
12885         (STRCOLL): Remove weight and rules cache.
12887 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12889         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12890         * sysdeps/arm/sfp-machine.h: ... to here.
12891         * sysdeps/arm/Implies: Remove arm/soft-fp.
12893 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12895         * conform/data/sys/utsname.h-data (*_t): Allow.
12896         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12897         [POSIX] (WEXITED): Do not expect constant.
12898         [POSIX] (WSTOPPED): Likewise.
12899         [POSIX] (WNOHANG): Likewise.
12900         [POSIX] (WNOWAIT): Likewise.
12901         [POSIX] (siginfo_t): Do not expect type or elements.
12902         [POSIX] (pid_t): Do not expect type.
12903         [POSIX] (signal.h): Do not allow header.
12904         [POSIX] (sys/resource.h): Likewise.
12905         [POSIX] (si_*): Do not allow pattern.
12906         [POSIX] (W*): Likewise.
12907         [POSIX] (P_*): Likewise.
12908         [POSIX] (BUS_*): Likewise.
12909         [POSIX] (CLD_*): Likewise.
12910         [POSIX] (FPE_*): Likewise.
12911         [POSIX] (ILL_*): Likewise.
12912         [POSIX] (POLL_*): Likewise.
12913         [POSIX] (SEGV_*): Likewise.
12914         [POSIX] (SI_*): Likewise.
12915         [POSIX] (TRAP_*): Likewise.
12916         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12917         variable.
12919 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12921         [BZ #12926]
12922         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12923         infinite loop when __recvmsg returns 0.
12925 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12927         * CANCEL-FCT-WAIVE: Remove file.
12928         * CANCEL-FILE-WAIVE: Likewise.
12930         [BZ #14132]
12931         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12932         instead of INTVARDEF.
12933         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12934         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12935         rtld_hidden_data_def instead of INTVARDEF.
12936         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12937         * elf/dl-deps.c (expand_dst): Likewise.
12938         * elf/dl-load.c (_dl_dst_count): Likewise.
12939         (_dl_dst_substitute): Likewise.
12940         (decompose_rpath): Likewise.
12941         (_dl_init_paths): Likewise.
12942         (open_path): Likewise.
12943         (_dl_map_object): Likewise.
12944         * elf/rtld.c (dl_main): Likewise.
12945         (process_dl_audit): Likewise.
12946         (process_envvars): Likewise.
12947         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12948         Remove declaration.
12949         (__libc_enable_secure): Use rtld_hidden_proto.
12951 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12953         * elf/dl-load.c
12954         (add_path): New function broken out of _dl_rtld_di_serinfo.
12955         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12957 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12959         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12960         parentheses around macro arguments.
12961         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12962         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12963         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12964         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12965         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12966         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12967         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12968         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12969         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12970         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12971         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12972         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12973         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12974         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12975         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12976         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12977         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12978         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12979         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12980         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12981         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12982         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12983         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12984         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12985         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12986         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12987         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12988         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12989         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12990         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12991         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12992         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12993         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12994         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12995         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12996         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12997         Likewise.
12998         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12999         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13000         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13001         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13002         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13003         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13004         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13005         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13006         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13007         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13008         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13009         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13010         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13011         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13012         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13013         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13014         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13015         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13016         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13017         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13018         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13019         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13020         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13021         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13022         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13023         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13024         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13025         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13026         (_FP_FRAC_SRS_1): Likewise.
13027         (_FP_FRAC_CLZ_1): Likewise.
13028         (_FP_MUL_MEAT_1_imm): Likewise.
13029         (_FP_MUL_MEAT_1_wide): Likewise.
13030         (_FP_MUL_MEAT_1_hard): Likewise.
13031         (_FP_SQRT_MEAT_1): Likewise.
13032         (_FP_FRAC_ASSEMBLE_1): Likewise.
13033         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13034         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13035         (__FP_CLZ_2): Likewise.
13036         (_FP_MUL_MEAT_2_wide): Likewise.
13037         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13038         (_FP_MUL_MEAT_2_gmp): Likewise.
13039         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13040         (_FP_SQRT_MEAT_2): Likewise.
13041         (_FP_FRAC_ASSEMBLE_2): Likewise.
13042         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13043         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13044         (_FP_FRAC_CLZ_4): Likewise.
13045         (_FP_MUL_MEAT_4_wide): Likewise.
13046         (_FP_MUL_MEAT_4_gmp): Likewise.
13047         (_FP_SQRT_MEAT_4): Likewise.
13048         (_FP_FRAC_ASSEMBLE_4): Likewise.
13049         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13050         * soft-fp/op-common.h (_FP_CMP): Likewise.
13051         (_FP_CMP_EQ): Likewise.
13052         (_FP_CMP_UNORD): Likewise.
13053         (_FP_TO_INT): Likewise.
13054         (_FP_FROM_INT): Likewise.
13055         [!__FP_CLZ] (__FP_CLZ): Likewise.
13056         (_FP_DIV_HELP_imm): Likewise.
13057         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13058         Likewise.
13059         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13060         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13061         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13062         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13063         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13064         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13065         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13066         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13067         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13068         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13069         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13070         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13071         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13072         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13073         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13074         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13075         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13076         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13077         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13078         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13079         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13080         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13081         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13082         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13083         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13084         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13085         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13086         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13087         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13088         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13089         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13090         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13091         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13092         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13093         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13094         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13095         (FP_UNPACK_RAW_SP): Likewise.
13096         (FP_PACK_RAW_S): Likewise.
13097         (FP_PACK_RAW_SP): Likewise.
13098         (FP_UNPACK_S): Likewise.
13099         (FP_UNPACK_SP): Likewise.
13100         (FP_UNPACK_SEMIRAW_S): Likewise.
13101         (FP_UNPACK_SEMIRAW_SP): Likewise.
13102         (FP_PACK_S): Likewise.
13103         (FP_PACK_SP): Likewise.
13104         (FP_PACK_SEMIRAW_S): Likewise.
13105         (FP_PACK_SEMIRAW_SP): Likewise.
13106         (_FP_SQRT_MEAT_S): Likewise.
13107         (FP_CMP_S): Likewise.
13108         (FP_CMP_EQ_S): Likewise.
13109         (FP_CMP_UNORD_S): Likewise.
13110         (FP_TO_INT_S): Likewise.
13111         (FP_FROM_INT_S): Likewise.
13113         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13115         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13116         (FP_EX_INVALID_IMZ): Likewise.
13117         (FP_EX_INVALID_IMZ_FMA): Likewise.
13118         (FP_EX_INVALID_ISI): Likewise.
13119         (FP_EX_INVALID_ZDZ): Likewise.
13120         (FP_EX_INVALID_IDI): Likewise.
13121         (FP_EX_INVALID_SQRT): Likewise.
13122         (FP_EX_INVALID_CVI): Likewise.
13123         (FP_EX_INVALID_VC): Likewise.
13124         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13125         "invalid" exceptions.
13126         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13127         (_FP_ADD_INTERNAL): Likewise.
13128         (_FP_MUL): Likewise.
13129         (_FP_FMA): Likewise.
13130         (_FP_DIV): Likewise.
13131         (_FP_CMP_CHECK_NAN): Likewise.
13132         (_FP_SQRT): Likewise.
13133         (_FP_TO_INT): Likewise.
13134         (FP_EXTEND): Likewise.
13136 2014-10-09  Allan McRae  <allan@archlinux.org>
13138         * po/fr.po: Update French translation from translation project.
13140 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13142         [BZ #14132]
13143         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13144         of INTDEF.
13145         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13146         (__cxa_atexit): Use libc_hidden_proto.
13147         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13149         [BZ #14132]
13150         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13151         declaration.
13152         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13153         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13154         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13155         [!_ISOMAC] (__iswctype_internal): Likewise.
13156         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13157         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13158         alias.
13159         (fcntl): Remove __fcntl_internal alias.
13160         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13161         __connect_internal alias.
13162         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13163         Likewise.
13165         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13166         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13167         FP_DENORM_ZERO.
13168         (_FP_CHECK_FLUSH_ZERO): New macro.
13169         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13170         (_FP_CMP): Likewise.
13171         (_FP_CMP_EQ): Likewise.
13172         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13173         FP_DENORM_ZERO.
13174         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13175         (FP_TRUNC): Likewise.
13177         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13178         treated as invalid conversion, not as normal exponent.
13180         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13181         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13182         (_FP_CMP_EQ): Likewise.
13183         (_FP_CMP_UNORD): Likewise.
13184         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13185         (FP_CMP_EQ_D): Likewise.
13186         (FP_CMP_UNORD_D): Likewise.
13187         * soft-fp/extended.h (FP_CMP_E): Likewise.
13188         (FP_CMP_EQ_E): Likewise.
13189         (FP_CMP_UNORD_E): Likewise.
13190         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13191         (FP_CMP_EQ_Q): Likewise.
13192         (FP_CMP_UNORD_Q): Likewise.
13193         * soft-fp/single.h (FP_CMP_S): Likewise.
13194         (FP_CMP_EQ_S): Likewise.
13195         (FP_CMP_UNORD_S): Likewise.
13196         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13197         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13198         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13199         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13200         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13201         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13202         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13203         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13204         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13205         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13206         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13207         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13208         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13209         to FP_CMP_Q.
13210         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13211         FP_CMP_Q.
13212         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13213         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13214         FP_CMP_EQ_Q.
13215         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13216         FP_CMP_Q.
13217         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13218         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13219         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13220         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13221         FP_CMP_EQ_Q.
13222         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13223         FP_CMP_Q.
13224         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13225         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13226         FP_CMP_EQ_Q.
13227         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13228         FP_CMP_Q.
13229         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13230         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13231         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13232         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13233         FP_CMP_EQ_Q.
13235         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13236         a subnormal result, set the underflow exception if trapping on
13237         underflow is enabled.
13238         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13239         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13240         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13241         redefine to 0.
13242         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13243         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13244         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13245         * soft-fp/extendxftf2.c (__extendxftf2): Use
13246         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13248         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13249         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13250         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13251         FP_HANDLE_EXCEPTIONS.
13252         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13253         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13254         FP_HANDLE_EXCEPTIONS.
13255         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13256         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13257         FP_HANDLE_EXCEPTIONS.
13258         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13259         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13260         FP_HANDLE_EXCEPTIONS.
13262 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13264         [BZ #14132]
13265         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13266         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13267         use INTUSE.
13268         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13269         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13270         Remove alias.
13271         (__adjtimex): Define using libc_hidden_ver.
13272         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13273         Remove declaration.
13274         (ntp_gettime): Call __adjtimex directly.
13275         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13276         Remove declaration.
13277         (ntp_gettimex): Call __adjtimex directly.
13278         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13279         __adjtimex_internal alias.
13281 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13283         [BZ #17460]
13284         * nscd/nscd.c (more_help): Rewrite list of tables collection
13285         using xstrdup and asprintf.
13287         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13289 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13290             Roland McGrath  <roland@hack.frob.com>
13292         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13293         (do_lookup_unique): ... local function 'enter' here; update callers.
13295 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13297         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13298         compat_symbol calls on [SHARED].
13299         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13300         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13301         Remove.
13302         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13303         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13304         (oldsetrlimit): Remove.
13305         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13307         (lchown): New syscall entry.
13308         (oldsetrlimit): Remove.
13309         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13310         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13311         (oldsetrlimit): Remove.
13312         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13314         [BZ #14138]
13315         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13316         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13317         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13318         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13319         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13320         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13321         (fchown): Likewise.
13322         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13323         (fchown): Likewise.
13324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13325         Likewise.
13327 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13329         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13330         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13331         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13332         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13333         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13334         Likewise.
13335         (__old_sem_post): Likewise.
13337 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13339         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13340         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13341         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13342         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13343         Use INLINE_VSYSCALL macro.
13344         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13345         __vdso_clock_gettime.
13346         * sysdeps/unix/sysv/linux/tile/init-first.c
13347         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13348         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13349         __vdso_clock_gettime.
13351         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13352         to set up frame more cleanly.
13354         * sysdeps/tile/memcmp.c: New file.
13356         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13358         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13359         * sysdeps/tile/tilegx/strcasestr.c: New file.
13360         * sysdeps/tile/tilegx/strnlen.c: New file.
13361         * sysdeps/tile/tilegx/strstr.c: New file.
13363         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13365 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13367         * nptl/tst-setuid3.c: Write errors to stdout.
13369 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13371         * elf/dl-deps.c
13372         (preload): New functions broken out of _dl_map_object_deps.
13373         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13375 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13377         [BZ #14138]
13378         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13379         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13381 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13383         * sysdeps/mips/strcmp.S: New.
13385 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13387         [BZ #14138]
13388         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13389         (linkat): Likewise.
13390         (mkdirat): Likewise.
13391         (readlinkat): Likewise.
13392         (renameat): Likewise.
13393         (symlinkat): Likewise.
13394         (unlinkat): Likewise.
13395         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13396         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13397         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13398         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13399         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13400         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13401         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13403 2014-09-30  Will Newton  <will.newton@linaro.org>
13405         * math/math.h: Define long double math functions if
13406         _LIBC_TEST is defined.
13407         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13409         * localedata/Makefile: Move assignment to tests-special
13410         into an ifdef testing run-built-tests.
13411         * timezone/Makefile: Likewise.
13413 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13415         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13416         with $(BASH) not $(SHELL).
13418 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13419             Matthew LeGendre  <legendre1@llnl.gov>
13421         [BZ #17411]
13422         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13423         l_reloc_result.
13425 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13427         * stdio-common/printf_fp.c
13428         (hack_digit): New function, broken out of ...
13429         (__printf_fp): ... local function here.  Update call sites.
13430         hack_digit now takes an additional parameter that is a pointer
13431         to a struct of the referenced locals.  Those locals moved inside
13432         the struct and references updated.
13434 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13436         * aclocal.m4: Require autoconf 2.69.
13437         * configure: Regenerated.
13438         * sysdeps/aarch64/configure: Likewise.
13439         * sysdeps/alpha/configure: Likewise.
13440         * sysdeps/arm/armv7/configure: Likewise.
13441         * sysdeps/arm/configure: Likewise.
13442         * sysdeps/ia64/configure: Likewise.
13443         * sysdeps/mach/configure: Likewise.
13444         * sysdeps/mips/configure: Likewise.
13445         * sysdeps/s390/configure: Likewise.
13446         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13449         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13450         file.
13451         * sysdeps/ia64/configure.ac: Likewise.
13453 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13456         specify symbol version for ld.so.  Do not include entry for
13457         libpthread.
13458         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13459         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13460         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13462         [BZ #14171]
13463         * Makeconfig [$(build-shared) = yes]
13464         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13465         makefiles.
13466         [$(build-shared) = yes && $(soversions.mk-done) = t]
13467         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13468         [$(build-shared) = yes && $(soversions.mk-done) = t]
13469         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13470         to Makerules.
13471         [$(build-shared) = yes && $(soversions.mk-done) = t]
13472         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13473         here.
13474         [$(build-shared) = yes && $(soversions.mk-done) = t]
13475         (common-generated): Don't append gnu/lib-names.h and
13476         gnu/lib-names.stmp here.
13477         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13478         (lib-names-h-abi): New variable.
13479         [$(build-shared) = yes && $(soversions.mk-done) = t]
13480         (lib-names-stmp-abi): Likewise.
13481         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13482         abi-variants] (before-compile): Append
13483         $(common-objpfx)$(lib-names-h-abi).
13484         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13485         abi-variants] (common-generated): Append gnu/lib-names.h.
13486         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13487         abi-variants] (install-others-nosubdir): Depend on
13488         $(inst_includedir)/$(lib-names-h-abi).
13489         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13490         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13491         [$(build-shared) = yes && $(soversions.mk-done) = t]
13492         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13493         [$(build-shared) = yes && $(soversions.mk-done) = t]
13494         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13495         [$(build-shared) = yes && $(soversions.mk-done) = t]
13496         (common-generated): Append $(lib-names-h-abi) and
13497         $(lib-names-stmp-abi).
13498         * scripts/lib-names.awk: Do not handle multi being set.
13499         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13500         Remove variable.
13501         (abi-lp64_be-ld-soname): Likewise.
13502         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13503         Likewise.
13504         (abi-hard-ld-soname): Likewise.
13505         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13506         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13507         Remove variable.
13508         (abi-o32_hard-ld-soname): Likewise.
13509         (abi-o32_soft_2008-ld-soname): Likewise.
13510         (abi-o32_hard_2008-ld-soname): Likewise.
13511         (abi-n32_soft-ld-soname): Likewise.
13512         (abi-n32_hard-ld-soname): Likewise.
13513         (abi-n32_soft_2008-ld-soname): Likewise.
13514         (abi-n32_hard_2008-ld-soname): Likewise.
13515         (abi-n64_soft-ld-soname): Likewise.
13516         (abi-n64_hard-ld-soname): Likewise.
13517         (abi-n64_soft_2008-ld-soname): Likewise.
13518         (abi-n64_hard_2008-ld-soname): Likewise.
13519         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13520         Likewise.
13521         (abi-64-v2-ld-soname): Likewise.
13522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13523         ld.so entries.
13524         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13525         variable.
13526         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13527         entry.
13528         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13529         variable.
13530         (abi-64-ld-soname): Likewise.
13531         (abi-x32-ld-soname): Likewise.
13532         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13533         entry.
13534         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13536 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13538         [BZ #14138]
13539         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13540         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13541         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13542         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13543         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13544         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13545         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13546         syscall entry for GLIBC_2.2 symbol version.
13547         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13548         Likewise.
13549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13550         (setrlimit): Likewise.
13551         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13552         Likewise.
13554 2014-09-23  Will Newton  <will.newton@linaro.org>
13556         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13557         _LINUX_ARM_SYSDEP_H include guard too.
13558         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13559         define.
13561 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13563         * sysdeps/unix/sysv/linux/eventfd.c:
13564         Make first argument unsigned.
13565         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13566         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13568 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13570         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13571         * socket/sys/socket.h: Likewise
13572         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13574 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13576         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13578 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13580         * time/tst-ftime.c: New test.
13581         * time/Makefile (tests): Add tst-ftime.
13583 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13585         * soft-fp/extended.h: Fix comment formatting.
13586         * soft-fp/op-1.h: Likewise.
13587         * soft-fp/op-2.h: Likewise.
13588         * soft-fp/op-4.h: Likewise.
13589         * soft-fp/op-8.h: Likewise.
13590         * soft-fp/op-common.h: Likewise.
13591         * soft-fp/soft-fp.h: Likewise.
13593         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13595 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13597         [BZ #6652]
13598         * Makeconfig (soversions-default-setname): Remove variable.
13599         ($(common-objpfx)soversions.i): Don't pass default_setname to
13600         soversions.awk.
13601         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13602         oldest_abi to abi-versions.awk.
13603         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13604         * config.make.in (oldest-abi): Remove variable.
13605         * configure.ac (--enable-oldest-abi): Remove configure option.
13606         * configure: Regenerated.
13607         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13608         text.
13609         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13610         * scripts/soversions.awk: Do not handle default_setname variable.
13611         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13612         variable.
13613         * sysdeps/mach/hurd/configure: Regenerated.
13614         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13615         variable.
13616         * sysdeps/unix/sysv/linux/configure: Regenerated.
13618 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13620         * elf/Makefile (CFLAGS-interp.c): Remove.
13621         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13622         path string.
13623         * elf/interp.c: Include generated runtime-linker.h
13625         * Makerules (lib%.so): Don't include $(+interp) in
13626         prerequisites.
13627         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13628         * dlfcn/eval.c: Remove file.
13630         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13631         macros.
13633         [BZ #17266]
13634         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13635         4.2 and newer.
13637         [BZ #17370]
13638         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13640 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13641             Jakub Jelinek  <jakub@redhat.com>
13643         [BZ #17266]
13644         * libio/stdio.h: Check definition of __fortify_function
13645         instead of __extern_always_inline to include bits/stdio2.h.
13646         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13647         check if __extern_always_inline is defined.
13648         [__USE_MISC || __USE_XOPEN]: Likewise.
13649         [__USE_ISOC99] Likewise.
13650         * misc/sys/cdefs.h (__fortify_function): Define only if
13651         __extern_always_inline is defined.
13652         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13653         __extern_always_inline and __extern_inline only for g++-4.3
13654         and newer or a compatible gcc.
13656 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13658         [BZ #17371]
13659         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13660         last change to handle zero prefix length.
13662 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13664         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13665         _SC_REGEX_VERSION.
13667         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13668         _POSIX_RAW_SOCKETS.
13670 2014-09-13  Allan McRae  <allan@archlinux.org>
13672         * po/ru.po: Update Russian translation from translation project.
13674 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13676         * locale/programs/locale.c (show_locale_vars): Inline local function
13677         into its sole call site.  Clean up some style nits.
13678         (print_item): New function, broken out of ...
13679         (show_info): ... local function here.  Clean up style nits.
13681         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13682         out of ...
13683         (set_class_defaults): ... local function set_default here.
13684         Define set_default as a macro locally to pass constant parameters.
13685         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13686         rather than a shared local.
13688         * stdlib/rpmatch.c (try): New function, broken out of ...
13689         (rpmatch): ... local function here.  Also, prototypify definition.
13691 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13693         * scripts/soversions.awk: Do not handle configuration names.
13694         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13695         vendor and os variables to soversions.awk.
13696         * configure.ac: Do not modify gnu-* host_os.
13697         * configure: Regenerated
13698         * shlib-versions: Remove first column with configuration names.
13699         * nptl/shlib-versions: Likewise.
13700         * nptl_db/shlib-versions: Likewise.
13701         * sysdeps/hppa/shlib-versions: Likewise.
13702         * sysdeps/m68k/shlib-versions: Likewise.
13703         * sysdeps/mach/hurd/shlib-versions: Likewise.
13704         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13705         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13706         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13707         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13708         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13709         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13710         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13711         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13713         Likewise.
13714         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13715         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13716         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13717         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13718         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13719         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13720         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13721         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13724         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13726         Regenerated.
13727         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13729         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13731         * shlib-versions: Remove OS-specific entries.  Moved to files in
13732         sysdeps.
13733         * sysdeps/mach/hurd/shlib-versions: New file.
13734         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13736         * nptl/shlib-versions: Remove architecture-specific entries.
13737         Moved to files in sysdeps.
13738         * shlib-versions: Likewise.
13739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13740         file.
13741         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13742         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13743         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13744         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13746         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13747         (UDP_NO_CHECK6_RX): Likewise.
13749 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13751         * sysdeps/posix/sysconf.c (__sysconf): Spell
13752         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13754 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13756         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13757         loading.
13758         * iconv/Versions (__gconv_transliterate): Export for use from
13759         gconv modules.
13760         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13761         (struct __gconv_trans_data, __gconv_trans_fct,
13762         __gconv_trans_context_fct, __gconv_trans_query_fct,
13763         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13764         definitions.
13765         (struct __gconv_step_data): Remove __trans member.
13766         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13767         longer hidden.  Remove unused trans_data argument.
13768         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13769         (__gconv_translit_find): Remove declaration.
13770         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13771         prototype.
13772         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13773         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13774         trans_data argument.  Add hidden definition.
13775         (__gconv_translit_find): Remove.
13776         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13777         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13778         * iconv/skeleton.c: Remove transliteration initialization.
13779         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13780         __gconv_step_data initialization.
13781         * libio/iofwide.c (__libio_translit_): Remove.
13782         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13783         * wcsmbs/btowc.c (__btowc): Likewise.
13784         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13785         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13786         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13787         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13788         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13789         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13790         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13791         * wcsmbs/wctob.c (wctob): Likewise.
13793 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13795         [BZ #16194]
13796         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13797         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13798         register usage.
13799         * sysdeps/x86/Makefile: Adjust.
13801 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13802             Roland McGrath  <roland@hack.frob.com>
13804         * locale/weight.h: Add include guard.
13805         (findidx): Make static rather than auto; take new parameters
13806         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13807         * locale/weightwc.h: Likewise.
13808         * posix/fnmatch_loop.c
13809         (FCT): Change type of EXTRA from int32_t to wint_t.
13810         Don't include either header inside the function.
13811         Call FINDIDX rather than findidx, and pass new arguments.
13812         #undef FINDIDX at the end of the file.
13813         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13814         FINDIDX before including fnmatch_loop.c for the non-wide version.
13815         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13816         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13817         for the wide version.
13818         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13819         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13820         Pass new arguments to findidx.
13821         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13822         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13823         Don't #include it inside the function.  Pass new arguments to findidx.
13824         * posix/regex_internal.h
13825         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13826         (re_string_elem_size_at): Don't #include it inside the function.
13827         Pass new arguments to findidx.
13828         * string/strcoll_l.c: #include WEIGHT_H at top level.
13829         (get_next_seq): Don't #include it inside the function.
13830         Pass new arguments to findidx.
13831         (get_next_seq_nocache): Likewise.
13832         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13833         (STRXFRM): Don't #include it inside the function.
13834         Pass new arguments to findidx.
13836 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13838         [BZ #17344]
13839         * malloc/malloc.c (unlink): Turn asserts into a call to
13840         malloc_printerr.
13842 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13844         [BZ #17370]
13845         * libio/wfileops (do_ftell_wide): Free OUT.
13847 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13849         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13851 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13853         [BZ #17363]
13854         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13855         group if the current group is empty.
13857 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13859         * benchtests/bench-memset.c (test_main): Add more test from size
13860         from 32 to 512 bytes.
13861         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13862         Add POWER8 memset object.
13863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13864         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13865         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13866         implementation.
13867         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13868         Likewise.
13869         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13870         multiarch POWER8 memset optimization.
13871         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13872         POWER8 memset optimization.
13874         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13875         Remove bzero multiarch objects.
13876         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13877         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13878         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13879         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13880         Remove define.
13881         [__bzero]: Redefine to specific name.
13882         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13883         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13884         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13885         define.
13886         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13887         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13889 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13891         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13892         warnings into errors.
13894         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13895         __cxa_thread_atexit_impl prototype.
13897 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13899         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13900         Fix capitalization of error message.
13902 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13904         * sysdeps/mips/preconfigure: Modify ABI tests.
13906 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13908         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13910 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13911             Carlos O'Donell  <carlos@systemhalted.org>
13913         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13914         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13915         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13916         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13917         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13918         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13919         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13920         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13921         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13922         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13923         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13924         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13925         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13926         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13927         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13928         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13929         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13930         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13931         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13932         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13933         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13934         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13935         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13936         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13937         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13938         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13939         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13940         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13941         Deconditionalize the code that was previously under [RESET_PID].
13942         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13943         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13944         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13945         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13946         include sysdep.h.
13948 2014-09-08  Allan McRae  <allan@archlinux.org>
13950         * version.h (RELEASE): Set to "development".
13951         (VERSION): Set to "2.20.90"
13953 2014-09-07  Allan McRae  <allan@archlinux.org
13955         * version.h (RELEASE): Set to "stable".
13956         (VERSION): Set to "2.20"
13957         * include/features.h (__GLIBC_MINOR__): Set to 20.
13959         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13960         Liebler.
13962         * po/ko.po: Update Korean translation from translation project.
13964 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13966         [BZ #17354]
13967         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13968         macro for handling signed relocations.
13970 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13972         [BZ #17325]
13973         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13974         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13975         assert.
13976         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13977         * iconvdata/ibm935.c (BODY): Likewise.
13978         * iconvdata/ibm937.c (BODY): Likewise.
13979         * iconvdata/ibm939.c (BODY): Likewise.
13980         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13981         assert.
13982         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13983         script.
13984         * iconvdata/run-iconv-test.sh: New test loop for checking for
13985         decoder crashers.
13987 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13989         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13990         libm_hidden_ver.
13992 2014-09-01  Allan McRae  <allan@archlinux.org>
13994         * po/eo.po: Update Esperanto translation from translation project.
13996         * po/ca.po: Update Catalan translation from translation project.
13998 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14000         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14001         __proc_dostop call.
14003 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14005         [BZ #17319]
14006         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14007         to call set_thread_area instead of hand written asm.
14008         (__NR_set_thread_area): Removed define.
14009         (TLS_FLAG_WRITABLE): Likewise.
14010         (__ASSUME_SET_THREAD_AREA): Remove check.
14011         (TLS_EBX_ARG): Remove define.
14012         (TLS_LOAD_EBX): Likewise.
14014 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14016         Simplify atomicity of socket creation in bind.
14018         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14019         looking up the name after linking the file.
14021 2014-08-27  Allan McRae  <allan@archlinux.org>
14023         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14025 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14027         [BZ #17187]
14028         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14029         trans_compare, open_translit, __gconv_translit_find):
14030         Remove module loading code.
14032 2014-08-26  Allan McRae  <allan@archlinux.org>
14034         * po/vi.po: Update Vietnamese translation from translation project.
14036         * po/uk.po: Update Ukrainian translation from translation project.
14038         * po/fr.po: Update French translation from translation project.
14040         * po/ru.po: Update Russian translation from translation project.
14042         * po/pl.po: Update Polish translation from translation project.
14044         * po/cs.po: Update Czech translation from translation project.
14046         * po/de.po: Update German translation from translation project.
14048         * po/bg.po: Update Bulgarian translation from translation project.
14050         * po/sv.po: Update Sweedish translation from translation project.
14052         * po/nl.po: Update Dutch translation from translation project.
14054         * po/es.po: Update Spanish translation from translation project.
14056 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14058         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14060         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14061         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14062         (CPPFLAGS-iconvconfig): Likewise.
14063         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14065         * include/libc-symbols.h: Remove unnecessary check for
14066         NOT_IN_libc.
14067         * nptl/pthreadP.h: Likewise.
14068         * sysdeps/aarch64/setjmp.S: Likewise.
14069         * sysdeps/alpha/setjmp.S: Likewise.
14070         * sysdeps/arm/sysdep.h: Likewise.
14071         * sysdeps/i386/setjmp.S: Likewise.
14072         * sysdeps/m68k/setjmp.c: Likewise.
14073         * sysdeps/posix/getcwd.c: Likewise.
14074         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14075         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14076         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14077         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14078         * sysdeps/sh/sh3/setjmp.S: Likewise.
14079         * sysdeps/sh/sh4/setjmp.S: Likewise.
14080         * sysdeps/unix/alpha/sysdep.h: Likewise.
14081         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14082         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14083         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14084         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14087         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14088         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14089         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14090         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14091         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14092         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14093         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14094         * sysdeps/x86_64/setjmp.S: Likewise.
14096 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14098         [BZ #17263]
14099         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14100         <stdint.h>.
14101         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14102         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14104 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14106         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14108         [BZ #17262]
14109         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14110         and __x86_64__ when disabling x87 inline functions.
14112 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14114         [BZ #17259]
14115         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14116         asm statement with __cpuid_count.
14118 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14120         * configure.ac: Change __ehdr_start code to dereference the struct.
14121         Run readelf on the output to look for relocations.
14122         * configure: Regenerated.
14124 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14126         [BZ #17261]
14127         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14128         value to 0.
14129         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14131 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14133         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14135 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14137         [BZ #16892]
14138         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14139         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14141 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14143         * malloc/malloc.c: Fix typo in comment.
14145 2014-08-09  Allan McRae  <allan@archlinux.org>
14147         * Regenerate libc.po.
14149 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14151         * intl/tst-gettext2.sh: Check every lang file for creation.
14153 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14155         * sysdeps/aarch64/fpu/math_private.h
14156         (libc_feholdsetround_noex_aarch64_ctx): New function.
14158 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14160         * sysdeps/arm/armv6/strcpy.S (strcpy):
14161         Fix performance issue in misaligned cases.
14163 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14165         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14166         Move definition from termios.h.
14167         (struct termio): Likewise.
14168         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14169         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14170         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14171         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14172         Likewise.
14173         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14174         Move definition to ioctl-types.h
14175         (struct termio): Likewise.
14176         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14177         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14178         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14179         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14180         Likewise.
14182 2014-08-05  Richard Henderson  <rth@redhat.com>
14184         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14185         exceptions.
14186         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14187         Add fraiseexcpt.
14188         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14189         Use __feraiseexcept.
14190         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14191         Protect libm symbols with IS_IN_libm.
14193         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14195 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14197         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14199 2014-08-04  Will Newton  <will.newton@linaro.org>
14201         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14202         file.
14204 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14206         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14207         variants for each function.
14209 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14211         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14212         appended ...
14213         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14214         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14215         appended ...
14216         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14217         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14218         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14219         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14220         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14221         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14222         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14223         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14224         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14225         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14226         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14227         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14228         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14229         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14230         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14231         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14232         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14233         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14234         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14235         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14236         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14237         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14238         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14239         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14240         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14241         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14242         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14243         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14244         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14245         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14246         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14247         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14248         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14249         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14250         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14251         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14252         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14253         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14254         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14255         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14256         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14257         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14258         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14259         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14260         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14261         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14262         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14263         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14264         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14265         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14266         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14267         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14268         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14269         Update #include.
14270         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14271         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14273 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14275         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14276         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14277         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14278         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14279         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14280         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14282 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14284         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14285         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14286         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14287         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14289 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14291         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14292         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14293         (__libc_vfork): Define function under this name.
14294         (__vfork): Define as an alias.
14295         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14296         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14298 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14300         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14301         that was previously under [RESET_PID].
14302         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14304 2014-08-04  Andreas Schwab  <schwab@suse.de>
14306         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14308 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14310         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14311         (main): Likewise.
14313 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14315         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14317 2014-08-01  Richard Henderon  <rth@redhat.com>
14319         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14320         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14321         typo in exact zero test.
14322         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14323         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14324         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14326 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14328         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14329         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14330         * sysdeps/arm/sysdep.h: ... here.
14331         [!__ASSEMBLER__]: Include <stdint.h>.
14333 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14335         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14336         (HAVE_WCTYPE_H): Likewise.
14337         (HAVE_ISWCTYPE): Likewise.
14338         (ENABLE_NLS): Likewise.
14339         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14340         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14342         * posix/regex_internal.c: Check if DEBUG is defined and is
14343         set.
14345         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14346         (HAVE_MBSRTOWCS): Likewise.
14347         * posix/fnmatch.c: Include string.h unconditionally.
14349 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14351         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14352         reversal.
14354 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14356         * sysdeps/generic/safe-fatal.h: New file.
14357         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14358         * nptl/forward.c: Include it.
14359         (__pthread_unwind): Use __safe_fatal as default action, rather
14360         than a bogus use of INTERNAL_SYSCALL that could never work.
14362         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14363         * configure.ac (libc_cv_builtin_trap): New test.
14364         * configure: Regenerated.
14365         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14366         (ABORT_INSTRUCTION): Define using __builtin_trap.
14368         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14369         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14370         * sysdeps/nptl/nptl-signals.h: New file.
14371         * nptl/pthreadP.h: Include <nptl-signals.h>.
14373 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14375         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14376         (ONE_DIRECTION): Define.
14377         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14378         (ONE_DIRECTION): Define.
14379         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14380         (ONE_DIRECTION): Define.
14382 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14384         * sysdeps/s390/Makefile: Delete file.
14385         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14386         * sysdeps/s390/__longjmp.c: Delete file.
14387         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14388         Remove fields __flags and __reserved.
14389         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14390         and add versioning.
14391         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14392         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14393         * sysdeps/s390/rtld-setjmp.S: Likewise.
14394         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14395         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14396         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14397         * sysdeps/s390/s390-32/setjmp.S: ... here.
14398         Add versioning.
14399         (__sigsetjmp): Remove setting __flags field.
14400         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14401         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14402         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14403         * sysdeps/s390/s390-64/setjmp.S: ... here.
14404         Add versioning.
14405         (__sigsetjmp): Remove setting __flags field.
14406         * sysdeps/s390/setjmp.S: Delete file.
14407         * sysdeps/s390/sigjmp.c: Likewise.
14408         * sysdeps/s390/v1-longjmp.c: Likewise.
14409         * sysdeps/s390/v1-setjmp.h: Likewise.
14410         * sysdeps/s390/v1-sigjmp.c: Likewise.
14411         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14412         Remove v1-longjmp_chk.
14413         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14414         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14415         Include debug/longjmp_chk.c and add versioning.
14416         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14417         Include nptl/pt-longjmp.c and add versioning.
14418         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14419         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14420         Include __longjmp.c.
14421         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14422         Move to ...
14423         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14424         (__getcontext): Remove setting __flags field.
14425         Add versioning.
14426         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14427         Don't restore upper high grps.
14428         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14429         Likewise.
14430         (__swapcontext): Remove setting uc_flags field.
14431         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14432         Delete file.
14433         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14434         Include __longjmp.c.
14435         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14436         Move to ...
14437         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14438         (__getcontext): Remove setting __flags field.
14439         Add versioning.
14440         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14441         (__swapcontext): Remove setting uc_flags field.
14442         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14443         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14444         Remove fields uc_high_gprs and __reserved.
14445         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14446         New file with reverted content.
14447         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14448         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14449         Regenerated.
14450         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14451         Regenerated.
14453 2014-07-31  Andreas Schwab  <schwab@suse.de>
14455         * config.h.in (HAVE_IFUNC): Define to 0.
14456         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14457         definedness.
14459 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14461         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14462         memmove-avx-unaligned, memcpy-avx-unaligned and
14463         mempcpy-avx-unaligned.
14464         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14465         Add tests for AVX memcpy functions.
14466         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14467         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14468         memcpy_chk.
14469         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14470         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14471         memmove_chk.
14472         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14473         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14474         mempcpy_chk.
14475         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14476         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14477         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14479 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14481         [BZ #17213]
14482         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14483         powerpc64le.
14485 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14487         [BZ #16839]
14488         * manual/llio.texi: Add section about open file description locks.
14489         * manual/examples/ofdlocks.c: Example of open file description
14490         lock usage.
14491         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14492         F_OFD_SETLK, and F_OFD_SETLKW.
14494 2014-07-23  Allan McRae  <allan@archlinux.org>
14496         * po/es.po: Update Spanish translation from translation project.
14498 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14500         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14502 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14504         [BZ #17078]
14505         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14506         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14507         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14509 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14511         [BZ #17088]
14512         * math/fesetenv.c (__fesetenv)
14513         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14514         * math/feupdateenv.c (__feupdateenv)
14515         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14517         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14518         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14519         (__ASSUME_SOCKETCALL): Do not define.
14521         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14522         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14523         (__ASSUME_SOCKETCALL): Do not define.
14524         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14525         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14526         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14527         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14528         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14529         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14530         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14531         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14533         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14534         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14535         (__ASSUME_SOCKETCALL): Do not define.
14536         (__ASSUME_IPC64): Define unconditionally.
14537         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14538         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14539         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14540         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14541         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14542         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14543         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14544         Likewise.
14546         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14547         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14548         (__ASSUME_SOCKETCALL): Do not define.
14549         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14550         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14551         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14552         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14553         (__ASSUME_REQUEUE_PI): Define unconditionally.
14554         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14555         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14556         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14557         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14558         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14559         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14561         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14562         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14563         (__ASSUME_SOCKETCALL): Do not define.
14564         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14565         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14566         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14567         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14568         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14569         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14571         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14572         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14573         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14574         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14575         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14576         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14577         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14578         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14579         (__ASSUME_GETCPU_SYSCALL): Likewise.
14581         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14582         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14583         cases for individual architectures.
14584         * sysdeps/gnu/configure: Regenerated.
14585         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14586         LIBC_SLIBDIR_RTLDDIR.
14587         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14588         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14589         LIBC_SLIBDIR_RTLDDIR.
14590         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14592         LIBC_SLIBDIR_RTLDDIR.
14593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14594         Regenerated.
14595         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14596         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14597         file.
14598         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14599         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14600         file.
14601         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14602         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14603         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14604         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14606         * sysdeps/aarch64/shlib-versions: Move to ...
14607         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14608         * sysdeps/alpha/shlib-versions: Move to ...
14609         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14610         * sysdeps/arm/shlib-versions: Move to ...
14611         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14612         * sysdeps/hppa/shlib-versions: Move all contents except for
14613         libgcc_s entry to ...
14614         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14615         entry from ...
14616         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14617         * sysdeps/ia64/shlib-versions: Move to ...
14618         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14619         entry from ...
14620         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14621         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14622         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14623         * sysdeps/microblaze/shlib-versions: Move to ...
14624         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14625         * sysdeps/mips/shlib-versions: Move to ...
14626         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14627         entry from ...
14628         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14629         * sysdeps/tile/shlib-versions: Move to ...
14630         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14631         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14632         from ...
14633         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14634         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14635         entry from ...
14636         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14638 2014-07-17  Will Newton  <will.newton@linaro.org>
14640         * sysdeps/arm/bits/atomic.h
14641         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14642         (__arch_compare_and_exchange_bool_16_int): Likewise.
14643         (__arch_compare_and_exchange_bool_64_int): Likewise.
14645         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14646         into an #else block.
14648 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14650         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14651         just Linux configurations.  Test empirically that the compiler sets
14652         __ARM_EABI__, rather than using the tuple to decide.
14653         * sysdeps/arm/preconfigure: Regenerated.
14654         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14655         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14656         contents appended ...
14657         * sysdeps/arm/configure.ac: ... here.
14658         * sysdeps/arm/configure: Regenerated.
14660 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14662         * nptl/pthread_kill.c: New file.
14663         * nptl/pthread_sigmask.c: New file.
14664         * nptl/pthread_sigqueue.c: New file.
14666         * sysdeps/nptl/lowlevellock.h: New file.
14667         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14668         * sysdeps/nptl/lowlevellock-futex.h: New file.
14670         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14671         Remove dead declarations.
14673 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14675         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14676         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14677         config-cflags-avx2.
14678         * sysdeps/x86_64/configure.ac: Likewise.
14679         * sysdeps/i386/configure: Regenerated.
14680         * sysdeps/x86_64/configure: Likewise.
14681         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14682         memset-avx2 only if config-cflags-avx2 is yes.
14683         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14684         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14685         defined.
14686         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14687         only if HAVE_AVX2_SUPPORT is defined.
14688         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14690 2014-07-14  Alan Modra  <amodra@gmail.com>
14692         [BZ #17153]
14693         * elf/elf.h (DT_PPC64_NUM): Correct value.
14694         * NEWS: Add to fixed bug list.
14696 2014-07-13  Jim Meyering  <meyering@fb.com>
14698         [BZ 17150]
14699         regex: don't deref NULL upon heap allocation failure
14700         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14701         failure in one more place.
14702         To trigger the segfault, configure grep -with-included-regex,
14703         build it, and run these commands:
14704         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14706 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14708         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14710 2014-07-11  Richard Henderson  <rth@redhat.com>
14712         * sysdeps/aarch64/libm-test-ulps: Update.
14714 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14716         [BZ #17135]
14717         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14718         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14719         (__nptl_setxid): Initialize error member.  Call
14720         __nptl_setxid_error.
14721         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14722         * nptl/descr.h (struct xid_command): Add error member.
14723         * nptl/tst-setuid3.c: New file.
14724         * nptl/Makefile (tests): Add it.
14726 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14728         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14729         New define.
14730         (__lll_trylock): Use __lll_base_trylock.
14731         (__lll_cond_trylock): Likewise.
14733 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14735         * nptl/pthread_create.c (start_thread): Use atomic_or and
14736         lll_futex_wake directly rather than lll_robust_dead.
14737         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14738         (lll_robust_dead): Macro removed.
14739         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14740         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14741         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14742         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14743         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14744         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14745         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14746         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14747         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14748         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14749         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14750         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14751         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14752         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14753         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14755         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14756         Use atomic_compare_and_exchange_val_acq directly rather than
14757         lll_robust_trylock.
14758         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14759         (__lll_robust_trylock, lll_robust_trylock): Removed.
14760         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14761         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14762         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14763         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14764         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14765         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14766         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14767         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14768         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14769         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14770         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14771         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14772         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14773         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14775 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14777         * manual/locale.texi (Locale Names): New section documenting
14778         locale name syntax.  Adjust menu and node chaining accordingly.
14779         (Choosing Locale): Reference Locale Names, Locale Categories.
14780         Mention setting LC_ALL=C.  Reflect that name syntax is now
14781         documented.
14782         (Locale Categories): New section title.  Reference Locale Names.
14783         LC_ALL is an environment variable, but not a category.
14784         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14785         description, now in Locale Name.  Reference that section.  Locale
14786         name syntax is now documented.
14788 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14790         [BZ #17137]
14791         * locale/findlocale.c (name_present, valid_locale_name): New
14792         functions.
14793         (_nl_find_locale): Use the loc_name variable to store name
14794         candidates.  Call name_present and valid_locale_name to check and
14795         validate locale names.  Return an error if the locale is invalid.
14797 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14799         * locale/setlocale.c (setlocale): Use strdup for allocating
14800         composite name copy.
14802 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14804         Sync up with gnulib.
14805         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14806         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14807         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14808         and _GL_ARG_NONNULL.
14809         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14810         [!_LIBC]: Include code for Windows and Cygwin.
14811         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14812         Include prototype for int strerror_r.
14813         [!_LIBC] (is_open): New function.
14814         (flush_stdout): New function.
14815         (print_errno_message): Use it.
14816         (error): Likewise.
14817         (error_at_line): Likewise.
14818         (error_tail) Add function attribute macros.  Use
14819         __builtin_expect.
14821         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14823         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14825         * io/ftw.c: Include sys/param.h unconditionally.
14827         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14829         [BZ #17125]
14830         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14831         libc_freeres_ptr.
14832         (freecache): New function to free CACHE on exit.
14834         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14835         initialization.
14837 2014-07-09  David S. Miller  <davem@davemloft.net>
14839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14841         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14842         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14843         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14844         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14845         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14846         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14847         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14848         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14849         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14850         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14851         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14852         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14853         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14855 2014-07-09  Andreas Schwab  <schwab@suse.de>
14857         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14858         output.
14859         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14860         (do_test): Likewise.
14862         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14864 2014-07-09  Will Newton  <will.newton@linaro.org>
14866         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14867         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14868         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14869         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14870         * sysdeps/hppa/start.S (_start): Likewise.
14872 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14874         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14876         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14877         defined.
14879 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14881         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14882         after checking that it is non-NULL.
14884         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14886 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14888         * sysdeps/powerpc/memmove.c: Remove file.
14889         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14890         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14891         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14892         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14893         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14894         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14895         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14896         string memmove instead of removed powerpc one.
14898         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14899         [weak_alias]: Fix compiler warning due trailing data.
14900         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14901         [weak_alias]: Likewise.
14902         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14903         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14905         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14906         (__libc_ifunc_impl_list): Add memmove functions.
14908 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14910         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14911         Remove code.
14912         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14913         Likewise
14914         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14915         Likewise
14916         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14917         Likewise
14918         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14919         Likewise
14920         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14921         Likewise
14922         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14923         Likewise
14924         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14925         Likewise
14926         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14927         Likewise
14928         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14929         Likewise
14930         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14931         Likewise
14932         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14933         Likewise
14934         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14935         Likewise
14936         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14937         Likewise
14938         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14939         Likewise
14940         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14941         Likewise
14942         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14943         Likewise
14945 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14947         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14948         to avoid alignment traps in non-cacheable memory.
14949         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14952         multiarch objects.
14953         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14954         file: multiarch power7 memmove.
14955         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14956         multiarch default memmove.
14957         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14958         multiarch memove for powerpc32/power4.
14960         * string/bcopy.c: Use full path to include memmove.c.
14961         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14962         multiarch objects.
14963         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14964         bcopy for powerpc64.
14965         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14966         bcopy for powerpc64.
14967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14968         and memmove implementations.
14969         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14970         optimized multiarch memmove for POWER7/powerpc64.
14971         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14972         default multiarch memmove for powerpc64.
14973         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14974         multiarch for powerpc64.
14975         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14976         for POWER7/powerpc64.
14977         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14978         memmove for POWER7/powerpc64.
14980         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14981         glibc default one.
14983         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14984         __ELF_NATIVE_CLASS equal to 64.
14986 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14988         * sysdeps/nptl/lowlevellock.h: File removed.
14990         * NEWS: NPTL is no longer an add-on!
14991         * nptl/internaltypes.h: Moved ...
14992         * sysdeps/nptl/internaltypes.h: ... here.
14993         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14994         * sysdeps/nptl/fork.c: Likewise.
14995         * sysdeps/nptl/gai_misc.h: Likewise.
14996         * sysdeps/nptl/librt-cancellation.c: Likewise.
14997         * sysdeps/nptl/jmp-unwind.c: Likewise.
14998         * sysdeps/nptl/setxid.h: Likewise.
14999         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15000         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15001         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15002         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15003         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15004         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15005         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15006         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15007         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15008         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15009         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15010         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15011         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15012         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15013         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15014         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15015         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15016         * nptl/Makeconfig: Moved ...
15017         * sysdeps/nptl/Makeconfig: ... here.
15018         * nptl/configure: File removed.
15019         * nptl/ANNOUNCE: File removed.
15020         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15021         * sysdeps/unix/sysv/linux/configure: Regenerated.
15023         * nptl/Makefile (routines): Add libc_pthread_init,
15024         libc_multiple_threads, register-atfork and unregister-atfork.
15025         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15026         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15027         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15028         pthread-pi-defines.sym, structsem.sym.
15029         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15030         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15031         [$(subdir) = nptl] (tests): Add tst-setgetname.
15032         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15033         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15034         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15035         [!LIBC_SIGACTION]: Remove aliases.
15036         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15037         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15038         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15039         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15040         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15041         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15042         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15043         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15044         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15045         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15046         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15047         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15048         __libc_allocate_rtsig_private.
15049         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15050         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15051         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15052         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15053         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15054         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15055         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15056         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15057         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15058         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15059         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15060         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15061         * nptl/internaltypes.h: ... here.
15062         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15063         * sysdeps/nptl/jmp-unwind.c: ... here.
15064         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15065         * nptl/libc-lowlevellock.c: ... here.
15066         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15067         * nptl/libc_multiple_threads.c: ... here.
15068         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15069         * nptl/libc_pthread_init.c: ... here.
15070         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15071         * nptl/lowlevelbarrier.sym: ... here.
15072         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15073         * nptl/lowlevelcond.sym: ... here.
15074         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15075         * nptl/lowlevellock.c: ... here.
15076         * nptl/lowlevellock.h: Moved ...
15077         * sysdeps/nptl/lowlevellock.h: ... here.
15078         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15079         * nptl/lowlevelrobustlock.c: ... here.
15080         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15081         * nptl/lowlevelrobustlock.sym: ... here.
15082         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15083         * nptl/lowlevelrwlock.sym: ... here.
15084         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15085         * nptl/pt-fork.c: ... here.
15086         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15087         * nptl/pthread-pi-defines.sym: ... here.
15088         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15089         * nptl/pthread_attr_getaffinity.c: ... here.
15090         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15091         * nptl/pthread_attr_setaffinity.c: ... here.
15092         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15093         * nptl/pthread_mutex_cond_lock.c: ... here.
15094         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15095         Update #include.
15096         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15097         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15098         * nptl/pthread_once.c: ... here, replacing old file.
15099         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15100         * nptl/pthread_yield.c: ... here.
15101         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15102         * nptl/register-atfork.c: ... here.
15103         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15104         * nptl/sem_post.c: ... here.
15105         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15106         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15107         * nptl/sem_timedwait.c: ... here.
15108         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15109         * nptl/sem_trywait.c: ... here.
15110         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15111         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15112         * nptl/sem_wait.c: ... here.
15113         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15114         * nptl/structsem.sym: ... here.
15115         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15116         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15117         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15118         * nptl/unregister-atfork.c: ... here.
15119         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15120         * nptl/unwindbuf.sym: ... here.
15121         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15122         * sysdeps/nptl/fork.c: ... here.
15123         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15124         * sysdeps/nptl/fork.h: ... here.
15125         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15126         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15127         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15128         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15129         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15130         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15131         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15132         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15133         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15134         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15135         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15136         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15137         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15138         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15139         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15140         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15141         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15142         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15143         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15144         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15145         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15146         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15147         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15148         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15149         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15150         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15151         * sysdeps/unix/sysv/linux/raise.c: ... here.
15152         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15153         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15154         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15155         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15156         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15157         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15158         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15159         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15160         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15161         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15162         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15163         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15164         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15165         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15166         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15168 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15170         * sysdeps/generic/memcopy.h: Add comment for
15171         MEMCPY_OK_FOR_FWD_MEMMOVE.
15173 2014-07-04  Will Newton  <will.newton@linaro.org>
15175         * string/memchr.c: Merge from gnulib.
15176         [_LIBC]: Remove conditionals.
15177         (__ptr_t): Remove define.
15178         (LONG_MAX_32_BITS): Likewise.
15179         (LONG_MAX): Likewise.
15180         (MEMCHR): Use ANSI prototype and optimize algorithm.
15182         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15184 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15186         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15187         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15189         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15190         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15191         in a bare environment with no <stdlib.h> installed.
15192         * sysdeps/nptl/configure: Regenerated.
15194         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15196         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15197         AC_EGREP_CPP for kernel header checks, so they only succeed if
15198         including <linux/version.h> actually works right.
15199         * sysdeps/unix/sysv/linux/configure: Regenerated.
15201         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15202         value so it's not diagnosed as unused.
15204         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15205         thing) with "ifeq ($(subdir),rt)".
15207 2014-07-03  Richard Henderson  <rth@redhat.com>
15209         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15210         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15211         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15213         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15214         (math_force_eval): New.
15216         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15217         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15219         * sysdeps/alpha/fpu/s_round.c: Remove file.
15220         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15222         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15223         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15224         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15225         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15226         (_dl_start, print_statistics): Likewise.
15227         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15228         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15230         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15231         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15232         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15233         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15234         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15235         (HP_SMALL_TIMING_AVAIL): Define.
15236         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15237         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15238         (HP_SMALL_TIMING_AVAIL): Define.
15239         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15240         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15242         * sysdeps/aarch64/hp-timing.h: New file.
15244         * sysdeps/generic/hp-timing.h: Remove dead comment.
15245         * sysdeps/generic/hp-timing-common.h: New file.
15246         * sysdeps/alpha/hp-timing.h: Include it.
15247         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15248         * sysdeps/i386/i686/hp-timing.h: Likewise.
15249         * sysdeps/ia64/hp-timing.h: Likewise.
15250         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15251         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15252         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15253         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15254         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15255         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15256         (hp_timing_t): New.
15258         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15259         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15260         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15261         * elf/rtld.c (_dl_start_final): Likewise.
15262         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15263         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15264         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15265         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15266         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15267         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15268         (HP_TIMING_DIFF_INIT): Remove.
15269         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15270         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15271         (HP_TIMING_DIFF_INIT): Remove.
15272         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15273         * sysdeps/i386/i686/hp-timing.c: Remove file.
15274         * sysdeps/x86_64/hp-timing.c: Remove file.
15275         * sysdeps/ia64/hp-timing.c: Remove file.
15276         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15277         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15278         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15279         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15281         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15282         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15283         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15284         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15285         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15286         (HP_TIMING_ACCUM): Remove.
15287         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15288         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15289         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15291         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15292         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15293         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15294         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15295         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15296         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15297         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15298         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15300         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15302 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15304         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15306 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15308         Sync up with gettext.
15309         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15310         [_MSC_VER]: Include malloc.h
15311         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15312         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15313         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15314         TEMP_FAILURE_RETRY.  Cast return of alloca.
15315         [!_LIBC] Call gl_rwlock_init.
15316         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15318 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15320         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15321         before checking its value.
15323 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15325         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15327         * debug/memcpy_chk.c: Don't include pagecopy.h.
15328         * debug/mempcpy_chk.c: Likewise.
15329         * string/memcpy.c: Likewise.
15330         * string/memmove.c: Likewise.
15331         * sysdeps/powerpc/memmove.c: Likewise.
15332         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15333         definition of PAGE_COPY_FWD_MAYBE here...
15334         * sysdeps/generic/pagecopy.h: ... from here.
15335         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15337 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15338             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15340         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15342         optimizations.
15343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15344         (__libc_ifunc_impl_list): Likewise.
15345         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15346         multiarch strcat for PPC64.
15347         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15348         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15350 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15352         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15354 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15356         * intl/loadmsgcat.c: Remove declaration of
15357         get_sysdep_segment_value.
15358         (get_sysdep_segment_value): Use ISO C style.
15359         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15360         semicolon.  Fix typo and formatting in comment.
15361         (_nl_unload_domain): Use ISO C style.
15363         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15365 2014-07-02  Will Newton  <will.newton@linaro.org>
15367         * malloc/obstack.c: Merge from gnulib master.
15368         [HAVE_CONFIG_H]: Remove conditional code.
15369         [!_LIBC]: Include config.h.
15370         [!ELIDE_CODE]: Don't include inttypes.h, include
15371         stdint.h unconditionally.
15372         (print_and_abort): Mark as _Noreturn.
15373         (_obstack_allocated_p): Mark as __attribute_pure__.
15374         (obstack_free): Rename to __obstack_free.
15375         [!__attribute__]: Remove conditional code.
15376         * malloc/obstack.h: Merge from gnulib master.
15377         [__cplusplus]: Move conditional down.
15378         [!__attribute_pure__]: Define __attribute_pure__ here
15379         if it is not already defined.
15380         (_obstack_memory_used): Mark as __attribute_pure__.
15381         [!__obstack_free]: Define as obstack_free.
15382         [__GNUC__]: Remove check for ancient NeXT gcc.
15384 2014-07-02  Will Newton  <will.newton@linaro.org>
15385             Paul Eggert  <eggert@cs.ucla.edu>
15387         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15389 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15391         * resolv/gethnamaddr.c: Add comment warning that the file is
15392         not maintained.
15394 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15396         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15397         entries.
15399         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15400         entry for aio_cancel and aio_cancel64.
15401         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15402         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15403         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15404         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15405         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15406         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15407         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15408         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15409         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15410         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15411         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15412         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15413         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15415 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15417         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15418         * nptl/pthread_mutex_lock.c: Likewise.
15419         * nptl/pthread_mutex_timedlock.c: Likewise.
15420         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15422 2014-07-01  Richard henderson  <rth@redhat.com>
15424         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15425         (__isnan, __isnanl): Remove.
15426         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15428         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15430 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15432         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15434 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15436         * resolv/nss_dns/dns-host.c (getanswer_r)
15437         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15439 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15441         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15442         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15443         undefine.
15444         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15445         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15447 2014-07-01  Roland McGrath <roland@hack.frob.com>
15449         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15450         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15452         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15453         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15455         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15456         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15457         ... here.
15458         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15459         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15461         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15462         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15463         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15464         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15466         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15467         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15468         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15469         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15470         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15471         Moved ...
15472         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15473         ... here.
15474         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15475         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15476         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15477         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15478         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15479         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15480         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15481         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15482         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15483         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15484         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15485         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15486         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15487         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15488         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15489         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15490         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15491         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15492         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15493         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15494         ... here.
15495         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15496         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15497         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15498         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15499         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15500         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15501         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15502         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15504 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15506         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15507         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15508         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15509         Add sysdep.
15511 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15515 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15517         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15518         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15520         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15522         * sysdeps/arm/libm-test-ulps: Regenerated.
15524 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15525             Roland McGrath <roland@hack.frob.com>
15527         * test-skeleton.c (signal_handler): Kill the whole process group
15528         before killing the child individually.
15529         (main): Report any failure on `setpgid'.
15531 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15533         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15534         from _TLS_H to _ARM_NPTL_TLS_H.
15535         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15536         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15538 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15540         [BZ #16539]
15541         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15542         (__expm1l): Return argument unchanged when small but not
15543         subnormal.
15545         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15546         include macro name.
15547         (_FP_UNPACK_RAW_1_P): Likewise.
15548         (_FP_PACK_RAW_1): Likewise.
15549         (_FP_PACK_RAW_1_P): Likewise.
15550         (_FP_MUL_MEAT_1_wide): Likewise.
15551         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15552         (_FP_MUL_MEAT_1_hard): Likewise.
15553         (_FP_DIV_MEAT_1_imm): Likewise.
15554         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15555         (_FP_DIV_MEAT_1_udiv): Likewise.
15556         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15557         (_FP_UNPACK_RAW_2): Likewise.
15558         (_FP_UNPACK_RAW_2_P): Likewise.
15559         (_FP_PACK_RAW_2): Likewise.
15560         (_FP_PACK_RAW_2_P): Likewise.
15561         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15562         (_FP_MUL_MEAT_2_wide): Likewise.
15563         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15564         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15565         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15566         (_FP_MUL_MEAT_2_gmp): Likewise.
15567         (_FP_DIV_MEAT_2_udiv): Likewise.
15568         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15569         (_FP_FRAC_SRL_4): Likewise.
15570         (_FP_FRAC_SRST_4): Likewise.
15571         (_FP_FRAC_SRS_4): Likewise.
15572         (_FP_UNPACK_RAW_4): Likewise.
15573         (_FP_UNPACK_RAW_4_P): Likewise.
15574         (_FP_PACK_RAW_4): Likewise.
15575         (_FP_PACK_RAW_4_P): Likewise.
15576         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15577         (_FP_MUL_MEAT_4_wide): Likewise.
15578         (_FP_MUL_MEAT_4_gmp): Likewise.
15579         (umul_ppppmnnn): Likewise.
15580         (_FP_DIV_MEAT_4_udiv): Likewise.
15581         (__FP_FRAC_ADD_4): Likewise.
15582         (__FP_FRAC_SUB_3): Likewise.
15583         (__FP_FRAC_SUB_4): Likewise.
15584         (__FP_FRAC_DEC_3): Likewise.
15585         (__FP_FRAC_DEC_4): Likewise.
15586         (__FP_FRAC_ADDI_4): Likewise.
15587         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15588         (_FP_FRAC_SRL_8): Likewise.
15589         (_FP_FRAC_SRS_8): Likewise.
15591         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15592         include macro name.
15593         (FP_UNPACK_RAW_EP): Likewise.
15594         (FP_PACK_RAW_E): Likewise.
15595         (FP_PACK_RAW_EP): Likewise.
15596         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15597         (_FP_ISSIGNAN): Likewise.
15598         (_FP_ADD_INTERNAL): Likewise.
15599         (_FP_FMA): Likewise.
15600         (_FP_CMP): Likewise.
15601         (_FP_SQRT): Likewise.
15602         (_FP_TO_INT): Likewise.
15603         (_FP_FROM_INT): Likewise.
15604         (FP_EXTEND): Likewise.
15605         (_FP_DIV_MEAT_N_loop): Likewise.
15607 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15609         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15610         throughout.
15612 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15614         [BZ #17097]
15615         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15616         result with correct sign in case of exponents that produce
15617         overflow except for X very close to 1.
15619 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15621         mktime: merge #if/#ifdef usage from glibc
15622         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15623         as that works with both Glibc's and Gnulib's style.
15624         See thread starting at Siddhesh Poyarekar's bug report at:
15625         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15627 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15629         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15630         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15631         * sysdeps/tile/tilegx/memmove.c: Remove file.
15633 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15635         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15636         abi-name definition.
15637         * scripts/soversions.awk: Do not handle or generate ABI lines.
15638         * shlib-versions: Remove ABI entries.
15639         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15640         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15642 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15644         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15645         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15646         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15647         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15649         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15650         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15651         Moved ...
15652         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15653         ... here.
15654         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15655         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15656         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15657         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15658         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15659         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15660         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15661         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15662         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15663         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15664         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15665         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15666         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15667         Moved ...
15668         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15669         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15670         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15671         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15672         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15673         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15674         Moved ...
15675         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15676         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15677         Moved ...
15678         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15679         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15680         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15681         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15682         Moved ...
15683         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15684         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15685         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15686         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15687         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15688         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15689         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15690         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15691         Moved ...
15692         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15693         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15694         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15695         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15696         Moved ...
15697         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15698         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15699         Moved ...
15700         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15701         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15702         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15703         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15704         Moved ...
15705         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15706         ... here.
15707         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15708         Identical file removed.
15709         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15710         Moved ...
15711         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15712         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15713         Identical file removed.
15714         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15715         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15716         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15717         Moved ...
15718         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15719         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15720         Identical file removed.
15721         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15722         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15723         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15724         Identical file removed.
15725         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15726         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15727         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15728         Identical file removed.
15729         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15730         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15731         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15732         Identical file removed.
15733         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15734         Moved ...
15735         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15736         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15737         Identical file removed.
15738         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15739         Moved ...
15740         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15741         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15742         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15743         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15744         Identical file removed.
15745         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15746         Moved ...
15747         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15748         ... here.
15749         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15750         Identical file removed.
15751         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15752         Moved ...
15753         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15754         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15755         Identical file removed.
15756         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15757         Moved ...
15758         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15759         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15760         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15761         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15762         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15763         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15764         Moved ...
15765         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15766         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15767         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15769         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15770         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15771         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15772         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15773         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15775 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15777         [BZ #17092]
15778         * nscd/nscd.c (monitor_child): Return exit status of child
15779         instead of return value from wait syscall.
15781 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15783         * configure.ac (libc_commonpagesize): Remove variable.
15784         (libc_relro_required): Likewise.
15785         (libc_cv_z_relro): Remove configure test.
15786         * configure: Regenerated.
15787         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15788         variable.
15789         (libc_relro_required): Likewise.
15790         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15791         (libc_relro_required): Likewise.
15792         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15793         (libc_relro_required): Likewise.
15794         * sysdeps/arm/preconfigure: Regenerated.
15795         * sysdeps/ia64/preconfigure: Remove file.
15796         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15797         variable.
15798         (libc_relro_required): Likewise.
15800         [BZ #16561]
15801         [BZ #16562]
15802         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15803         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15804         recompute overflowing results in original rounding mode.
15805         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15806         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15807         recompute overflowing results in original rounding mode.
15808         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15809         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15810         recompute overflowing results in original rounding mode.
15811         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15812         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15813         recompute overflowing results in original rounding mode.
15814         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15815         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15816         recompute overflowing results in original rounding mode.
15817         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15818         (libc_feholdsetround_ctx): New macro.
15819         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15820         * sysdeps/i386/fpu/libm-test-ulps: Update.
15821         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15823 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15825         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15826         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15827         corresponding .cpsetup call.
15829 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15831         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15832         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15833         * sysdeps/arm/Makefile [$(subdir) = csu]
15834         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15835         (static-only-routines): Add aeabi_read_tp here.
15836         (shared-only-routines): Add libc-aeabi_read_tp here.
15837         (CFLAGS-libc-start.c): Add -fexceptions here.
15838         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15839         (sysdep_routines, static-only-routines, shared-only-routines):
15840         Don't add to these here.
15841         (CFLAGS-libc-start.c): Likewise.
15843         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15844         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15845         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15846         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15847         * sysdeps/arm/Makefile [$(subdir) = rt]
15848         (librt-sysdep_routines, librt-shared-only-routines):
15849         Append rt-aeabi_unwind_cpp_pr1 here.
15850         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15851         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15852         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15853         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15854         Append nptl-aeabi_unwind_cpp_pr1 here.
15855         (tests): Filter out tst-cleanupx4 here.
15856         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15857         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15858         Don't do those here.
15860 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15862         * scripts/list-sources.sh: Do not handle ports specially.
15864 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15866         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15867         * sysdeps/arm/feupdateenv.c: Likewise.
15869         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15871 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15873         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15874         trailing whitespace removed.
15875         * scripts/config.guess: Update to version 2014-03-23.
15876         * scripts/config.sub: Update to version 2014-05-01
15877         * scripts/install-sh: Update to version 2013-12-25.23.
15878         * scripts/move-if-change: Update from gnulib.
15880 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15882         * debug/memmove_chk.c: Remove pagecopy.h include.
15884 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15886         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15887         identical to gnulib mktime.
15889 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15891         * configure.ac: Do not test for machine being rs6000.  Do not test
15892         for powerpc*-*soft.
15893         * configure: Regenerated.
15895         [BZ #11505]
15896         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15897         test.
15898         * configure: Regenerated.
15899         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15900         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15901         Remove configure test.
15902         * sysdeps/arm/configure: Regenerated.
15903         * sysdeps/nptl/configure.ac: Do not check
15904         libc_cv_asm_cfi_directives.
15905         * sysdeps/nptl/configure: Regenerated.
15906         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15907         * sysdeps/x86_64/nptl/configure: Remove generated file.
15908         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15909         unconditional.
15910         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15912 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15914         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15915         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15916         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15917         it is defined.
15919         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15920         instead of whether it is defined.
15921         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15922         * sysdeps/hppa/dl-machine.h: Likewise.
15923         * sysdeps/ia64/dl-machine.h: Likewise.
15924         * sysdeps/m68k/dl-machine.h: Likewise.
15925         * sysdeps/microblaze/dl-machine.h: Likewise.
15926         * sysdeps/mips/dl-machine.: Likewise.
15927         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15928         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15929         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15930         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15931         * sysdeps/sh/dl-machine.h: Likewise.
15932         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15933         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15934         * sysdeps/tile/dl-machine.h: Likewise.
15935         * sysdeps/x86_64/dl-machine.h: Likewise.
15937         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15938         code.
15939         (verify_persistent_db): Likewise.
15941 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15944         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15946         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15948         Moved ...
15949         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15950         ... here.
15951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15952         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15954         Identical file removed.
15955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15956         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15958         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15960         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15962         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15964         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15966         Moved ...
15967         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15969         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15971         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15973         Moved ...
15974         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15976         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15978         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15980         Identical file removed.
15981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15982         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15984         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15986         Moved ...
15987         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15988         ... here.
15989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15990         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15992         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15994         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15996         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15998         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16000         Moved ...
16001         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16003         Moved ...
16004         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16006         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16008         Moved ...
16009         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16011         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16013         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16014         folded into ...
16015         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16016         * sysdeps/unix/sysv/linux/s390/Versions
16017         (libpthread: GLIBC_2.19): New version set.
16018         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16019         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16020         (librt: GLIBC_2.3.3): New version set.
16021         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16022         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16023         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16024         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16025         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16026         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16027         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16028         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16029         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16030         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16031         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16032         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16033         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16034         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16035         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16036         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16037         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16038         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16039         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16040         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16041         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16042         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16043         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16044         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16045         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16046         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16047         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16048         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16049         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16050         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16051         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16052         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16053         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16054         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16055         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16056         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16057         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16058         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16059         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16060         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16061         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16063         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16065         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16067         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16068         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16069         (__libc_vfork): Define the function under this name.
16070         [!NOT_IN_libc] (__vfork): Make this an alias.
16071         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16072         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16073         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16074         (__libc_vfork): Define the function under this name.
16075         [!NOT_IN_libc] (__vfork): Make this an alias.
16076         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16077         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16078         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16079         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16080         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16081         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16083         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16084         code that was previously under [RESET_PID].
16085         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16086         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16087         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16089         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16090         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16091         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16092         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16093         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16094         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16095         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16096         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16097         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16098         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16099         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16100         Moved ...
16101         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16102         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16103         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16104         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16105         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16106         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16107         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16108         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16109         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16110         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16111         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16112         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16113         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16114         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16115         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16116         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16117         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16118         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16119         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16120         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16121         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16122         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16123         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16124         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16125         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16126         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16127         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16128         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16129         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16131 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16133         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16134         that was previously under [RESET_PID].
16135         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16137 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16139         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16140         not undefine and redefine.
16141         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16142         [O_CLOEXEC]: Make code unconditional.
16143         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16144         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16145         <kernel-features.h>.
16146         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16147         conditional variable definition.
16148         (shm_open) [O_CLOEXEC]: Make code unconditional.
16149         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16150         code.
16152         * configure.ac (USE_REGPARMS): Don't define here.
16153         * configure: Regenerated.
16154         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16155         * sysdeps/i386/configure: Regenerated.
16157         * nptl/createthread.c: Don't include kernel-features.h.
16158         * nptl/pthread_cancel.c: Likewise.
16159         * nptl/pthread_condattr_setclock.c: Likewise.
16160         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16161         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16162         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16163         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16164         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16165         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16166         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16167         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16168         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16169         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16170         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16171         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16172         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16173         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16174         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16175         * nscd/gai.c: Likewise.
16176         * nss/nss_db/db-open.c: Likewise.
16177         * sysdeps/generic/ldsodefs.h: Likewise.
16178         * sysdeps/sh/nptl/tls.h: Likewise.
16179         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16180         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16181         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16182         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16183         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16184         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16185         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16186         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16187         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16188         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16189         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16190         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16191         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16192         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16193         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16194         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16195         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16196         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16197         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16198         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16199         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16200         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16201         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16202         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16203         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16205         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16206         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16207         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16208         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16209         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16210         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16211         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16212         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16213         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16214         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16215         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16216         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16217         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16218         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16219         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16220         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16221         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16222         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16223         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16224         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16225         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16226         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16227         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16228         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16229         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16230         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16231         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16232         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16233         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16234         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16235         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16236         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16259         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16260         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16261         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16262         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16263         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16264         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16265         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16266         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16267         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16268         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16269         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16270         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16271         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16272         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16273         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16274         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16275         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16276         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16277         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16278         * sysdeps/unix/sysv/linux/system.c: Likewise.
16279         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16280         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16281         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16282         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16283         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16284         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16285         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16287         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16288         * configure: Regenerated.
16289         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16291         * configure.ac (base_machine): Do not set specially for particular
16292         machines here.
16293         * configure: Regenerated.
16294         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16295         settings from configure.ac.
16296         * sysdeps/i386/preconfigure: New file.
16297         * sysdeps/s390/preconfigure: Likewise.
16298         * sysdeps/sh/preconfigure: Likewise.
16299         * sysdeps/sparc/preconfigure: Likewise.
16301 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16303         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16304         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16305         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16306         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16307         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16308         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16309         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16310         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16311         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16312         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16313         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16314         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16315         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16316         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16317         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16318         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16319         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16320         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16321         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16323         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16324         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16325         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16326         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16327         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16328         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16329         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16330         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16331         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16332         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16333         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16334         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16335         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16336         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16337         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16338         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16339         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16340         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16341         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16342         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16343         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16344         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16345         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16346         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16347         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16348         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16350         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16351         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16352         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16353         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16354         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16355         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16356         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16357         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16358         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16359         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16360         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16363         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16365         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16367         Moved ...
16368         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16369         ... here.
16370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16371         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16373         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16375         Moved ...
16376         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16378         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16380         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16382         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16384         Moved ...
16385         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16387         Moved ...
16388         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16390         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16392         Moved ...
16393         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16395         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16397         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16399         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16401         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16403         Moved ...
16404         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16405         ... here.
16406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16407         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16409         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16411         Moved ...
16412         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16414         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16416         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16418         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16420         Moved ...
16421         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16423         Moved ...
16424         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16426         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16428         Moved ...
16429         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16431         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16433         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16435 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16437         * timezone/checktab.awk: Update from tzcode 2014e.
16438         * timezone/private.h: Likewise.
16439         * timezone/tzfile.h: Likewise.
16440         * timezone/zdump.c: Likewise.
16441         * timezone/zic.c: Likewise.
16443         * sysdeps/unix/sysv/linux/kernel-features.h
16444         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16445         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16446         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16447         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16448         Remove conditional code.
16450 2014-06-25  Will Newton  <will.newton@linaro.org>
16452         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16453         (_dl_arm_cap_flags): Add HWCAP2 values.
16454         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16455         (_DL_HWCAP_COUNT): Increase to 37.
16456         (_DL_HWCAP_LAST): New define.
16457         (_DL_HWCAP2_LAST): New define.
16458         (_dl_procinfo): Add support for printing
16459         AT_HWCAP2 entries.
16460         (_dl_string_hwcap): Use _dl_hwcap_string.
16462 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16466 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16468         * README: Do not mention ports directory.
16470         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16471         Remove macro.
16472         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16473         <kernel-features.h>.
16474         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16475         conditional variable definition.
16476         (__futimes): Update comment.
16477         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16478         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16480         [BZ #16560]
16481         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16482         arguments close to 0.
16483         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16484         Likewise.
16485         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16486         Likewise.
16487         * math/auto-libm-test-in: Add more tests of exp10.
16488         * math/auto-libm-test-out: Regenerated.
16489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16491         * sysdeps/unix/sysv/linux/kernel-features.h
16492         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16493         * sysdeps/unix/sysv/linux/readv.c: Do not include
16494         <kernel-features.h>.
16495         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16496         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16497         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16498         unconditional.
16499         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16500         conditional code.
16501         * sysdeps/unix/sysv/linux/writev.c: Do not include
16502         <kernel-features.h>.
16503         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16504         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16505         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16506         unconditional.
16507         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16508         conditional code.
16510 2014-06-25  Will Newton  <will.newton@linaro.org>
16512         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16513         comment changes throughout the file.  Remove checks
16514         for HAVE_*_H definitions that are not required.
16515         (__gen_tempname): Call abort if an unknown kind value is
16516         passed.
16518 2014-06-25  Andreas Schwab  <schwab@suse.de>
16520         [BZ #17086]
16521         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16522         scalbln, scalblnf, scalblnl in libc.
16524 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16526         [BZ #17086]
16527         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16528         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16529         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16531 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16533         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16534         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16535         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16536         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16537         Update #include.
16538         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16539         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16540         Update #include.
16541         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16542         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16543         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16544         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16545         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16546         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16547         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16548         * sysdeps/x86/bits/semaphore.h: ... here.
16549         * sysdeps/x86/nptl/elide.h: Moved ...
16550         * sysdeps/x86/elide.h: ... here.
16551         * sysdeps/x86_64/nptl/Implies: File removed.
16552         * sysdeps/i386/nptl/Implies: File removed.
16554 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16556         [BZ #16539]
16557         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16558         return the argument for normal arguments with exponent below -64.
16559         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16560         Likewise.
16561         * math/auto-libm-test-in: Add another test of expm1.
16562         * math/auto-libm-test-out: Regenerated.
16564         [BZ #16287]
16565         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16566         calling __erfcl for arguments at least 16.
16567         * math/auto-libm-test-in: Add more tests of erf.
16568         * math/auto-libm-test-out: Regenerated.
16570         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16571         individual architectures.
16572         * sysdeps/unix/sysv/linux/configure: Regenerated.
16573         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16574         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16575         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16576         (ldd_rewrite_script): Define variable.
16577         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16579         file.
16580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16581         generated file.
16582         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16583         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16584         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16585         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16586         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16587         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16588         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16589         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16591 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16593         [BZ #17084]
16594         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16595         Rename member __data.d to __data.__elision_data.
16597 2014-06-24  Wilco  <wdijkstr@arm.com>
16599         * NEWS: Add 16918 to fixed bug list.
16601 2014-06-24  Wilco  <wdijkstr@arm.com>
16603         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16605 2014-06-24  Wilco  <wdijkstr@arm.com>
16607         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16608         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16609         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16610         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16611         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16612         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16613         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16614         Use _FPU_MASK_RM.
16616 2014-06-24  Wilco  <wdijkstr@arm.com>
16618         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16620 2014-06-24  Wilco  <wdijkstr@arm.com>
16622         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16623         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16624         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16625         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16627 2014-06-24  Wilco  <wdijkstr@arm.com>
16629         [BZ #16918]
16630         * sysdeps/arm/feupdateenv.c (feupdateenv):
16631         Rewrite to reduce FPSCR accesses and fix return value.
16633 2014-06-24  Wilco  <wdijkstr@arm.com>
16635         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16636         Optimize to avoid unnecessary FPSCR writes.
16637         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16638         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16639         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16640         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16642 2014-06-24  Wilco  <wdijkstr@arm.com>
16644         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16645         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16646         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16647         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16648         Call libc_fetestexcept_vfp.
16649         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16650         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16651         __SOFTFP__ ifdef so that they can be built for softfp.
16653 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16655         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16656         argument type signed char.
16658         * Makerules (check-abi): Dump diff of symlist if the test
16659         fails.
16661 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16663         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16664         using abort.
16666         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16667         Remove unused variable ST.
16669 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16671         [BZ #16354]
16672         [BZ #17061]
16673         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16674         small arguments before calling __expm1.
16675         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16676         small arguments before calling __expm1f.
16677         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16678         small arguments before calling __expm1l.
16679         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16680         Likewise.
16681         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16682         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16683         spurious underflow for some cosh tests.
16684         * math/auto-libm-test-out: Regenerated.
16685         * sysdeps/i386/fpu/libm-test-ulps: Update.
16687         [BZ #17050]
16688         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16689         (__ieee754_y1): Set errno if return value overflows.
16690         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16691         (__ieee754_y1f): Set errno if return value overflows.
16692         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16693         (__ieee754_y1l): Set errno if return value overflows.
16694         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16695         (__ieee754_y1l): Set errno if return value overflows.
16696         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16697         * math/auto-libm-test-out: Regenerated.
16699         * math/gen-auto-libm-tests.c: Document use of
16700         ignore-zero-inf-sign.
16701         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16702         (input_flags): Add ignore-zero-inf-sign.
16703         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16704         * math/gen-libm-test.pl (generate_testfile): Handle
16705         ignore-zero-inf-sign.
16706         * math/auto-libm-test-in: Mark some cpow tests with
16707         ignore-zero-inf-sign and some with xfail-rounding.
16708         * math/auto-libm-test-out: Regenerated.
16709         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16710         * sysdeps/i386/fpu/libm-test-ulps: Update.
16711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16713         [BZ #16315]
16714         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16715         overflowing or underflowing operations take place with sign of
16716         result.
16717         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16718         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16719         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16720         (__ieee754_pow): Recompute overflowing and underflowing results in
16721         original rounding mode.
16722         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16723         (__powl_helper): Allow negative argument X and scale negated value
16724         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16725         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16726         overflowing or underflowing operations take place with sign of
16727         result.
16728         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16729         Include <math.h>.
16730         * math/auto-libm-test-in: Add more tests of pow.
16731         * math/auto-libm-test-out: Regenerated.
16732         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16733         (pow_tonearest_test_data): Remove.
16734         (pow_test_tonearest): Likewise.
16735         (pow_towardzero_test_data): Likewise.
16736         (pow_test_towardzero): Likewise.
16737         (pow_downward_test_data): Likewise.
16738         (pow_test_downward): Likewise.
16739         (pow_upward_test_data): Likewise.
16740         (pow_test_upward): Likewise.
16741         (main): Don't call removed functions.
16742         * sysdeps/i386/fpu/libm-test-ulps: Update.
16743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16745 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16748         Moved ...
16749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16751         Moved ...
16752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16754         Moved ...
16755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16757         Moved ...
16758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16760         File removed.
16761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16762         File removed.
16763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16764         File removed.
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16766         File removed.
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16768         File removed.
16769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16770         File removed.
16771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16772         File removed.
16773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16774         File removed.
16775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16776         File removed.
16777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16778         File removed.
16779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16780         File removed.
16781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16782         File removed.
16783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16784         Moved ...
16785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16787         Moved ...
16788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16789         ... here.
16790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16791         Moved ...
16792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16794         Moved ...
16795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16797         Moved ...
16798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16800         Moved ...
16801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16803         Moved ...
16804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16806         Moved ...
16807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16809         Moved ...
16810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16813         ... here.
16814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16815         Moved ...
16816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16818         Moved ...
16819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16820         ... here.
16821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16822         Moved ...
16823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16824         ... here.
16825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16826         Moved ...
16827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16828         ... here.
16829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16830         Moved ...
16831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16833         Moved ...
16834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16838         Moved ...
16839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16840         ... here.
16841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16842         Moved ...
16843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16844         ... here.
16845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16846         Moved ...
16847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16849         Moved ...
16850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16852         Moved ...
16853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16855         Moved ...
16856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16858         Moved ...
16859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16860         ... here.
16861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16862         Moved ...
16863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16865         Moved ...
16866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16868         Moved ...
16869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16871         Moved ...
16872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16876         Moved ...
16877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16879         Moved ...
16880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16882         Moved ...
16883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16884         ... here.
16885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16886         Moved ...
16887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16888         ... here.
16889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16890         Moved ...
16891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16892         ... here.
16893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16894         Moved ...
16895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16897         Moved ...
16898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16900         Moved ...
16901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16903         Moved ...
16904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16905         ... here.
16906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16907         Moved ...
16908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16909         ... here.
16910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16911         Moved ...
16912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16913         ... here.
16914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16915         Moved ...
16916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16918         Moved ...
16919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16921 2014-06-23  Will Newton  <will.newton@linaro.org>
16922             Wilco  <wdijkstr@arm.com>
16924         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16925         implementation.  Include get-rounding-mode.h.
16926         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16927         [!libc_feholdsetround_noex_ctx]: Define
16928         libc_feholdsetround_noex_ctx.
16929         [!libc_feholdsetround_noexf_ctx]: Define
16930         libc_feholdsetround_noexf_ctx.
16931         [!libc_feholdsetround_noexl_ctx]: Define
16932         libc_feholdsetround_noexl_ctx.
16933         (libc_feholdsetround_ctx): New function.
16934         (libc_feresetround_ctx): New function.
16935         (libc_feholdsetround_noex_ctx): New function.
16936         (libc_feresetround_noex_ctx): New function.
16938 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16940         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16941         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16942         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16943         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16944         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16945         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16947         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16948         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16949         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16950         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16951         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16952         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16953         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16954         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16955         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16956         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16957         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16958         Moved ...
16959         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16960         ... here.
16961         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16962         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16963         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16964         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16965         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16966         Moved ...
16967         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16968         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16969         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16970         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16971         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16972         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16973         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16974         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16975         Moved ...
16976         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16977         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16978         Moved ...
16979         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16980         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16981         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16982         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16983         Moved ...
16984         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16985         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16986         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16987         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16988         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16989         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16990         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16991         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16992         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16993         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16994         Moved ...
16995         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16996         ... here.
16997         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16998         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16999         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17000         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17001         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17002         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17003         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17004         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17005         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17006         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17007         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17008         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17009         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17010         Moved ...
17011         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17012         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17013         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17014         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17015         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17016         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17017         Moved ...
17018         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17019         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17020         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17021         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17022         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17024         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17025         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17026         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17027         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17028         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17029         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17030         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17031         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17032         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17033         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17034         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17035         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17036         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17037         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17038         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17039         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17040         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17041         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17042         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17043         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17044         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17045         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17046         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17047         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17048         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17049         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17050         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17051         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17053 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17055         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17056         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17057         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17058         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17059         (IPV6_PMTUDISC_INTERFACE): Likewise.
17060         (IPV6_PMTUDISC_OMIT): Likewise.
17062 2014-06-23  Andreas Schwab  <schwab@suse.de>
17064         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17065         Remove unused errout label.
17067 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17069         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17070         macro: hardware supports Vector Crypto instructions.
17072 2014-06-23  Will Newton  <will.newton@linaro.org>
17074         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17075         rather than __builtin_expect.
17077         * elf/dl-lookup.c (undefined_msg): Remove variable.
17078         (_dl_lookup_symbol_x): Replace undefined_msg with string
17079         literal.
17081         * elf/dl-lookup.c (do_lookup_unique): New function.
17082         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17083         to a separate function.
17085 2014-06-23  Andreas Schwab  <schwab@suse.de>
17087         [BZ #17079]
17088         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17089         before reading the next line.
17091 2014-06-23  Will Newton  <will.newton@linaro.org>
17093         * test-skeleton.c (signal_handler): Use printf and %m
17094         rather than perror.  Use printf rather than fprintf to
17095         stderr.  Use puts rather than fputs to stderr.
17096         (main): Likewise.
17098 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17100         * nscd/nscd.c (thread_info_t): Remove typedef.
17101         (thread_info): Remove variable.
17103 2014-06-21  Allan McRae  <allan@archlinux.org>
17105         * NEWS: Mention CVE-2014-4043.
17107 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17109         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17110         * nptl/smp.h: ... here.
17112         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17114         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17115         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17116         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17117         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17119         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17120         * nptl/stack-aliasing.h: New file.
17121         * sysdeps/i386/i686/stack-aliasing.h: New file.
17122         * sysdeps/i386/i686/nptl/Makefile: File removed.
17123         * sysdeps/x86_64/stack-aliasing.h: New file.
17124         * sysdeps/x86_64/nptl/Makefile
17125         (CFLAGS-pthread_create.c): Variable removed.
17127         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17128         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17129         old file.
17130         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17131         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17132         old file.
17134 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17136         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17137         (__ASSUME_SIGFRAME_V2): Remove macro.
17138         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17139         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17140         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17141         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17142         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17143         Declare as function.  Remove conditional macro definitions.
17144         (__default_rt_sa_restorer): Likewise.
17145         (__default_sa_restorer_v1): Remove declaration.
17146         (__default_sa_restorer_v2): Likewise.
17147         (__default_rt_sa_restorer_v1): Likewise.
17148         (__default_rt_sa_restorer_v2): Likewise.
17149         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17150         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17151         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17153 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17155         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17156         (libpthread-routines): Add sysdep.
17157         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17158         * sysdeps/unix/sysv/linux/sparc/Versions
17159         (libpthread: GLIBC_2.3.3): New version set.
17160         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17161         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17162         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17163         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17164         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17165         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17166         Moved ...
17167         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17168         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17169         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17170         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17171         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17172         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17173         * sysdeps/sparc/nptl/sem_init.c: ... here.
17174         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17175         * sysdeps/sparc/nptl/sem_post.c: ... here.
17176         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17177         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17178         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17179         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17180         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17181         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17182         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17183         (libpthread-routines): Add cpu_relax.
17184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17185         File removed.
17186         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17187         (librt: GLIBC_2.3.3): New version set.
17188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17189         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17190         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17191         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17194         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17196         Moved ...
17197         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17199         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17201         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17203         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17205         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17207         Moved ...
17208         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17209         Update #include.
17210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17211         Moved ...
17212         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17213         Update #include.
17214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17215         Moved ...
17216         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17217         Update #include.
17218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17219         Moved ...
17220         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17221         Update #include.
17222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17223         Moved ...
17224         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17225         Update #include.
17226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17227         Moved ...
17228         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17229         Update #include.
17230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17231         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17233         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17235         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17237         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17239         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17241         Moved ...
17242         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17244         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17246         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17248 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17250         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17251         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17252         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17253         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17254         * nscd/nscd.c: Likewise.
17255         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17256         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17257         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17258         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17260         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17261         <kernel-features.h>.
17262         (init_mq_netlink): Remove conditional have_sock_cloexec
17263         definitions.  Remove code conditional on have_sock_cloexec < 0.
17264         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17265         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17266         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17267         <kernel-features.h>.
17268         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17269         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17271 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17274         Add tests for memset_chk and memset.
17276         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17277         with AVX2_Usable.
17279 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17281         [BZ #16046]
17282         * elf/tst-dl-iter-static.c: New file.
17283         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17285         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17286         error.
17288 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17290         * sysdeps/unix/sysv/linux/kernel-features.h
17291         (__ASSUME_F_GETOWN_EX): Remove macro.
17292         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17293         <kernel-features.h>.
17294         (miss_F_GETOWN_EX): Remove variable or macro.
17295         (do_fcntl): Do not check miss_F_GETOWN_EX.
17296         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17298         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17299         Remove macro.
17300         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17301         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17302         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17304         * sysdeps/unix/sysv/linux/kernel-features.h
17305         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17306         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17307         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17308         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17310 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17312         [BZ #17075]
17313         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17314         Fix calculation of the symbol's value.
17315         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17316         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17317         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17318         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17319         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17320         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17321         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17322         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17323         (modules-names): Add `tst-armtlsdescmod',
17324         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17325         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17326         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17327         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17328         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17329         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17330         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17331         ($(objpfx)tst-armtlsdescloc): New dependency.
17332         ($(objpfx)tst-armtlsdescextnow): Likewise.
17333         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17334         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17335         TLS scheme support.
17336         * sysdeps/arm/configure: Regenerate.
17338 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17340         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17341         (__atfct_seterrno_2): Likewise.
17342         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17343         <kernel-features.h>.
17344         (__ASSUME_ATFCTS): Do not undefine and redefine.
17345         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17346         (__have_atfcts): Remove conditional definition.
17347         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17348         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17349         unreachable if [__ASSUME_ATFCTS].
17350         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17351         not undefine and redefine.
17352         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17353         <kernel-features.h>.
17354         (faccessat) [__NR_faccessat]: Make code unconditional.
17355         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17356         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17357         <kernel-features.h>.
17358         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17359         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17360         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17361         <kernel-features.h>.
17362         (fchownat) [__NR_fchownat]: Make code unconditional.
17363         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17364         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17365         <kernel-features.h>.
17366         (futimesat) [__NR_futimesat]: Make code unconditional.
17367         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17368         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17369         <kernel-features.h>.
17370         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17371         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17372         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17373         <kernel-features.h>.
17374         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17375         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17376         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17377         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17378         <kernel-features.h>.
17379         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17380         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17381         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17382         <kernel-features.h>.
17383         (linkat) [__NR_linkat]: Make code unconditional.
17384         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17385         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17386         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17387         <kernel-features.h>.
17388         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17389         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17390         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17391         <kernel-features.h>.
17392         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17393         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17394         * sysdeps/unix/sysv/linux/openat.c: Do not include
17395         <kernel-features.h>.
17396         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17397         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17398         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17399         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17400         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17401         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17402         <kernel-features.h>.
17403         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17404         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17405         result of INLINE_SYSCALL directly, not via int variable.
17406         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17407         <kernel-features.h>.
17408         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17409         (renameat) [__NR_renameat]: Make code unconditional.
17410         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17411         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17412         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17413         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17414         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17415         (__ASSUME_ATFCTS): Do not undefine and redefine.
17416         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17417         <kernel-features.h>.
17418         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17419         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17420         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17421         <kernel-features.h>.
17422         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17423         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17424         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17425         (__ASSUME_ATFCTS): Do not undefine and redefine.
17426         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17427         <kernel-features.h>.
17428         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17429         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17430         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17431         <kernel-features.h>.
17432         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17433         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17435 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17437         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17439 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17441         [BZ #17069]
17442         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17443         constructed tree before returning error.
17444         * posix/bug-regexp36.c: Expand test case.
17446 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17448         [BZ #6803]
17449         * math/libm-test.inc (scalbln_test_date):
17450         Add errno expectations.
17451         * math/w_scalblnf.c: New File.
17452         Add wrapper which checks for setting errno to ERANGE.
17453         Add weak_alias for corresponding scalbln function.
17454         * math/w_scalbln.c: Likewise.
17455         * math/w_scalblnl.c: Likewise.
17456         * math/Makefile (libm-calls): Add w_scalbln.
17457         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17458         Remove weak_alias for corresponding scalbln function.
17459         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17460         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17461         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17462         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17463         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17464         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17465         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17466         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17467         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17468         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17469         Remove long_double_symbol for scalblnl function in libm, libc.
17470         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17471         Add wrapper which checks for setting errno to ERANGE.
17472         Add long_double_symbol for scalblnl function in libm, libc.
17473         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17474         Remove long_double_symbol for scalblnl in libm.
17475         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17476         Add wrapper which checks for setting errno to ERANGE.
17477         Add long_double_symbol for scalblnl function in libm.
17478         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17479         Do not use wrapper because of own implementation.
17481 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17483         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17484         3 bytes for __pad1 for x32.
17485         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17487 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17488             H.J. Lu  <hongjiu.lu@intel.com>
17490         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17491         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17492         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17493         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17494         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17496 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17498         [BZ #17069]
17499         * posix/regcomp.c (parse_expression): Deallocate partially
17500         constructed tree before returning error.
17501         * posix/Makefile.c (tests): Add bug-regex36.
17502         (generated): Add bug-regex36.mtrace.
17503         (tests-special): Add $(objpfx)bug-regex36-mem.out
17504         (bug-regex36-ENV): New variable.
17505         ($(objpfx)bug-regex36-mem.out): New rule.
17506         * posix/bug-regex36.c: New file.
17508 2014-06-19  Will Newton  <will.newton@linaro.org>
17510         * malloc/malloc.c (systrim): If extra is zero then return
17511         early.
17513 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17515         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17517 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17519         * sysdeps/aarch64/strchr.S: New file.
17521 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17523         [BZ #17022]
17524         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17525         from arguments -2 or below.
17526         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17527         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17529 2014-06-18  Andreas Schwab  <schwab@suse.de>
17531         [BZ #17062]
17532         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17533         of a bracket expr not to run off the end of the string.
17534         * posix/Makefile (tests): Add tst-fnmatch3.
17535         * posix/tst-fnmatch3.c: New file.
17537 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17539         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17540         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17541         [$(cross-compiling) = no]: Likewise.
17542         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17543         [$(cross-compiling) = no]: Likewise.
17545 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17547         [BZ #17031]
17548         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17549         double, adjusted for any remainder from the high double.
17550         * math/libm-test.inc (nearbyint): Add tests.
17551         (rint): Likewise.
17553 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17555         * nptl/sysdeps/powerpc/Makefile: Moved ...
17556         * sysdeps/powerpc/nptl/Makefile: ... here.
17557         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17558         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17559         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17560         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17561         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17562         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17563         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17564         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17565         * nptl/sysdeps/powerpc/tls.h: Moved ...
17566         * sysdeps/powerpc/nptl/tls.h: ... here.
17568 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17570         [BZ #16681]
17571         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17572         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17573         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17574         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17575         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17576         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17577         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17578         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17579         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17581 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17583         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17585 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17587         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17588         defined operator.
17590         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17591         $TIMEOUTFACTOR.
17593 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17595         [BZ #17058]
17596         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17597         non-executed part of the test.
17599 2014-06-16  Andreas Schwab  <schwab@suse.de>
17601         * string/bits/string2.h (strdup, strndup): Update feature guard.
17603 2014-06-14  David S. Miller  <davem@davemloft.net>
17605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17607 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17609         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17610         that was previously under [RESET_PID].
17611         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17613         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17614         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17615         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17616         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17617         (__libc_vfork): New strong alias.
17618         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17620 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17622         * sysdeps/generic/elide.h: New file.
17624 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17626         * Makefile (installed-headers): Adjust path of pthread.h header.
17628 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17630         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17631         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17632         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17633         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17635         * nptl/sysdeps/s390/Makefile: Moved ...
17636         * sysdeps/s390/nptl/Makefile: ... here.
17637         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17638         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17639         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17640         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17641         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17642         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17643         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17644         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17645         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17646         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17647         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17648         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17649         * nptl/sysdeps/s390/tls.h: Moved ...
17650         * sysdeps/s390/nptl/tls.h: ... here.
17652         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17653         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17655 2014-06-13  David S. Miller  <davem@davemloft.net>
17657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17660         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17664         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17665         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17666         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17667         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17668         Remove RESET_PID cpp guards.
17669         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17670         Remove RESET_PID cpp guards.
17671         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17673 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17675         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17676         __sp to uintptr_t.
17678 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17680         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17681         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17682         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17683         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17684         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17685         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17686         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17687         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17688         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17689         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17690         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17691         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17692         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17693         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17694         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17695         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17696         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17697         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17698         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17699         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17701         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17702         (pthread_rwlock_rdlock): Add elision.
17703         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17704         (pthread_rwlock_wrlock): Add elision.
17705         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17706         (pthread_rwlock_trywrlock): Add elision.
17707         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17708         (pthread_rwlock_tryrdlock): Add elision.
17709         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17710         (pthread_rwlock_tryrdlock): Add elision unlock.
17711         * nptl/sysdeps/pthread/pthread.h:
17712         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17713         (PTHREAD_RWLOCK_INITIALIZER,
17714         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17715         Handle new elision field.
17716         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17717         * sysdeps/arm/nptl/bits/pthreadtypes.h
17718         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17719         * sysdeps/sh/nptl/bits/pthreadtypes.h
17720         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17721         * sysdeps/tile/nptl/bits/pthreadtypes.h
17722         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17723         * sysdeps/a/nptl/bits/pthreadtypes.h
17724         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17725         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17726         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17727         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17728         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17729         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17730         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17731         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17732         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17733         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17734         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17735         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17736         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17737         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17738         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17739         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17740         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17741         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17742         (elision_init): Set try_xbegin to zero when no RTM.
17743         * sysdeps/x86/nptl/bits/pthreadtypes.h
17744         (pthread_rwlock_t): Change __pad1 to __rwelision.
17745         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17747 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17749         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17750         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17751         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17752         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17754 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17756         [BZ #16996]
17757         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17758         that the cached result has been set before returning it.
17760 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17762         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17763         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17764         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17765         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17766         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17767         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17769         * nptl/sysdeps/sparc/Makefile: Moved ...
17770         * sysdeps/sparc/nptl/Makefile: ... here.
17771         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17772         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17773         * nptl/sysdeps/sparc/tls.h: Moved ...
17774         * sysdeps/sparc/nptl/tls.h: ... here.
17775         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17776         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17777         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17778         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17779         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17780         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17781         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17782         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17783         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17784         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17785         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17786         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17787         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17788         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17789         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17790         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17791         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17792         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17793         Update #include.
17794         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17795         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17796         Update #include.
17797         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17798         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17799         Update #include.
17800         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17801         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17802         Update #include.
17804         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17806         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17807         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17809         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17810         (struct list_links): Type removed.
17811         (struct thread_node, struct timer_node): Replace struct list_links
17812         with struct list_head.
17813         (list_unlink_ip): Likewise.
17814         * sysdeps/pthread/timer_routines.c
17815         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17816         (list_append, list_insbefore): Likewise.
17817         (list_init): Function removed.
17818         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17819         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17820         * sysdeps/pthread/Makefile: ... here, new file.
17822         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17823         * sysdeps/nptl/Implies: ... here.
17824         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17825         * nptl/sysdeps/pthread/list.h: Moved ...
17826         * include/list.h: ... here.
17827         * nptl/sysdeps/pthread/createthread.c: Moved ...
17828         * nptl/createthread.c: ... here.
17829         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17830         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17831         * nptl/pt-longjmp.c: ... here.
17832         * nptl/sysdeps/pthread/Makefile: Moved ...
17833         * sysdeps/nptl/Makefile: ... here.
17834         * nptl/sysdeps/pthread/Subdirs: Moved ...
17835         * sysdeps/nptl/Subdirs: ... here.
17836         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17837         * sysdeps/nptl/aio_misc.h: ... here.
17838         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17839         * sysdeps/nptl/bits/libc-lock.h: ... here.
17840         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17841         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17842         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17843         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17844         * nptl/sysdeps/pthread/configure: Moved ...
17845         * sysdeps/nptl/configure: ... here.
17846         * nptl/sysdeps/pthread/configure.ac: Moved ...
17847         * sysdeps/nptl/configure.ac: ... here.
17848         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17849         * sysdeps/nptl/gai_misc.h: ... here.
17850         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17851         * sysdeps/nptl/librt-cancellation.c: ... here.
17852         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17853         * sysdeps/nptl/malloc-machine.h: ... here.
17854         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17855         * sysdeps/nptl/pthread-functions.h: ... here.
17856         * nptl/sysdeps/pthread/pthread.h: Moved ...
17857         * sysdeps/nptl/pthread.h: ... here.
17858         * nptl/sysdeps/pthread/setxid.h: Moved ...
17859         * sysdeps/nptl/setxid.h: ... here.
17860         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17861         * sysdeps/nptl/sigfillset.c: ... here.
17862         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17863         * sysdeps/nptl/tcb-offsets.h: ... here.
17864         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17865         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17866         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17867         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17868         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17869         * sysdeps/pthread/allocalim.h: ... here.
17870         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17871         * sysdeps/pthread/bits/sigthread.h: ... here.
17872         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17873         * sysdeps/pthread/flockfile.c: ... here.
17874         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17875         * sysdeps/pthread/ftrylockfile.c: ... here.
17876         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17877         * sysdeps/pthread/funlockfile.c: ... here.
17878         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17879         * sysdeps/pthread/posix-timer.h: ... here.
17880         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17881         * sysdeps/pthread/timer_create.c: ... here.
17882         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17883         * sysdeps/pthread/timer_delete.c: ... here.
17884         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17885         * sysdeps/pthread/timer_getoverr.c: ... here.
17886         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17887         * sysdeps/pthread/timer_gettime.c: ... here.
17888         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17889         * sysdeps/pthread/timer_routines.c: ... here.
17890         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17891         * sysdeps/pthread/timer_settime.c: ... here.
17892         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17893         * sysdeps/pthread/tst-timer.c: ... here.
17894         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17895         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17897         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17898         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17900         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17901         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17902         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17903         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17904         Update #include target.
17905         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17906         * sysdeps/i386/i686/nptl/Makefile: ... here.
17907         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17908         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17909         Update #include target.
17910         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17911         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17912         * nptl/sysdeps/i386/Makefile: Moved ...
17913         * sysdeps/i386/nptl/Makefile: ... here.
17914         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17915         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17916         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17917         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17918         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17919         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17920         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17921         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17922         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17923         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17924         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17925         * nptl/sysdeps/i386/tls.h: Moved ...
17926         * sysdeps/i386/nptl/tls.h: ... here.
17928         * sysdeps/sh/Makefile [$(subdir) = csu]
17929         (gen-as-const-headers): Add tcb-offsets.sym.
17930         * nptl/sysdeps/sh/Makefile: File removed.
17931         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17932         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17933         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17934         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17935         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17936         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17937         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17938         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17939         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17940         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17941         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17942         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17943         * nptl/sysdeps/sh/tls.h: Moved ...
17944         * sysdeps/sh/nptl/tls.h: ... here.
17945         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17946         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17947         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17948         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17949         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17950         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17951         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17952         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17953         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17954         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17955         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17956         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17957         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17958         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17959         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17960         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17961         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17962         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17963         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17964         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17965         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17966         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17967         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17968         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17969         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17970         Moved ...
17971         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17972         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17973         Moved ...
17974         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17975         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17976         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17977         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17978         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17979         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17980         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17981         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17982         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17983         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17984         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17985         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17986         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17987         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17988         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17989         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17990         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17991         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17992         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17994 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17996         * posix/spawn_faction_addopen.c: Include string.h.
17998 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18000         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18001         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18002         * nptl/sysdeps/x86_64/Makefile: Moved ...
18003         * sysdeps/x86_64/nptl/Makefile: ... here.
18004         * nptl/sysdeps/x86_64/configure: Moved ...
18005         * sysdeps/x86_64/nptl/configure: ... here.
18006         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18007         * sysdeps/x86_64/nptl/configure.ac: ... here.
18008         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18009         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18010         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18011         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18012         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18013         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18014         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18015         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18016         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18017         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18018         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18019         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18020         * nptl/sysdeps/x86_64/tls.h: Moved ...
18021         * sysdeps/x86_64/nptl/tls.h: ... here.
18022         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18023         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18024         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18025         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18027         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18029 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18033 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18035         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18036         type.
18037         [POSIX] (off_t): Likewise.
18038         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18039         [POSIX] (S_ISBLK): Require macro.
18040         [POSIX] (S_ISCHR): Likewise.
18041         [POSIX] (S_ISDIR): Likewise.
18042         [POSIX] (S_ISFIFO): Likewise.
18043         [POSIX] (S_ISREG): Likewise.
18044         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18045         optional-macro.
18046         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18047         type.
18048         [POSIX] (time_t): Likewise.
18049         [POSIX] (timer_t): Likewise.
18051 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18053         [BZ #17048]
18054         * posix/spawn_int.h (struct __spawn_action): Make the path string
18055         non-const to support deallocation.
18056         * posix/spawn_faction_addopen.c
18057         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18058         * posix/spawn_faction_destroy.c
18059         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18060         path in all spawn_do_open actions.
18061         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18062         posix_spawn_file_actions_addopen.
18064 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18066         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18067         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18068         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18069         conditional code always true.
18070         (__libc_vfork): New alias.
18072 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18074         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18075         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18077         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18079         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18080         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18082         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18083         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18085         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18086         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18088 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18090         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18091         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18092         multiarch strcmp for PPC64.
18093         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18094         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18096         multiarch optimizations.
18097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18098         (__libc_ifunc_impl_list): Likewise.
18100 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18102         * benchtests/scripts/validate_benchout.py: New script.
18103         * benchtests/Makefile (bench-func): Call it.
18104         * benchtests/scripts/benchout.schema.json: New file.
18106 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18108         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18109         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18110         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18111         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18112         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18113         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18114         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18115         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18116         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18117         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18118         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18119         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18120         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18121         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18122         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18123         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18125         Moved ...
18126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18127         ... here.
18128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18129         Moved ...
18130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18132         Moved ...
18133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18134         ... here.
18135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18136         Moved ...
18137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18138         ... here.
18139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18140         Moved ...
18141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18143         Moved ...
18144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18145         ... here.
18146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18147         Moved ...
18148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18149         ... here.
18150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18151         Moved ...
18152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18154         Moved ...
18155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18156         ... here.
18157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18158         Moved ...
18159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18160         ... here.
18161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18162         Moved ...
18163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18164         ... here.
18165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18166         Moved ...
18167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18169         Moved ...
18170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18171         ... here.
18172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18173         Moved ...
18174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18175         ... here.
18176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18177         Moved ...
18178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18179         ... here.
18180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18181         Moved ...
18182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18184         Moved ...
18185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18186         ... here.
18187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18188         Moved ...
18189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18190         ... here.
18191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18192         Moved ...
18193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18195         Moved ...
18196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18197         ... here.
18198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18199         Moved ...
18200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18202         Moved ...
18203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18205         Moved ...
18206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18207         ... here.
18208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18209         Moved ...
18210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18211         ... here.
18212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18213         Moved ...
18214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18215         ... here.
18216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18217         Moved ...
18218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18220         Moved ...
18221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18222         ... here.
18223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18224         Moved ...
18225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18226         ... here.
18227         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18228         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18229         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18230         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18231         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18232         Moved ...
18233         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18234         ... here.
18235         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18236         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18237         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18238         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18239         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18240         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18241         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18242         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18243         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18244         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18245         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18246         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18247         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18248         Moved ...
18249         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18250         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18251         Moved ...
18252         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18253         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18254         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18255         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18256         Moved ...
18257         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18258         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18259         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18260         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18261         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18262         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18263         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18265 2014-06-10  Wilco  <wdijkstr@arm.com>
18267         * math/test-fenv-return.c: New file.
18268         * math/Makefile: Add new test test-fenv-return.
18270 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18272         [BZ #17042]
18273         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18274         when x - 1 is zero.
18275         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18276         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18277         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18278         0.0L for an argument of 1.0L.
18279         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18280         Likewise.
18281         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18282         value when x - 1 is zero.
18283         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18284         * sysdeps/i386/fpu/libm-test-ulps: Update.
18285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18287 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18289         [BZ #15119]
18290         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18292 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18294         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18295         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18297 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18299         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18300         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18302         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18303         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18305         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18306         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18308         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18309         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18311         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18312         if not already defined.
18313         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18314         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18315         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18316         (TLS_INIT_TP): Use it.
18317         (TLS_DEFINE_INIT_TP): New macro.
18318         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18320 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18322         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18323         constant.
18324         [POSIX] (IXANY): Likewise.
18325         [POSIX] (OLCUC): Likewise.
18326         [POSIX || POSIX2008] (CBAUD): Do not allow.
18327         [POSIX || POSIX2008] (DEFECHO): Likewise.
18328         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18329         [POSIX || POSIX2008] (ECHOKE): Likewise.
18330         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18331         [POSIX || POSIX2008] (EXTA): Likewise.
18332         [POSIX || POSIX2008] (EXTB): Likewise.
18333         [POSIX || POSIX2008] (FLUSHO): Likewise.
18334         [POSIX || POSIX2008] (LOBLK): Likewise.
18335         [POSIX || POSIX2008] (PENDIN): Likewise.
18336         [POSIX || POSIX2008] (SWTCH): Likewise.
18337         [POSIX || POSIX2008] (VDISCARD): Likewise.
18338         [POSIX || POSIX2008] (VDSUSP): Likewise.
18339         [POSIX || POSIX2008] (VLNEXT): Likewise.
18340         [POSIX || POSIX2008] (VREPRINT): Likewise.
18341         [POSIX || POSIX2008] (VSTATUS): Likewise.
18342         [POSIX || POSIX2008] (VWERASE): Likewise.
18343         (B*): Change to B[0123456789]*.
18344         * conform/data/time.h-data [POSIX || UNIX98]
18345         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18346         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18347         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18348         [POSIX] (tm_*): Do not allow.
18350 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18352         * Makefile (install): Don't set LANGUAGE.
18353         * Makefile.in (install): Likewise.
18354         * assert/Makefile (test-assert-ENV): Remove variable.
18355         (test-assert-perr-ENV): Likewise.
18356         * elf/Makefile (neededtest4-ENV): Likewise.
18357         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18358         [$(cross-compiling) = no]: Don't set LANGUAGE.
18359         * io/ftwtest-sh (LANG): Remove variable.
18360         * libio/Makefile (tst-widetext-ENV): Likewise.
18361         * manual/install.texi (Running make install): Don't refer to
18362         environment settings for make install.
18363         * INSTALL: Regenerated.
18364         * nptl/tst-tls6.sh: Don't set LANG.
18365         * posix/globtest.sh (LANG): Remove variable.
18366         * string/Makefile (tester-ENV): Likewise.
18367         (inl-tester-ENV): Likewise.
18368         (noinl-tester-ENV): Likewise.
18369         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18370         [$(cross-compiling) = no]: Don't set LANGUAGE.
18371         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18372         without explicit environment settings.
18374 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18376         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18377         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18378         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18379         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18381 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18383         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18384         other files in the crypt directory.
18385         * crypt/crypt.c: Remove duplicate includes.
18386         * crypt/crypt-entry.c: Likewise.
18387         * crypt/crypt_util.c: Likewise.
18389 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18391         * Makeconfig (run-program-env): New variable.
18392         (run-program-prefix-before-env): Likewise.
18393         (run-program-prefix-after-env): Likewise.
18394         (run-program-prefix): Define in terms of new variables.
18395         (built-program-cmd-before-env): New variable.
18396         (built-program-cmd-after-env): Likewise.
18397         (built-program-cmd): Define in terms of new variables.
18398         (test-program-prefix-before-env): New variable.
18399         (test-program-prefix-after-env): Likewise.
18400         (test-program-prefix): Define in terms of new variables.
18401         (test-program-cmd-before-env): New variable.
18402         (test-program-cmd-after-env): Likewise.
18403         (test-program-cmd): Define in terms of new variables.
18404         * Rules (make-test-out): Use $(run-program-env).
18405         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18406         (help): Do not mention environment variables.  Mention
18407         --timeoutfactor option.
18408         (timeoutfactor): New variable.
18409         (blacklist_exports): Remove function.
18410         (exports): Remove variable.
18411         (command): Do not include ${exports}.
18412         * manual/install.texi (Configuring and compiling): Do not mention
18413         test wrappers preserving environment variables.  Mention that last
18414         assignment to a variable must take precedence.
18415         * INSTALL: Regenerated.
18416         * benchtests/Makefile (run-bench): Use $(run-program-env).
18417         * catgets/Makefile ($(objpfx)test1.cat): Use
18418         $(built-program-cmd-before-env), $(run-program-env) and
18419         $(built-program-cmd-after-env).
18420         ($(objpfx)test2.cat): Do not specify environment variables
18421         explicitly.
18422         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18423         $(run-program-env) and $(built-program-cmd-after-env).
18424         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18425         $(run-program-env) and $(test-program-cmd-after-env).
18426         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18427         explicitly.
18428         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18429         run_program_env and test_program_cmd_after_env arguments.
18430         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18431         * elf/tst-pathopt.sh: Use run_program_env argument.
18432         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18433         $(test-wrapper-env) and $(run-program-env).
18434         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18435         run_program_env arguments.
18436         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18437         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18438         $(test-program-prefix-before-env), $(run-program-env) and
18439         $(test-program-prefix-after-env).
18440         ($(objpfx)tst-gettext2.out): Likewise.
18441         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18442         run_program_env and test_program_prefix_after_env arguments.
18443         * intl/tst-gettext2.sh: Likewise.
18444         * intl/tst-gettext4.sh: Do not set environment variables
18445         explicitly.
18446         * intl/tst-gettext6.sh: Likewise.
18447         * intl/tst-translit.sh: Likewise.
18448         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18449         $(test-program-prefix-before-env), $(run-program-env) and
18450         $(test-program-prefix-after-env).
18451         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18452         run_program_env and test_program_prefix_after_env arguments.
18453         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18454         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18455         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18456         explicitly with each use of ${test_wrapper_env}.
18457         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18458         $(test-program-prefix-before-env), $(run-program-env) and
18459         $(test-program-prefix-after-env).
18460         * posix/tst-getconf.sh: Do not set environment variables
18461         explicitly.
18462         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18463         run_program_env and test_program_prefix_after_env arguments.
18464         * stdio-common/tst-printf.sh: Do not set environment variables
18465         explicitly.
18466         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18467         $(test-program-prefix-before-env), $(run-program-env) and
18468         $(test-program-prefix-after-env).
18469         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18470         run_program_env and test_program_prefix_after_env arguments.
18471         Split $test calls into $test_pre and $test.
18472         * timezone/Makefile (build-testdata): Use
18473         $(built-program-cmd-before-env), $(run-program-env) and
18474         $(built-program-cmd-after-env).
18476 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18478         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18479         strlen for non SHARED builds.
18481 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18483         * nptl/allocatestack.c (check_list): Inlined function...
18484         (__reclaim_stacks): ... here.
18486 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18488         [BZ #15698]
18489         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18490         memory overrun.
18492 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18494         * Rules (make-test-out): Include
18495         LOCPATH=$(common-objpfx)localedata in default environment.
18496         * debug/Makefile (tst-chk1-ENV): Remove variable.
18497         (tst-chk2-ENV): Likewise.
18498         (tst-chk3-ENV): Likewise.
18499         (tst-chk4-ENV): Likewise.
18500         (tst-chk5-ENV): Likewise.
18501         (tst-chk6-ENV): Likewise.
18502         (tst-lfschk1-ENV): Likewise.
18503         (tst-lfschk2-ENV): Likewise.
18504         (tst-lfschk3-ENV): Likewise.
18505         (tst-lfschk4-ENV): Likewise.
18506         (tst-lfschk5-ENV): Likewise.
18507         (tst-lfschk6-ENV): Likewise.
18508         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18509         (tst-iconv7-ENV): Likewise.
18510         * intl/Makefile (LOCPATH-ENV): Likewise.
18511         (tst-codeset-ENV): Likewise.
18512         (tst-gettext3-ENV): Likewise.
18513         (tst-gettext5-ENV): Likewise.
18514         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18515         (tst-fopenloc-ENV): Likewise.
18516         (tst-fgetws-ENV): Remove variable.
18517         (tst-ungetwc1-ENV): Likewise.
18518         (tst-ungetwc2-ENV): Likewise.
18519         (bug-ungetwc2-ENV): Likewise.
18520         (tst-swscanf-ENV): Likewise.
18521         (bug-ftell-ENV): Likewise.
18522         (tst-fgetwc-ENV): Likewise.
18523         (tst-fseek-ENV): Likewise.
18524         (tst-ftell-partial-wide-ENV): Likewise.
18525         (tst-ftell-active-handler-ENV): Likewise.
18526         (tst-ftell-append-ENV): Likewise.
18527         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18528         (tst-regexloc-ENV): Likewise.
18529         (bug-regex1-ENV): Likewise.
18530         (tst-regex-ENV): Likewise.
18531         (tst-regex2-ENV): Likewise.
18532         (bug-regex5-ENV): Likewise.
18533         (bug-regex6-ENV): Likewise.
18534         (bug-regex17-ENV): Likewise.
18535         (bug-regex18-ENV): Likewise.
18536         (bug-regex19-ENV): Likewise.
18537         (bug-regex20-ENV): Likewise.
18538         (bug-regex22-ENV): Likewise.
18539         (bug-regex23-ENV): Likewise.
18540         (bug-regex25-ENV): Likewise.
18541         (bug-regex26-ENV): Likewise.
18542         (bug-regex30-ENV): Likewise.
18543         (bug-regex32-ENV): Likewise.
18544         (bug-regex33-ENV): Likewise.
18545         (bug-regex34-ENV): Likewise.
18546         (bug-regex35-ENV): Likewise.
18547         (tst-rxspencer-ENV): Likewise.
18548         (tst-rxspencer-no-utf8-ENV): Likewise.
18549         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18550         (tst-sscanf-ENV): Likewise.
18551         (tst-swprintf-ENV): Likewise.
18552         (tst-swscanf-ENV): Likewise.
18553         (test-vfprintf-ENV): Likewise.
18554         (scanf13-ENV): Likewise.
18555         (bug14-ENV): Likewise.
18556         (tst-grouping-ENV): Likewise.
18557         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18558         (tst-strtod3-ENV): Likewise.
18559         (tst-strtod4-ENV): Likewise.
18560         (tst-strtod5-ENV): Likewise.
18561         (testmb2-ENV): Likewise./
18562         * string/Makefile (tst-strxfrm-ENV): Likewise.
18563         (tst-strxfrm2-ENV): Likewise.
18564         (bug-strcoll1-ENV): Likewise.
18565         (test-strcasecmp-ENV): Likewise.
18566         (test-strncasecmp-ENV): Likewise.
18567         * time/Makefile (tst-strptime-ENV): Likewise.
18568         (tst-ftime_l-ENV): Likewise.
18569         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18570         (tst-mbrtowc-ENV): Likewise.
18571         (tst-wcrtomb-ENV): Likewise.
18572         (tst-mbrtowc2-ENV): Likewise.
18573         (tst-c16c32-1-ENV): Likewise.
18574         (tst-mbsnrtowcs-ENV): Likewise.
18576 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18578         * manual/resource.texi (How to get information about the memory
18579         subsystem?): Fix typo.
18580         Reported by Peon de la Parra Ivan <peon@keba.com>
18582 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18584         [BZ #16882]
18585         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18586         (pthread_spin_lock): Branch out of spin loop to proper location.
18587         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18588         (pthread_spin_lock): Likewise.
18590         * nptl/tst-spin4.c: New test.
18591         * nptl/Makefile (tests): Add tst-spin4.
18593 2014-06-03  Andreas Schwab  <schwab@suse.de>
18595         [BZ #15946]
18596         * resolv/res_send.c (send_dg): Reload file descriptor after
18597         calling reopen.
18599 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18601         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18603 2014-06-03  Richard Henderson  <rth@redhat.com>
18605         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18606         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18607         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18608         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18609         in the SAVE_PID block.
18610         (__libc_vfork): New alias.
18611         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18613         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18614         child in registers, not on the stack.  Remove RESET_PID conditionals.
18615         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18617 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18619         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18621 2014-06-03  Wilco  <wdijkstr@arm.com>
18623         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18624         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18625         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18626         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18627         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18628         Likewise.
18630 2014-06-03  Wilco  <wdijkstr@arm.com>
18632         * sysdeps/aarch64/fpu/math_private.h
18633         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18634         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18635         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18636         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18637         Fix declarations.
18639 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18641         * crypt/crypt-private.h: Include ufc-crypt.h.
18642         (__b64_from_24bit): Declare extern.
18643         * crypt/crypt_util.c(__b64_from_24bit): New function.
18644         (b64t): New static const variable.
18645         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18646         (b64t): Remove variable.
18647         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18648         * crypt/sha256-crypt.c: Include crypt-private.h.
18649         (b64t): Remove variable.
18650         (__sha256_crypt_r): Remove b64_from_24bit and replace
18651         with __b64_from_24bit.
18652         * crypt/sha512-crypt.c: Likewise.
18654 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18656         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18657         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18658         Label the code __libc_vfork rather than __vfork.
18659         [!NOT_IN_libc] (vfork): Define as weak alias.
18660         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18661         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18662         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18664 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18666         * malloc/malloc.c (malloc_info): Fix format specifier for
18667         n_mmaps.
18669 2014-06-02  Wilco  <wdijkstr@arm.com>
18671         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18672         FPCR write.
18674 2014-06-02  Wilco  <wdijkstr@arm.com>
18676         [BZ #17009]
18677         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18678         Rewrite to reduce FPCR/FPSR accesses.
18680 2014-06-01  David S. Miller  <davem@davemloft.net>
18682         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18684 2014-05-31  David S. Miller  <davem@davemloft.net>
18686         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18687         to occur in round to nearest mode when |x| >= 2.0
18689 2014-05-30  Richard Henderson  <rth@twiddle.net>
18691         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18692         (PSEUDO_RET_NOERRNO): Remove.
18693         (ret): Don't redefine.
18694         (ret_NOERRNO): Define in terms of ret.
18695         (ret_ERRVAL): Likewise.
18697         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18698         use of PSEUDO_RET; perform the error check directly.
18700 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18702         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18703         with __int128_t.
18705 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18707         * malloc/malloc (malloc_info): Fix formatting.
18709 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18710             Roland McGrath  <roland@hack.frob.com>
18712         * malloc/malloc (malloc_info): Also print mmapped statistics.
18714 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18716         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18717         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18719 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18721         * malloc/malloc.c (malloc_info): Inline mi_arena.
18723 2014-05-29  Richard Henderson  <rth@twiddle.net>
18725         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18726         Remove comma before expanding ASM_ARGS_##nr.
18727         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18728         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18729         of ASM_ARGS_##nr.
18730         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18731         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18732         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18733         (ASM_ARGS_1): Add leading comma.
18735         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18736         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18737         to __errno_location.
18738         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18739         Remove the expected plt for __errno_location.
18741         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18742         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18743         call to __read_tp.
18745         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18746         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18747         it and break it down.
18748         (DOCARGS_0, DOCARGS_1): Do nothing.
18749         (DOCARGS_2): Update to store into the new stack frame.
18750         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18751         (UNDOCARGS_1): Update to restore from the new stack frame.
18752         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18753         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18755         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18756         (SINGLE_THREAD_P): New parameter for result regno.
18757         (PSEUDO): Update to match; use cbz instead of beq.
18759         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18760         Use ENTRY to define the _nocancel entry point.  Share the syscall
18761         and syscall error check paths with the cancel path.
18762         (PSEUDO_END): New.
18764         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18765         whitespace; tabs before and after asm mnemonics.
18767 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18769         [BZ #15132]
18770         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18771         Call fstat64 or stat64 internally, depending on arguments passed.
18772         Replace stat buffer argument with file descriptor argument.
18773         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18774         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18775         Pass fd to __internal_statvfs instead of calling fstat64.
18776         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18777         Pass fd to __internal_statvfs64 instead of calling fstat64.
18778         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18779         Pass -1 to __internal_statvfs instead of calling stat64.
18780         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18781         Pass -1 to __internal_statvfs64 instead of calling stat64.
18783 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18785         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18786         that was previously under [RESET_PID].
18787         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18789         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18790         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18792 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18794         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18796         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18797         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18799 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18801         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18803 2014-05-27  Andreas Schwab  <schwab@suse.de>
18805         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18806         TLS_INIT_TP macro.
18807         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18808         * elf/rtld.c (init_tls, dl_main): Likewise.
18809         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18810         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18811         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18812         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18813         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18814         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18815         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18816         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18817         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18818         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18819         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18820         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18821         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18822         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18823         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18824         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18825         * sysdeps/generic/tls.h: Update description.
18827 2014-05-27  Will Newton  <will.newton@linaro.org>
18829         [BZ #16990]
18830         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18831         and restore r2 rather than just restoring.
18833 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18835         [BZ #16724]
18836         * libio/tst-ftell-append.c: New test case.
18837         * libio/Makefile (tests): Add test case.
18838         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18839         append mode.
18840         * libio/wfileops.c (do_ftell_wide): Likewise.
18842 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18846         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18847         ...
18848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18850         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18851         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18852         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18853         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18854         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18855         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18856         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18857         Moved ...
18858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18860         Moved ...
18861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18862         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18863         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18864         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18865         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18866         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18867         ...
18868         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18869         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18870         Moved ...
18871         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18872         here.
18873         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18874         ...
18875         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18876         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18877         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18879         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18880         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18881         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18882         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18884         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18885         merge into ...
18886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18887         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18888         ...
18889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18890         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18891         ...
18892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18893         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18894         Moved ...
18895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18896         here.
18897         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18898         Moved ...
18899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18900         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18901         Moved ...
18902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18905         conditional [RESET_PID].
18906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18907         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18908         removed.
18909         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18910         removed.
18912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18913         <tcb-offsets.h>.
18914         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18915         (__libc_vfork): New strong alias.
18916         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18917         removed.
18918         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18919         Removed.
18921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18922         <tcb-offsets.h>.
18923         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18924         (__libc_vfork): New strong alias.
18925         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18926         removed.
18927         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18928         removed.
18930 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18932         * malloc/malloc.c (mi_arena): New function.
18933         (malloc_info): Remove nested function mi_arena. Call non-nosted
18934         function mi_arena.
18936 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18938         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18939         by insrwi.
18940         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18941         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18942         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18943         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18944         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18945         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18946         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18948 2014-05-26  Andreas Schwab  <schwab@suse.de>
18950         [BZ #16984]
18951         * locale/programs/repertoire.c (repertoire_read): Add slash
18952         between I18NPATH element and file name.
18953         * locale/programs/locfile.c (locfile_read): Likewise.
18955 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18957         * nptl/pthread_mutexattr_settype.c
18958         (__pthread_mutexattr_settype):
18959         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18961 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18963         * nptl/tst-mutex5 (do_test):
18964         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18966 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18968         * benchtests/README: Document 'init' directive.
18969         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18970         BENCH_INIT.
18971         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18972         (parse_file): Recognize 'init' directive.
18974 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18976         [BZ #16796]
18977         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18978         alignment of struct pthread.
18980 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18982         [BZ #16878]
18983         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18984         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18985         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18986         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18988 2014-05-25  Richard Henderson  <rth@twiddle.net>
18990         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18991         (SINGLE_THREAD_P_PIC): Remove.
18992         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18993         (SINGLE_THREAD_P_PIC): Remove.
18995         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18996         branch to syscall error ...
18997         (PSEUDO): ... here.
18998         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18999         from __local_syscall_error to .Lsyscall_error.
19000         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19001         (SYSCALL_ERROR): Update label name.
19003         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19004         Do not use DOARGS/UNDOARGS.
19005         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19006         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19007         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19008         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19009         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19011         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19012         block comment.
19014         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19015         define if !NOT_IN_libc.
19016         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19017         define with non-default symbol versions.
19019 2014-05-23  Richard Henderson  <rth@twiddle.net>
19021         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19022         (vfork, __vfork): Define via compat_symbol.
19024         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19025         [!HAVE_IFUNC] (vfork_compat): Remove.
19026         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19028 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19030         [BZ #16978]
19031         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19032         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19033         variable.
19035 2014-05-23  Richard Henderson  <rth@twiddle.net>
19037         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19038         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19039         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19040         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19042         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19043         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19044         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19045         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19046         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19047         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19048         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19049         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19050         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19051         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19052         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19053         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19054         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19055         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19056         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19057         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19058         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19059         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19060         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19061         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19062         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19063         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19064         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19065         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19066         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19067         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19068         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19069         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19070         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19071         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19072         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19073         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19074         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19075         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19076         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19077         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19078         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19079         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19080         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19081         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19082         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19083         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19084         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19085         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19086         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19087         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19088         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19089         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19090         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19091         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19092         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19093         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19094         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19095         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19096         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19097         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19099         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19100         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19101         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19102         before exiting on error.
19103         (__libc_vfork): New strong alias.
19104         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19105         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19107         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19108         that was previously under [RESET_PID].
19109         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19111         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19113 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19115         [BZ #16977]
19116         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19117         value when x - 1 is zero.
19118         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19119         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19120         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19121         0.0L for an argument of 1.0L.
19122         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19123         Likewise.
19124         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19125         value when x - 1 is zero.
19126         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19127         * sysdeps/i386/fpu/libm-test-ulps: Update.
19128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19130 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19132         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19133         alphasort and versionsort.
19135 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19137         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19138         macro.
19139         [copysignf]: Likewise.
19141 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19143         * crypt/md5-crypt.c: Fix formatting.
19145 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19147         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19148         (b64_from_24bit): New function.
19150 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19152         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19153         libc_hidden_builtin_def to ifunc.
19154         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19155         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19157 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19159         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19160         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19162 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19164         * nscd/Depend (linuxthreads): Remove.
19165         (nptl): Add.
19166         * resolv/Depend (linuxthreads): Remove.
19167         * rt/Depend (linuxthreads): Remove.
19169         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19170         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19171         $(common-objpfx)elf/.
19172         (link-libc-before-gnulib): Likewise.
19173         (elfobjdir): Remove variable.
19174         * Makefile (install): Use $(elf-objpfx) instead of
19175         $(common-objpfx)elf/.
19176         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19177         $(elfobjdir)/.
19178         (link-libc-deps): Likewise.
19179         ($(common-objpfx)libc.so): Likewise.
19180         ($(common-objpfx)linkobj/libc.so): Likewise.
19181         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19182         instead of $(common-objpfx)elf/.
19183         (symbolic-link-list): Likewise.
19184         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19185         [$(cross-compiling) = no]: Likewise.
19186         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19187         $(elfobjdir)/.
19188         (static-gnulib-arch): Likewise.
19189         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19190         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19191         $(common-objpfx)elf/.
19193 2014-05-21  Richard Henderson  <rth@redhat.com>
19195         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19196         (SINGLE_THREAD_P): Use the correct width load.  Fold
19197         into the ldr offset.
19199         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19200         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19202 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19204         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19205         (libgcc_s_resume): Use __attribute_used__.
19206         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19207         Likewise.
19209 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19211         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19212         optimization when used with float constants.
19214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19216 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19218         [BZ #16915]
19219         * locale/nl_langinfo_l.c: Make direct reference to every
19220         _nl_current_CATEGORY symbol.
19221         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19222         (tests-static): Add tst-langinfo-static.
19223         (tests-special): Add tst-langinfo-static.out.
19224         ($(objpfx)tst-langinfo.out): Redirect output.
19225         ($(objpfx)tst-langinfo-static.out): New.
19226         * localedata/tst-langinfo.sh: Send output to stdout.
19227         * localedata/tst-langinfo-static.c: New file.
19229         [BZ #16965]
19230         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19231         when the shift amount is modulo the limb size.
19233 2014-05-20  Richard Henderson  <rth@redhat.com>
19235         [BZ #16967]
19236         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19237         Change type of sa_flags from unsigned int to int.
19239         [BZ #16966]
19240         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19242         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19244 2014-05-20  Will Newton  <will.newton@linaro.org>
19246         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19247         Test the return value of the system call in the nocancel case.
19249 2014-05-20  Will Newton  <will.newton@linaro.org>
19250             Yvan Roux  <yvan.roux@linaro.org>
19252         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19253         #include of asm/ptrace.h.
19254         (PTRACE_GET_THREAD_AREA): Remove #undef.
19255         (PTRACE_GETHBPREGS): Likewise.
19256         (PTRACE_SETHBPREGS): Likewise.
19257         (struct user_regs_struct): New structure.
19258         (struct user_fpsimd_struct): New structure.
19259         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19260         #include of asm/ptrace.h and second #include of sys/user.h.
19261         (PTRACE_GET_THREAD_AREA): Remove #undef.
19262         (PTRACE_GETHBPREGS): Likewise.
19263         (PTRACE_SETHBPREGS): Likewise.
19264         (ELF_NGREG): Use new struct user_regs_struct.
19265         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19267 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19269         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19270         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19272 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19274         [BZ #16958]
19275         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19276         membar to avoid block loads/stores to overlap previous stores.
19278 2014-05-17  Richard Henderson  <rth@redhat.com>
19280         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19281         Create the __##syscall_name##_nocancel entry point.
19282         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19283         Remove; let the sysdep-cancel.h code create it.
19285 2014-05-17  David S. Miller  <davem@davemloft.net>
19287         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19288         Protect with __USE_GNU.
19289         (TIOCSET_TEMPT): Likewise.
19290         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19291         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19292         these are already provided in bits/ioctl-types.h
19294 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19296         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19297         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19299         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19300         Use wait4 regardless of [__NR_waitpid].
19302 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19304         PR libgcc/60166
19305         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19306         (_FP_NANSIGN_Q): Set the quiet bit.
19308 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19310         * benchtests/Makefile
19311         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19312         not $(common-objpfx)math/libm.so.
19313         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19314         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19315         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19316         $(common-objpfx)dlfcn/libdl.so.
19317         ($(objpfx)tst-audit8): Depend on $(libm), not
19318         $(common-objpfx)math/libm.so.
19319         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19320         not $(common-objpfx)dlfcn/libdl.so.
19321         * math/Makefile
19322         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19323         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19324         [$(build-shared) = yes].
19325         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19326         $(common-objpfx)nptl/libpthread.so.
19327         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19328         $(common-objpfx)math/libm.so$(libm.so-version) or
19329         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19330         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19331         $(common-objpfx)dlfcn/libdl.so.
19332         * setjmp/Makefile (link-libm): Remove variable.
19333         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19334         * stdio-common/Makefile (link-libm): Remove variable.
19335         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19336         * stdlib/Makefile (link-libm): Remove variable.
19337         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19338         ($(objpfx)tst-strtod-round): Likewise.
19339         ($(objpfx)tst-tininess): Likewise.
19340         ($(objpfx)tst-strtod-underflow): Likewise.
19341         ($(objpfx)tst-strtod6): Likewise.
19342         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19343         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19344         $(common-objpfx)dlfcn/libdl.so.
19346 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19348         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19349         BSD terminal modes definitions.
19351 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19353         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19354         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19356         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19357         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19358         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19359         Don't do #include_next.
19360         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19361         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19362         Don't do #include_next.
19363         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19364         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19365         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19366         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19368 2014-05-16  Allan McRae  <allan@archlinux.org>
19370         * po/sv.po: Update Swedish translation from translation project.
19372         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19373         in sed expression.
19375 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19377         [BZ #16917]
19378         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19379         errno if the TIOCGPTN ioctl fails with an error different than
19380         EINVAL.
19381         * login/tst-ptsname.c: New file.
19382         * login/Makefile (tests): Add tst-ptsname.
19384         [BZ #16943]
19385         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19386         and prlimit64.
19388 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19390         [BZ #16849]
19391         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19392         herrno to return EAI_AGAIN.
19394 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19396         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19397         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19398         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19399         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19400         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19401         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19402         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19403         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19404         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19405         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19406         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19407         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19408         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19409         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19410         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19411         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19412         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19413         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19414         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19415         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19416         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19417         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19418         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19419         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19420         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19421         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19422         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19423         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19424         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19425         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19427         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19429         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19431         Moved ...
19432         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19434         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19436         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19438         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19440         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19442         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19444         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19446         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19448         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19450         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19452         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19454         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19456         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19458         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19460         Moved ...
19461         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19463         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19465         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19467         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19469         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19471         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19473         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19475         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19477         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19479         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19481         Moved ...
19482         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19484         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19486         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19487         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19488         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19489         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19490         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19491         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19492         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19493         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19494         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19495         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19496         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19497         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19498         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19499         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19500         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19501         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19502         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19503         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19504         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19505         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19506         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19507         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19508         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19509         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19510         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19511         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19512         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19513         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19514         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19515         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19516         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19518         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19519         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19521         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19522         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19523         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19524         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19525         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19526         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19527         Moved ...
19528         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19529         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19530         Moved ...
19531         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19532         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19533         Moved ...
19534         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19535         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19536         Moved ...
19537         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19538         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19539         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19540         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19541         Moved ...
19542         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19543         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19544         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19545         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19546         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19547         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19548         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19549         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19550         Moved ...
19551         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19552         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19553         Moved ...
19554         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19555         ... here.
19556         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19557         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19558         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19559         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19560         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19561         Moved ...
19562         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19563         ... here.
19564         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19565         Moved ...
19566         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19567         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19568         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19569         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19570         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19571         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19572         Moved ...
19573         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19574         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19575         Moved ...
19576         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19577         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19578         Moved ...
19579         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19580         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19581         Moved ...
19582         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19583         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19584         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19585         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19586         Moved ...
19587         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19588         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19589         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19590         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19591         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19592         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19593         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19594         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19595         Moved ...
19596         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19597         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19598         Moved ...
19599         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19600         ... here.
19601         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19602         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19603         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19604         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19605         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19606         Moved ...
19607         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19608         ... here.
19609         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19610         Moved ...
19611         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19612         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19613         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19614         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19615         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19616         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19617         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19618         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19619         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19620         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19621         Moved ...
19622         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19623         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19624         Moved ...
19625         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19626         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19627         Moved ...
19628         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19629         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19630         Moved ...
19631         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19632         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19633         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19634         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19635         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19636         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19637         Moved ...
19638         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19639         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19640         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19641         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19642         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19643         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19644         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19645         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19646         Moved ...
19647         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19648         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19649         Moved ...
19650         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19651         ... here.
19652         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19653         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19654         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19655         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19656         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19657         Moved ...
19658         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19659         ... here.
19660         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19661         Moved ...
19662         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19663         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19664         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19665         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19666         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19667         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19668         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19669         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19670         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19671         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19672         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19674         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19675         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19677         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19678         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19680         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19681         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19682         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19683         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19684         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19685         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19686         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19687         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19688         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19689         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19690         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19691         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19692         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19693         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19694         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19695         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19696         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19697         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19698         Moved ...
19699         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19700         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19701         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19702         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19703         Moved ...
19704         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19705         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19706         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19707         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19708         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19709         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19710         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19711         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19712         Moved ...
19713         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19714         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19715         Moved ...
19716         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19717         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19718         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19719         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19720         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19721         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19722         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19723         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19724         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19725         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19726         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19727         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19728         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19729         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19730         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19731         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19732         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19734         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19735         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19736         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19737         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19738         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19740         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19741         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19742         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19743         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19744         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19745         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19746         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19747         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19748         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19749         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19751         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19752         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19754         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19755         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19756         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19757         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19758         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19759         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19760         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19761         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19762         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19763         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19764         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19765         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19766         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19767         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19768         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19769         Update #include.
19770         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19771         Likewise.
19772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19773         Likewise.
19774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19775         Likewise.
19776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19777         Likewise.
19778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19779         Likewise.
19780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19781         Likewise.
19782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19783         Likewise.
19784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19785         Likewise.
19786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19787         Likewise.
19788         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19789         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19790         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19791         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19792         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19793         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19794         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19795         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19796         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19797         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19798         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19799         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19800         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19801         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19802         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19804         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19805         that was previously under [RESET_PID].
19806         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19807         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19808         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19810         * sysdeps/i386/nptl/Implies: New file.
19811         * sysdeps/x86_64/nptl/Implies: New file.
19812         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19813         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19814         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19815         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19817         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19818         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19819         (__libc_vfork): New strong alias.
19820         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19821         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19823         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19824         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19825         (__libc_vfork): New strong alias.
19826         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19827         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19829         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19830         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19831         (__libc_vfork): New strong alias.
19832         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19833         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19834         * nptl/pt-vfork.c: New file.
19835         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19836         (libpthread: GLIBC_2.20): New version set (empty).
19838 2014-05-14  Will Newton  <will.newton@linaro.org>
19840         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19841         rather than #if.
19843 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19845         [BZ #16564]
19846         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19847         arguments with exponent 65 or above.
19848         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19849         arguments 0x1p113L or above.
19850         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19851         to arguments 0x1p107L or above.
19852         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19853         positive arguments with exponent 65 or above.
19854         * math/auto-libm-test-in: Add more tests of log1p.
19855         * math/auto-libm-test-out: Regenerated.
19857         [BZ #16928]
19858         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19859         non-finite arguments is +0.
19860         * math/s_cacosf.c (__cacosf): Likewise.
19861         * math/s_cacosl.c (__cacosl): Likewise.
19862         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19863         * sysdeps/i386/fpu/libm-test-ulps: Update.
19864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19866         [BZ #16927]
19867         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19868         value.
19869         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19870         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19871         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19872         for explicit high bit of mantissa when testing for argument equal
19873         to 1.
19874         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19875         * sysdeps/i386/fpu/libm-test-ulps: Update.
19876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19878         [BZ #16516]
19879         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19880         (__erf): Scale by 16 instead of 8 in potentially underflowing
19881         case.  Ensure exception if result actually underflows.
19882         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19883         (__erff): Scale by 16 instead of 8 in potentially underflowing
19884         case.  Ensure exception if result actually underflows.
19885         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19886         (efx8): Remove variable.
19887         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19888         case.  Ensure exception if result actually underflows.
19889         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19890         (efx8): Remove variable.
19891         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19892         case.  Ensure exception if result actually underflows.
19893         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19894         (efx8): Remove variable.
19895         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19896         case.  Ensure exception if result actually underflows.
19897         * math/auto-libm-test-in: Add more tests of erf.
19898         * math/auto-libm-test-out: Regenerated.
19900 2014-05-14  Andreas Schwab  <schwab@suse.de>
19902         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19903         Remove code conditionalized on USE___THREAD.
19905         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19906         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19907         not definedness.
19909 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19911         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19912         Define unconditionally.
19913         (__ASSUME_O_CLOEXEC): Likewise.
19914         (__ASSUME_SOCK_CLOEXEC): Likewise.
19915         (__ASSUME_IN_NONBLOCK): Likewise.
19916         (__ASSUME_PIPE2): Likewise.
19917         (__ASSUME_EVENTFD2): Likewise.
19918         (__ASSUME_SIGNALFD4): Likewise.
19919         (__ASSUME_DUP3): Likewise.
19920         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19921         (__ASSUME_DUP3): Do not define.
19922         (__ASSUME_EVENTFD2): Likewise.
19923         (__ASSUME_IN_NONBLOCK): Likewise.
19924         (__ASSUME_O_CLOEXEC): Likewise.
19925         (__ASSUME_PIPE2): Likewise.
19926         (__ASSUME_SIGNALFD4): Likewise.
19927         (__ASSUME_SOCK_CLOEXEC): Likewise.
19928         (__ASSUME_UTIMES): Undefine.
19929         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19930         (__ASSUME_UTIMES): Do not define.
19931         (__ASSUME_O_CLOEXEC): Likewise.
19932         (__ASSUME_SOCK_CLOEXEC): Likewise.
19933         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19934         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19935         0x020621].
19936         (__ASSUME_PIPE2): Likewise.
19937         (__ASSUME_EVENTFD2): Likewise.
19938         (__ASSUME_SIGNALFD4): Likewise.
19939         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19940         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19941         Do not define.
19942         (__ASSUME_EVENTFD2): Likewise.
19943         (__ASSUME_SIGNALFD4): Likewise.
19944         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19945         (__ASSUME_32BITUIDS): Likewise.
19946         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19947         (__ASSUME_IPC64): Likewise.
19948         (__ASSUME_ST_INO_64_BIT): Likewise.
19949         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19950         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19951         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19952         (__ASSUME_UTIMES): Do not define.
19953         (__ASSUME_PSELECT): Likewise.
19954         (__ASSUME_PPOLL): Likewise.
19955         (__ASSUME_O_CLOEXEC): Likewise.
19956         (__ASSUME_SOCK_CLOEXEC): Likewise.
19957         (__ASSUME_IN_NONBLOCK): Likewise.
19958         (__ASSUME_PIPE2): Likewise.
19959         (__ASSUME_EVENTFD2): Likewise.
19960         (__ASSUME_SIGNALFD4): Likewise.
19961         (__ASSUME_DUP3): Likewise.
19962         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19963         (__ASSUME_UTIMES): Likewise.
19964         (__ASSUME_O_CLOEXEC): Likewise.
19965         (__ASSUME_SOCK_CLOEXEC): Likewise.
19966         (__ASSUME_IN_NONBLOCK): Likewise.
19967         (__ASSUME_PIPE2): Likewise.
19968         (__ASSUME_EVENTFD2): Likewise.
19969         (__ASSUME_SIGNALFD4): Likewise.
19970         (__ASSUME_DUP3): Likewise.
19971         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19972         (__ASSUME_UTIMES): Likewise.
19973         (__ASSUME_O_CLOEXEC): Likewise.
19974         (__ASSUME_SOCK_CLOEXEC): Likewise.
19975         (__ASSUME_IN_NONBLOCK): Likewise.
19976         (__ASSUME_PIPE2): Likewise.
19977         (__ASSUME_EVENTFD2): Likewise.
19978         (__ASSUME_SIGNALFD4): Likewise.
19979         (__ASSUME_DUP3): Likewise.
19980         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19981         Likewise.
19982         (__ASSUME_UTIMES): Likewise.
19983         (__ASSUME_EVENTFD2): Likewise.
19984         (__ASSUME_SIGNALFD4): Likewise.
19985         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19986         (__ASSUME_O_CLOEXEC): Likewise.
19987         (__ASSUME_SOCK_CLOEXEC): Likewise.
19988         (__ASSUME_IN_NONBLOCK): Likewise.
19989         (__ASSUME_PIPE2): Likewise.
19990         (__ASSUME_EVENTFD2): Likewise.
19991         (__ASSUME_SIGNALFD4): Likewise.
19992         (__ASSUME_DUP3): Likewise.
19993         (__ASSUME_UTIMES): Undefine.
19995         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19996         feclearexcept.  Remove symbol versioning code.
19997         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19998         symbol versioning code.
19999         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20000         symbol versioning code.
20001         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20002         feupdateenv.  Remove symbol versioning code.
20003         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20004         fegetexceptflag.  Remove symbol versioning code.
20005         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20006         fesetexceptflag.  Remove symbol versioning code.
20007         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20008         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20009         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20010         (__posix_fadvise64_l32): Remove prototype.
20011         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20012         code.
20014 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20016         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20017         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20018         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20019         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20021 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20023         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20024         current working directory
20026 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20028         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20029         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20030         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20031         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20032         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20033         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20034         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20035         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20036         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20037         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20038         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20039         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20040         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20041         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20042         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20043         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20044         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20045         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20046         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20047         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20048         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20049         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20050         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20051         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20052         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20053         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20054         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20055         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20056         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20057         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20058         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20059         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20060         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20061         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20062         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20063         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20064         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20065         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20066         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20067         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20068         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20069         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20071         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20072         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20074         * sysdeps/unix/sysv/linux/arm/Makefile
20075         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20076         Add rt-aeabi_unwind_cpp_pr1.
20077         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20078         Add nptl-aeabi_unwind_cpp_pr1.
20079         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20080         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20081         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20082         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20083         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20084         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20086         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20087         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20088         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20089         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20091         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20092         Deconditionalize the code that was previously under [RESET_PID].
20093         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20095         * sysdeps/generic/exit-thread.h: New file.
20096         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20097         * include/unistd.h (__exit_thread): Remove declaration.
20098         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20099         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20100         * csu/libc-start.c: Include <exit-thread.h>.
20101         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20102         * nptl/pthread_create.c: Include <exit-thread.h>.
20103         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20104         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20105         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20106         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20107         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20108         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20109         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20110         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20111         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20112         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20113         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20114         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20115         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20116         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20117         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20118         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20119         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20121 2014-05-13  Andreas Schwab  <schwab@suse.de>
20123         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20125 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20127         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20128         (__ASSUME_UTIMES): Do not condition on kernel version.
20129         (__ASSUME_PSELECT): Define unconditionally.
20130         (__ASSUME_PPOLL): Likewise.
20131         (__ASSUME_ATFCTS): Likewise.
20132         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20133         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20134         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20135         (__ASSUME_UTIMENSAT): Define unconditionally.
20136         (__ASSUME_PRIVATE_FUTEX): Likewise.
20137         (__ASSUME_FALLOCATE): Likewise.
20138         (__ASSUME_O_CLOEXEC): Likewise.
20139         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20140         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20141         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20142         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20143         (__ASSUME_IN_NONBLOCK): Likewise.
20144         (__ASSUME_PIPE2): Likewise.
20145         (__ASSUME_EVENTFD2): Likewise.
20146         (__ASSUME_SIGNALFD4): Likewise.
20147         (__ASSUME_DUP3): Likewise.
20148         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20149         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20150         (__ASSUME_AT_RANDOM): Likewise.
20151         (__ASSUME_PREADV): Likewise.
20152         (__ASSUME_PWRITEV): Likewise.
20153         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20154         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20155         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20156         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20157         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20158         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20159         (__ASSUME_O_CLOEXEC): Define unconditionally.
20160         (__ASSUME_PSELECT): Do not undefine conditionally.
20161         (__ASSUME_PPOLL): Likewise.
20162         (__ASSUME_ATFCTS): Likewise.
20163         (__ASSUME_SET_ROBUST_LIST): Likewise.
20164         (__ASSUME_UTIMENSAT): Likewise.
20165         (__ASSUME_FDATASYNC): Define unconditionally.
20166         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20167         (__ASSUME_SIGFRAME_V2): Likewise.
20168         )__ASSUME_EVENTFD2): Likewise.
20169         (__ASSUME_SIGNALFD4): Likewise.
20170         (__ASSUME_PSELECT): Do not undefine conditionally.
20171         (__ASSUME_PPOLL): Likewise.
20172         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20173         (__ASSUME_PSELECT): Define unconditionally.
20174         (__ASSUME_PPOLL): Likewise.
20175         (__ASSUME_O_CLOEXEC): Likewise.
20176         (__ASSUME_SOCK_CLOEXEC): Likewise.
20177         (__ASSUME_IN_NONBLOCK): Likewise.
20178         (__ASSUME_PIPE2): Likewise.
20179         (__ASSUME_EVENTFD2): Likewise.
20180         (__ASSUME_SIGNALFD4): Likewise.
20181         (__ASSUME_DUP3): Likewise.
20182         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20183         (__ASSUME_O_CLOEXEC): Likewise.
20184         (__ASSUME_SOCK_CLOEXEC): Likewise.
20185         (__ASSUME_IN_NONBLOCK): Likewise.
20186         (__ASSUME_PIPE2): Likewise.
20187         (__ASSUME_EVENTFD2): Likewise.
20188         (__ASSUME_SIGNALFD4): Likewise.
20189         (__ASSUME_DUP3): Likewise.
20190         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20191         (__ASSUME_EVENTFD2): Likewise.
20192         (__ASSUME_SIGNALFD4): Likewise.
20193         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20195 2014-05-12  Andreas Schwab  <schwab@suse.de>
20197         [BZ #16932]
20198         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20199         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20200         than maximum RPC packet size.
20201         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20202         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20203         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20204         (_nss_nis_getservbyport_r): Likewise.
20206 2014-05-12  Will Newton  <will.newton@linaro.org>
20208         * malloc/Makefile (tests): Add tst-mallopt.
20209         * malloc/tst-mallopt.c: New file.
20211 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20213         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20214         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20216 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20218         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20219         (tst-tlsmod6.so): Likewise.
20221 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20223         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20225 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20227         [BZ #16064]
20228         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20229         and <dl-procinfo.h>.
20230         (__fegetenv): Save SSE state in envp->__eip if supported.
20231         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20232         envp->__eip if supported.
20233         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20234         and <dl-procinfo.h>.
20235         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20236         __data_offset and __data_selector in environment to 0.  Set SSE
20237         state if supported.
20238         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20239         test-fenv-sse.
20240         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20241         -mfpmath=sse.
20242         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20244 2014-05-09  Will Newton  <will.newton@linaro.org>
20246         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20247         and libc_relro_required for ARM.
20248         * sysdeps/arm/preconfigure: Regenerate.
20250 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20251             Stefan Liebler  <stli@linux.vnet.ibm.com>
20253         * config.make.in (enable-lock-elision): New Makefile variable.
20254         * configure.ac: Likewise.
20255         * configure: Regenerate.
20256         * sysdeps/s390/configure.ac:
20257         Add check for gcc transactions support.
20258         * sysdeps/s390/configure: Regenerate.
20259         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20260         Build elision files if enabled.
20261         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20262         Add lock elision support for s390.
20263         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20264         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20265         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20266         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20267         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20268         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20269         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20270         Likewise.
20271         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20272         Likewise.
20273         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20274         Likewise.
20275         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20276         Likewise.
20277         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20278         (__lll_timedlock_elision, __lll_lock_elision)
20279         (__lll_unlock_elision, __lll_trylock_elision)
20280         (lll_timedlock_elision, lll_lock_elision)
20281         (lll_unlock_elision, lll_trylock_elision): Add.
20282         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20283         (pthread_mutex_t): Add lock elision support for s390.
20285 2014-05-14  Wilco  <wdijkstr@arm.com>
20287         * sysdeps/arm/fclrexcpt.c: Cleanup.
20288         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20289         * sysdeps/arm/feenablxcpt.c: Cleanup.
20290         * sysdeps/arm/fegetenv.c: Cleanup.
20291         * sysdeps/arm/fegetexcept.c: Cleanup.
20292         * sysdeps/arm/fegetround.c: Cleanup.
20293         * sysdeps/arm/feholdexcpt.c: Cleanup.
20294         * sysdeps/arm/fesetenv.c: Cleanup.
20295         * sysdeps/arm/fesetround.c: Cleanup.
20296         * sysdeps/arm/feupdateenv.c: Cleanup.
20297         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20298         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20299         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20300         * sysdeps/arm/ftestexcept.c: Cleanup.
20301         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20302         * sysdeps/arm/setfpucw.c: Cleanup.
20304 2014-05-09  Will Newton  <will.newton@linaro.org>
20306         * sysdeps/arm/armv7/strcmp.S: New file.
20307         * NEWS: Mention addition of ARMv7 optimized strcmp.
20309 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20311         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20312         look for %.ac rather than %.in.
20314         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20315         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20316         * sysdeps/mach/hurd/configure: Regenerated.
20317         * sysdeps/unix/sysv/linux/configure: Regenerated.
20319         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20321 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20323         [BZ# 16922]
20324         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20325         (LONG_SUB): Ditto.
20326         (PTR_SUB): Ditto.
20328 2014-05-07  Andreas Schwab  <schwab@suse.de>
20330         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20331         when skipping over non-matching result from nscd.
20333 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20335         [BZ #16876]
20336         * nptl/sockperf.c (client): Check socket return value.
20338         [BZ #16877]
20339         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20340         nscd security class.
20342 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20344         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20345         * sysdeps/arm/unwind.h: ... here.
20347 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20349         [BZ# 16916]
20350         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20351         Define.
20353 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20355         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20356         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20357         multiarch strncpy for PPC64.
20358         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20359         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20361         multiarch optimizations.
20362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20363         (__libc_ifunc_impl_list): Likewise.
20364         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20365         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20366         multiarch stpncpy for PPC64.
20367         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20368         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20370 2014-05-06  Andreas Schwab  <schwab@suse.de>
20372         [BZ #16912]
20373         * gmon/mcount.c (_MCOUNT_DECL): Use
20374         atomic_compare_and_exchange_bool_acq instead of
20375         catomic_compare_and_exchange_bool_acq.
20377 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20379         * elf/Makefile (others, install-bin): Remove pldd.
20380         (pldd-modules): Variable removed.
20381         ($(objpfx)pldd): Target removed.
20382         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20383         (others, install-bin): Append pldd here.
20384         ($(objpfx)pldd): New target.
20386         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20387         to 0, so the first #if test emitted later doesn't see it undefined.
20388         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20389         * sysdeps/gnu/errlist.c: Regenerated.
20391 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20393         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20394         [libc_hidden_builtin_def]: Define to empty value.
20395         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20396         [libc_hidden_builtin_def]: Likewise.
20397         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20398         [libc_hidden_builtin_def]: Likewise.
20399         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20400         [libc_hidden_builtin_def]: Likewise.
20401         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20402         __redirect_memcpy and define ifunc as default hidden symbol.
20403         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20404         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20406 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20408         * locale/iso-4217.def: Reintroduce XDR currency.
20410 2014-05-04  Allan McRae  <allan@archlinux.org>
20412         * po/eo.po: Update Esperanto translation from translation project.
20414 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20416         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20417         and FEATURE_INDEX_MAX to 1.
20418         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20420 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20422         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20423         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20424         * iconvdata/big5.c (ONE_DIRECTION): Define.
20425         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20426         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20427         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20428         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20429         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20430         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20431         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20432         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20433         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20434         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20435         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20436         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20437         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20438         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20439         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20440         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20441         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20442         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20443         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20444         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20445         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20446         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20447         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20448         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20449         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20450         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20451         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20452         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20453         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20454         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20455         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20456         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20457         * iconvdata/johab.c (ONE_DIRECTION): Define.
20458         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20459         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20460         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20461         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20462         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20463         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20464         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20465         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20466         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20467         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20469 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20471         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20472         (_IO_JUMPS_OFFSET): Define to 0.
20474         * nptl/sysdeps/pthread/bits/libc-lock.h
20475         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20476         (__libc_lock_define_initialized_recursive): Always define using
20477         initializer.  Modern compilers treat uninitialized (implicit zero) and
20478         explicit zero initializers the same (i.e. put the datum in bss).
20480 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20482         * nscd/nscd-client.h: Include <string.h>.
20484 2014-05-01  David S. Miller  <davem@davemloft.net>
20486         [BZ #16885]
20487         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20488         multiple zero bytes exist at the end of a string.
20489         Reported by Aurelien Jarno <aurelien@aurel32.net>
20491         * string/test-strcmp.c (check): Add explicit test for situations where
20492         there are multiple zero bytes after the first.
20494 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20496         [BZ #16890]
20497         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20498         when compiling wprintf.
20499         * stdio-common/tstdiomisc.c (t3): New function.
20500         (main): Call it.
20502 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20504         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20505         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20506         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20507         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20509 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20511         * stdlib/longlong.h: Updated from GCC.
20513 2014-05-01  Will Newton  <will.newton@linaro.org>
20514             Bernard Ogden  <bernie.ogden@linaro.org>
20516         * NEWS: Update fixed bug list.
20518         [BZ #15119]
20519         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20521 2014-04-30  David S. Miller  <davem@davemloft.net>
20523         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20524         (libc_feholdexcept_setround_sparc_ctx): New function.
20525         (libc_fesetenv_sparc_ctx): Likewise.
20526         (libc_feupdateenv_sparc_ctx): Likewise.
20527         (libc_feholdsetround_sparc_ctx): Likewise.
20528         (libc_feholdexcept_setround_ctx): Define.
20529         (libc_feholdexcept_setroundf_ctx): Likewise.
20530         (libc_feholdexcept_setroundl_ctx): Likewise.
20531         (libc_fesetenv_ctx): Likewise.
20532         (libc_fesetenvf_ctx): Likewise.
20533         (libc_fesetenvl_ctx): Likewise.
20534         (libc_feupdateenv_ctx): Likewise.
20535         (libc_feupdateenvf_ctx): Likewise.
20536         (libc_feupdateenvl_ctx): Likewise.
20537         (libc_feresetround_ctx): Likewise.
20538         (libc_feresetroundf_ctx): Likewise.
20539         (libc_feresetroundl_ctx): Likewise.
20540         (libc_feholdsetround_ctx): Likewise.
20541         (libc_feholdsetroundf_ctx): Likewise.
20542         (libc_feholdsetroundl_ctx): Likewise.
20544         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20545         with __USE_GNU instead of XOPEN cpp guards.
20547         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20548         0.
20550         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20551         with XOPEN cpp guards.
20553 2014-04-30  Julian Brown  <julian@codesourcery.com>
20555         [BZ #16888]
20556         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20557         handling.
20559 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20561         [BZ #9894]
20562         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20563         Change to 2.6.32.
20564         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20565         * sysdeps/unix/sysv/linux/configure: Regenerated.
20566         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20567         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20568         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20569         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20570         * README: Update reference to required Linux kernel version.
20571         * manual/install.texi (Linux): Update reference to required Linux
20572         kernel headers version.
20573         * INSTALL: Regenerated.
20575         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20576         header inclusion.
20577         [POSIX] (limits.h): Likewise.
20578         [POSIX] (math.h): Likewise.
20579         [POSIX] (sys/wait.h): Likewise.
20580         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20581         function.
20582         [POSIX] (stddef.h): Do not allow header inclusion.
20584 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20586         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20588 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20590         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20591         Return immediately after lll_futex_wake.
20593 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20595         [BZ #16791]
20596         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20597         structure.
20598         (datahead_init_pos): Call datahead_init_common early.
20599         (datahead_init_neg): Likewise.
20601         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20602         datahead_init_neg): New functions.
20603         * nscd/aicache.c (addhstaiX): Use them.
20604         * nscd/grpcache.c (cache_addgr): Likewise.
20605         * nscd/hstcache.c (cache_addhst): Likewise.
20606         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20607         * nscd/netgroupcache.c (do_notfound): Likewise.
20608         (addgetnetgrentX): Likewise.
20609         (addinnetgrX): Likewise.
20610         * nscd/pwdcache.c (cache_addpw): Likewise.
20611         * nscd/servicescache.c (cache_addserv): Likewise.
20613 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20614             Atsushi Onoe  <atsushi@onoe.org>
20616         [BZ #14308]
20617         [BZ #12994]
20618         [BZ #13651]
20619         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20620         one response is valid.
20621         * resolv/res_send.c (send_dg): Check for validity of other
20622         response if the current response is a referral.
20624 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20626         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20628 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20630         [BZ #16823]
20631         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20632         Always divide by positive zero when computing -Inf result.
20633         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20634         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20636 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20638         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20639         FPSCR if value do not change.
20640         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20641         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20642         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20643         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20644         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20645         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20646         function.
20648 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20650         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20651         * sysdeps/unix/sysv/linux/hppa: Move directory from
20652         ports/systeps/unix/sysv/linux/hppa.
20653         * README: Update listing for hppa-*-linux-gnu.
20655 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20657         [BZ #16754]
20658         * manual/stdio.texi (Hook functions): Fix types of stream hook
20659         functions.
20660         [BZ #16854]
20661         * socket/sys/socket.h: Fix typo in comment.
20663 2014-04-28  Wilco  <wdijkstr@arm.com>
20665         * sysdeps/arm/fenv_private.h: New file.
20666         * sysdeps/arm/math_private.h: New file.
20667         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20669 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20671         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20672         with __int128_t.
20673         (La_x86_64_retval): Likewise.
20675 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20677         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20678         fpsr if value didn't change.
20679         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20680         to fpcr if value didn't change.
20681         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20682         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20683         fpsr or fpcr if value didn't change.
20684         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20685         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20686         fpcr if value didn't change.
20687         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20688         to fpsr if value didn't change.
20690 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20692         * nptl/tst-sem3.c: Use test-skeleton.c
20693         (main): Rename to do_test.  Use return instead of
20694         exit.
20695         * nptl/tst-sem4.c: Use test-skeleton.c
20696         (main): Rename to do_test.
20698 2014-04-22  David S. Miller  <davem@davemloft.net>
20700         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20701         (struct sigaction): New struct member __glibc_reserved0, change
20702         type of sa_flags to int.
20704 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20706         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20707         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20709 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20711         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20712         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20714 2014-04-22  Will Newton  <will.newton@linaro.org>
20715             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20717         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20718         (__longjmp): Add longjmp and longjmp_target SystemTap
20719         probes.
20720         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20721         (__sigsetjmp): Add setjmp SystemTap probe.
20723 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20725         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20726         match manual order.
20728 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20730         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20732         * sysdeps/powerpc/fpu/fenv_private.h
20733         (libc_feholdexcept_setroundl_ctx): Define to
20734         libc_feholdexcept_setround_ppc_ctx.
20735         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20736         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20737         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20738         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20740 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20742         * sysdeps/aarch64/math-tests.h: New file.
20744 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20746         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20747         New.
20748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20749         Check and set bit_AVX2_Usable.
20750         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20751         macro.
20752         (bit_AVX2): Likewise.
20753         (index_AVX2_Usable): Likewise.
20754         (CPUID_AVX2): Likewise.
20755         (HAS_AVX2): Likewise.
20757 2014-04-17  Will Newton  <will.newton@linaro.org>
20759         * manual/setjmp.texi (System V contexts): Add note that
20760         calling setcontext on a context created by a call to a
20761         signal handler is undefined.  Update text to note that
20762         setcontext from a signal handler is possible but not
20763         recommended.
20765         [BZ #16629]
20766         * stdlib/tst-setcontext.c: Include signal.h.
20767         (main): Check that the signal stack before and
20768         after swapcontext is the same.
20770         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20771         Re-implement to restore registers in user code and avoid
20772         rt_sigreturn system call.
20774 2014-04-17  Wilco  <wdijkstr@arm.com>
20776         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20777         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20778         * math/test-fenv.c: Skip exception trap tests on targets which only
20779         support non-stop mode.
20781 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20782             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20784         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20785         (libc_feholdsetround_aarch64_ctx)
20786         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20787         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20788         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20789         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20790         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20791         (libc_feresetround_noexl_ctx): Define.
20793 2014-04-16  Richard Henderson  <rth@redhat.com>
20795         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20797         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20798         unwind tables.
20800         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20801         const from the non-libc, non-ldso copy.
20803         * sysdeps/alpha/libm-test-ulps: Regenerate.
20805 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20806             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20808         * sysdeps/aarch64/fpu/math_private.h: New file.
20810 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20812         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20814 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20816         [BZ #16275]
20817         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20818         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20819         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20820         Intel MPX bound registers before _dl_profile_fixup.
20821         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20822         registers after _dl_profile_fixup.  Save and restore bound
20823         registers bnd0/bnd1 when calling _dl_call_pltexit.
20824         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20825         (LR_BND_OFFSET): Likewise.
20826         (LRV_BND0_OFFSET): Likewise.
20827         (LRV_BND1_OFFSET): Likewise.
20829 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20831         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20832         to...
20833         * sysdeps/mach/hurd/i386/tls.h: ... here.
20834         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20835         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20836         fields.
20838 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20840         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20842 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20844         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20846 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20848         [BZ #14770]
20849         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20850         * sysdeps/s390/configure: Regenerate.
20852         [BZ #16824]
20853         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20854         Set round-to-nearest internally to reduce error accumulation.
20856 2014-04-16  Alan Modra  <amodra@gmail.com>
20858         [BZ #16740]
20859         [BZ #16619]
20860         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20861         * math/libm-test.inc (frexp_test_data): Add tests.
20862         * NEWS: Update fixed bug list.
20864 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20866         * benchtests/Makefile: Depend on libraries in build directory.
20867         (bench-math): Separate out math tests.
20868         (bench-pthread): Separate out pthread tests.
20869         (bench): Include math and pthread tests.
20871 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20873         [BZ #16831]
20874         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20875         _dl_debug_initialize.
20877         * configure.ac: Remove SELinux header check.
20878         * configure: Regenerate.
20879         * nscd/selinux.c (perms): Array of const char* to permission names.
20880         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20881         default policy. Call string_to_security_class and string_to_av_perm to
20882         translate strings. Enforce default policy and call avs_has_perm with
20883         results of translated strings.
20885 2014-04-13  David S. Miller  <davem@davemloft.net>
20887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20889 2014-04-12  Allan McRae  <allan@archlinux.org>
20891         [BZ #16838]
20892         * manual/string.texi (Collation Functions): Fix qsort argument
20893         order in example.
20894         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20896 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20898         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20899         Make the test a no-op if there are no exceptions defined.
20901 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20903         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20904         enable-hardcoded-path-in-tests
20906 2014-04-11  Will Newton  <will.newton@linaro.org>
20908         * benchtests/Makefile (extra-objs): Add json-lib.o.
20909         (bench-func): Tidy up JSON output.
20910         * benchtests/bench-skeleton.c: Include json-lib.h.
20911         (main): Use JSON library functions to do output of
20912         benchmark results.
20913         * benchtests/bench-timing-type.c (main): Output the
20914         timing type simply, leaving formatting to the user.
20915         * benchtests/json-lib.c: New file.
20916         * benchtests/json-lib.h: Likewise.
20918 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20920         [BZ #15215]
20921         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20922         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20923         memory barriers.  Add comments.
20924         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20925         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20926         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20927         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20928         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20929         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20931 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20933         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20934         * sysdeps/s390/s390-64/configure.ac: ... this ...
20935         * sysdeps/s390/configure.ac: ... to here.
20936         * sysdeps/s390/s390-32/configure: Delete file.
20937         * sysdeps/s390/s390-64/configure: Delete file.
20938         * sysdeps/s390/configure: Regenerate.
20940 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20942         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20944 2014-04-11  Will Newton  <will.newton@linaro.org>
20946         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20947         to zero if it is not defined elsewhere.  (mtrim): Test
20948         the value of MALLOC_DEBUG with #if rather than #ifdef.
20950 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20952         * benchtests/pthread_once-inputs: New file.
20953         * benchtests/pthread_once-source.c: New file.
20954         * benchtests/README: Update documentation.
20956 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20957             H.J. Lu  <hongjiu.lu@intel.com>
20959         [BZ #16275]
20960         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20961         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20962         * sysdeps/x86_64/configure: Regenerated.
20963         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20964         macro.
20965         (REGISTER_SAVE_RAX): Likewise.
20966         (REGISTER_SAVE_RCX): Likewise.
20967         (REGISTER_SAVE_RDX): Likewise.
20968         (REGISTER_SAVE_RSI): Likewise.
20969         (REGISTER_SAVE_RDI): Likewise.
20970         (REGISTER_SAVE_R8): Likewise.
20971         (REGISTER_SAVE_R9): Likewise.
20972         (REGISTER_SAVE_BND0): Likewise.
20973         (REGISTER_SAVE_BND1): Likewise.
20974         (REGISTER_SAVE_BND2): Likewise.
20975         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20976         bound registers when calling _dl_fixup.
20978 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20980         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20981         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20982         of its definition.
20983         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20984         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20985         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20986         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20987         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20988         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20989         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20991 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20993         [BZ #15514]
20994         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20995         pathconf(_PC_NAME_MAX).
20997 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20999         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21000         Remove macro usage.
21001         (__PTHREAD_SPINS): Move definition to ...
21002         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21003         (__PTHREAD_SPINS): ... here.
21004         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21005         (__PTHREAD_SPIN): Likewise.
21006         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21007         (__PTHREAD_SPIN): Likewise.
21008         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21009         (__PTHREAD_SPIN): Likewise.
21010         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21011         (__PTHREAD_SPIN): Likewise.
21012         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21013         (__PTHREAD_SPIN): Likewise.
21014         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21015         (__PTHREAD_SPIN): Likewise.
21016         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21017         (__PTHREAD_SPIN): Likewise.
21018         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21019         (__PTHREAD_SPIN): Likewise.
21020         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21021         (__PTHREAD_SPIN): Likewise.
21022         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21023         (__PTHREAD_SPIN): Likewise.
21024         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21025         (__PTHREAD_SPIN): Likewise.
21026         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21027         (__PTHREAD_SPIN): Likewise.
21029         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21030         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21031         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21032         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21033         imply folder.
21034         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21035         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21036         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21037         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21038         correct imply path.
21039         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21040         strlen symbol for non multi-arch builds.
21041         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21042         missing hidden_def and weak_alias.
21044 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21046         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21048 2014-04-07  Will Newton  <will.newton@linaro.org>
21050         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21051         and contents.  [!_LIBC] Remove #ifndef and contents.
21052         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21053         * string/memccpy.c (__memccpy): Use ANSI prototype.
21054         * string/memfrob.c (memfrob): Likewise.
21055         * string/strcoll.c (STRCOLL): Likewise.
21056         * string/strlen.c (strlen): Likewise.
21057         * string/strtok.c (STRTOK): Likewise.
21058         * string/strcat.c: Remove unused #include of memcopy.h.
21059         (strcat): Use ANSI prototype.
21060         * string/strchr.c: Remove unused #include of memcopy.h.
21061         (strchr): Use ANSI prototype.
21062         * string/strcmp.c: Remove unused #include of memcopy.h.
21063         (strcmp): Use ANSI prototype.
21064         * string/strcpy.c: Remove unused #include of memcopy.h.
21065         (strcpy): Use ANSI prototype.
21067 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21069         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21070         * config.make.in (config-extra-cppflags): Set it from
21071         libc_extra_cppflags.
21072         * configure.ac (libc_extra_cflags): Make it accumulate over
21073         configure fragments.
21074         (libc_extra_cppflags): New flag.
21075         * configure. Regenerate.
21076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21077         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21078         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21081         [BZ #16815]
21082         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21083         result for FE_DOWNWARD rounding mode.
21084         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21085         Likewise.
21086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21088 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21090         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21091         in function argument name.
21093 2014-04-03  David Svoboda  <svoboda@cert.org>
21095         [BZ #5666]
21096         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21097         explicitly.
21099 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21101         * elf/dl-unmap-segments.h: New file.
21102         * sysdeps/generic/ldsodefs.h
21103         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21104         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21105         * elf/dl-fptr.c: Likewise.
21106         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21107         * sysdeps/aarch64/tlsdesc.c: Likewise.
21108         * sysdeps/arm/tlsdesc.c: Likewise.
21109         * sysdeps/i386/tlsdesc.c: Likewise.
21110         * sysdeps/tile/dl-runtime.c: Likewise.
21111         * sysdeps/x86_64/tlsdesc.c: Likewise.
21112         * elf/dl-load.h: New file.
21113         * elf/dl-load.c: Include it.
21114         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21115         Macros moved to dl-load.h.
21116         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21117         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21118         Use _dl_unmap_segments in place of __munmap.
21119         Break out segment-mapping loop into ...
21120         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21122 2014-04-03  Will Newton  <will.newton@linaro.org>
21124         * elf/dl-lookup.c (do_lookup_x): Remove comment
21125         referring to nested function and move variable
21126         declarations down to before first use.
21128 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21130         [BZ #16799]
21131         [BZ #16800]
21132         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21133         with 0 numerator.
21134         * math/s_catanf.c (__catanf): Likewise.
21135         * math/s_catanh.c (__catanh): Likewise.
21136         * math/s_catanhf.c (__catanhf): Likewise.
21137         * math/s_catanhl.c (__catanhl): Likewise.
21138         * math/s_catanl.c (__catanl): Likewise.
21139         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21140         by positive zero when computing -Inf result.
21141         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21142         (catanh_test): Likewise.
21143         * sysdeps/i386/fpu/libm-test-ulps: Update.
21144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21146         [BZ #16789]
21147         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21148         instead of using underflowing value in computing result.
21149         * math/s_clog10.c (__clog10): Likewise.
21150         * math/s_clog10f.c (__clog10f): Likewise.
21151         * math/s_clog10l.c (__clog10l): Likewise.
21152         * math/s_clogf.c (__clogf): Likewise.
21153         * math/s_clogl.c (__clogl): Likewise.
21154         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21155         (clog10_test): Likewise.
21156         * sysdeps/i386/fpu/libm-test-ulps: Update.
21157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21159 2014-04-02  Alan Modra  <amodra@gmail.com>
21161         [BZ #16739]
21162         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21163         output when value is near a power of two.  Use int64_t for lx and
21164         remove casts.  Use decimal rather than hex exponent constants.
21165         Don't use long double multiplication when double will suffice.
21166         * math/libm-test.inc (nextafter_test_data): Add tests.
21167         * NEWS: Add 16739 and 16786 to bug list.
21169         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21171         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21173 2014-04-01  Will Newton  <will.newton@linaro.org>
21175         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21176         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21178 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21180         [BZ #13347]
21181         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21182         * nptl/tst-setuid2.c: New file.
21183         * nptl/Makefile (xtests): Add tst-setuid2.
21185 2014-04-01  Alan Modra  <amodra@gmail.com>
21187         [BZ #16786]
21188         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21190 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21192         [BZ #6803]
21193         [BZ #6804]
21194         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21195         set errno as appropriate.
21196         * math/w_scalbf.c (__scalbf): Likewise.
21197         * math/w_scalbl.c (__scalbl): Likewise.
21198         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21199         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21200         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21201         Add more NaN tests.
21203         [BZ #16349]
21204         * math/w_atan2.c: Include <errno.h>.
21205         (__atan2): Set errno for result underflowing to zero.
21206         * math/w_atan2f.c: Include <errno.h>.
21207         (__atan2f): Set errno for result underflowing to zero.
21208         * math/w_atan2l.c: Include <errno.h>.
21209         (__atan2l): Set errno for result underflowing to zero.
21210         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21211         tests.
21212         * math/auto-libm-test-out: Regenerated.
21214 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21216         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21217         Encode instruction correctly in little endian.
21218         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21219         Likewise.
21220         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21221         Likewise.
21222         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21223         Likewise.
21224         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21225         Likewise.
21227 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21229         [BZ #9894]
21230         * sysdeps/unix/sysv/linux/kernel-features.h
21231         [__sparc__ && !__arch64__ && !__sparc_v9__]
21232         (__ASSUME_SET_ROBUST_LIST): Do not define.
21233         [__sparc__ && !__arch64__ && !__sparc_v9__]
21234         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21235         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21236         Likewise.
21237         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21238         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21239         (__ASSUME_REQUEUE_PI): Likewise.
21240         (__ASSUME_SET_ROBUST_LIST): Likewise.
21241         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21242         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21243         Undefine.
21244         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21245         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21246         Likewise.
21247         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21248         Likewise.
21249         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21250         Likewise.
21251         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21252         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21253         Undefine.
21254         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21255         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21256         Likewise.
21258         [BZ #16648]
21259         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21260         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21261         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21263 2014-03-31  Will Newton  <will.newton@linaro.org>
21265         * benchtests/Makefile (bench): Add ffs and ffsll to list
21266         of tests.
21267         * benchtests/ffs-inputs: New file.
21268         * benchtests/ffsll-inputs: Likewise.
21270 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21272         [BZ #16770]
21273         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21274         too large before casting to int.
21275         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21276         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21277         * math/libm-test.inc (scalb_test_data): Add more tests.
21279 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21281         * benchtests/Makefile (DETAILED_OPT): New make option.
21282         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21283         set.
21284         * benchtests/bench-skeleton.c: Include stdbool.h.
21285         (main): Store and print timings per input.
21286         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21287         member to each argument value.
21288         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21289         (_print_arg_data): Initialize per-input timing to 0.
21291         * benchtests/Makefile (timing-type): New binary.
21292         (bench-clean): Also remove bench-timing-type.
21293         (bench): New target for timing-type.
21294         (bench-func): Print output in JSON format.
21295         * benchtests/bench-skeleton.c (main): Print output in JSON
21296         format.
21297         * benchtests/bench-timing-type.c: New file.
21298         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21299         (TIMING_PRINT_STATS): Remove.
21300         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21301         name separately.
21303         * benchtests/bench-modf.c: Remove.
21304         * benchtests/modf-inputs: New inputs file.
21306 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21308         [BZ #16362]
21309         * math/s_clog10.c (M_PI_LOG10E): New macro.
21310         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21311         imaginary parts are 0.
21312         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21313         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21314         imaginary parts are 0.
21315         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21316         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21317         imaginary parts are 0.
21318         * math/libm-test.inc (clog10_test_data): Update expected results
21319         for when real and imaginary parts are 0.
21321 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21323         * elf/dl-load.c: Finish conversion of __builtin_expect into
21324         __glibc_{un}likely.
21326 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21328         [BZ #16348]
21329         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21330         1+x for argument with exponent below -67.
21331         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21332         Likewise.
21333         * math/auto-libm-test-in: Add more tests of exp.
21334         * math/auto-libm-test-out: Regenerated.
21336 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21338         [BZ #16759]
21339         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21340         (nscd_getnetgrent): Use it.
21342         [BZ #16760]
21343         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21344         of stpcpy.
21346 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21348         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21349         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21350         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21351         (lll_robust_unlock): Remove out of line section. Use cfi
21352         intrinsics.
21353         (LLL_STUB_UNWIND_INFO*): Remove.
21354         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21355         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21356         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21357         (lll_robust_unlock): Remove out of line section. Use cfi
21358         intrinsics.
21359         (LLL_STUB_UNWIND_INFO*): Remove.
21361 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21363         [BZ #16758]
21364         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21365         blank values.
21367 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21369         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21371 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21373         [BZ #16198]
21374         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21375         fnstenv.
21376         * math/test-fenv-preserve.c: New file.
21377         * math/Makefile (tests): Add test-fenv-preserve.
21379 2014-03-26  Will Newton <will.newton@linaro.org>
21381         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21383 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21385         * scripts/versionlist.awk: Partition the version sets and emit all
21386         GLIBC_* (sorted) before all others (sorted).
21388 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21390         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21391         GLIBC_2.2.5 version.
21393 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21395         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21396         calls.
21398         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21399         previous change.
21401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21403 2014-03-25  Andreas Schwab  <schwab@suse.de>
21405         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21406         label to be used after in6ailist is initialized.
21408 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21410         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21411         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21413 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21415         [BZ #16357]
21416         [BZ #16599]
21417         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21418         min_plus_half.
21419         (fp_formats): Update initializers.
21420         (init_fp_formats): Initialize new field.
21421         (output_for_one_input_case): Allow underflow for results up to
21422         min_plus_half.
21423         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21424         * math/auto-libm-test-in: Don't mark some underflows from asin and
21425         atanh as spurious.
21426         * math/auto-libm-test-out: Regenerated.
21427         * sysdeps/i386/fpu/libm-test-ulps: Update.
21428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21430 2014-03-25  Andreas Schwab  <schwab@suse.de>
21432         * libio/Makefile (tst-ftell-partial-wide-ENV)
21433         (tst-ftell-active-handler-ENV): Define.
21435 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21437         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21439 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21441         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21443 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21445         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21446         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21447         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21449 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21451         [BZ #16634]
21452         * elf/dl-load.c (open_verify): Add mode parameter.
21453         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21454         (open_path): Change from boolean 'secure' to complete flag 'mode'
21455         (_dl_map_object): Adjust.
21456         * elf/Makefile (tests): Add tst-dlopen-aout.
21457         * elf/tst-dlopen-aout.c: New test.
21459 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21461         [BZ #16714]
21462         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21463         (struct stat): Rename member pad0 to __glibc_reserved0.
21465         [BZ #16712]
21466         * sysdeps/s390/s390-32/bits/wordsize.h
21467         (__WORDSIZE32_SIZE_ULONG): New define.
21468         * sysdeps/s390/s390-64/bits/wordsize.h
21469         (__WORDSIZE32_SIZE_ULONG): Likewise.
21470         * sysdeps/generic/stdint.h (SIZE_MAX):
21471         Define as UL if __WORDSIZE32_SIZE_ULONG.
21473         [BZ #16713]
21474         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21475         (__glibc_reserved0): New variable.
21476         (sa_flags): Change type to int.
21478         * posix/Makefile (before-compile): Use += before-compile instead
21479         of a :=.
21481         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21482         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21484 2014-03-20  Andreas Schwab  <schwab@suse.de>
21486         [BZ #16743]
21487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21488         non-matching result from nscd.
21490 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21492         * scripts/bench.py: Moved to ...
21493         * benchtests/scripts/bench.py: ... here.
21494         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21496 2014-03-24  Andreas Schwab  <schwab@suse.de>
21498         [BZ #16002]
21499         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21500         alloca_account and account alloca use for struct in6ailist.
21502 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21504         [BZ #16284]
21505         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21506         rounding mode to recompute results that overflow to infinity or
21507         underflow to zero.
21508         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21509         bug 16284.
21510         * math/auto-libm-test-out: Regenerated.
21511         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21512         (ccosh_test): Likewise.
21513         (csin_test_data): Use plus_oflow.
21514         (csin_test): Use ALL_RM_TEST.
21515         (csinh_test_data): Use plus_oflow.
21516         (csinh_test): Use ALL_RM_TEST.
21517         * sysdeps/i386/fpu/libm-test-ulps: Update.
21518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21520 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21522         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21523         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21524         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21526         [BZ #16731]
21527         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21528         when x - 1 is zero.
21529         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21530         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21531         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21532         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21533         argument is 1.
21534         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21535         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21536         zero.
21537         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21538         * sysdeps/i386/fpu/libm-test-ulps: Update.
21539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21541 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21543         * scripts/bench.pl: Remove file.
21544         * scripts/bench.py: New benchmark script.
21545         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21546         * benchtests/README: Mention python dependency.
21547         * scripts/pylintrc: New file.
21548         * scripts/pylint: New file.
21550         * bits/mathdef.h: Use #ifdef instead of #if.
21551         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21552         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21553         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21554         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21555         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21556         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21558 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21559             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21561         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21563         and strpbrk-ppc64 objects.
21564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21565         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21566         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21567         multiarch strpbrk for POWER7.
21568         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21569         multiarch strpbrk for PPC64.
21570         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21571         ifunc selector.
21572         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21573         strpbrk for POWER7.
21575 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21577         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21578         (atan_test): Likewise.
21579         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21580         (atanh_test): Use ALL_RM_TEST.
21581         (atan2_test_data): Likewise.
21582         (cabs_test): Likewise.
21583         (cacosh_test): Likewise.
21584         (carg_test): Likewise.
21585         (casin_test): Likewise.
21586         (casinh_test): Likewise.
21587         (cbrt_test): Likewise.
21588         (csqrt_test): Likewise.
21589         (erf_test): Likewise.
21590         (erfc_test): Likewise.
21591         (pow10_test): Likewise.
21592         (exp2_test): Likewise.
21593         (hypot_test): Likewise.
21594         (j0_test): Likewise.
21595         (j1_test): Likewise.
21596         (lgamma_test): Likewise.
21597         (gamma_test): Likewise.
21598         (sincos_test): Likewise.
21599         (tanh_test): Likewise.
21600         (y0_test): Likewise.
21601         (y1_test): Likewise.
21602         * sysdeps/i386/fpu/libm-test-ulps: Update.
21603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21605 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21607         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21609         and strcspn-ppc64 objects.
21610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21611         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21612         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21613         multiarch strcspn for POWER7.
21614         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21615         multiarch strcspn for PPC64.
21616         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21617         ifunc selector.
21618         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21619         strcspn for POWER7.
21621 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21623         * math/gen-libm-test.pl (generate_testfile): Expect only function
21624         name as argument to AUTO_TESTS_* and pass results for all rounding
21625         modes to parse_args.
21626         (parse_auto_input): Separate inputs of automatic tests from
21627         outputs before storing in %auto_tests.
21628         * math/libm-test.inc (acos_test_data): Update call to
21629         AUTO_TESTS_f_f.
21630         (acos_test): Use ALL_RM_TEST.
21631         (acos_tonearest_test_data): Remove.
21632         (acos_test_tonearest): Likewise.
21633         (acos_towardzero_test_data): Likewise.
21634         (acos_test_towardzero): Likewise.
21635         (acos_downward_test_data): Likewise.
21636         (acos_test_downward): Likewise.
21637         (acos_upward_test_data): Likewise.
21638         (acos_test_upward): Likewise.
21639         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21640         (asin_test_data): Likewise.
21641         (asin_test): Use ALL_RM_TEST.
21642         (asin_tonearest_test_data): Remove.
21643         (asin_test_tonearest): Likewise.
21644         (asin_towardzero_test_data): Likewise.
21645         (asin_test_towardzero): Likewise.
21646         (asin_downward_test_data): Likewise.
21647         (asin_test_downward): Likewise.
21648         (asin_upward_test_data): Likewise.
21649         (asin_test_upward): Likewise.
21650         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21651         (atan_test_data): Likewise.
21652         (atanh_test_data): Likewise.
21653         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21654         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21655         (carg_test_data): Likewise.
21656         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21657         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21658         (ccosh_test_data): Likewise.
21659         (cexp_test_data): Likewise.
21660         (clog_test_data): Likewise.
21661         (clog10_test_data): Likewise.
21662         (cos_test_data): Update call to AUTO_TESTS_f_f.
21663         (cos_test): Use ALL_RM_TEST.
21664         (cos_tonearest_test_data): Remove.
21665         (cos_test_tonearest): Likewise.
21666         (cos_towardzero_test_data): Likewise.
21667         (cos_test_towardzero): Likewise.
21668         (cos_downward_test_data): Likewise.
21669         (cos_test_downward): Likewise.
21670         (cos_upward_test_data): Likewise.
21671         (cos_test_upward): Likewise.
21672         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21673         (cosh_test): Use ALL_RM_TEST.
21674         (cosh_tonearest_test_data): Remove.
21675         (cosh_test_tonearest): Likewise.
21676         (cosh_towardzero_test_data): Likewise.
21677         (cosh_test_towardzero): Likewise.
21678         (cosh_downward_test_data): Likewise.
21679         (cosh_test_downward): Likewise.
21680         (cosh_upward_test_data): Likewise.
21681         (cosh_test_upward): Likewise.
21682         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21683         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21684         (ctan_test_data): Likewise.
21685         (ctan_test): Use ALL_RM_TEST.
21686         (ctan_tonearest_test_data): Remove.
21687         (ctan_test_tonearest): Likewise.
21688         (ctan_towardzero_test_data): Likewise.
21689         (ctan_test_towardzero): Likewise.
21690         (ctan_downward_test_data): Likewise.
21691         (ctan_test_downward): Likewise.
21692         (ctan_upward_test_data): Likewise.
21693         (ctan_test_upward): Likewise.
21694         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21695         (ctanh_test): Use ALL_RM_TEST.
21696         (ctanh_tonearest_test_data): Remove.
21697         (ctanh_test_tonearest): Likewise.
21698         (ctanh_towardzero_test_data): Likewise.
21699         (ctanh_test_towardzero): Likewise.
21700         (ctanh_downward_test_data): Likewise.
21701         (ctanh_test_downward): Likewise.
21702         (ctanh_upward_test_data): Likewise.
21703         (ctanh_test_upward): Likewise.
21704         (erf_test_data): Update call to AUTO_TESTS_f_f.
21705         (erfc_test_data): Likewise.
21706         (exp_test_data): Likewise.
21707         (exp_test): Use ALL_RM_TEST.
21708         (exp_tonearest_test_data): Remove.
21709         (exp_test_tonearest): Likewise.
21710         (exp_towardzero_test_data): Likewise.
21711         (exp_test_towardzero): Likewise.
21712         (exp_downward_test_data): Likewise.
21713         (exp_test_downward): Likewise.
21714         (exp_upward_test_data): Likewise.
21715         (exp_test_upward): Likewise.
21716         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21717         (exp10_test): Use ALL_RM_TEST.
21718         (exp10_tonearest_test_data): Remove.
21719         (exp10_test_tonearest): Likewise.
21720         (exp10_towardzero_test_data): Likewise.
21721         (exp10_test_towardzero): Likewise.
21722         (exp10_downward_test_data): Likewise.
21723         (exp10_test_downward): Likewise.
21724         (exp10_upward_test_data): Likewise.
21725         (exp10_test_upward): Likewise.
21726         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21727         (expm1_test_data): Likewise.
21728         (expm1_test): Use ALL_RM_TEST.
21729         (expm1_tonearest_test_data): Remove.
21730         (expm1_test_tonearest): Likewise.
21731         (expm1_towardzero_test_data): Likewise.
21732         (expm1_test_towardzero): Likewise.
21733         (expm1_downward_test_data): Likewise.
21734         (expm1_test_downward): Likewise.
21735         (expm1_upward_test_data): Likewise.
21736         (expm1_test_upward): Likewise.
21737         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21738         (fma_test): Use ALL_RM_TEST.
21739         (fma_towardzero_test_data): Remove.
21740         (fma_test_towardzero): Likewise.
21741         (fma_downward_test_data): Likewise.
21742         (fma_test_downward): Likewise.
21743         (fma_upward_test_data): Likewise.
21744         (fma_test_upward): Likewise.
21745         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21746         (j0_test_data): Update call to AUTO_TESTS_f_f.
21747         (j1_test_data): Likewise.
21748         (jn_test_data): Update call to AUTO_TESTS_if_f.
21749         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21750         (log_test_data): Update call to AUTO_TESTS_f_f.
21751         (log10_test_data): Likewise.
21752         (log1p_test_data): Likewise.
21753         (log2_test_data): Likewise.
21754         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21755         (pow_tonearest_test_data): Likewise.
21756         (sin_test_data): Update call to AUTO_TESTS_f_f.
21757         (sin_test): Use ALL_RM_TEST.
21758         (sin_tonearest_test_data): Remove.
21759         (sin_test_tonearest): Likewise.
21760         (sin_towardzero_test_data): Likewise.
21761         (sin_test_towardzero): Likewise.
21762         (sin_downward_test_data): Likewise.
21763         (sin_test_downward): Likewise.
21764         (sin_upward_test_data): Likewise.
21765         (sin_test_upward): Likewise.
21766         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21767         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21768         (sinh_test): Use ALL_RM_TEST.
21769         (sinh_tonearest_test_data): Remove.
21770         (sinh_test_tonearest): Likewise.
21771         (sinh_towardzero_test_data): Likewise.
21772         (sinh_test_towardzero): Likewise.
21773         (sinh_downward_test_data): Likewise.
21774         (sinh_test_downward): Likewise.
21775         (sinh_upward_test_data): Likewise.
21776         (sinh_test_upward): Likewise.
21777         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21778         (sqrt_test): Use ALL_RM_TEST.
21779         (sqrt_tonearest_test_data): Remove.
21780         (sqrt_test_tonearest): Likewise.
21781         (sqrt_towardzero_test_data): Likewise.
21782         (sqrt_test_towardzero): Likewise.
21783         (sqrt_downward_test_data): Likewise.
21784         (sqrt_test_downward): Likewise.
21785         (sqrt_upward_test_data): Likewise.
21786         (sqrt_test_upward): Likewise.
21787         (tan_test_data): Update call to AUTO_TESTS_f_f.
21788         (tan_test): Use ALL_RM_TEST.
21789         (tan_tonearest_test_data): Remove.
21790         (tan_test_tonearest): Likewise.
21791         (tan_towardzero_test_data): Likewise.
21792         (tan_test_towardzero): Likewise.
21793         (tan_downward_test_data): Likewise.
21794         (tan_test_downward): Likewise.
21795         (tan_upward_test_data): Likewise.
21796         (tan_test_upward): Likewise.
21797         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21798         (tgamma_test_data): Likewise.
21799         (y0_test_data): Likewise.
21800         (y1_test_data): Likewise.
21801         (yn_test_data): Update call to AUTO_TESTS_if_f.
21802         (main): Do not call removed functions.
21804 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21806         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21807         (ldexp_test_data): Remove.
21808         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21809         scalbn_test_data.
21810         (scalb_test): Use ALL_RM_TEST.
21812 2014-03-19  Andreas Schwab  <schwab@suse.de>
21814         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21816 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21818         [BZ #16649]
21819         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21820         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21821         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21822         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21823         (__ASSUME_PREADV): Undefine.
21824         (__ASSUME_PWRITEV): Likewise.
21826 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21828         * bits/mman-linux.h: Add comment about non-Linux use.
21829         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21830         bits/mman-linux.h resting place.
21832         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21833         * bits/mman-linux.h: ... here.
21835 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21837         * conform/conformtest.pl: Add standard definition when calling C
21838         preprocessor on data files.
21839         (checknamespace): Remove unused variable.
21841 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21843         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21844         minus_oflow, plus_uflow and minus_uflow in expected results.
21845         * math/libm-test.inc (scalbn_test_data): Add more tests of
21846         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21847         minus_uflow.
21848         (scalbn_test): Use ALL_RM_TEST.
21849         (scalbln_test_data): Add more tests of negative arguments.  Use
21850         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21851         (scalbln_test): Use ALL_RM_TEST.
21853 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21855         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21857 2014-03-18  Will Newton  <will.newton@linaro.org>
21859         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21860         inaccurate comment.
21862 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21864         * Makerules [!subdir] (check-abi): Exit with error status if a
21865         test failed.
21867 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21869         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21870         for rint.  Include results for all rounding modes.
21871         (nearbyint_test): Use ALL_RM_TEST.
21872         (rint_test_data): Include all tests used for nearbyint.
21874 2014-03-17  Will Newton  <will.newton@linaro.org>
21876         * nptl/sysdeps/pthread/pthread.h: Revert previous
21877         change.
21879         * sysdeps/generic/ldsodefs.h: Revert previous
21880         change.
21882         * libio/genops.c: Revert previous change.
21883         * libio/libioP.h: Likewise.
21884         * stdio-common/vfprintf.c: Likewise.
21886         * sysdeps/generic/math_private.h: Revert previous
21887         change.
21889         * sysdeps/generic/math_private.h: Check whether
21890         HAVE_RM_CTX is defined with #ifdef rather
21891         than #if.
21893         * argp/argp-fmtstream.h: Check whether
21894         __STRICT_ANSI__ is defined with #ifdef rather
21895         than #if.
21896         * argp/argp.h: Likewise.
21898         * libio/genops.c: Check whether
21899         _IO_JUMPS_OFFSET is defined with #ifdef rather
21900         than #if.
21901         * libio/libioP.h: Likewise.
21902         * stdio-common/vfprintf.c: Likewise.
21904         * sysdeps/generic/ldsodefs.h: Check whether
21905         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21906         than #if.
21908         * nptl/sysdeps/pthread/pthread.h: Check
21909         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21910         its value.
21912 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21914         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21915         setting O_APPEND.
21916         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21917         test case.
21919         [BZ #16680]
21920         * libio/fileops.c (_IO_file_open): Seek to end of file but
21921         don't cache the offset.
21922         (get_file_offset): Remove function.
21923         (do_ftell): Use cached offset when available.
21924         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21925         don't cache the offset.
21926         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21927         case.
21928         (do_one_test): Call it.
21929         (do_ftell_test): Fix up expected old offset for a+ mode.
21930         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21931         available.
21933         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21934         up test status with function return status.
21935         (do_write_test): Likewise.
21936         (do_append_test): Likewise.
21938         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21939         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21940         Remove.
21942 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21944         * math/gen-libm-test.pl (parse_args): Handle results specified for
21945         each rounding mode separately.
21946         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21947         tests and results from lrint_tonearest_test_data,
21948         lrint_towardzero_test_data, lrint_downward_test_data and
21949         lrint_upward_test_data.
21950         (lrint_test): Use ALL_RM_TEST.
21951         (lrint_tonearest_test_data): Remove.
21952         (lrint_test_tonearest): Likewise.
21953         (lrint_towardzero_test_data): Likewise.
21954         (lrint_test_towardzero): Likewise.
21955         (lrint_downward_test_data): Likewise.
21956         (lrint_test_downward): Likewise.
21957         (lrint_upward_test_data): Likewise.
21958         (lrint_test_upward): Likewise.
21959         (llrint_test_data): Merge in per-rounding-mode tests and results
21960         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21961         llrint_downward_test_data and llrint_upward_test_data.
21962         (llrint_test): Use ALL_RM_TEST.
21963         (llrint_tonearest_test_data): Remove.
21964         (llrint_test_tonearest): Likewise.
21965         (llrint_towardzero_test_data): Likewise.
21966         (llrint_test_towardzero): Likewise.
21967         (llrint_downward_test_data): Likewise.
21968         (llrint_test_downward): Likewise.
21969         (llrint_upward_test_data): Likewise.
21970         (llrint_test_upward): Likewise.
21971         (rint_test_data): Merge in per-rounding-mode tests and results
21972         from rint_tonearest_test_data, rint_towardzero_test_data,
21973         rint_downward_test_data and rint_upward_test_data.  Add
21974         per-rounding-mode results for tests not in those arrays.
21975         (rint_test): Use ALL_RM_TEST.
21976         (rint_tonearest_test_data): Remove.
21977         (rint_test_tonearest): Likewise.
21978         (rint_towardzero_test_data): Likewise.
21979         (rint_test_towardzero): Likewise.
21980         (rint_downward_test_data): Likewise.
21981         (rint_test_downward): Likewise.
21982         (rint_upward_test_data): Likewise.
21983         (rint_test_upward): Likewise.
21984         (main): Don't call removed functions.
21986 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21988         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21989         "Compiled on ..." crapola.  It is anti-useful.
21991 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21993         * scripts/evaluate-test.sh: Handle fourth argument to determine
21994         whether test run should stop on failure.
21995         * Makeconfig (stop-on-test-failure): New variable.
21996         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21997         $(stop-on-test-failure).
21998         * Makefile (tests): Give a summary of results from testing and
21999         exit with failure status if they include an ERROR or FAIL.
22000         (xtests): Likewise.
22001         * manual/install.texi (Configuring and compiling): Mention
22002         stop-on-test-failure=y.
22003         * INSTALL: Regenerated.
22005 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22007         * scripts/versionlist.awk: New file.
22008         * Makerules [$(build-shared) = yes]
22009         (postclean-generated): Add Versions.def, not Versions.def.v and
22010         Versions.def.v.i.
22011         ($(common-objpfx)Versions.def.v.i): Target removed.
22012         ($(common-objpfx)Versions.def): New target.
22013         ($(common-objpfx)Versions.all): Depend on that rather that
22014         $(common-objpfx)Versions.def.v.
22015         * Versions.def: File removed.
22017         * Makeconfig (+gccwarn): Add -Wundef.
22018         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22019         a dl-sysdep.h breaking its contract.
22020         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22021         * include/stackinfo.h: New file.
22022         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22023         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22024         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22025         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22026         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22027         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22028         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22029         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22030         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22031         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22032         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22033         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22034         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22035         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22036         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22038 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22040         [BZ #16707]
22041         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22042         implementation.
22043         * math/libm-test.inc (round_test_data): Add more tests.
22045         [BZ #16706]
22046         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22047         implementation.
22048         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22050         [BZ #16701]
22051         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22052         implementation.
22053         * math/libm-test.inc (ceil_test_data): Add more tests.
22055         * math/libm-test.inc (trunc_test_data): Add more tests related to
22056         BZ#16414.
22058 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22060         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22061         with #if rather than #ifdef.
22062         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22064 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22066         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22067         first.  Disable AVX-512 GCC support if assembler doesn't support
22068         it.
22069         * sysdeps/x86_64/configure: Regenerated.
22071 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22073         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22074         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22075         (__old_pthread_attr_setstack): Likewise.
22076         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22077         [!_STACK_GROWS_DOWN]: Likewise.
22079 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22081         * config.make.in (have-bash2): Delete.
22082         * configure.ac (libc_cv_have_bash2): Delete.
22083         * configure: Regenerate.
22084         * elf/Makefile (common-ldd-rewrite): Rename to ...
22085         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22086         (sh-ldd-rewrite): Delete.
22087         (bash-ldd-rewrite): Delete.
22088         (have-bash2): Delete checks.
22089         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22090         ldd-rewrite.
22092         * config.make.in (have-ksh): Delete.
22093         (KSH): Delete.
22094         * configure.ac (libc_cv_have_ksh): Delete.
22095         * configure: Regenerate.
22097         * elf/Makefile: Delete $(have-ksh) check.
22098         ($(objpfx)sotruss): Change KSH to BASH.
22099         * elf/sotruss.ksh: Rename to ...
22100         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22101         function style to match POSIX.  Drop ksh vim mode setting.
22103         * manual/time.texi (Specifying the Time Zone with TZ): Change
22104         Tuesday to Thursday.
22106         * debug/tst-longjmp_chk2.c: Update header comment.
22107         (stackoverflow_handler): Add comment.  Call assert on pass value.
22109 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22111         [BZ #16194]
22112         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22113         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22114         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22115         (La_x86_64_vector): Add zmm.
22116         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22117         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22118         ($(objpfx)tst-audit10): New target.
22119         ($(objpfx)tst-audit10.out): Likewise.
22120         (tst-audit10-ENV): New.
22121         (AVX512-CFLAGS): Likewise.
22122         (CFLAGS-tst-audit10.c): Likewise.
22123         (CFLAGS-tst-auditmod10a.c): Likewise.
22124         (CFLAGS-tst-auditmod10b.c): Likewise.
22125         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22126         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22127         * sysdeps/x86_64/configure: Regenerated.
22128         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22129         AVX-512 zmm register support.
22130         (_dl_x86_64_save_sse): Likewise.
22131         (_dl_x86_64_restore_sse): Likewise.
22132         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22133         size vector registers.
22134         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22135         (ZMM_SIZE): Likewise.
22136         * sysdeps/x86_64/tst-audit10.c: New file.
22137         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22138         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22140 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22142         * configure.ac (HAVE_EHDR_START): New check.
22143         * configure: Regenerated.
22144         * config.h.in (HAVE_EHDR_START): New #undef.
22145         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22146         assuming the lowest-addressed segment maps the start of the file.
22148 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22150         * INSTALL: Regenerated.
22152 2014-03-13  Will Newton  <will.newton@linaro.org>
22154         * manual/setjmp.texi (System V contexts): Improve
22155         clarity and grammar of documentation.
22157 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22159         [BZ #16381]
22160         * elf/Makefile (tests): Add tst-pie2.
22161         (tests-pie): Add tst-pie2.
22162         * elf/tst-pie2.c: New file.
22163         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22164         for ET_EXEC.
22165         * elf/rtld.c (map_doit): Load executable as lt_executable.
22166         (dl_main): Likewise.
22168 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22170         [BZ #16642]
22171         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22172         (__ASSUME_PSELECT): Undefine.
22174 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22176         [BZ #16689]
22177         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22178         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22179         static build.
22180         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22181         selector for static builds.
22183 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22185         [BZ #16695]
22186         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22187         key in the buffer.
22189 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22191         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22192         IFUNC selector for static builds.
22194 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22196         * sysdeps/mips/math_private.h [__mips_hard_float]
22197         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22198         libc_feresetround_mips_ctx.
22199         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22200         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22201         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22203         [BZ #16677]
22204         * math/s_nextafter.c (__nextafter): Do not return value from
22205         overflowing computation.
22206         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22207         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22208         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22209         Likewise.
22210         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22211         Likewise.
22212         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22213         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22215 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22217         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22218         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22219         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22220         the new mov targetting sp.
22222 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22224         [BZ #16683]
22225         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22226         Define it for static builds as well.
22227         (NO_BZERO_IMPL): Likewise.
22229 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22231         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22232         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22233         multiarch strspn for PPC64.
22234         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22235         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22237         (__libc_ifunc_impl_list): Likewise.
22238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22239         multiarch optimizations
22240         * string/strspn.c (strspn): Using macro to redefine symbol name.
22242 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22243             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22245         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22246         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22247         multiarch strncat for PPC64.
22248         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22249         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22251         (__libc_ifunc_impl_list): Likewise.
22252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22253         multiarch optimizations
22255 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22257         [BZ #16639]
22258         * nscd/nscd.service: Make service type forking.
22260 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22262         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22263         sign in non default rounding modes.
22264         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22266 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22268         * math/libm-test.inc (ALL_RM_TEST): New macro.
22269         (ceil_test): Use ALL_RM_TEST.
22270         (cimag_test): Likewise.
22271         (conj_test): Likewise.
22272         (copysign_test): Likewise.
22273         (cproj_test): Likewise.
22274         (creal_test): Likewise.
22275         (fabs_test): Likewise.
22276         (floor_test): Likewise.
22277         (fmax_test): Likewise.
22278         (fmin_test): Likewise.
22279         (fmod_test): Likewise.
22280         (fpclassify_test): Likewise.
22281         (frexp_test): Likewise.
22282         (ilogb_test): Likewise.
22283         (isfinite_test): Likewise.
22284         (finite_test): Likewise.
22285         (isgreater_test): Likewise.
22286         (isgreaterequal_test): Likewise.
22287         (isinf_test): Likewise.
22288         (isless_test): Likewise.
22289         (islessequal_test): Likewise.
22290         (islessgreater_test): Likewise.
22291         (isnan_test): Likewise.
22292         (isnormal_test): Likewise.
22293         (issignaling_test): Likewise.
22294         (isunordered_test): Likewise.
22295         (logb_test): Likewise.
22296         (logb_downward_test_data): Remove.
22297         (logb_test_downward): Likewise.
22298         (lround_test): Use ALL_RM_TEST.
22299         (llround_test): Likewise.
22300         (modf_test): Likewise.
22301         (nexttoward_test): Likewise.
22302         (remainder_test): Likewise.
22303         (drem_test): Likewise.
22304         (remainder_tonearest_test_data): Likewise.
22305         (remainder_test_tonearest): Likewise.
22306         (drem_test_tonearest): Likewise.
22307         (remainder_towardzero_test_data): Likewise.
22308         (remainder_test_towardzero): Likewise.
22309         (drem_test_towardzero): Likewise.
22310         (remainder_downward_test_data): Likewise.
22311         (remainder_test_downward): Likewise.
22312         (drem_test_downward): Likewise.
22313         (remainder_upward_test_data): Likewise.
22314         (remainder_test_upward): Likewise.
22315         (drem_test_upward): Likewise.
22316         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22317         (round_test): Use ALL_RM_TEST.
22318         (signbit_test): Likewise.
22319         (trunc_test): Likewise.
22320         (significand_test): Likewise.
22321         (main): Don't call removed functions.
22323 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22325         [BZ #16674]
22326         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22327         || __USE_XOPEN2K8].
22328         (ILL_ILLOPN): Likewise.
22329         (ILL_ILLADR): Likewise.
22330         (ILL_ILLTRP): Likewise.
22331         (ILL_PRVOPC): Likewise.
22332         (ILL_PRVREG): Likewise.
22333         (ILL_COPROC): Likewise.
22334         (ILL_BADSTK): Likewise.
22335         (FPE_INTDIV): Likewise.
22336         (FPE_INTOVF): Likewise.
22337         (FPE_FLTDIV): Likewise.
22338         (FPE_FLTOVF): Likewise.
22339         (FPE_FLTUND): Likewise.
22340         (FPE_FLTRES): Likewise.
22341         (FPE_FLTINV): Likewise.
22342         (FPE_FLTSUB): Likewise.
22343         (SEGV_MAPERR): Likewise.
22344         (SEGV_ACCERR): Likewise.
22345         (BUS_ADRALN): Likewise.
22346         (BUS_ADRERR): Likewise.
22347         (BUS_OBJERR): Likewise.
22348         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22349         (TRAP_TRACE): Likewise.
22350         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22351         __USE_XOPEN2K8].
22352         (CLD_KILLED): Likewise.
22353         (CLD_DUMPED): Likewise.
22354         (CLD_TRAPPED): Likewise.
22355         (CLD_STOPPED): Likewise.
22356         (CLD_CONTINUED): Likewise.
22357         (POLL_IN): Likewise.
22358         (POLL_OUT): Likewise.
22359         (POLL_MSG): Likewise.
22360         (POLL_ERR): Likewise.
22361         (POLL_PRI): Likewise.
22362         (POLL_HUP): Likewise.
22363         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22364         Likewise.
22365         (ILL_ILLOPN): Likewise.
22366         (ILL_ILLADR): Likewise.
22367         (ILL_ILLTRP): Likewise.
22368         (ILL_PRVOPC): Likewise.
22369         (ILL_PRVREG): Likewise.
22370         (ILL_COPROC): Likewise.
22371         (ILL_BADSTK): Likewise.
22372         (FPE_INTDIV): Likewise.
22373         (FPE_INTOVF): Likewise.
22374         (FPE_FLTDIV): Likewise.
22375         (FPE_FLTOVF): Likewise.
22376         (FPE_FLTUND): Likewise.
22377         (FPE_FLTRES): Likewise.
22378         (FPE_FLTINV): Likewise.
22379         (FPE_FLTSUB): Likewise.
22380         (SEGV_MAPERR): Likewise.
22381         (SEGV_ACCERR): Likewise.
22382         (BUS_ADRALN): Likewise.
22383         (BUS_ADRERR): Likewise.
22384         (BUS_OBJERR): Likewise.
22385         (BUS_MCEERR_AR): Likewise.
22386         (BUS_MCEERR_AO): Likewise.
22387         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22388         (TRAP_TRACE): Likewise.
22389         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22390         __USE_XOPEN2K8].
22391         (CLD_KILLED): Likewise.
22392         (CLD_DUMPED): Likewise.
22393         (CLD_TRAPPED): Likewise.
22394         (CLD_STOPPED): Likewise.
22395         (CLD_CONTINUED): Likewise.
22396         (POLL_IN): Likewise.
22397         (POLL_OUT): Likewise.
22398         (POLL_MSG): Likewise.
22399         (POLL_ERR): Likewise.
22400         (POLL_PRI): Likewise.
22401         (POLL_HUP): Likewise.
22402         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22403         (ILL_ILLOPN): Likewise.
22404         (ILL_ILLADR): Likewise.
22405         (ILL_ILLTRP): Likewise.
22406         (ILL_PRVOPC): Likewise.
22407         (ILL_PRVREG): Likewise.
22408         (ILL_COPROC): Likewise.
22409         (ILL_BADSTK): Likewise.
22410         (FPE_INTDIV): Likewise.
22411         (FPE_INTOVF): Likewise.
22412         (FPE_FLTDIV): Likewise.
22413         (FPE_FLTOVF): Likewise.
22414         (FPE_FLTUND): Likewise.
22415         (FPE_FLTRES): Likewise.
22416         (FPE_FLTINV): Likewise.
22417         (FPE_FLTSUB): Likewise.
22418         (SEGV_MAPERR): Likewise.
22419         (SEGV_ACCERR): Likewise.
22420         (BUS_ADRALN): Likewise.
22421         (BUS_ADRERR): Likewise.
22422         (BUS_OBJERR): Likewise.
22423         (BUS_MCEERR_AR): Likewise.
22424         (BUS_MCEERR_AO): Likewise.
22425         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22426         (TRAP_TRACE): Likewise.
22427         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22428         __USE_XOPEN2K8].
22429         (CLD_KILLED): Likewise.
22430         (CLD_DUMPED): Likewise.
22431         (CLD_TRAPPED): Likewise.
22432         (CLD_STOPPED): Likewise.
22433         (CLD_CONTINUED): Likewise.
22434         (POLL_IN): Likewise.
22435         (POLL_OUT): Likewise.
22436         (POLL_MSG): Likewise.
22437         (POLL_ERR): Likewise.
22438         (POLL_PRI): Likewise.
22439         (POLL_HUP): Likewise.
22440         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22441         Likewise.
22442         (ILL_ILLOPN): Likewise.
22443         (ILL_ILLADR): Likewise.
22444         (ILL_ILLTRP): Likewise.
22445         (ILL_PRVOPC): Likewise.
22446         (ILL_PRVREG): Likewise.
22447         (ILL_COPROC): Likewise.
22448         (ILL_BADSTK): Likewise.
22449         (ILL_BADIADDR): Likewise.
22450         (ILL_BREAK): Likewise.
22451         (FPE_INTDIV): Likewise.
22452         (FPE_INTOVF): Likewise.
22453         (FPE_FLTDIV): Likewise.
22454         (FPE_FLTOVF): Likewise.
22455         (FPE_FLTUND): Likewise.
22456         (FPE_FLTRES): Likewise.
22457         (FPE_FLTINV): Likewise.
22458         (FPE_FLTSUB): Likewise.
22459         (FPE_DECOVF): Likewise.
22460         (FPE_DECDIV): Likewise.
22461         (FPE_DECERR): Likewise.
22462         (FPE_INVASC): Likewise.
22463         (FPE_INVDEC): Likewise.
22464         (SEGV_MAPERR): Likewise.
22465         (SEGV_ACCERR): Likewise.
22466         (SEGV_PSTKOVF): Likewise.
22467         (BUS_ADRALN): Likewise.
22468         (BUS_ADRERR): Likewise.
22469         (BUS_OBJERR): Likewise.
22470         (BUS_MCEERR_AR): Likewise.
22471         (BUS_MCEERR_AO): Likewise.
22472         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22473         (TRAP_TRACE): Likewise.
22474         (TRAP_BRANCH): Likewise.
22475         (TRAP_HWBKPT): Likewise.
22476         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22477         __USE_XOPEN2K8].
22478         (CLD_KILLED): Likewise.
22479         (CLD_DUMPED): Likewise.
22480         (CLD_TRAPPED): Likewise.
22481         (CLD_STOPPED): Likewise.
22482         (CLD_CONTINUED): Likewise.
22483         (POLL_IN): Likewise.
22484         (POLL_OUT): Likewise.
22485         (POLL_MSG): Likewise.
22486         (POLL_ERR): Likewise.
22487         (POLL_PRI): Likewise.
22488         (POLL_HUP): Likewise.
22489         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22490         (ILL_ILLOPN): Likewise.
22491         (ILL_ILLADR): Likewise.
22492         (ILL_ILLTRP): Likewise.
22493         (ILL_PRVOPC): Likewise.
22494         (ILL_PRVREG): Likewise.
22495         (ILL_COPROC): Likewise.
22496         (ILL_BADSTK): Likewise.
22497         (FPE_INTDIV): Likewise.
22498         (FPE_INTOVF): Likewise.
22499         (FPE_FLTDIV): Likewise.
22500         (FPE_FLTOVF): Likewise.
22501         (FPE_FLTUND): Likewise.
22502         (FPE_FLTRES): Likewise.
22503         (FPE_FLTINV): Likewise.
22504         (FPE_FLTSUB): Likewise.
22505         (SEGV_MAPERR): Likewise.
22506         (SEGV_ACCERR): Likewise.
22507         (BUS_ADRALN): Likewise.
22508         (BUS_ADRERR): Likewise.
22509         (BUS_OBJERR): Likewise.
22510         (BUS_MCEERR_AR): Likewise.
22511         (BUS_MCEERR_AO): Likewise.
22512         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22513         (TRAP_TRACE): Likewise.
22514         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22515         __USE_XOPEN2K8].
22516         (CLD_KILLED): Likewise.
22517         (CLD_DUMPED): Likewise.
22518         (CLD_TRAPPED): Likewise.
22519         (CLD_STOPPED): Likewise.
22520         (CLD_CONTINUED): Likewise.
22521         (POLL_IN): Likewise.
22522         (POLL_OUT): Likewise.
22523         (POLL_MSG): Likewise.
22524         (POLL_ERR): Likewise.
22525         (POLL_PRI): Likewise.
22526         (POLL_HUP): Likewise.
22527         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22528         (ILL_ILLOPN): Likewise.
22529         (ILL_ILLADR): Likewise.
22530         (ILL_ILLTRP): Likewise.
22531         (ILL_PRVOPC): Likewise.
22532         (ILL_PRVREG): Likewise.
22533         (ILL_COPROC): Likewise.
22534         (ILL_BADSTK): Likewise.
22535         (FPE_INTDIV): Likewise.
22536         (FPE_INTOVF): Likewise.
22537         (FPE_FLTDIV): Likewise.
22538         (FPE_FLTOVF): Likewise.
22539         (FPE_FLTUND): Likewise.
22540         (FPE_FLTRES): Likewise.
22541         (FPE_FLTINV): Likewise.
22542         (FPE_FLTSUB): Likewise.
22543         (SEGV_MAPERR): Likewise.
22544         (SEGV_ACCERR): Likewise.
22545         (BUS_ADRALN): Likewise.
22546         (BUS_ADRERR): Likewise.
22547         (BUS_OBJERR): Likewise.
22548         (BUS_MCEERR_AR): Likewise.
22549         (BUS_MCEERR_AO): Likewise.
22550         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22551         (TRAP_TRACE): Likewise.
22552         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22553         __USE_XOPEN2K8].
22554         (CLD_KILLED): Likewise.
22555         (CLD_DUMPED): Likewise.
22556         (CLD_TRAPPED): Likewise.
22557         (CLD_STOPPED): Likewise.
22558         (CLD_CONTINUED): Likewise.
22559         (POLL_IN): Likewise.
22560         (POLL_OUT): Likewise.
22561         (POLL_MSG): Likewise.
22562         (POLL_ERR): Likewise.
22563         (POLL_PRI): Likewise.
22564         (POLL_HUP): Likewise.
22565         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22566         (ILL_ILLOPN): Likewise.
22567         (ILL_ILLADR): Likewise.
22568         (ILL_ILLTRP): Likewise.
22569         (ILL_PRVOPC): Likewise.
22570         (ILL_PRVREG): Likewise.
22571         (ILL_COPROC): Likewise.
22572         (ILL_BADSTK): Likewise.
22573         (FPE_INTDIV): Likewise.
22574         (FPE_INTOVF): Likewise.
22575         (FPE_FLTDIV): Likewise.
22576         (FPE_FLTOVF): Likewise.
22577         (FPE_FLTUND): Likewise.
22578         (FPE_FLTRES): Likewise.
22579         (FPE_FLTINV): Likewise.
22580         (FPE_FLTSUB): Likewise.
22581         (SEGV_MAPERR): Likewise.
22582         (SEGV_ACCERR): Likewise.
22583         (BUS_ADRALN): Likewise.
22584         (BUS_ADRERR): Likewise.
22585         (BUS_OBJERR): Likewise.
22586         (BUS_MCEERR_AR): Likewise.
22587         (BUS_MCEERR_AO): Likewise.
22588         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22589         (TRAP_TRACE): Likewise.
22590         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22591         __USE_XOPEN2K8].
22592         (CLD_KILLED): Likewise.
22593         (CLD_DUMPED): Likewise.
22594         (CLD_TRAPPED): Likewise.
22595         (CLD_STOPPED): Likewise.
22596         (CLD_CONTINUED): Likewise.
22597         (POLL_IN): Likewise.
22598         (POLL_OUT): Likewise.
22599         (POLL_MSG): Likewise.
22600         (POLL_ERR): Likewise.
22601         (POLL_PRI): Likewise.
22602         (POLL_HUP): Likewise.
22603         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22604         (ILL_ILLOPN): Likewise.
22605         (ILL_ILLADR): Likewise.
22606         (ILL_ILLTRP): Likewise.
22607         (ILL_PRVOPC): Likewise.
22608         (ILL_PRVREG): Likewise.
22609         (ILL_COPROC): Likewise.
22610         (ILL_BADSTK): Likewise.
22611         (ILL_DBLFLT): Likewise.
22612         (ILL_HARDWALL): Likewise.
22613         (FPE_INTDIV): Likewise.
22614         (FPE_INTOVF): Likewise.
22615         (FPE_FLTDIV): Likewise.
22616         (FPE_FLTOVF): Likewise.
22617         (FPE_FLTUND): Likewise.
22618         (FPE_FLTRES): Likewise.
22619         (FPE_FLTINV): Likewise.
22620         (FPE_FLTSUB): Likewise.
22621         (SEGV_MAPERR): Likewise.
22622         (SEGV_ACCERR): Likewise.
22623         (BUS_ADRALN): Likewise.
22624         (BUS_ADRERR): Likewise.
22625         (BUS_OBJERR): Likewise.
22626         (BUS_MCEERR_AR): Likewise.
22627         (BUS_MCEERR_AO): Likewise.
22628         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22629         (TRAP_TRACE): Likewise.
22630         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22631         __USE_XOPEN2K8].
22632         (CLD_KILLED): Likewise.
22633         (CLD_DUMPED): Likewise.
22634         (CLD_TRAPPED): Likewise.
22635         (CLD_STOPPED): Likewise.
22636         (CLD_CONTINUED): Likewise.
22637         (POLL_IN): Likewise.
22638         (POLL_OUT): Likewise.
22639         (POLL_MSG): Likewise.
22640         (POLL_ERR): Likewise.
22641         (POLL_PRI): Likewise.
22642         (POLL_HUP): Likewise.
22643         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22644         (ILL_ILLOPN): Likewise.
22645         (ILL_ILLADR): Likewise.
22646         (ILL_ILLTRP): Likewise.
22647         (ILL_PRVOPC): Likewise.
22648         (ILL_PRVREG): Likewise.
22649         (ILL_COPROC): Likewise.
22650         (ILL_BADSTK): Likewise.
22651         (FPE_INTDIV): Likewise.
22652         (FPE_INTOVF): Likewise.
22653         (FPE_FLTDIV): Likewise.
22654         (FPE_FLTOVF): Likewise.
22655         (FPE_FLTUND): Likewise.
22656         (FPE_FLTRES): Likewise.
22657         (FPE_FLTINV): Likewise.
22658         (FPE_FLTSUB): Likewise.
22659         (SEGV_MAPERR): Likewise.
22660         (SEGV_ACCERR): Likewise.
22661         (BUS_ADRALN): Likewise.
22662         (BUS_ADRERR): Likewise.
22663         (BUS_OBJERR): Likewise.
22664         (BUS_MCEERR_AR): Likewise.
22665         (BUS_MCEERR_AO): Likewise.
22666         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22667         (TRAP_TRACE): Likewise.
22668         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22669         __USE_XOPEN2K8].
22670         (CLD_KILLED): Likewise.
22671         (CLD_DUMPED): Likewise.
22672         (CLD_TRAPPED): Likewise.
22673         (CLD_STOPPED): Likewise.
22674         (CLD_CONTINUED): Likewise.
22675         (POLL_IN): Likewise.
22676         (POLL_OUT): Likewise.
22677         (POLL_MSG): Likewise.
22678         (POLL_ERR): Likewise.
22679         (POLL_PRI): Likewise.
22680         (POLL_HUP): Likewise.
22681         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22682         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22684         [BZ #16670]
22685         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22686         before #include of <time.h>.
22687         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22688         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22689         (test-xfail-UNIX98/sched.h/conform): Likewise.
22691 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22693         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22694         error absence of trapping exception support.
22695         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22697 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22699         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22700         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22701         * timezone/Makefile (testdata): Move definition above include of
22702         Rules.
22703         (test-zones): New variable.
22704         (tests-special): Add zone files.
22705         (build-testdata): Use $(evaluate-test).
22707         * elf/Makefile (tests-special): Rename tests to end with .out.
22708         ($(objpfx)noload-mem): Likewise.
22709         ($(objpfx)tst-leaks1-mem): Likewise.
22710         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22711         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22712         $(objpfx)test-iconvconfig.out.
22713         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22714         set -e inside subshell and redirect output to file.
22715         * iconvdata/Makefile (generated): Rename tests to end with .out.
22716         Correct type.
22717         (tests-special): Rename tests to end with .out.
22718         ($(objpfx)mtrace-tst-loading): Likewise.
22719         * intl/Makefile (generated): Likewise.
22720         (tests-special): Likewise.
22721         ($(objpfx)mtrace-tst-gettext): Likewise.
22722         * misc/Makefile (generated): Likewise.
22723         (tests-special): Likewise.
22724         ($(objpfx)tst-error1-mem): Likewise.
22725         * nptl/Makefile (tests-special): Likewise.
22726         ($(objpfx)tst-stack3-mem): Likewise.
22727         (generated): Likewise.
22728         * posix/Makefile (generated): Likewise.
22729         (tests-special): Likewise.
22730         (xtests-special): Likewise.
22731         ($(objpfx)tst-fnmatch-mem): Likewise.
22732         ($(objpfx)bug-regex2-mem): Likewise.
22733         ($(objpfx)bug-regex14-mem): Likewise.
22734         ($(objpfx)bug-regex21-mem): Likewise.
22735         ($(objpfx)bug-regex31-mem): Likewise.
22736         ($(objpfx)tst-vfork3-mem): Likewise.
22737         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22738         ($(objpfx)tst-pcre-mem): Likewise.
22739         ($(objpfx)tst-boost-mem): Likewise.
22740         ($(objpfx)bug-ga2-mem): Likewise.
22741         ($(objpfx)bug-glob2-mem): Likewise.
22742         * resolv/Makefile (generate): Likewise.
22743         (tests-special): Likewise.
22744         (xtests-special): Likewise.
22745         (generated): Likewise.
22746         ($(objpfx)mtrace-tst-leaks): Likewise.
22747         ($(objpfx)mtrace-tst-leaks2): Likewise.
22749         * scripts/merge-test-results.sh: New file.
22750         * Makefile (tests-special-notdir): New variable.
22751         (tests): Run merge-test-results.sh.
22752         (xtests): Likewise.
22753         * Rules (tests-special-notdir): New variable.
22754         (xtests-special-notdir): Likewise.
22755         (tests): Run merge-test-results.sh
22756         (xtests): Likewise.
22758         * Makeconfig (test-xfail-name): New variable.
22759         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22760         compute variable name for expected failures.
22761         * conform/Makefile (conformtest-headers-data): New variable.
22762         (conformtest-standards): Likewise.
22763         (conformtest-headers-ISO): Likewise.
22764         (conformtest-headers-ISO99): Likewise.
22765         (conformtest-headers-ISO11): Likewise.
22766         (conformtest-headers-POSIX): Likewise.
22767         (conformtest-headers-XPG3): Likewise.
22768         (conformtest-headers-XPG4): Likewise.
22769         (conformtest-headers-UNIX98): Likewise.
22770         (conformtest-headers-XOPEN2K): Likewise.
22771         (conformtest-headers-POSIX2008): Likewise.
22772         (conformtest-headers-XOPEN2K8): Likewise.
22773         (conformtest-header-list-base): Likewise.
22774         (conformtest-header-list-tests): Likewise.
22775         (conformtest-header-base): Likewise.
22776         (conformtest-header-tests): Likewise.
22777         (tests-special): Add $(conformtest-header-list-tests).  If
22778         [$(fast-check) && !$(cross-compiling)], add
22779         $(conformtest-header-tests) instead of
22780         $(objpfx)run-conformtest.out.
22781         (generated): Add $(conformtest-header-list-base).  If
22782         [$(fast-check) && !$(cross-compiling)], add
22783         $(conformtest-header-base).  Remove previous setting.
22784         ($(conformtest-header-list-tests)): New target.
22785         (test-xfail-run-conformtest): Remove variable.
22786         ($(objpfx)run-conformtest.out): Remove target.
22787         (test-xfail-ISO11/complex.h/conform): New variable.
22788         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22789         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22790         (test-xfail-XPG3/varargs.h/conform): Likewise.
22791         (test-xfail-XPG4/varargs.h/conform): Likewise.
22792         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22793         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22794         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22795         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22796         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22797         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22798         (test-xfail-XPG3/ftw.h/conform): Likewise.
22799         (test-xfail-XPG3/grp.h/conform): Likewise.
22800         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22801         (test-xfail-XPG3/limits.h/conform): Likewise.
22802         (test-xfail-XPG3/pwd.h/conform): Likewise.
22803         (test-xfail-XPG3/search.h/conform): Likewise.
22804         (test-xfail-XPG3/signal.h/conform): Likewise.
22805         (test-xfail-XPG3/stdio.h/conform): Likewise.
22806         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22807         (test-xfail-XPG3/string.h/conform): Likewise.
22808         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22809         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22810         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22811         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22812         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22813         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22814         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22815         (test-xfail-XPG3/termios.h/conform): Likewise.
22816         (test-xfail-XPG3/time.h/conform): Likewise.
22817         (test-xfail-XPG3/unistd.h/conform): Likewise.
22818         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22819         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22820         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22821         (test-xfail-XPG4/netdb.h/conform): Likewise.
22822         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22823         (test-xfail-XPG4/signal.h/conform): Likewise.
22824         (test-xfail-XPG4/stdio.h/conform): Likewise.
22825         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22826         (test-xfail-XPG4/stropts.h/conform): Likewise.
22827         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22828         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22829         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22830         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22831         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22832         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22833         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22834         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22835         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22836         (test-xfail-XPG4/termios.h/conform): Likewise.
22837         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22838         (test-xfail-XPG4/unistd.h/conform): Likewise.
22839         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22840         (test-xfail-POSIX/sched.h/conform): Likewise.
22841         (test-xfail-POSIX/signal.h/conform): Likewise.
22842         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22843         (test-xfail-POSIX/tar.h/conform): Likewise.
22844         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22845         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22846         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22847         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22848         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22849         (test-xfail-UNIX98/sched.h/conform): Likewise.
22850         (test-xfail-UNIX98/signal.h/conform): Likewise.
22851         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22852         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22853         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22854         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22855         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22856         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22857         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22858         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22859         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22860         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22861         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22862         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22863         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22864         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22865         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22866         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22867         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22868         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22869         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22870         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22871         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22872         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22873         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22874         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22875         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22876         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22877         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22878         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22879         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22880         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22881         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22882         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22883         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22884         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22885         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22886         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22887         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22888         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22889         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22890         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22891         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22892         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22893         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22894         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22895         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22896         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22897         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22898         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22899         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22900         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22901         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22902         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22903         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22904         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22905         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22906         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22907         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22908         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22909         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22910         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22911         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22912         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22913         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22914         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22915         (conformtest-cc-flags): Likewise.
22916         ($(conformtest-header-tests): New target.
22917         * conform/check-header-lists.sh: New file.
22918         * conform/run-conformtest.sh: Remove.
22920         * conform/conformtest.pl: Allow ' and \ in values given for
22921         constants.
22922         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22923         inclusion.
22924         [POSIX] (sys/types.h): Likewise.
22925         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22926         inclusion.
22927         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22928         inclusion.
22929         * conform/data/signal.h-data (SIGIO): Remove expectation.
22930         [XPG3] (SIGBUS): Do not expect.
22931         [POSIX || XPG3] (SIGPOLL): Likewise.
22932         [POSIX || XPG3] (SIGPROF): Likewise.
22933         [POSIX || XPG3] (SIGSYS): Likewise.
22934         [XPG3] (SIGTRAP): Likewise.
22935         [POSIX || XPG3] (SIGURG): Likewise.
22936         [POSIX || XPG3] (SIGVTALRM): Likewise.
22937         [POSIX || XPG3] (SIGXCPU): Likewise.
22938         [POSIX || XPG3] (SIGXFSZ): Likewise.
22939         [POSIX] (SA_SIGINFO): Expect.
22940         [XPG3] (siginfo_t): Do not expect type or contents.
22941         [POSIX] (si_pid): Do not expect element.
22942         [POSIX] (si_uid): Likewise.
22943         [POSIX] (si_addr): Likewise.
22944         [POSIX] (si_status): Likewise.
22945         [POSIX] (si_band): Likewise.
22946         [XPG4] (si_value): Likewise.
22947         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22948         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22949         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22950         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22951         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22952         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22953         [POSIX || XPG3] (ILL_COPROC): Likewise.
22954         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22955         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22956         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22957         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22958         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22959         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22960         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22961         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22962         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22963         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22964         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22965         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22966         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22967         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22968         [POSIX || XPG3] (CLD_EXITED): Likewise.
22969         [POSIX || XPG3] (CLD_KILLED): Likewise.
22970         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22971         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22972         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22973         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22974         [POSIX || XPG3] (POLL_IN): Likewise.
22975         [POSIX || XPG3] (POLL_OUT): Likewise.
22976         [POSIX || XPG3] (POLL_MSG): Likewise.
22977         [POSIX || XPG3] (POLL_ERR): Likewise.
22978         [POSIX || XPG3] (POLL_PRI): Likewise.
22979         [POSIX || XPG3] (POLL_HUP): Likewise.
22980         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22981         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22982         (SIG*): Do not allow.
22983         [XPG3] (si_*): Likewise.
22984         [XPG3] (SI_*): Likewise.
22985         [XPG3 || XPG4] (sigev_*): Likewise.
22986         [XPG3 || XPG4] (SIGEV_*): Likewise.
22987         [XPG3 || XPG4] (sival_*): Likewise.
22988         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22989         [POSIX || XPG3] (BUS_*): Likewise.
22990         [POSIX || XPG3] (CLD_*): Likewise.
22991         [POSIX || XPG3] (FPE_*): Likewise.
22992         [POSIX || XPG3] (ILL_*): Likewise.
22993         [POSIX || XPG3] (POLL_*): Likewise.
22994         [POSIX || XPG3] (SEGV_*): Likewise.
22995         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22996         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22997         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22998         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22999         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23000         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23001         Specify type and value.
23002         (TVERSLEN): Likewise.
23003         (REGTYPE): Likewise.
23004         (AREGTYPE): Likewise.
23005         (LNKTYPE): Likewise.
23006         (SYMTYPE): Likewise.
23007         (CHRTYPE): Likewise.
23008         (BLKTYPE): Likewise.
23009         (DIRTYPE): Likewise.
23010         (FIFOTYPE): Likewise.
23011         (CONTTYPE): Likewise.
23012         (TSUID): Likewise.
23013         (TSGID): Likewise.
23014         (TSVTX): Likewise.
23015         (TUREAD): Likewise.
23016         (TUWRITE): Likewise.
23017         (TUEXEC): Likewise.
23018         (TGREAD): Likewise.
23019         (TGWRITE): Likewise.
23020         (TGEXEC): Likewise.
23021         (TOREAD): Likewise.
23022         (TOWRITE): Likewise.
23023         (TOEXEC): Likewise.
23024         [POSIX] (TSVTX): Expect constant.
23026 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23028         * Makefile (tests): Change dependencies to ....
23029         (tests-special): ... additions to this variable.
23030         (tests): Depend on $(tests-special).
23031         * Makerules (check-abi-list): New variable.
23032         (check-abi): Depend on $(check-abi-list).
23033         [$(subdir) = elf] (tests-special): Add
23034         $(objpfx)check-abi-libc.out.
23035         [$(build-shared) = yes && subdir] (tests-special): Add
23036         $(check-abi-list).
23037         [$(build-shared) = yes && subdir] (tests): Do not depend on
23038         check-abi.
23039         * Rules (tests): Depend on $(tests-special).
23040         (xtests): Depend on $(xtests-special).
23041         * catgets/Makefile (tests): Change dependencies to ....
23042         (tests-special): ... additions to this variable.
23043         * conform/Makefile (tests): Change dependencies to ....
23044         (tests-special): ... additions to this variable.
23045         * elf/Makefile (tests): Change dependencies to ....
23046         (tests-special): ... additions to this variable.
23047         * grp/Makefile (tests): Change dependencies to ....
23048         (tests-special): ... additions to this variable.
23049         * iconv/Makefile (xtests): Change dependencies to ....
23050         (xtests-special): ... additions to this variable.
23051         * iconvdata/Makefile (tests): Change dependencies to ....
23052         (tests-special): ... additions to this variable.
23053         * intl/Makefile (tests): Change dependencies to ....
23054         (tests-special): ... additions to this variable.  Also add
23055         $(objpfx)tst-gettext.out.
23056         * io/Makefile (tests): Change dependencies to ....
23057         (tests-special): ... additions to this variable.
23058         * libio/Makefile (tests): Change dependencies to ....
23059         (tests-special): ... additions to this variable.
23060         * malloc/Makefile (tests): Change dependencies to ....
23061         (tests-special): ... additions to this variable.
23062         * misc/Makefile (tests): Change dependencies to ....
23063         (tests-special): ... additions to this variable.
23064         * nptl/Makefile (tests): Change dependencies to ....
23065         (tests-special): ... additions to this variable.
23066         * nptl_db/Makefile (tests): Change dependencies to ....
23067         (tests-special): ... additions to this variable.
23068         * posix/Makefile (tests): Change dependencies to ....
23069         (tests-special): ... additions to this variable.
23070         (xtests): Change dependencies to ....
23071         (xtests-special): ... additions to this variable.
23072         * resolv/Makefile (tests): Change dependencies to ....
23073         (tests-special): ... additions to this variable.
23074         (xtests): Change dependencies to ....
23075         (xtests-special): ... additions to this variable.
23076         * stdio-common/Makefile (tests): Change dependencies to ....
23077         (tests-special): ... additions to this variable.
23078         (do-tst-unbputc): Remove target.
23079         (do-tst-printf): Likewise.
23080         * stdlib/Makefile (tests): Change dependencies to ....
23081         (tests-special): ... additions to this variable.
23082         * string/Makefile (tests): Change dependencies to ....
23083         (tests-special): ... additions to this variable.
23084         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23085         (tests-special): ... additions to this variable.
23087         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23088         whole file.
23089         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23090         whole file.
23091         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23092         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23094         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23095         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23096         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23097         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23098         * conform/data/libgen.h-data [XPG3]: Likewise.
23099         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23100         * conform/data/ndbm.h-data [XPG3]: Likewise.
23101         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23102         * conform/data/netdb.h-data [XPG3]: Likewise.
23103         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23104         * conform/data/poll.h-data [XPG3]: Likewise.
23105         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23106         * conform/data/strings.h-data [XPG3]: Likewise.
23107         * conform/data/stropts.h-data [XPG3]: Likewise.
23108         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23109         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23110         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23111         Likewise.
23112         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23113         * conform/data/sys/time.h-data [XPG3]: Likewise.
23114         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23115         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23116         * conform/data/sys/un.h-data [XPG3]: Likewise.
23117         * conform/data/syslog.h-data [XPG3]: Likewise.
23118         * conform/data/ucontext.h-data [XPG3]: Likewise.
23119         * conform/data/utmpx.h-data [XPG3]: Likewise.
23120         * conform/data/varargs.h-data [UNIX98]: Enable file.
23122         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23124         * math/libm-test.inc (struct test_f_f_data): Move expected results
23125         into structure for each rounding mode.
23126         (struct test_ff_f_data): Likewise.
23127         (struct test_ff_f_data_nexttoward): Likewise.
23128         (struct test_fi_f_data): Likewise.
23129         (struct test_fl_f_data): Likewise.
23130         (struct test_if_f_data): Likewise.
23131         (struct test_fff_f_data): Likewise.
23132         (struct test_c_f_data): Likewise.
23133         (struct test_f_f1_data): Likewise.
23134         (struct test_fF_f1_data): Likewise.
23135         (struct test_ffI_f1_data): Likewise.
23136         (struct test_c_c_data): Likewise.
23137         (struct test_cc_c_data): Likewise.
23138         (struct test_f_i_data): Likewise.
23139         (struct test_ff_i_data): Likewise.
23140         (struct test_f_l_data): Likewise.
23141         (struct test_f_L_data): Likewise.
23142         (struct test_fFF_11_data): Likewise.
23143         (RM_): New macro.
23144         (RM_FE_DOWNWARD): Likewise.
23145         (RM_FE_TONEAREST): Likewise.
23146         (RM_FE_TOWARDZERO): Likewise.
23147         (RM_FE_UPWARD): Likewise.
23148         (RUN_TEST_LOOP_f_f): Update references to expected results.
23149         (RUN_TEST_LOOP_2_f): Likewise.
23150         (RUN_TEST_LOOP_fff_f): Likewise.
23151         (RUN_TEST_LOOP_c_f): Likewise.
23152         (RUN_TEST_LOOP_f_f1): Likewise.
23153         (RUN_TEST_LOOP_fF_f1): Likewise.
23154         (RUN_TEST_LOOP_fI_f1): Likewise.
23155         (RUN_TEST_LOOP_ffI_f1): Likewise.
23156         (RUN_TEST_LOOP_c_c): Likewise.
23157         (RUN_TEST_LOOP_cc_c): Likewise.
23158         (RUN_TEST_LOOP_f_i): Likewise.
23159         (RUN_TEST_LOOP_f_i_tg): Likewise.
23160         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23161         (RUN_TEST_LOOP_f_b): Likewise.
23162         (RUN_TEST_LOOP_f_b_tg): Likewise.
23163         (RUN_TEST_LOOP_f_l): Likewise.
23164         (RUN_TEST_LOOP_f_L): Likewise.
23165         (RUN_TEST_LOOP_fFF_11): Likewise.
23166         * math/gen-libm-test.pl (parse_args): Output four copies of
23167         expected results for each test.
23169         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23170         (__ASSUME_UTIMES): Remove.
23171         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23172         (__ASSUME_UTIMES): Likewise.
23174         * math/gen-auto-libm-tests.c: Update comment on output format.
23175         (output_for_one_input_case): Generate before-rounding and
23176         after-rounding information as conditions on output flags not
23177         floating-point format.
23178         * math/auto-libm-test-out: Regenerated.
23179         * math/gen-libm-test.pl (cond_value): New function.
23180         (or_cond_value): Use cond_value.
23181         (generate_testfile): Handle conditional exceptions.
23183 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23185         * math/libm-test.inc (max_valid_error): New variable.
23186         (init_max_error): Take new argument specifying whether function
23187         results are exactly determined.  Set max_valid_error and bound
23188         other variables for errors based on this argument.
23189         (set_max_error): Do not record results above max_valid_error.
23190         (check_float_internal): Only accept errors of up to 0.5ulps if
23191         also at most max_valid_error.
23192         (START): Take new argument EXACT and pass it to init_max_error.
23193         (acos_test): Update call to START.
23194         (acos_test_tonearest): Likewise.
23195         (acos_test_towardzero): Likewise.
23196         (acos_test_downward): Likewise.
23197         (acos_test_upward): Likewise.
23198         (acosh_test): Likewise.
23199         (asin_test): Likewise.
23200         (asin_test_tonearest): Likewise.
23201         (asin_test_towardzero): Likewise.
23202         (asin_test_downward): Likewise.
23203         (asin_test_upward): Likewise.
23204         (asinh_test): Likewise.
23205         (atan_test): Likewise.
23206         (atanh_test): Likewise.
23207         (atan2_test): Likewise.
23208         (cabs_test): Likewise.
23209         (cacos_test): Likewise.
23210         (cacosh_test): Likewise.
23211         (carg_test): Likewise.
23212         (casin_test): Likewise.
23213         (casinh_test): Likewise.
23214         (catan_test): Likewise.
23215         (catanh_test): Likewise.
23216         (cbrt_test): Likewise.
23217         (ccos_test): Likewise.
23218         (ccosh_test): Likewise.
23219         (ceil_test): Likewise.
23220         (cexp_test): Likewise.
23221         (cimag_test): Likewise.
23222         (clog_test): Likewise.
23223         (clog10_test): Likewise.
23224         (conj_test): Likewise.
23225         (copysign_test): Likewise.
23226         (cos_test): Likewise.
23227         (cos_test_tonearest): Likewise.
23228         (cos_test_towardzero): Likewise.
23229         (cos_test_downward): Likewise.
23230         (cos_test_upward): Likewise.
23231         (cosh_test): Likewise.
23232         (cosh_test_tonearest): Likewise.
23233         (cosh_test_towardzero): Likewise.
23234         (cosh_test_downward): Likewise.
23235         (cosh_test_upward): Likewise.
23236         (cpow_test): Likewise.
23237         (cproj_test): Likewise.
23238         (creal_test): Likewise.
23239         (csin_test): Likewise.
23240         (csinh_test): Likewise.
23241         (csqrt_test): Likewise.
23242         (ctan_test): Likewise.
23243         (ctan_test_tonearest): Likewise.
23244         (ctan_test_towardzero): Likewise.
23245         (ctan_test_downward): Likewise.
23246         (ctan_test_upward): Likewise.
23247         (ctanh_test): Likewise.
23248         (ctanh_test_tonearest): Likewise.
23249         (ctanh_test_towardzero): Likewise.
23250         (ctanh_test_downward): Likewise.
23251         (ctanh_test_upward): Likewise.
23252         (erf_test): Likewise.
23253         (erfc_test): Likewise.
23254         (exp_test): Likewise.
23255         (exp_test_tonearest): Likewise.
23256         (exp_test_towardzero): Likewise.
23257         (exp_test_downward): Likewise.
23258         (exp_test_upward): Likewise.
23259         (exp10_test): Likewise.
23260         (exp10_test_tonearest): Likewise.
23261         (exp10_test_towardzero): Likewise.
23262         (exp10_test_downward): Likewise.
23263         (exp10_test_upward): Likewise.
23264         (pow10_test): Likewise.
23265         (exp2_test): Likewise.
23266         (expm1_test): Likewise.
23267         (expm1_test_tonearest): Likewise.
23268         (expm1_test_towardzero): Likewise.
23269         (expm1_test_downward): Likewise.
23270         (expm1_test_upward): Likewise.
23271         (fabs_test): Likewise.
23272         (fdim_test): Likewise.
23273         (floor_test): Likewise.
23274         (fma_test): Likewise.
23275         (fma_test_towardzero): Likewise.
23276         (fma_test_downward): Likewise.
23277         (fma_test_upward): Likewise.
23278         (fmax_test): Likewise.
23279         (fmin_test): Likewise.
23280         (fmod_test): Likewise.
23281         (fpclassify_test): Likewise.
23282         (frexp_test): Likewise.
23283         (hypot_test): Likewise.
23284         (ilogb_test): Likewise.
23285         (isfinite_test): Likewise.
23286         (finite_test): Likewise.
23287         (isgreater_test): Likewise.
23288         (isgreaterequal_test): Likewise.
23289         (isinf_test): Likewise.
23290         (isless_test): Likewise.
23291         (islessequal_test): Likewise.
23292         (islessgreater_test): Likewise.
23293         (isnan_test): Likewise.
23294         (isnormal_test): Likewise.
23295         (issignaling_test): Likewise.
23296         (isunordered_test): Likewise.
23297         (j0_test): Likewise.
23298         (j1_test): Likewise.
23299         (jn_test): Likewise.
23300         (ldexp_test): Likewise.
23301         (lgamma_test): Likewise.
23302         (gamma_test): Likewise.
23303         (lrint_test): Likewise.
23304         (lrint_test_tonearest): Likewise.
23305         (lrint_test_towardzero): Likewise.
23306         (lrint_test_downward): Likewise.
23307         (lrint_test_upward): Likewise.
23308         (llrint_test): Likewise.
23309         (llrint_test_tonearest): Likewise.
23310         (llrint_test_towardzero): Likewise.
23311         (llrint_test_downward): Likewise.
23312         (llrint_test_upward): Likewise.
23313         (log_test): Likewise.
23314         (log10_test): Likewise.
23315         (log1p_test): Likewise.
23316         (log2_test): Likewise.
23317         (logb_test): Likewise.
23318         (logb_test_downward): Likewise.
23319         (lround_test): Likewise.
23320         (llround_test): Likewise.
23321         (modf_test): Likewise.
23322         (nearbyint_test): Likewise.
23323         (nextafter_test): Likewise.
23324         (nexttoward_test): Likewise.
23325         (pow_test): Likewise.
23326         (pow_test_tonearest): Likewise.
23327         (pow_test_towardzero): Likewise.
23328         (pow_test_downward): Likewise.
23329         (pow_test_upward): Likewise.
23330         (remainder_test): Likewise.
23331         (drem_test): Likewise.
23332         (remainder_test_tonearest): Likewise.
23333         (drem_test_tonearest): Likewise.
23334         (remainder_test_towardzero): Likewise.
23335         (drem_test_towardzero): Likewise.
23336         (remainder_test_downward): Likewise.
23337         (drem_test_downward): Likewise.
23338         (remainder_test_upward): Likewise.
23339         (drem_test_upward): Likewise.
23340         (remquo_test): Likewise.
23341         (rint_test): Likewise.
23342         (rint_test_tonearest): Likewise.
23343         (rint_test_towardzero): Likewise.
23344         (rint_test_downward): Likewise.
23345         (rint_test_upward): Likewise.
23346         (round_test): Likewise.
23347         (scalb_test): Likewise.
23348         (scalbn_test): Likewise.
23349         (scalbln_test): Likewise.
23350         (signbit_test): Likewise.
23351         (sin_test): Likewise.
23352         (sin_test_tonearest): Likewise.
23353         (sin_test_towardzero): Likewise.
23354         (sin_test_downward): Likewise.
23355         (sin_test_upward): Likewise.
23356         (sincos_test): Likewise.
23357         (sinh_test): Likewise.
23358         (sinh_test_tonearest): Likewise.
23359         (sinh_test_towardzero): Likewise.
23360         (sinh_test_downward): Likewise.
23361         (sinh_test_upward): Likewise.
23362         (sqrt_test): Likewise.
23363         (sqrt_test_tonearest): Likewise.
23364         (sqrt_test_towardzero): Likewise.
23365         (sqrt_test_downward): Likewise.
23366         (sqrt_test_upward): Likewise.
23367         (tan_test): Likewise.
23368         (tan_test_tonearest): Likewise.
23369         (tan_test_towardzero): Likewise.
23370         (tan_test_downward): Likewise.
23371         (tan_test_upward): Likewise.
23372         (tanh_test): Likewise.
23373         (tgamma_test): Likewise.
23374         (trunc_test): Likewise.
23375         (y0_test): Likewise.
23376         (y1_test): Likewise.
23377         (yn_test): Likewise.
23378         (significand_test): Likewise.
23380         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23381         individual tests in comment.
23382         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23383         (prev_max_error): New variable.
23384         (prev_real_max_error): Likewise.
23385         (prev_imag_max_error): Likewise.
23386         (compare_ulp_data): Don't refer to test names in comment.
23387         (find_test_ulps): Remove function.
23388         (find_function_ulps): Likewise.
23389         (find_complex_function_ulps): Likewise.
23390         (init_max_error): Take function name as argument.  Look up ulps
23391         for that function.
23392         (print_ulps): Remove function.
23393         (print_max_error): Use prev_max_error instead of calling
23394         find_function_ulps.
23395         (print_complex_max_error): Use prev_real_max_error and
23396         prev_imag_max_error instead of calling find_complex_function_ulps.
23397         (check_float_internal): Take max_ulp parameter instead of calling
23398         find_test_ulps.  Don't call print_ulps.
23399         (check_float): Update call to check_float_internal.
23400         (check_complex): Update calls to check_float_internal.
23401         (START): Pass argument to init_max_error.
23402         * math/gen-libm-test.pl (%results): Don't include "kind"
23403         information.
23404         (parse_ulps): Don't handle ulps of individual tests.
23405         (print_ulps_file): Likewise.
23406         (output_ulps): Likewise.
23407         * math/README.libm-test: Update.
23408         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23409         individual tests.
23410         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23411         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23412         * sysdeps/arm/libm-test-ulps: Likewise.
23413         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23414         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23415         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23416         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23417         * sysdeps/microblaze/libm-test-ulps: Likewise.
23418         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23419         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23420         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23421         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23422         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23423         * sysdeps/sh/libm-test-ulps: Likewise.
23424         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23425         * sysdeps/tile/libm-test-ulps: Likewise.
23426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23428 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23430         * math/libm-test.inc (print_complex_max_error): Check separately
23431         whether real and imaginary errors are within allowed range and
23432         pass 0 to print_complex_function_ulps instead of value within
23433         allowed range.
23435 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23437         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23438         formatting.
23439         (get_handles_fopen): Likewise.
23440         (do_write_test): Likewise.
23442         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23444         * libio/fileops.c (do_ftell): Use cached offset when
23445         available.
23446         * libio/iofwide.c (do_ftell_wide): Likewise.
23447         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23448         _IO_file_attach.
23449         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23451         [BZ #16532]
23452         * libio/libioP.h (get_file_offset): New function.
23453         * libio/fileops.c (get_file_offset): Likewise.
23454         (do_ftell): Likewise.
23455         (_IO_new_file_seekoff): Split out ftell logic.
23456         * libio/wfileops.c (do_ftell_wide): Likewise.
23457         (_IO_wfile_seekoff): Split out ftell logic.
23458         * libio/tst-ftell-active-handler.c: New test case.
23459         * libio/Makefile (tests): Add it.
23461 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23463         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23464         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23466 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23468         [BZ #16639]
23469         * nscd/connections.c (nscd_init): Call do_exit.
23470         (start_threads): Call do_exit and notify_parent.
23471         (begin_drop_privileges): Call do_exit.
23472         (finish_drop_privileges): Likewise.
23473         * nscd/selinux.c (preserve_capabilities): Likewise.
23474         (install_real_capabilities): Likewise.
23475         (nscd_selinux_enabled): Likewise.
23476         (avc_create_thread): Likewise.
23477         (avc_alloc_lock): Likewise.
23478         (nscd_avc_init): Likewise.
23479         * nscd/nscd.c (parent_fd): New static variable.
23480         (main): Create a pipe between parent and child processes.
23481         Skip closing parent_fd.
23482         (monitor_child): New function.
23483         (do_exit): Likewise.
23484         (notify_parent): Likewise.
23485         * nscd/nscd.h (notify_parent): Likewise.
23486         (do_exit): Likewise.
23488 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23490         * malloc/malloc.c (__libc_calloc): Revert last change.
23492 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23496 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23498         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23500         implementation.
23501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23502         (__libc_ifunc_impl_list): Likewise.
23503         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23504         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23505         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23506         * string/strrchr.c: Define STRRCHR.
23508 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23510         * benchtest/bench-strtok.c (simple_strtok): Delete.
23511         (strtok_string): Use as benchmark.
23512         * string/strtok (STRTOK): New macro.
23514 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23516         * manual/threads.texi: Add header and standard comments to all
23517         functions.
23519         * elf/dl-lookup.c (check_match): New function.
23520         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23521         (do_lookup_x): Remove nested function check_match. Use non-nested
23522         function check_match.
23524 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23526         * csu/Makefile (generated, before-compile): Use += rather than =.
23527         * catgets/Makefile (generated, generated-dirs): Likewise.
23528         * debug/Makefile (generated): Likewise.
23529         * dlfcn/Makefile (generated): Likewise.
23530         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23531         * iconvdata/Makefile (before-compile, generated): Likewise.
23532         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23533         * libio/Makefile (generated): Likewise.
23534         * malloc/Makefile (generated): Likewise.
23535         * manual/Makefile (generated, generated-dirs): Likewise.
23536         * misc/Makefile (generated): Likewise.
23537         * posix/Makefile (generated): Likewise.
23538         * resolv/Makefile (generated): Likewise.
23539         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23540         * timezone/Makefile (generated, generated-dirs): Likewise.
23542         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23544 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23546         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23547         power8 implementation.
23548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23549         file: POWER8 llround ifunc implementation.
23550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23551         (__lllround): Add POWER8 implementation.
23552         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23553         POWER8 llround implementation.
23555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23556         power8 implementation.
23557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23558         file: POWER8 llrint ifunc implementation.
23559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23560         Add POWER8 implementation.
23561         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23562         POWER8 llrint implementation.
23564         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23565         power8 implementation.
23566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23567         file: POWER8 finite ifunc implementation.
23568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23569         Add POWER8 implementation.
23570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23571         Likewise.
23572         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23573         POWER8 finite implementation.
23574         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23576         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23577         power8 implementation.
23578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23579         file: POWER8 isinf ifunc implementation.
23580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23581         POWER8 implementation.
23582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23583         Likewise.
23584         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23585         isinf implementation.
23586         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23588         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23589         (INIT_ARCH): Add hwcap2 initialization.
23590         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23591         power8 implementation.
23592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23593         file: POWER8 isnan ifunc implementation.
23594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23595         POWER8 implementation.
23596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23597         Likewise.
23598         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23599         isnan implementation.
23600         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23602 2014-02-27  Joey Ye  <joey.ye@arm.com>
23604         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23605         (_FP_NANFRAC_Q): Set to zero.
23607 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23609         [BZ #16623]
23610         * math/auto-libm-test-in: New test inputs.
23611         * math/auto-libm-test-out: Regenerate.
23612         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23613         and DA.
23614         (__cos): Likewise.
23615         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23617 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23619         * scripts/evaluate-test.sh: Take new argument indicating whether
23620         failure is expected.
23621         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23622         indicating whether failure is expected.
23623         * conform/Makefile (test-xfail-run-conformtest): New variable.
23624         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23625         level.
23626         * posix/Makefile (test-xfail-annexc): New variable.
23627         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23629 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23631         * argp/Makefile: Include Makeconfig immediately after defining
23632         subdir.
23633         * assert/Makefile: Likewise.
23634         * benchtests/Makefile: Likewise.
23635         * catgets/Makefile: Likewise.
23636         * conform/Makefile: Likewise.
23637         * crypt/Makefile: Likewise.
23638         * csu/Makefile: Likewise.
23639         (all): Remove target.
23640         * ctype/Makefile: Include Makeconfig immediately after defining
23641         subdir.
23642         * debug/Makefile: Likewise.
23643         * dirent/Makefile: Likewise.
23644         * dlfcn/Makefile: Likewise.
23645         * gmon/Makefile: Likewise.
23646         * gnulib/Makefile: Likewise.
23647         * grp/Makefile: Likewise.
23648         * gshadow/Makefile: Likewise.
23649         * hesiod/Makefile: Likewise.
23650         * hurd/Makefile: Likewise.
23651         (all): Remove target.
23652         * iconvdata/Makefile: Include Makeconfig immediately after
23653         defining subdir.
23654         * inet/Makefile: Likewise.
23655         * intl/Makefile: Likewise.
23656         * io/Makefile: Likewise.
23657         * libio/Makefile: Likewise.
23658         (all): Remove target.
23659         * locale/Makefile: Include Makeconfig immediately after defining
23660         subdir.
23661         * login/Makefile: Likewise.
23662         * mach/Makefile: Likewise.
23663         (all): Remove target.
23664         * malloc/Makefile: Include Makeconfig immediately after defining
23665         subdir.
23666         (all): Remove target.
23667         * manual/Makefile: Include Makeconfig immediately after defining
23668         subdir.
23669         * math/Makefile: Likewise.
23670         * misc/Makefile: Likewise.
23671         * nis/Makefile: Likewise.
23672         * nss/Makefile: Likewise.
23673         * po/Makefile: Likewise.
23674         (all): Remove target.
23675         * posix/Makefile: Include Makeconfig immediately after defining
23676         subdir.
23677         * pwd/Makefile: Likewise.
23678         * resolv/Makefile: Likewise.
23679         * resource/Makefile: Likewise.
23680         * rt/Makefile: Likewise.
23681         * setjmp/Makefile: Likewise.
23682         * shadow/Makefile: Likewise.
23683         * signal/Makefile: Likewise.
23684         * socket/Makefile: Likewise.
23685         * soft-fp/Makefile: Likewise.
23686         * stdio-common/Makefile: Likewise.
23687         * stdlib/Makefile: Likewise.
23688         * streams/Makefile: Likewise.
23689         * string/Makefile: Likewise.
23690         * sunrpc/Makefile: Likewise.
23691         (all): Remove target.
23692         * sysvipc/Makefile: Include Makeconfig immediately after defining
23693         subdir.
23694         * termios/Makefile: Likewise.
23695         * time/Makefile: Likewise.
23696         * timezone/Makefile: Likewise.
23697         (all): Remove target.
23698         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23699         subdir.
23700         * wctype/Makefile: Likewise.
23702 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23704         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23705         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23706         (libc_feholdexcept_setround_mips): Ditto.
23707         (libc_feholdsetround): New.
23708         (libc_feholdsetroundf): New.
23709         (libc_feholdsetroundl): New.
23710         (libc_feupdateenv_test_mips): New.
23711         (libc_feupdateenv_test): New.
23712         (libc_feupdateenv_testf): New.
23713         (libc_feupdateenv_testl): New.
23714         (libc_feresetround): New.
23715         (libc_feresetroundf): New.
23716         (libc_feresetroundl): New.
23717         (libc_fetestexcept_mips): New.
23718         (libc_fetestexcept): New.
23719         (libc_fetestexceptf): New.
23720         (libc_fetestexceptl): New.
23721         (HAVE_RM_CTX): New.
23722         (libc_feholdexcept_setround_mips_ctx): New.
23723         (libc_feholdexcept_setround_ctx): New.
23724         (libc_feholdexcept_setroundf_ctx): New.
23725         (libc_feholdexcept_setroundl_ctx): New.
23726         (libc_fesetenv_mips_ctx): New.
23727         (libc_fesetenv_ctx): New.
23728         (libc_fesetenv_ctxf): New.
23729         (libc_fesetenv_ctxl): New.
23730         (libc_feupdateenv_mips_ctx): New.
23731         (libc_feupdateenv_ctx): New.
23732         (libc_feupdateenvf_ctx): New.
23733         (libc_feupdateenvl_ctx): New.
23734         (libc_feholdsetround_mips_ctx): New.
23735         (libc_feholdsetround_ctx): New.
23736         (libc_feholdsetroundf_ctx): New.
23737         (libc_feholdsetroundl_ctx): New.
23738         (libc_feresetround_mips_ctx): New.
23739         (libc_feresetround_ctx): New.
23740         (libc_feresetroundf_ctx): New.
23741         (libc_feresetroundl_ctx): New.
23743 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23745         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23747         * manual/ipc.texi: New file.
23748         * manual/Makefile (chapters): Add ipc.
23749         * manual/job.texi: Add "Inter-Process Communication" to next.
23750         * manual/process.texi: Add "Inter-Process Communication" to prev.
23752 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23756 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23758         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23760         * manual/arith.texi: Fix spaces after sentences.
23761         * manual/charset.texi: Likewise.
23762         * manual/errno.texi: Likewise.
23763         * manual/install.texi: Likewise.
23764         * manual/llio.texi: Likewise.
23765         * manual/locale.texi: Likewise.
23766         * manual/maint.texi: Likewise.
23767         * manual/math.texi: Likewise.
23768         * manual/memory.texi: Likewise.
23769         * manual/message.texi: Likewise.
23770         * manual/probes.texi: Likewise.
23771         * manual/resource.texi: Likewise.
23772         * manual/signal.texi: Likewise.
23773         * manual/socket.texi: Likewise.
23774         * manual/stdio.texi: Likewise.
23775         * manual/string.texi: Likewise.
23776         * manual/time.texi: Likewise.
23777         * manual/users.texi: Likewise.
23779 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23781         [BZ #16632]
23782         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23783         _DEFAULT_SOURCE is defined.
23785 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23786             Carlos O'Donell  <carlos@redhat.com>
23788         [BZ #16613]
23789         * elf/dl-tls.c (_dl_count_modids): New function.
23790         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23791         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23792         audit library and increment generation counter.
23793         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23794         * elf/tst-audit9.c: New file.
23795         * elf/tst-auditmod9a.c: New file.
23796         * elf/tst-auditmod9b.c: New file.
23797         * elf/Makefile: Add rules to build and run tst-audit9.
23799 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23801         [BZ #15347]
23802         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23804 2014-02-25  Will Newton  <will.newton@linaro.org>
23806         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23807         (__longjmp): Restore sp and lr before restoring callee
23808         saved registers.  Add longjmp and longjmp_target
23809         SystemTap probe point.
23810         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23811         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23812         Define to zero to match jmpbuf layout.
23813         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23814         (__sigsetjmp): Save sp and lr before saving callee
23815         saved registers.  Add setjmp SystemTap probe point.
23817 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23819         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23821 2014-02-24  Andreas Schwab  <schwab@suse.de>
23823         [BZ #15804]
23824         * elf/pldd.c (wait_for_ptrace_stop): New function.
23825         (main): Call it after attaching.
23827 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23829         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23830         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23831         Versions files is now verboten.
23832         * hurd/Versions (libc: GLIBC_2.0):
23833         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23834         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23835         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23836         * mach/Versions: Likewise.
23838         * csu/Versions: Remove unused %include.
23839         * resolv/Versions: Likewise.
23841 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23843         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23844         ($(objpfx)check-local-headers.out): Likewise.
23845         ($(objpfx)begin-end-check.out): Likewise.
23846         * Makerules (check-abi-%.out): Likewise.
23847         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23848         ($(objpfx)test2.cat): Likewise.
23849         ($(objpfx)de/libc.cat): Likewise.
23850         ($(objpfx)test-gencat.out): Likewise.
23851         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23852         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23853         ($(objpfx)noload-mem): Likewise.
23854         ($(objpfx)tst-pathopt.out): Likewise.
23855         ($(objpfx)tst-rtld-load-self.out): Likewise.
23856         ($(objpfx)tst-array1-cmp.out): Likewise.
23857         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23858         ($(objpfx)tst-array2-cmp.out): Likewise.
23859         ($(objpfx)tst-array3-cmp.out): Likewise.
23860         ($(objpfx)tst-array4-cmp.out): Likewise.
23861         ($(objpfx)tst-array5-cmp.out): Likewise.
23862         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23863         ($(objpfx)check-textrel.out): Likewise.
23864         ($(objpfx)check-execstack.out): Likewise.
23865         ($(objpfx)check-localplt.out): Likewise.
23866         ($(objpfx)order2-cmp.out): Likewise.
23867         ($(objpfx)tst-leaks1-mem): Likewise.
23868         ($(objpfx)tst-leaks1-static-mem): Likewise.
23869         ($(objpfx)tst-initorder-cmp.out): Likewise.
23870         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23871         ($(objpfx)tst-unused-dep.out): Likewise.
23872         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23873         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23874         * iconv/Makefile (test-iconvconfig): Likewise.
23875         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23876         ($(objpfx)iconv-test.out): Likewise.
23877         ($(objpfx)tst-tables.out): Likewise.
23878         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23879         ($(objpfx)tst-gettext.out): Likewise.
23880         ($(objpfx)tst-translit.out): Likewise.
23881         ($(objpfx)tst-gettext2.out): Likewise.
23882         ($(objpfx)tst-gettext4.out): Likewise.
23883         ($(objpfx)tst-gettext6.out): Likewise.
23884         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23885         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23886         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23887         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23888         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23889         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23890         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23891         ($(objpfx)wordexp-tst.out): Likewise.
23892         ($(objpfx)annexc.out): Likewise.
23893         ($(objpfx)tst-fnmatch-mem): Likewise.
23894         ($(objpfx)bug-regex2-mem): Likewise.
23895         ($(objpfx)bug-regex14-mem): Likewise.
23896         ($(objpfx)bug-regex21-mem): Likewise.
23897         ($(objpfx)bug-regex31-mem): Likewise.
23898         ($(objpfx)tst-vfork3-mem): Likewise.
23899         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23900         ($(objpfx)tst-pcre-mem): Likewise.
23901         ($(objpfx)tst-boost-mem): Likewise.
23902         ($(objpfx)tst-getconf.out): Likewise.
23903         ($(objpfx)bug-ga2-mem): Likewise.
23904         ($(objpfx)bug-glob2-mem): Likewise.
23905         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23906         ($(objpfx)mtrace-tst-leaks2): Likewise.
23907         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23908         ($(objpfx)tst-printf.out): Likewise.
23909         ($(objpfx)tst-setvbuf1.out): Likewise.
23910         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23911         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23912         ($(objpfx)tst-fmtmsg.out): Likewise.
23913         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23914         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23916         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23917         * bits/sigaction.h [__USE_MISC]: Likewise.
23918         * bits/waitstatus.h: Update #endif comments.
23919         * ctype/ctype.h: Likewise.
23920         * dirent/dirent.h: Likewise.
23921         [__USE_MISC]: Remove redundant conditionals.
23922         * grp/grp.h: Update #endif comments.
23923         [__USE_GNU]: Remove redundant conditionals.
23924         [__USE_MISC]: Likewise.
23925         * inet/netinet/in.h [__USE_GNU]: Likewise.
23926         * io/sys/stat.h [__USE_MISC]: Likewise.
23927         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23928         * libio/bits/stdio.h: Update #endif comments.
23929         [__USE_MISC]: Remove redundant conditionals.
23930         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23931         * libio/stdio.h: Update #endif comments.
23932         [__USE_MISC]: Remove redundant conditionals.
23933         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23934         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23935         * math/math.h: Update #else and #endif comments.
23936         [__USE_MISC]: Remove redundant conditionals.
23937         * misc/sys/uio.h: Update #endif comments.
23938         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23939         * posix/glob.h [__USE_MISC]: Likewise.
23940         * posix/sys/types.h: Update #endif comments.
23941         [__USE_MISC]: Remove redundant conditionals.
23942         * posix/sys/wait.h: Update #endif comments.
23943         [__USE_MISC]: Remove redundant conditionals.
23944         * posix/unistd.h: Update #endif comments.
23945         [__USE_MISC]: Remove redundant conditionals.
23946         * pwd/pwd.h [__USE_GNU]: Likewise.
23947         [__USE_MISC]: Likewise.
23948         * resolv/netdb.h [__USE_GNU]: Likewise.
23949         * signal/signal.h: Update #endif comments.
23950         [__USE_MISC]: Remove redundant conditionals.
23951         * stdlib/stdlib.h: Update #else and #endif comments.
23952         [__USE_MISC]: Remove redundant conditionals.
23953         [__USE_GNU]: Likewise.
23954         * string/bits/string2.h [__USE_MISC]: Likewise.
23955         * string/string.h: Update #endif comments.
23956         [__USE_MISC]: Remove redundant conditionals.
23957         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23958         Likewise.
23959         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23960         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23961         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23962         Likewise.
23963         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23964         Likewise.
23965         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23966         comments.
23967         [__USE_MISC]: Remove redundant conditionals.
23968         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23969         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23970         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23971         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23972         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23973         Likewise.
23974         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23975         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23976         Likewise.
23977         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23978         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23979         Likewise.
23980         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23981         Likewise.
23982         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23983         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23984         Likewise.
23985         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23986         Likewise.
23987         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23988         * sysdeps/x86/bits/string.h: Update #endif comments.
23989         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23990         conditionals.
23991         * time/sys/time.h: Update #endif comments.
23992         * time/time.h: Likewise.
23993         [__USE_MISC]: Remove redundant conditionals.
23995 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23997         [BZ #16600]
23998         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24000 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24002         * Versions.def (librt): Add GLIBC_2.17.
24004 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24006         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24007         synonym for _SYS_AUXV_H to allow direct inclusion.
24008         * sysdeps/sparc/bits/hwcap.h: Likewise.
24009         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24010         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24011         * sysdeps/sparc/sysdep.h: Likewise.
24013 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24015         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24017 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24019         * benchtests/bench-strrchr.c: Print length instead of position.
24021 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24023         [BZ #16611]
24024         * sysdeps/unix/sysv/linux/kernel-features.h
24025         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24026         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24027         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24028         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24029         Likewise.
24030         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24031         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24032         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24033         (__ASSUME_SENDMMSG): Define instead of using previous
24034         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24035         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24036         (__ASSUME_SENDMMSG_SYSCALL): Define.
24037         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24038         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24039         Likewise.
24040         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24041         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24042         Likewise.
24043         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24044         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24045         Likewise.
24046         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24047         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24048         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24049         [__ASSUME_SENDMMSG]: Change conditionals to
24050         [__ASSUME_SENDMMSG_SOCKETCALL].
24051         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24052         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24053         Define.
24054         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24055         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24056         Likewise.
24057         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24058         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24059         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24060         [!__ASSUME_SENDMMSG]: Change conditional to
24061         [!__ASSUME_SENDMMSG_SOCKETCALL].
24062         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24063         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24064         Define.
24066         [BZ #16610]
24067         * sysdeps/unix/sysv/linux/kernel-features.h
24068         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24069         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24070         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24071         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24072         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24073         [__i386__ || __sparc__]
24074         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24075         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24076         (__ASSUME_RECVMMSG): Define instead of using previous
24077         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24078         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24079         (__ASSUME_RECVMMSG_SYSCALL): Define.
24080         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24081         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24082         Likewise.
24083         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24084         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24085         Likewise.
24086         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24087         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24088         Likewise.
24089         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24090         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24091         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24092         [__ASSUME_RECVMMSG]: Change condition to
24093         [__ASSUME_RECVMMSG_SOCKETCALL].
24094         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24095         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24096         Define.
24097         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24098         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24099         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24100         Likewise.
24101         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24102         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24103         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24104         [!__ASSUME_RECVMMSG]: Change condition to
24105         [!__ASSUME_RECVMMSG_SOCKETCALL].
24106         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24107         (__ASSUME_RECVMMSG_SYSCALL): Define.
24109         [BZ #16609]
24110         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24111         __powerpc__ || __s390__ || __sh__ || __sparc__]
24112         (__ASSUME_SOCKETCALL): Define.
24113         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24114         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24115         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24116         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24117         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24118         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24119         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24120         (__ASSUME_ACCEPT4): Define instead of using previous
24121         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24122         __powerpc__ || __sparc__ || __s390__)] condition.
24123         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24124         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24125         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24126         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24127         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24128         [!__ASSUME_ACCEPT4]: Change condition to
24129         [!__ASSUME_ACCEPT4_SOCKETCALL].
24130         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24131         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24132         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24133         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24134         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24135         __ASSUME_ACCEPT4_SYSCALL.
24136         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24137         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24138         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24139         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24140         __ASSUME_ACCEPT4_SYSCALL.
24141         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24142         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24143         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24144         [__ASSUME_ACCEPT4]: Change condition to
24145         [__ASSUME_ACCEPT4_SOCKETCALL].
24146         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24147         (__ASSUME_SOCKETCALL): Define.
24148         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24149         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24150         (__ASSUME_SOCKETCALL): Define.
24151         (__ASSUME_ACCEPT4): Remove.
24152         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24153         Define.
24154         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24155         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24156         Likewise.
24157         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24158         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24160         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24161         macro.
24162         (HWCAP_ARM_LPAE): Likewise.
24163         (HWCAP_ARM_EVTSTRM): Likewise.
24164         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24165         Add vpfd32, lpae and evtstrm.
24166         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24167         Increase to 22.
24169 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24171         * math/auto-libm-test-in: Add tests of clog10.
24172         * math/auto-libm-test-out: Regenerated.
24173         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24174         * sysdeps/i386/fpu/libm-test-ulps: Update.
24175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24177 2014-02-18  Andreas Schwab  <schwab@suse.de>
24179         [BZ #16574]
24180         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24181         Store non-zero if the second buffer was newly allocated.
24182         (send_dg): Likewise.
24183         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24184         to send_vc and send_dg.
24185         (res_nsend): Pass NULL for ansp2_malloced.
24186         * resolv/res_query.c (__libc_res_nquery): Add parameter
24187         answerp2_malloced and pass it down to __libc_res_nsend.
24188         (res_nquery): Pass additional NULL to __libc_res_nquery.
24189         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24190         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24191         second answer buffer if answerp2_malloced was set.
24192         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24193         (__libc_res_nquerydomain): Add parameter
24194         answerp2_malloced and pass it down to __libc_res_nquery.
24195         (res_nquerydomain): Pass additional NULL to
24196         __libc_res_nquerydomain.
24197         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24198         additional NULL to __libc_res_nsend and __libc_res_nquery.
24199         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24200         additional NULL to __libc_res_nsearch.
24201         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24202         parameter of __libc_res_nsearch to check for separately allocated
24203         second buffer.
24204         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24205         __libc_res_nquery.
24206         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24207         additional NULL to __libc_res_nquery.
24208         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24209         __libc_res_nsearch.
24210         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24211         * include/resolv.h: Update prototypes of __libc_res_nquery,
24212         __libc_res_nsearch, __libc_res_nsend.
24214 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24216         * math/auto-libm-test-in: Add tests of fma.
24217         * math/auto-libm-test-out: Regenerated.
24218         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24219         (fma_towardzero_test_data): Likewise.
24220         (fma_downward_test_data): Likewise.
24221         (fma_upward_test_data): Likewise.
24222         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24223         mpc_mode.
24224         (rounding_modes): Add values for new field.
24225         (func_calc_method): Add value mpfr_fff_f.
24226         (func_calc_desc): Add mpfr_fff_f union field.
24227         (test_function): Add field exact_args.
24228         (FUNC): Add macro argument EXACT_ARGS.
24229         (FUNC_mpfr_f_f): Update call to FUNC.
24230         (FUNC_mpfr_f_f): Likewise.
24231         (FUNC_mpfr_ff_f): Likewise.
24232         (FUNC_mpfr_if_f): Likewise.
24233         (FUNC_mpc_c_f): Likewise.
24234         (FUNC_mpc_c_c): Likewise.
24235         (test_functions): Add fma.  Update calls to FUNC.
24236         (handle_input_arg): Add argument exact_args.
24237         (add_test): Update call to handle_input_arg.
24238         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24239         (output_for_one_input_case): Update call to calc_generic_results.
24240         Recalculate exact zero results in each rounding mode.
24242         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24243         non-negative before setting low bit.
24244         * math/auto-libm-test-in: Mark one asin test possibly having
24245         spurious underflow.
24246         * math/auto-libm-test-out: Regenerated.
24247         * sysdeps/i386/fpu/libm-test-ulps: Update.
24248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24250 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24252         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24253         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24254         ports/sysdeps/unix/sysv/linux/microblaze.
24255         * README: Add missing listing for microblaze*-*-linux-gnu.
24257 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24259         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24260         duplicate code
24262 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24264         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24265         * sysdeps/unix/sysv/linux/ia64: Move directory from
24266         ports/sysdeps/unix/sysv/linux/ia64.
24267         * README: Update listing for ia64-*-linux-gnu.
24269 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24270             Joseph Myers  <joseph@codesourcery.com>
24272         * Makeconfig (test-name): New variable.
24273         (evaluate-test): Likewise.
24274         * Makerules (do-test-clean): Remove .test-result files.
24275         (common-mostlyclean): Likewise.
24276         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24277         * scripts/evaluate-test.sh: New file.
24279 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24281         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24282         separate $(objpfx)tst-fopenloc-cmp.out and
24283         $(objpfx)tst-fopenloc-mem.out targets.
24284         (tests): Update dependencies.
24285         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24286         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24287         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24288         (tst-rxspencer-no-utf8-ARGS): New variable.
24289         (tst-rxspencer-no-utf8-ENV): Likewise.
24290         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24291         instead of $(objpfx)tst-rxspencer-mem.
24292         ($(objpfx)tst-rxspencer-mem): Change target to
24293         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24294         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24295         * posix/tst-rxspencer-no-utf8.c: New file.
24297         * elf/Makefile ($(objpfx)order.out): Remove rule.
24298         [$(run-built-tests) = yes] (tests): Depend on
24299         $(objpfx)order-cmp.out.
24300         ($(objpfx)order-cmp.out): New rule.
24301         [$(run-built-tests) = yes] (tests): Depend on
24302         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24303         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24304         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24305         $(objpfx)tst-array5-static-cmp.out.
24306         ($(objpfx)tst-array1.out): Remove rule.
24307         ($(objpfx)tst-array1-cmp.out): New rule.
24308         ($(objpfx)tst-array1-static.out): Remove rule.
24309         ($(objpfx)tst-array1-static-cmp.out): New rule.
24310         ($(objpfx)tst-array2.out): Remove rule.
24311         ($(objpfx)tst-array2-cmp.out): New rule.
24312         ($(objpfx)tst-array3.out): Remove rule.
24313         ($(objpfx)tst-array3-cmp.out): New rule.
24314         ($(objpfx)tst-array4.out): Remove rule.
24315         ($(objpfx)tst-array4-cmp.out): New rule.
24316         ($(objpfx)tst-array5.out): Remove rule.
24317         ($(objpfx)tst-array5-cmp.out): New rule.
24318         ($(objpfx)tst-array5-static.out): Remove rule.
24319         ($(objpfx)tst-array5-static-cmp.out): New rule.
24320         [$(run-built-tests) = yes] (tests): Depend on
24321         $(objpfx)order2-cmp.out.
24322         ($(objpfx)order2.out): Remove rule.
24323         ($(objpfx)order2-cmp.out): New rule.
24324         ($(objpfx)tst-initorder.out): Remove rule.
24325         [$(run-built-tests) = yes] (tests): Depend on
24326         $(objpfx)tst-initorder-cmp.out.
24327         ($(objpfx)tst-initorder-cmp.out): New rule.
24328         ($(objpfx)tst-initorder2.out): Remove rule.
24329         [$(run-built-tests) = yes] (tests): Depend on
24330         $(objpfx)tst-initorder2-cmp.out.
24331         ($(objpfx)tst-initorder2-cmp.out): New rule.
24332         [$(run-built-tests) = yes] (tests): Depend on
24333         $(objpfx)tst-unused-dep-cmp.out.
24334         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24335         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24336         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24337         on $(objpfx)tst-setvbuf1-cmp.out.
24338         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24339         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24340         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24341         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24342         ($(objpfx)tst-svc.out): Remove rule.
24343         ($(objpfx)tst-svc-cmp.out): New rule.
24345 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24347         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24348         * ctype/ctype.h [__USE_MISC]: Likewise.
24349         * dirent/dirent.h [__USE_MISC]: Likewise.
24350         * grp/grp.h [__USE_MISC]: Likewise.
24351         * io/fcntl.h [__USE_MISC]: Likewise.
24352         * io/sys/stat.h [__USE_MISC]: Likewise.
24353         * libio/stdio.h [__USE_MISC]: Likewise.
24354         * posix/unistd.h [__USE_MISC]: Likewise.
24355         * pwd/pwd.h [__USE_MISC]: Likewise.
24356         * stdlib.h [__USE_MISC]: Likewise.
24357         * string/bits/string2.h [__USE_MISC]: Likewise.
24358         * string/string.h [__USE_MISC]: Likewise.
24359         * time/time.h [__USE_MISC]: Likewise.
24361 2014-02-13  Andreas Schwab  <schwab@suse.de>
24363         [BZ #16574]
24364         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24365         second answer buffer if it was separately allocated.
24367 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24369         * sysdeps/mips/math-tests.h: Include <features.h>.
24370         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24371         (ROUNDING_TESTS_long_double): Do not define.
24372         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24373         (EXCEPTION_TESTS_long_double): Likewise.
24374         * sysdeps/mips/mips64/libm-test-ulps: Update.
24376         * include/features.h (__USE_BSD): Remove macro definitions.
24377         (__USE_SVID): Likewise.
24378         (_BSD_SOURCE): Likewise.
24379         (_SVID_SOURCE): Likewise.
24380         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24381         from definition of _DEFAULT_SOURCE.
24382         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24383         [_DEFAULT_SOURCE].
24384         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24385         * bits/mman.h [__USE_BSD]: Likewise.
24386         * bits/termios.h [__USE_BSD]: Likewise.
24387         * bits/waitstatus.h [__USE_BSD]: Likewise.
24388         * ctype/ctype.h [__USE_SVID]: Likewise.
24389         * dirent/dirent.h [__USE_BSD]: Likewise.
24390         * grp/grp.h [__USE_SVID]: Likewise.
24391         [__USE_BSD]: Likewise.
24392         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24393         * io/fcntl.h [__USE_BSD]: Likewise.
24394         * io/ftw.h [__USE_BSD]: Likewise.
24395         * io/sys/stat.h [__USE_BSD]: Likewise.
24396         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24397         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24398         * libio/stdio.h [__USE_SVID]: Likewise.
24399         [__USE_BSD]: Likewise.
24400         * math/math.h [__USE_SVID]: Likewise.
24401         [__USE_BSD]: Likewise.
24402         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24403         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24404         * misc/search.h [__USE_SVID]: Likewise.
24405         * misc/sys/mman.h [__USE_BSD]: Likewise.
24406         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24407         * misc/sys/uio.h [__USE_BSD]: Likewise.
24408         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24409         * posix/glob.h [__USE_BSD]: Likewise.
24410         * posix/regex.h [__USE_BSD]: Likewise.
24411         * posix/sys/types.h [__USE_BSD]: Likewise.
24412         [__USE_SVID]: Likewise.
24413         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24414         * posix/sys/wait.h [__USE_BSD]: Likewise.
24415         [__USE_SVID]: Likewise.
24416         * posix/unistd.h [__USE_BSD]: Likewise.
24417         [__USE_SVID]: Likewise.
24418         * pwd/pwd.h [__USE_SVID]: Likewise.
24419         * resolv/netdb.h [__USE_BSD]: Likewise.
24420         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24421         * signal/signal.h [__USE_BSD]: Likewise.
24422         [__USE_SVID]: Likewise.
24423         * socket/sys/socket.h [__USE_BSD]: Likewise.
24424         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24425         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24426         [__USE_SVID]: Likewise.
24427         * string/bits/string2.h [__USE_BSD]: Likewise.
24428         [__USE_SVID]: Likewise.
24429         * string/bits/string3.h [__USE_BSD]: Likewise.
24430         * string/endian.h [__USE_BSD]: Likewise.
24431         * string/string.h [__USE_SVID]: Likewise.
24432         [__USE_BSD]: Likewise.
24433         * string/strings.h [__USE_BSD]: Likewise.
24434         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24435         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24436         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24437         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24438         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24439         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24440         Likewise.
24441         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24442         Likewise.
24443         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24444         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24445         Likewise.
24446         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24447         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24448         Likewise.
24449         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24450         Likewise.
24451         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24452         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24453         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24454         Likewise.
24455         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24456         Likewise.
24457         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24458         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24459         * termios/termios.h [__USE_BSD]: Likewise.
24460         * time/sys/time.h [__USE_BSD]: Likewise.
24461         * time/time.h [__USE_BSD]: Likewise.
24462         [__USE_SVID]: Likewise.
24464         * Makefile (subdir_targets): Remove subdir_lint.out.
24466         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24467         (do-tst-printf): Likewise.
24468         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24469         $(objpfx)tst-printf.out.
24471         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24473         * Makerules (check-abi-%): Change target to
24474         $(objpfx)check-abi-%.out.
24475         (check-abi target): Update dependencies.
24476         (check-abi-pattern variable): Redirect output of diff to $@.
24477         (check-abi variable): Likewise.
24478         * elf/Makefile (check-abi): Update dependencies.
24480         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24481         unused.
24482         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24483         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24484         subnormal range.
24485         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24486         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24487         value has largest subnormal exponent.
24488         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24489         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24490         * sysdeps/aarch64/soft-fp/sfp-machine.h
24491         (_FP_TININESS_AFTER_ROUNDING): New macro.
24492         * sysdeps/alpha/soft-fp/sfp-machine.h
24493         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24494         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24495         Likewise.
24496         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24497         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24498         * sysdeps/mips/soft-fp/sfp-machine.h
24499         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24500         * sysdeps/powerpc/soft-fp/sfp-machine.h
24501         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24502         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24503         Likewise.
24504         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24505         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24506         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24507         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24508         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24509         Likewise.
24511 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24513         [BZ #16545]
24514         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24515         model 1.
24517 2014-02-12  Richard Henderson  <rth@redhat.com>
24519         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24520         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24521         * sysdeps/unix/sysv/linux/alpha: Move directory from
24522         ports/sysdeps/unix/sysv/linux/alpha.
24523         * README: Update listing for alpha-*-linux-gnu.
24525 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24527         * include/features.h: Update comment documenting feature test
24528         macros.
24529         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24530         _DEFAULT_SOURCE.
24531         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24532         (_SVID_SOURCE): Likewise.
24533         (_DEFAULT_SOURCE): Update description of default features.
24534         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24535         with _GNU_SOURCE.
24536         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24537         (S_ISVTX): Likewise.
24538         * manual/math.texi (Mathematical Constants): Likewise.
24539         * manual/signal.texi (Interrupted Primitives): Likewise.
24540         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24541         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24542         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24543         Don't refer to _SVID_SOURCE in warning text.
24545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24547         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24548         already defined.
24549         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24550         * sysdeps/mips/dl-lookup.c: Remove.
24551         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24553 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24555         [BZ #16447]
24556         * math/auto-libm-test-in: Add testcase for expl.
24557         * math/auto-libm-test-out: Regenerate.
24558         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24559         calculation of unsafe.
24560         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24562 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24564         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24565         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24566         ports/sysdeps/unix/sysv/linux/aarch64.
24567         * README: Update listing for aarch64*-*-linux-gnu.
24569 2014-02-11  Will Newton  <will.newton@linaro.org>
24571         * manual/probes.texi (Mathematical Function Probes): Use
24572         "triggered" instead of "hit".
24574         * manual/probes.texi (Internal Probes): Add documentation
24575         of setjmp, longjmp and longjmp_target probes.
24577         * include/stap-probe.h: Add comment about probe argument
24578         format.
24580         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24581         definition.  (tr_where, tr_freehook, tr_mallochook,
24582         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24584 2014-02-11  David S. Miller  <davem@davemloft.net>
24586         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24587         processing int_tests.
24589 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24591         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24592         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24593         * sysdeps/unix/sysv/linux/mips: Move directory from
24594         ports/sysdeps/unix/sysv/linux/mips.
24595         * README: Update listing for mips-*-linux-gnu and
24596         mips64-*-linux-gnu.
24598 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24600         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24601         * sysdeps/unix/sysv/linux/m68k: Move directory from
24602         ports/sysdeps/unix/sysv/linux/m68k.
24603         * README: Update listing for m68k-*-linux-gnu.
24605 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24607         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24608         * sysdeps/unix/sysv/linux/generic: Move directory from
24609         ports/sysdeps/unix/sysv/linux/generic.
24610         * sysdeps/unix/sysv/linux/tile: Move directory from
24611         ports/sysdeps/unix/sysv/linux/tile.
24612         * README: Update listing for tile*-*-linux-gnu.
24614 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24616         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24617         __builtin_expect.
24618         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24619         * catgets/open_catalog.c (__open_catalog): Likewise.
24620         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24621         * debug/confstr_chk.c: Likewise.
24622         * debug/fread_chk.c (__fread_chk): Likewise.
24623         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24624         * debug/getgroups_chk.c: Likewise.
24625         * debug/mbsnrtowcs_chk.c: Likewise.
24626         * debug/mbsrtowcs_chk.c: Likewise.
24627         * debug/mbstowcs_chk.c: Likewise.
24628         * debug/memcpy_chk.c: Likewise.
24629         * debug/memmove_chk.c: Likewise.
24630         * debug/mempcpy_chk.c: Likewise.
24631         * debug/memset_chk.c: Likewise.
24632         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24633         * debug/strcat_chk.c (__strcat_chk): Likewise.
24634         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24635         * debug/strncat_chk.c (__strncat_chk): Likewise.
24636         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24637         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24638         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24639         * debug/wcpncpy_chk.c: Likewise.
24640         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24641         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24642         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24643         * debug/wcsncpy_chk.c: Likewise.
24644         * debug/wcsnrtombs_chk.c: Likewise.
24645         * debug/wcsrtombs_chk.c: Likewise.
24646         * debug/wcstombs_chk.c: Likewise.
24647         * debug/wmemcpy_chk.c: Likewise.
24648         * debug/wmemmove_chk.c: Likewise.
24649         * debug/wmempcpy_chk.c: Likewise.
24650         * debug/wmemset_chk.c: Likewise.
24651         * dirent/scandirat.c (SCANDIRAT): Likewise.
24652         * dlfcn/dladdr1.c (dladdr1): Likewise.
24653         * dlfcn/dladdr.c (dladdr): Likewise.
24654         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24655         * dlfcn/dlerror.c (__dlerror): Likewise.
24656         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24657         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24658         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24659         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24660         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24661         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24662         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24663         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24664         Likewise.
24665         * elf/dl-conflict.c: Likewise.
24666         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24667         * elf/dl-dst.h: Likewise.
24668         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24669         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24670         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24671         * elf/dl-init.c (call_init, _dl_init): Likewise.
24672         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24673         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24674         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24675         Likewise.
24676         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24677         Likewise.
24678         * elf/dl-minimal.c (__libc_memalign): Likewise.
24679         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24680         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24681         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24682         * elf/dl-sym.c (do_sym): Likewise.
24683         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24684         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24685         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24686         * elf/dl-writev.h (_dl_writev): Likewise.
24687         * elf/ldconfig.c (search_dir): Likewise.
24688         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24689         (dl_main): Likewise.
24690         * elf/setup-vdso.h (setup_vdso): Likewise.
24691         * grp/compat-initgroups.c (compat_call): Likewise.
24692         * grp/fgetgrent.c (fgetgrent): Likewise.
24693         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24694         * grp/putgrent.c (putgrent): Likewise.
24695         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24696         Likewise.
24697         * hurd/hurdinit.c: Likewise.
24698         * iconvdata/8bit-gap.c (struct): Likewise.
24699         * iconvdata/ansi_x3.110.c : Likewise.
24700         * iconvdata/big5.c : Likewise.
24701         * iconvdata/big5hkscs.c : Likewise.
24702         * iconvdata/cp1255.c: Likewise.
24703         * iconvdata/cp1258.c : Likewise.
24704         * iconvdata/cp932.c : Likewise.
24705         * iconvdata/euc-cn.c: Likewise.
24706         * iconvdata/euc-jisx0213.c : Likewise.
24707         * iconvdata/euc-jp.c: Likewise.
24708         * iconvdata/euc-jp-ms.c : Likewise.
24709         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24710         * iconvdata/gb18030.c : Likewise.
24711         * iconvdata/gbbig5.c (const): Likewise.
24712         * iconvdata/gbgbk.c: Likewise.
24713         * iconvdata/gbk.c : Likewise.
24714         * iconvdata/ibm1364.c : Likewise.
24715         * iconvdata/ibm930.c : Likewise.
24716         * iconvdata/ibm932.c: Likewise.
24717         * iconvdata/ibm933.c : Likewise.
24718         * iconvdata/ibm935.c : Likewise.
24719         * iconvdata/ibm937.c : Likewise.
24720         * iconvdata/ibm939.c : Likewise.
24721         * iconvdata/ibm943.c: Likewise.
24722         * iconvdata/iso_11548-1.c: Likewise.
24723         * iconvdata/iso-2022-cn.c : Likewise.
24724         * iconvdata/iso-2022-cn-ext.c : Likewise.
24725         * iconvdata/iso-2022-jp-3.c: Likewise.
24726         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24727         * iconvdata/iso-2022-kr.c : Likewise.
24728         * iconvdata/iso646.c (gconv_end): Likewise.
24729         * iconvdata/iso_6937-2.c : Likewise.
24730         * iconvdata/iso_6937.c : Likewise.
24731         * iconvdata/iso8859-1.c: Likewise.
24732         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24733         * iconvdata/shift_jisx0213.c : Likewise.
24734         * iconvdata/sjis.c : Likewise.
24735         * iconvdata/t.61.c : Likewise.
24736         * iconvdata/tcvn5712-1.c : Likewise.
24737         * iconvdata/tscii.c: Likewise.
24738         * iconvdata/uhc.c : Likewise.
24739         * iconvdata/unicode.c (gconv_end): Likewise.
24740         * iconvdata/utf-16.c (gconv_end): Likewise.
24741         * iconvdata/utf-32.c (gconv_end): Likewise.
24742         * iconvdata/utf-7.c (base64): Likewise.
24743         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24744         * iconv/gconv_close.c (__gconv_close): Likewise.
24745         * iconv/gconv_open.c (__gconv_open): Likewise.
24746         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24747         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24748         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24749         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24750         (ucs4le_internal_loop_single): Likewise.
24751         * iconv/iconv.c (iconv): Likewise.
24752         * iconv/iconv_close.c: Likewise.
24753         * iconv/loop.c (SINGLE): Likewise.
24754         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24755         * include/atomic.h: Likewise.
24756         * inet/inet6_option.c (option_alloc): Likewise.
24757         * intl/bindtextdom.c (set_binding_values): Likewise.
24758         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24759         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24760         * intl/localealias.c (read_alias_file): Likewise.
24761         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24762         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24763         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24764         * libio/fmemopen.c (fmemopen): Likewise.
24765         * libio/iofgets.c (_IO_fgets): Likewise.
24766         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24767         * libio/iofgetws.c (fgetws): Likewise.
24768         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24769         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24770         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24771         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24772         * locale/findlocale.c (_nl_find_locale): Likewise.
24773         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24774         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24775         Likewise.
24776         * locale/setlocale.c (setlocale): Likewise.
24777         * login/programs/pt_chown.c (main): Likewise.
24778         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24779         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24780         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24781         (mmap, mmap64, mremap, munmap): Likewise.
24782         * math/e_exp2l.c: Likewise.
24783         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24784         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24785         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24786         * math/s_catan.c (__catan): Likewise.
24787         * math/s_catanf.c (__catanf): Likewise.
24788         * math/s_catanh.c (__catanh): Likewise.
24789         * math/s_catanhf.c (__catanhf): Likewise.
24790         * math/s_catanhl.c (__catanhl): Likewise.
24791         * math/s_catanl.c (__catanl): Likewise.
24792         * math/s_ccosh.c (__ccosh): Likewise.
24793         * math/s_ccoshf.c (__ccoshf): Likewise.
24794         * math/s_ccoshl.c (__ccoshl): Likewise.
24795         * math/s_cexp.c (__cexp): Likewise.
24796         * math/s_cexpf.c (__cexpf): Likewise.
24797         * math/s_cexpl.c (__cexpl): Likewise.
24798         * math/s_clog10.c (__clog10): Likewise.
24799         * math/s_clog10f.c (__clog10f): Likewise.
24800         * math/s_clog10l.c (__clog10l): Likewise.
24801         * math/s_clog.c (__clog): Likewise.
24802         * math/s_clogf.c (__clogf): Likewise.
24803         * math/s_clogl.c (__clogl): Likewise.
24804         * math/s_csin.c (__csin): Likewise.
24805         * math/s_csinf.c (__csinf): Likewise.
24806         * math/s_csinh.c (__csinh): Likewise.
24807         * math/s_csinhf.c (__csinhf): Likewise.
24808         * math/s_csinhl.c (__csinhl): Likewise.
24809         * math/s_csinl.c (__csinl): Likewise.
24810         * math/s_csqrt.c (__csqrt): Likewise.
24811         * math/s_csqrtf.c (__csqrtf): Likewise.
24812         * math/s_csqrtl.c (__csqrtl): Likewise.
24813         * math/s_ctan.c (__ctan): Likewise.
24814         * math/s_ctanf.c (__ctanf): Likewise.
24815         * math/s_ctanh.c (__ctanh): Likewise.
24816         * math/s_ctanhf.c (__ctanhf): Likewise.
24817         * math/s_ctanhl.c (__ctanhl): Likewise.
24818         * math/s_ctanl.c (__ctanl): Likewise.
24819         * math/w_pow.c: Likewise.
24820         * math/w_powf.c: Likewise.
24821         * math/w_powl.c: Likewise.
24822         * math/w_scalb.c (sysv_scalb): Likewise.
24823         * math/w_scalbf.c (sysv_scalbf): Likewise.
24824         * math/w_scalbl.c (sysv_scalbl): Likewise.
24825         * misc/error.c (error_tail): Likewise.
24826         * misc/pselect.c (__pselect): Likewise.
24827         * nis/nis_callback.c (__nis_create_callback): Likewise.
24828         * nis/nis_call.c (__nisfind_server): Likewise.
24829         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24830         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24831         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24832         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24833         * nis/nis_lookup.c (nis_lookup): Likewise.
24834         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24835         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24836         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24837         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24838         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24839         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24840         * nis/nss_compat/compat-initgroups.c (add_group)
24841         (internal_getgrent_r): Likewise.
24842         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24843         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24844         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24845         (internal_getspnam_r): Likewise.
24846         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24847         (_nss_nis_getaliasbyname_r): Likewise.
24848         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24849         (_nss_nis_getntohost_r): Likewise.
24850         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24851         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24852         (_nss_nis_getgrgid_r): Likewise.
24853         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24854         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24855         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24856         (_nss_nis_gethostbyname4_r): Likewise.
24857         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24858         (initgroups_netid): Likewise.
24859         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24860         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24861         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24862         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24863         (_nss_nis_getprotobynumber_r): Likewise.
24864         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24865         (_nss_nis_getsecretkey): Likewise.
24866         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24867         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24868         (_nss_nis_getpwuid_r): Likewise.
24869         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24870         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24871         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24872         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24873         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24874         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24875         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24876         Likewise.
24877         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24878         (_nss_nisplus_getntohost_r): Likewise.
24879         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24880         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24881         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24882         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24883         Likewise.
24884         * nis/nss_nisplus/nisplus-initgroups.c
24885         (_nss_nisplus_initgroups_dyn): Likewise.
24886         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24887         (_nss_nisplus_getnetbyaddr_r): Likewise.
24888         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24889         (_nss_nisplus_getprotobynumber_r): Likewise.
24890         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24891         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24892         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24893         Likewise.
24894         * nis/nss_nisplus/nisplus-service.c
24895         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24896         (_nss_nisplus_getservbyport_r): Likewise.
24897         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24898         (_nss_nisplus_getspnam_r): Likewise.
24899         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24900         Likewise.
24901         * nscd/aicache.c (addhstaiX): Likewise.
24902         * nscd/cache.c (cache_search, prune_cache): Likewise.
24903         * nscd/connections.c (register_traced_file, send_ro_fd)
24904         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24905         (main_loop_epoll): Likewise.
24906         * nscd/grpcache.c (addgrbyX): Likewise.
24907         * nscd/hstcache.c (addhstbyX): Likewise.
24908         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24909         * nscd/mem.c (gc, mempool_alloc): Likewise.
24910         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24911         (addinnetgrX): Likewise.
24912         * nscd/nscd-client.h (__nscd_acquire_maplock)
24913         (__nscd_drop_map_ref): Likewise.
24914         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24915         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24916         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24917         Likewise.
24918         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24919         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24920         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24921         (__nscd_get_map_ref): Likewise.
24922         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24923         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24924         Likewise.
24925         * nscd/pwdcache.c (addpwbyX): Likewise.
24926         * nscd/selinux.c (preserve_capabilities): Likewise.
24927         * nscd/servicescache.c (addservbyX): Likewise.
24928         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24929         * posix/fnmatch.c (fnmatch): Likewise.
24930         * posix/getopt.c (_getopt_internal_r): Likewise.
24931         * posix/glob.c (glob, glob_in_dir): Likewise.
24932         * posix/wordexp.c (exec_comm_child): Likewise.
24933         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24934         (getanswer_r, gaih_getanswer_slice): Likewise.
24935         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24936         * resolv/res_init.c: Likewise.
24937         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24938         * resolv/res_query.c (__libc_res_nquery): Likewise.
24939         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24940         Likewise.
24941         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24942         * stdio-common/perror.c (perror): Likewise.
24943         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24944         * stdio-common/tmpnam.c (tmpnam): Likewise.
24945         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24946         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24947         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24948         Likewise.
24949         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24950         * stdlib/putenv.c (putenv): Likewise.
24951         * stdlib/setenv.c (__add_to_environ): Likewise.
24952         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24953         * stdlib/strtol_l.c (INTERNAL): Likewise.
24954         * string/memmem.c (memmem): Likewise.
24955         * string/strerror.c (strerror): Likewise.
24956         * string/strnlen.c (__strnlen): Likewise.
24957         * string/test-memmem.c (simple_memmem): Likewise.
24958         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24959         * sunrpc/pm_getport.c (__get_socket): Likewise.
24960         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24961         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24962         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24963         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24964         Likewise.
24965         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24966         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24967         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24968         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24969         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24970         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24971         Likewise.
24972         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24973         Likewise.
24974         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24975         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24976         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24977         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24978         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24979         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24980         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24981         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24982         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24983         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24984         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24985         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24986         Likewise.
24987         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24988         Likewise.
24989         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24990         Likewise.
24991         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24992         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24993         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24994         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24995         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24996         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24997         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24998         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24999         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25000         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25001         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25002         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25003         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25004         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25005         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25006         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25007         Likewise.
25008         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25009         Likewise.
25010         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25011         Likewise.
25012         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25013         Likewise.
25014         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25015         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25016         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25017         Likewise.
25018         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25019         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25020         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25021         * sysdeps/posix/sleep.c: Likewise.
25022         * sysdeps/posix/tempname.c: Likewise.
25023         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25024         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25025         Likewise.
25026         * sysdeps/powerpc/powerpc32/dl-machine.h
25027         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25028         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25029         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25030         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25031         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25032         Likewise.
25033         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25034         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25035         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25036         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25037         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25038         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25039         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25040         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25041         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25042         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25043         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25044         (elf_machine_lazy_rel): Likewise.
25045         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25046         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25047         (elf_machine_lazy_rel): Likewise.
25048         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25049         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25050         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25051         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25052         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25053         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25054         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25055         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25056         Likewise.
25057         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25058         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25059         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25060         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25061         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25062         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25063         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25064         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25065         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25066         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25067         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25068         Likewise.
25069         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25070         (__posix_fallocate64_l64): Likewise.
25071         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25072         (posix_fallocate): Likewise.
25073         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25074         Likewise.
25075         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25076         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25077         (getifaddrs_internal): Likewise.
25078         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25079         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25080         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25081         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25082         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25083         (__posix_fallocate64_l64): Likewise.
25084         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25085         Likewise.
25086         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25087         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25088         (__get_clockfreq): Likewise.
25089         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25090         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25091         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25092         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25093         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25094         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25095         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25096         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25097         Likewise.
25098         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25099         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25100         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25101         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25102         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25103         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25104         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25105         Likewise.
25106         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25107         (posix_fallocate): Likewise.
25108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25109         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25110         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25111         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25112         (elf_machine_rela, elf_machine_rela_relative)
25113         (elf_machine_lazy_rel): Likewise.
25114         * time/asctime.c (asctime_internal): Likewise.
25115         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25116         * time/tzset.c (__tzset_parse_tz): Likewise.
25117         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25118         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25119         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25120         * wcsmbs/wcsmbsload.h: Likewise.
25122         [BZ #15894]
25123         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25125         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25126         (arena_get2): Remove THREAD_STATS conditionals.
25127         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25128         (__malloc_stats, int): Likewise.
25130 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25132         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25133         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25135         * manual/setjmp.texi: Fix typos/grammar errors.
25137         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25138         Only return early when n is <= 0.  Delete unused return statement.
25140         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25141         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25142         * debug/tst-longjmp_chk3.c: New file.
25144         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25145         (test_main): Replace code with set_fortify_handler call.
25146         * debug/test-strcpy_chk.c: Likewise.
25147         * debug/tst-chk1.c: Likewise.
25148         * debug/tst-longjmp_chk.c: Likewise.
25149         * test-skeleton.c: Include fcntl.h & paths.h
25150         (set_fortify_handler): Define.
25152         * debug/tst-longjmp_chk.c: Add header comment and include
25153         ../test-skeleton.c.
25154         (do_test): Mark static.
25155         (TEST_FUNCTION): Define.
25157         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25158         (IP_PMTUDISC_INTERFACE): Likewise.
25159         (IP_MULTICAST_IF): Likewise.
25160         (IP_MULTICAST_TTL): Likewise.
25161         (IP_MULTICAST_LOOP): Likewise.
25162         (IP_ADD_MEMBERSHIP): Likewise.
25163         (IP_DROP_MEMBERSHIP): Likewise.
25164         (IP_UNBLOCK_SOURCE): Likewise.
25165         (IP_BLOCK_SOURCE): Likewise.
25166         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25167         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25168         (IP_MSFILTER): Likewise.
25169         (MCAST_JOIN_GROUP): Likewise.
25170         (MCAST_BLOCK_SOURCE): Likewise.
25171         (MCAST_UNBLOCK_SOURCE): Likewise.
25172         (MCAST_LEAVE_GROUP): Likewise.
25173         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25174         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25175         (MCAST_MSFILTER): Likewise.
25176         (IP_MULTICAST_ALL): Likewise.
25177         (IP_UNICAST_IF): Likewise.
25179         * timezone/Makefile: Delete $(have-ksh) check.
25180         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25181         * timezone/tzselect.ksh: Add +x mode bits.
25183         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25184         (ANON_INODE_FS_MAGIC): Likewise.
25185         (BDEVFS_MAGIC): Likewise.
25186         (BINFMTFS_MAGIC): Likewise.
25187         (BTRFS_TEST_MAGIC): Likewise.
25188         (CRAMFS_MAGIC_WEND): Likewise.
25189         (DEBUGFS_MAGIC): Likewise.
25190         (ECRYPTFS_SUPER_MAGIC): Likewise.
25191         (EXT3_SUPER_MAGIC): Likewise.
25192         (EXT4_SUPER_MAGIC): Likewise.
25193         (FUTEXFS_SUPER_MAGIC): Likewise.
25194         (HOSTFS_SUPER_MAGIC): Likewise.
25195         (HUGETLBFS_MAGIC): Likewise.
25196         (MINIX3_SUPER_MAGIC): Likewise.
25197         (MTD_INODE_FS_MAGIC): Likewise.
25198         (NILFS_SUPER_MAGIC): Likewise.
25199         (OPENPROM_SUPER_MAGIC): Likewise.
25200         (PIPEFS_MAGIC): Likewise.
25201         (PSTOREFS_MAGIC): Likewise.
25202         (QNX6_SUPER_MAGIC): Likewise.
25203         (RAMFS_MAGIC): Likewise.
25204         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25205         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25206         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25207         (SECURITYFS_MAGIC): Likewise.
25208         (SELINUX_MAGIC): Likewise.
25209         (SMACK_MAGIC): Likewise.
25210         (SOCKFS_MAGIC): Likewise.
25211         (SQUASHFS_MAGIC): Likewise.
25212         (STACK_END_MAGIC): Likewise.
25213         (TMPFS_MAGIC): Likewise.
25214         (USBDEVICE_SUPER_MAGIC): Likewise.
25215         (V9FS_MAGIC): Likewise.
25216         (XENFS_SUPER_MAGIC): Likewise.
25217         (CRAMFS_MAGIC): Fix typo in comment.
25218         (EXT2_SUPER_MAGIC): Update comment.
25219         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25221 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25223         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25224         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25225         * sysdeps/unix/sysv/linux/arm: Move directory from
25226         ports/sysdeps/unix/sysv/linux/arm.
25227         * README: Update listing for arm-*-linux-gnueabi.
25229         * README: Remove mention of am33.
25231 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25233         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25234         than the comma operator, to avoid "rhs of comma has no effect"
25235         compiler warnings.
25236         (__sigfillset, __sigandset, __sigorset): Likewise.
25237         * include/signal.h (__sigemptyset): Likewise.
25238         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25240 2014-02-07  Allan McRae  <allan@archlinux.org>
25242         * version.h (RELEASE): Set to "development".
25243         (VERSION): Set to "2.19.90"
25244         * NEWS: Add 2.20 section.
25246 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25248         [BZ #16529]
25249         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25251 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25253         * manual/contrib.texi: Update entry for Carlos O'Donell,
25254         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25256 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25258         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25260         * sysdeps/unix/sysv/linux/kernel-features.h
25261         [__LINUX_KERNEL_VERSION >= 0x020621]
25262         (__ASSUME_PROC_PID_TASK_COMM): Define.
25264 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25266         [BZ #16398]
25267         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25268         conversion when destination buffer does not have enough space.
25269         * libio/tst-ftell-partial-wide.c: New test case.
25270         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25272         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25273         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25274         Leonard and Allan McRae.
25276 2014-02-04  David S. Miller  <davem@davemloft.net>
25278         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25279         32-bit.
25281 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25284         New file
25285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25286         New file
25287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25288         New file.
25289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25290         New file.
25291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25292         New file.
25293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25294         New file.
25295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25296         New file.
25297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25298         New file.
25299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25300         New file.
25301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25302         New file.
25303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25304         New file.
25305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25306         New file.
25307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25308         New file.
25310 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25312         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25313         * shlib-versions: Likewise.
25315 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25316             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25318         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25319         (abilist-pattern): New variable, set to %-le.abilist.
25321         * Makerules (abilist-pattern): New variable.
25322         (vpath): Use $(abilist-pattern) in place of %.abilist.
25323         (check-abi-% pattern rule): Likewise.
25324         (check-abi, update-abi): Likewise.
25326 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25330 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25332         * manual/startup.texi: Add next, previous, and top entries for
25333         the `Program Arguments' and `Environment Variables' nodes.
25335 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25337         * manual/macros.texi: Add comments before MTASC-safety macros.
25339         * manual/users.texi: Document MTASC-safety properties.
25341         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25342         (pthread_getspecific, pthread_setspecific): Format with
25343         @deftypefun, and add @safety note.
25344         * manual/signal.texi: Move comments that analyze the above
25345         functions to their home place.
25347 2014-02-03  Allan McRae  <allan@archlinux.org>
25349         * po/sl.po: Update Slovenian translation from translation project.
25351 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25353         * manual/time.texi (timegm): Add missing blank after @c.
25354         Reported by Joseph Myers <joseph@codesourcery.com>.
25356 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25358         * manual/check-safety.sh: New.
25359         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25361         * manual/terminal.texi: Document MTASC-safety properties.
25363         * manual/filesys.texi: Document MTASC-safety properties.
25365         * manual/errno.texi: Document MTASC-safety properties.
25367         * manual/intro.texi: Document safety identifiers and
25368         conditionals.
25370         * manual/string.texi (wcstok): Fix prototype.
25371         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25373         * manual/time.texi: Document MTASC-safety properties.
25375         * manual/string.texi: Document MTASC-safety properties.
25377         * manual/threads.texi: Document MTASC-safety properties.
25379         * manual/stdio.texi: Document MTASC-safety properties.
25381         * manual/syslog.texi: Document MTASC-safety properties.
25383         * manual/sysinfo.texi: Document MTASC-safety properties.
25385         * manual/startup.texi: Document MTASC-safety properties.
25387         * manual/socket.texi: Document MTASC-safety properties.
25389         * manual/signal.texi: Document MTASC-safety properties.
25391 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25393         * manual/setjmp.texi: Document MTASC-safety properties.
25395         * manual/search.texi: Document MTASC-safety properties.
25397         * manual/resource.texi: Document MTASC-safety properties.
25399         * manual/process.texi: Document MTASC-safety properties.
25401         * manual/platform.texi: Document MTASC-safety properties.
25403         * manual/pipe.texi: Document MTASC-safety properties.
25405         * manual/pattern.texi: Document MTASC-safety properties.
25407         * manual/message.texi: Document MTASC-safety properties.
25409         [BZ #12751]
25410         * manual/memory.texi: Document MTASC-safety properties.
25412         * manual/math.texi: Document MTASC-safety properties.
25414         * manual/locale.texi: Document MTASC-safety properties.
25416         * manual/llio.texi: Document MTASC-safety properties.
25418         * manual/libdl.texi: New.
25420         * manual/lang.texi: Document MTASC-safety properties.
25422         * manual/job.texi: Document MTASC-safety properties.
25424         * manual/getopt.texi: Document MTASC-safety properties.
25426         * manual/ctype.texi: Document MTASC-safety properties.
25428 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25430         [BZ #16046]
25431         * csu/libc-tls.c (static_map): Remove variable.
25432         (__libc_setup_tls): Use main executable's link map for TLS data.
25433         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25434         casing for LM_ID_BASE and GL(dl_nns).
25435         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25436         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25437         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25438         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25439         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25440         member.
25441         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25442         l_phnum members.
25444 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25446         * manual/debug.texi: Document MTASC-safety properties.
25448 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25450         [BZ #16510]
25451         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25452         of __x86_64__ when disabling x87 inline functions.
25454 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25456         * manual/charset.texi: Document MTASC-safety properties.
25458         * manual/crypt.texi: Document MTASC-safety properties.
25460         * manual/conf.texi: Document MTASC-safety properties.
25462         * manual/arith.texi: Document MTASC-safety properties.
25464         * manual/argp.texi: Document MTASC-safety properties.
25466         * manual/macros.texi: Introduce macros to document multi
25467         thread, asynchronous signal and asynchronous cancellation
25468         safety properties.
25469         * manual/intro.texi: Introduce the properties themselves.
25471 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25473         * sysdeps/sh/sh4/Makefile: New file.
25475 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25477         * math/gen-libm-test.pl ($srcdir): New variable.
25478         ($auto_input): Use it.
25480 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25482         [BZ #16506]
25483         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25484         access beyond array bounds when parsing netgroups file.
25486         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25487         the old buffer before realloc.
25489 2014-01-27  Allan McRae  <allan@archlinux.org>
25491         * po/fr.po: Update French translation from translation project.
25493 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25495         * sysdeps/sh/libm-test-ulps: Regenerate.
25497 2014-01-24  David S. Miller  <davem@davemloft.net>
25499         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25501 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25503         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25504         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25506 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25508         [BZ #16474]
25509         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25510         string pointers after reallocation.
25512 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25514         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25515         __SH4A__ instead of __SH_FPU_ANY__.
25517 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25519         * sysdeps/sh/fpu_control.h: New file.
25520         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25521         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25522         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25523         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25524         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25525         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25526         * sysdeps/sh/sys/ucontext.h: Remove.
25527         * sysdeps/sh/sys: Remove directory.
25529 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25531         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25532         s390/sys/ucontext.h.
25533         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25534         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25536 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25538         [BZ #15605]
25539         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25541 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25543         [BZ#16431]
25544         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25545         Adjust the vDSO correctly for internal calls.
25546         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25548 2014-01-20  Allan McRae  <allan@archlinux.org>
25550         * po/ca.po: Update Catalan translation from translation project.
25552 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25554         * sysdeps/s390/sotruss-lib.c: New file.
25556 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25558         [BZ#16430]
25559         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25560         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25561         local calls issues by not having a PLT stub required for IFUNC calls.
25562         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25564 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25566         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25567         * math/test-fpucw-static.c: Likewise.
25569 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25571         [BZ #16453]
25572         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25574 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25576         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25577         implementation for powerpc.
25579 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25581         [BZ #14782]
25582         * sysdeps/posix/system.c (__libc_system): Do not enable
25583         asynchronous cancellation.
25585 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25587         [BZ #16427]
25588         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25589         handling only for numbers special also in the IEEE case.
25591 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25593         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25595 2014-01-11  Allan McRae  <allan@archlinux.org>
25597         * po/bg.po: Update Bulgarian translation from translation project.
25599         * po/de.po: Update German translation from translation project.
25601 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25603         * sysdeps/generic/gcc-compat.h: New file.
25605 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25607         * benchtests/asin-inputs: Correct slow inputs.
25608         * benchtests/acos-inputs: Likewise.
25610 2014-01-10  Allan McRae  <allan@archlinux.org>
25612         * po:sv.po: Update Swedish translation from translation project.
25614         * po/vi.po: Update Vietnamese translation from translation project.
25616         * po/eo.po: Update Esperanto translation from translation project.
25618         * po/cs.po: Update Czech translation from translation project.
25620         * po/nl.po: Update Dutch translation from translation project.
25622         * po/pl.po: Update Polish translation from translation project.
25624         * po/ru.po: Update Russian translation from translation project.
25626         * po/uk.po: Update Ukrainian translation from translation project.
25628 2014-01-08  Brooks Moses  <bmoses@google.com>
25630         * elf/dl-load.c: Fix comment typo.
25632 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25634         * po/header.pot: Rename to...
25635         * po/pot.header: ... this.
25636         * po/Makefile: Use pot.header.
25638 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25639             Maxim Kuvyrkov  <maxim@kugelworks.com>
25641         [BZ #16394]
25642         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25643         SRC and DEST against LEN.
25645 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25647         [BZ #16414]
25648         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25649         implementation.
25650         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25652 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25656 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25658         [BZ #16408]
25659         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25660         for large positive arguments.
25662 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25664         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25666         * math/auto-libm-test-in: Mark various tests with
25667         xfail-rounding:ldbl-128ibm.
25668         * math/auto-libm-test-out: Regenerated.
25670         [BZ #16407]
25671         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25672         Increase overflow threshold.
25674 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25676         [BZ #14286]
25677         * stdio-common/vfprintf.c: Check for integer overflow.
25679 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25681         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25682         the first argument and return value of __tls_get_addr_internal.
25684 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25686         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25687         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25689 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25691         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25692         * sysdeps/s390/rtld-global-offsets.sym: New file.
25693         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25694         GLIBC_2.19 symbol.
25695         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25696         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25697         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25698         ... this.
25699         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25700         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25701         ... this.
25702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25703         Regenerate.
25704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25705         Regenerate.
25706         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25707         halfs of GPRs for high_gprs contexts.
25708         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25709         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25710         field.
25711         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25712         uc_flags field.
25713         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25714         64 bit versions:
25715         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25716         for high GPRs (uc_high_gprs) and for future extensions
25717         (__reserved).
25718         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25719         for future extensions (__reserved).
25720         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25721         64 bit versions:
25722         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25723         SC_HIGHGPRS offset definition.
25724         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25725         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25727         * Versions.def: Add GLIBC_2.19 for libpthread.
25728         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25729         siglongjmp for libpthread with GLIBC_2.19 symver.
25730         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25731         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25732         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25733         * sysdeps/s390/__longjmp.c: New file.
25734         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25735         * sysdeps/s390/longjmp.c: New file.
25736         * sysdeps/s390/setjmp.S: New file.
25737         * sysdeps/s390/sigjmp.S: New file.
25738         * sysdeps/s390/v1-longjmp.c: New file.
25739         * sysdeps/s390/v1-setjmp.h: New file.
25740         * sysdeps/s390/v1-sigjmp.c: New file.
25741         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25742         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25743         GLIBC_2.19 version.
25744         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25745         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25746         versioned symbols for ____longjmp_chk.
25747         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25748         Likewise.
25749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25750         Regenerate.
25751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25752         Regenerate.
25753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25754         Regenerate.
25755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25756         Regenerate.
25757         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25758         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25759         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25760         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25761         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25762         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25763         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25764         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25765         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25766         * sysdeps/s390/rtld-__longjmp.c: New file.
25767         * sysdeps/s390/rtld-setjmp.S: New file.
25769 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25771         [BZ #16400]
25772         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25773         Return -__logl (x) for small positive arguments without evaluating
25774         a polynomial.
25776 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25778         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25779         Rename to ...
25780         (__ptrace_peeksiginfo_args): ... this.
25781         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25782         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25783         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25785 2014-01-06  Allan McRae  <allan@archlinux.org>
25787         * inet/netinet/in.h: Fix typo in comment.
25789 2014-01-05  Andreas Jaeger  <aj@suse.de>
25791         * sysdeps/i386/fpu/libm-test-ulps: Update.
25793 2014-01-05  Allan McRae  <allan@archlinux.org>
25795         * po/libc.pot: Regenerated.
25797         * malloc/memusagestat.c: Fix gettext call formatting.
25799 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25801         * nscd/nscd.c: Improve usage() output.
25803 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25805         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25806         * sysdeps/unix/sysv/linux/configure: Regenerated.
25807         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25808         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25810 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25812         [BZ #16390]
25813         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25814         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25816 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25818         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25819         extra tokens at end of #undef directive.
25820         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25821         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25822         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25824 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25826         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25828         * math/auto-libm-test-in: Mark various tests with
25829         xfail-rounding:ldbl-128ibm.
25830         * math/auto-libm-test-out: Regenerated.
25832 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25834         [BZ #16386]
25835         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25836         numbers with subnormal high part when calculating exponent.
25838         [BZ #16385]
25839         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25840         fabs.
25842         [BZ #16384]
25843         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25844         M_LN2l.
25845         (__ieee754_acoshl): Use __log1pl not __log1p.
25847 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25849         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25850         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25851         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25852         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25853         (reused_arena, arena_get2): Convert to GNU style.
25854         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25855         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25856         (memalign_check, __malloc_set_state): Likewise.
25857         * malloc/mallocbug.c (main): Likewise.
25858         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25859         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25860         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25861         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25862         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25863         (__posix_memalign, malloc_info): Likewise.
25864         * malloc/malloc.h: Likewise.
25865         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25866         (mallochook, memalignhook, reallochook, mabort): Likewise.
25867         * malloc/mcheck.h: Likewise.
25868         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25869         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25870         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25871         * malloc/morecore.c (__default_morecore): Likewise.
25872         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25873         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25874         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25875         (print_and_abort): Likewise.
25876         * malloc/obstack.h: Likewise.
25877         * malloc/set-freeres.c (__libc_freeres): Likewise.
25878         * malloc/tst-mallocstate.c (main): Likewise.
25879         * malloc/tst-mtrace.c (main): Likewise.
25880         * malloc/tst-realloc.c (do_test): Likewise.
25882 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25884         [BZ #16366]
25885         * nscd/netgroupcache.c (do_notfound): New function.
25886         (addgetnetgrentX): Use it.
25888         [BZ # 16365]
25889         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25890         NSS_STATUS_NOTFOUND.
25892 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25894         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25897 2014-01-01  Allan McRae  <allan@archlinux.org>
25899         * scripts/update-copyrights: Update configure input file suffix.
25901         * NEWS: Update copyright year.
25902         * catgets/gencat.c: Likewise.
25903         * csu/version.c: Likewise.
25904         * debug/catchsegv.sh: Likewise.
25905         * debug/pcprofiledump.c: Likewise.
25906         * debug/xtrace.sh: Likewise.
25907         * elf/ldconfig.c: Likewise.
25908         * elf/ldd.bash.in: Likewise.
25909         * elf/pldd.c: Likewise.
25910         * elf/sotruss.ksh: Likewise.
25911         * elf/sprof.c: Likewise.
25912         * iconv/iconv_prog.c: Likewise.
25913         * iconv/iconvconfig.c: Likewise.
25914         * locale/programs/locale.c: Likewise.
25915         * locale/programs/localedef.c: Likewise.
25916         * login/programs/pt_chown.c: Likewise.
25917         * malloc/memusage.sh: Likewise.
25918         * malloc/memusagestat.c: Likewise.
25919         * malloc/mtrace.pl: Likewise.
25920         * manual/libc.texinfo: Likewise.
25921         * nscd/nscd.c: Likewise.
25922         * nss/getent.c: Likewise.
25923         * nss/makedb.c: Likewise.
25924         * posix/getconf.c: Likewise.
25925         * scripts/test-installation.pl: Likewise.
25927         * All files with FSF copyright notices: Update copyright dates
25928         using scripts/update-copyrights.
25929         * intl/plural.c: Regenerated.
25930         * locale/programs/charmap-kw.h: Likewise.
25931         * locale/programs/locfile-kw.h: Likewise.
25933 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25935         * sysdeps/unix/sysv/linux/configure: Regenerated.
25936         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25937         the linux/fanotify.h header.
25938         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25939         HAVE_LINUX_FANOTIFY_H is defined.
25941 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25943         * benchtests/cos-inputs: New inputs.
25944         * benchtests/sin-inputs: Likewise.
25946         * benchtests/atan-inputs: New inputs. Fix name of multiple
25947         precision fallback inputs.
25949         * benchtests/atanh-inputs: New inputs.
25950         * benchtests/tanh-inputs: Likewise.
25952         * benchtests/acosh-inputs: New inputs.
25953         * benchtests/asinh-inputs: Likewise.
25955         * benchtests/cosh-inputs: New inputs.
25956         * benchtests/sinh-inputs: Likewise.
25958         * benchtests/acos-inputs: Add more inputs.
25959         * benchtests/asin-inputs: Likewise.
25961 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25963         [BZ #16375]
25964         * manual/arith.texi: Fix spelling.
25965         * manual/charset.texi: Likewise.
25966         * manual/errno.texi: Likewise.
25967         * manual/filesys.texi: Likewise.
25968         * manual/lang.texi: Likewise.
25969         * manual/llio.texi: Likewise.
25970         * manual/locale.texi: Likewise.
25971         * manual/message.texi: Likewise.
25972         * manual/resource.texi: Likewise.
25973         * manual/search.texi: Likewise.
25974         * manual/setjmp.texi: Likewise.
25975         * manual/stdio.texi: Likewise.
25976         * manual/string.texi: Likewise.
25977         * manual/sysinfo.texi: Likewise.
25978         * manual/time.texi: Likewise.
25980 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25982         * po/sl.po: New file.
25984 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25986         * .gitignore: Add core/.gdbinit/.gdb_history.
25988 2013-12-27  Allan McRae  <allan@archlinux.org>
25990         [BZ #16369]
25991         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25992         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25994 2013-12-24  Brooks Moses  <bmoses@google.com>
25996         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25997         all compilers that claim C++98 compliance, not just GCC.
25998         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25999         Likewise.
26001 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26003         * NEWS: Restore accidentally deleted bug-fix entries.
26005 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26006             Ondřej Bílka  <neleai@seznam.cz>
26008         [BZ #15073]
26009         * malloc/malloc.c (_int_free): Perform sanity check only if we
26010         have_lock.
26012 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26014         [BZ #12986]
26015         * manual/stdio.texi (String Input Conversions): Clarify that character
26016         classes are not supported.
26018 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26022 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26024         [BZ #16337]
26025         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26026         Calculate results for small negative arguments directly rather
26027         than using reflection formula with special underflow handling.
26029         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26030         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26031         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26032         (fchflags): Likewise.
26033         (revoke): Likewise.
26034         (setlogin): Likewise.
26035         (sigaltstack): Likewise.
26036         (wait4): Likewise.
26037         (sigblock): Remove.
26038         (sigsetmask): Likewise.
26039         (wait3): Likewise.
26040         (waitpid): Likewise.
26041         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26042         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26043         file.
26044         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26045         * sysdeps/unix/bsd/Makefile: ... here.
26046         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26047         * sysdeps/unix/bsd/Versions: ... here.
26048         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26049         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26050         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26051         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26052         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26053         * sysdeps/unix/bsd/sigblock.c: ... here.
26054         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26055         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26056         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26057         * sysdeps/unix/bsd/sigvec.c: ... here.
26058         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26059         * sysdeps/unix/bsd/tcdrain.c: ... here.
26060         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26061         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26062         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26063         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26064         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26065         * sysdeps/unix/bsd/wait.c: ... here.
26066         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26067         * sysdeps/unix/bsd/wait3.c: ... here.
26068         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26069         * sysdeps/unix/bsd/waitpid.c: ... here.
26071 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26073         [BZ #16356]
26074         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26075         round-to-nearest for [!USE_AS_EXPM1L].
26076         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26077         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26078         more tests of exp and exp10.  Expect some exp10 tests to miss
26079         exceptions or fail in directed rounding modes.
26080         * math/auto-libm-test-out: Regenerated.
26081         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26082         (exp10_test_tonearest): New function.
26083         (exp10_towardzero_test_data): New array.
26084         (exp10_test_towardzero): New function.
26085         (exp10_downward_test_data): New array.
26086         (exp10_test_downward): New function.
26087         (exp10_upward_test_data): New array.
26088         (exp10_test_upward): New function.
26089         (main): Call the new functions.
26090         * sysdeps/i386/fpu/libm-test-ulps: Update.
26091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26093 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26095         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26096         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26097         * math/auto-libm-test-out: Regenerated.
26098         * math/libm-test.inc (acosh_test_data): Add more tests.
26099         (atanh_test_data): Likewise.
26100         (ceil_test_data): Likewise.
26101         (copysign_test_data): Likewise.
26102         * sysdeps/i386/fpu/libm-test-ulps: Update.
26103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26105         * timezone/checktab.awk: Update from tzcode 2013i.
26106         * timezone/private.h: Likewise.
26107         * timezone/scheck.c: Likewise.
26108         * timezone/tzfile.h: Likewise.
26109         * timezone/tzselect.ksh: Likewise.
26110         * timezone/zdump.c: Likewise.
26111         * timezone/zic.c: Likewise.
26113         * math/auto-libm-test-in: Add tests of cpow.
26114         * math/auto-libm-test-out: Regenerated.
26115         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26116         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26117         mpc_cc_c.
26118         (func_calc_desc): Add mpc_cc_c union field.
26119         (test_functions): Add cpow.
26120         (special_fill_2pi): New function.
26121         (special_real_inputs): Add 2pi.
26122         (calc_generic_results): Handle mpc_cc_c.
26123         * sysdeps/i386/fpu/libm-test-ulps: Update.
26124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26126         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26127         csqrt, ctan and ctanh.
26128         * math/auto-libm-test-out: Regenerated.
26129         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26130         (TEST_COND_x86): Likewise.
26131         (ccos_test_data): Use AUTO_TESTS_c_c.
26132         (ccosh_test_data): Likewise.
26133         (cexp_test_data): Likewise.
26134         (clog_test_data): Likewise.
26135         (csqrt_test_data): Likewise.
26136         (ctan_test_data): Likewise.
26137         (ctan_tonearest_test_data): Likewise.
26138         (ctan_towardzero_test_data): Likewise.
26139         (ctan_downward_test_data): Likewise.
26140         (ctan_upward_test_data): Likewise.
26141         (ctanh_test_data): Likewise.
26142         (ctanh_tonearest_test_data): Likewise.
26143         (ctanh_towardzero_test_data): Likewise.
26144         (ctanh_downward_test_data): Likewise.
26145         (ctanh_upward_test_data): Likewise.
26146         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26147         mpc_c_c.
26148         (func_calc_desc): Add mpc_c_c union field.
26149         (FUNC_mpc_c_c): New macro.
26150         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26151         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26152         ctanh.
26153         (special_fill_min_subnorm_p120): New function.
26154         (special_real_inputs): Add min_subnorm_p120.
26155         (calc_generic_results): Handle mpc_c_c.
26156         * sysdeps/i386/fpu/libm-test-ulps: Update.
26157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26159 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26161         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26162         (do_sin_slow): New functions.
26163         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26164         (cslow2, csloww1, csloww2): Use the new functions.
26166         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26167         Use M to change sign of result instead of X.  Assume X is
26168         positive.
26169         (csloww1): Likewise.
26170         (__sin): Adjust.
26171         (__cos): Adjust.
26173         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26174         arguments A and DA.
26175         (__sin): Adjust.
26176         (__cos): Likewise.
26178         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26179         (__cos): Likewise.
26180         (sloww1): Don't adjust sign of DX.
26181         (csloww1): Likewise.
26182         (sloww2): Use X directly and don't adjust sign of DX.
26183         (csloww2): Likewise.
26185 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26187         * math/auto-libm-test-in: Add tests of cabs and carg.
26188         * math/auto-libm-test-out: Regenerated.
26189         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26190         (carg_test_data): Likewise.
26191         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26192         mpc_c_f.
26193         (func_calc_desc): Add mpc_c_f union field.
26194         (test_functions): Add cabs and carg.
26195         (calc_generic_results): Handle mpc_c_f.
26197         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26198         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26199         as a macro and a compat symbol.
26200         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26201         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26202         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26203         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26204         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26205         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26206         not use .hidden.
26207         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26208         Likewise.
26209         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26210         Likewise.
26211         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26212         Likewise.
26213         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26214         Likewise.
26215         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26216         Likewise.
26217         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26218         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26219         from GLIBC_2.3.2.
26221 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26225 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26227         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26228         trailing whitespace removed.
26229         * scripts/config.guess: Update to version 2013-11-29.
26230         * scripts/config.sub: Update to version 2013-10-01.
26232         * math/auto-libm-test-in: Add tests of sincos.
26233         * math/auto-libm-test-out: Regenerated.
26234         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26235         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26236         mpfr_f_11.
26237         (func_calc_desc): Add mpfr_f_11 union field.
26238         (test_functions): Add sincos.
26239         (calc_generic_results): Handle mpfr_f_11.
26240         * sysdeps/i386/fpu/libm-test-ulps: Update.
26241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26243 2013-12-19  Andreas Schwab  <schwab@suse.de>
26245         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26246         CALL_MCOUNT.
26247         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26248         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26249         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26251 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26253         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26254         * sysdeps/i386/fpu/libm-test-ulps: Update.
26255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26257         [BZ #16293]
26258         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26259         round-to-nearest mode when using frndint.
26260         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26261         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26262         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26263         Likewise.
26264         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26265         sinh test to fail.
26266         * math/auto-libm-test-out: Regenerated.
26267         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26268         (TEST_COND_x86): Likewise.
26269         (expm1_tonearest_test_data): New array.
26270         (expm1_test_tonearest): New function.
26271         (expm1_towardzero_test_data): New array.
26272         (expm1_test_towardzero): New function.
26273         (expm1_downward_test_data): New array.
26274         (expm1_test_downward): New function.
26275         (expm1_upward_test_data): New array.
26276         (expm1_test_upward): New function.
26277         (main): Run the new test functions.
26278         * sysdeps/i386/fpu/libm-test-ulps: Update.
26279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26281         * include/features.h: Update comment documenting feature test
26282         macros.  Mention _DEFAULT_SOURCE in comment.
26283         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26284         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26285         _BSD_SOURCE and _SVID_SOURCE.
26286         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26287         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26288         !_SVID_SOURCE]: Likewise.
26289         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26290         (__USE_POSIX_IMPLICITLY): Define.
26291         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26292         (_POSIX_SOURCE): Undefine and redefine.
26293         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26294         (_POSIX_C_SOURCE): Likewise.
26295         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26296         (Feature Test Macros): Update documentation of default features.
26298 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26300         * benchtests/Makefile: Add bench-strtok.
26301         * benchtests/bench-strtok.c: New file: strtok benchtest.
26303 2013-12-19  Allan McRae  <allan@archlinux.org>
26305         * manual/install.texi: Suppress menu for plain text output.
26306         * INSTALL: Regenerated.
26308 2013-12-18  Brooks Moses  <bmoses@google.com>
26310         [BZ #15846]
26311         * misc/getauxval.c: Include errno.h.
26312         (__getauxval): Set errno to ENOENT if the requested type is not
26313         found.
26314         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26315         don't declare with __attribute_const__.
26316         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26317         * manual/startup.texi: Document that getauxval sets errno.
26319 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26321         * math/auto-libm-test-in: Add tests of jn and yn.
26322         * math/auto-libm-test-out: Regenerated.
26323         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26324         (yn_test_data): Likewise.
26325         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26326         mpfr_if_f.
26327         (func_calc_desc): Add mpfr_if_f union field.
26328         (FUNC_mpfr_if_f): New macro.
26329         (test_functions): Add jn and yn.
26330         (calc_generic_results): Assert type of second input for
26331         mpfr_ff_f.  Handle mpfr_if_f.
26332         (output_for_one_input_case): Disable all checking for arguments
26333         fitting floating-point types in case of an integer argument.
26334         * sysdeps/i386/fpu/libm-test-ulps: Update.
26335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26338         Don't expect fegetround reference in libm.so.
26340 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26342         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26343         $(config-cflags-nofma).
26345 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26347         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26348         * math/auto-libm-test-out: Regenerated.
26350         [BZ #16338]
26351         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26352         to determine exponent and adjust argument to have exponent of -1.
26353         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26354         log2.
26355         * math/auto-libm-test-out: Regenerated.
26356         * sysdeps/i386/fpu/libm-test-ulps: Update.
26357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26359 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26361         * manual/probes.texi: Remove cases when per-thread arenas are
26362         disabled.
26364 2013-12-18  Andreas Schwab  <schwab@suse.de>
26366         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26367         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26368         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26369         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26370         * sysdeps/i386/i686/multiarch/Makefile: Update.
26371         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26373 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26375         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26376         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26378 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26380         [BZ #15968]
26381         Support TZ transition times < 00:00:00.
26382         This is needed for version-3 tz-format files; it supports time
26383         stamps past 2037 for America/Godthab (the only entry in the tz
26384         database for which this change is relevant).
26385         * manual/time.texi (TZ Variable): Document transition times
26386         from -167:59:59 through -00:00:01.
26387         * time/tzset.c (tz_rule): Time of day is now signed.
26388         (__tzset_parse_tz): Parse negative time of day.
26390         Document TZ transition times >= 25:00:00.
26391         * manual/time.texi (TZ Variable): Document transition times from
26392         25:00:00 through 167:59:59.  These are already supported, and this
26393         support will help with version-3 tz-format files.
26395         * manual/time.texi (TZ Variable): Modernize North America example
26396         to reflect current (i.e., 2007-and-later) daylight saving rules.
26398         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26400 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26402         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26403         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26404         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26405         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26406         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26407         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26408         * sysdeps/unix/bsd/clock.c: Likewise.
26409         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26410         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26411         * sysdeps/unix/bsd/init-posix.c: Likewise.
26412         * sysdeps/unix/bsd/poll.c: Likewise.
26413         * sysdeps/unix/bsd/ptsname.c: Likewise.
26414         * sysdeps/unix/bsd/seekdir.c: Likewise.
26415         * sysdeps/unix/bsd/setegid.c: Likewise.
26416         * sysdeps/unix/bsd/seteuid.c: Likewise.
26417         * sysdeps/unix/bsd/setgid.c: Likewise.
26418         * sysdeps/unix/bsd/setrgid.c: Likewise.
26419         * sysdeps/unix/bsd/setruid.c: Likewise.
26420         * sysdeps/unix/bsd/setsid.c: Likewise.
26421         * sysdeps/unix/bsd/setuid.c: Likewise.
26422         * sysdeps/unix/bsd/sigaction.c: Likewise.
26423         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26424         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26425         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26426         * sysdeps/unix/bsd/telldir.c: Likewise.
26427         * sysdeps/unix/bsd/times.c: Likewise.
26428         * sysdeps/unix/bsd/usleep.c: Likewise.
26430         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26431         ($(objpfx)libbsd-compat.a): Remove rule.
26433         * include/features.h (__FAVOR_BSD): Do not define.
26434         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26435         features conflicting with POSIX.
26436         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26437         (_BSD_SOURCE): Remove description of not being a subset of other
26438         feature test macros.
26439         * manual/job.texi (getpgrp): Do not document BSD version.
26440         (getpgid): Do not document by reference to BSD getpgrp.
26441         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26442         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26443         * signal/signal.h [__FAVOR_BSD]: Likewise.
26444         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26445         instead of making contents conditional on [__FAVOR_BSD].
26446         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26448 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26452 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26454         [BZ #16314]
26455         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26456         values below 2**-450, not 2**-500.
26457         * math/auto-libm-test-in: Don't allow spurious underflow from
26458         hypot.
26459         * math/auto-libm-test-out: Regenerated.
26461         [BZ #16316]
26462         [BZ #16330]
26463         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26464         values of ha and hb and sort them after adjusting subnormal
26465         arguments.
26466         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26467         Likewise.
26468         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26469         values of ea and eb and sort them after adjusting subnormal
26470         arguments.
26471         * math/auto-libm-test-in: Do not expect some hypot tests of
26472         subnormals to fail.  Add more hypot tests.
26473         * math/auto-libm-test-out: Regenerated.
26475 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26477         [BZ #13304]
26478         * sysdeps/sh/s_fma.c: New file.
26479         * sysdeps/sh/s_fmaf.c: New file.
26480         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26481         version.
26482         * sysdeps/sh/Implies: Add sh/soft-fp.
26484 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26486         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26487         level of indirection to members `objname', `errstring', `malloced'.
26488         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26489         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26490         it as the __longjmp argument (just pass 1 instead).
26491         (_dl_catch_error): Initialize C with argument pointers and address of
26492         volatile local ERRCODE rather than copying values out of C at return.
26494 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26496         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26497         * math/auto-libm-test-out: Regenerated.
26498         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26499         (hypot_test_data): Likewise.
26500         (pow_test_data): Likewise.
26501         (pow_tonearest_test_data): Likewise.
26502         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26503         mpfr_ff_f.
26504         (func_calc_desc): Add mpfr_ff_f union field.
26505         (FUNC_mpfr_ff_f): New macro.
26506         (test_functions): Add atan2, hypot and pow.
26507         (special_fill_min): New function.
26508         (special_fill_minus_min): Likewise.
26509         (special_fill_min_subnorm): Likewise.
26510         (special_fill_minus_min_subnorm): Likewise.
26511         (special_real_inputs): Add min, -min, min_subnorm and
26512         -min_subnorm.
26513         (calc_generic_results): Handle mpfr_ff_f.
26514         * sysdeps/i386/fpu/libm-test-ulps: Update.
26515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26517 2013-12-16  Will Newton  <will.newton@linaro.org>
26519         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26520         (Aligned Memory Blocks): Add documentation for aligned_alloc
26521         and suggest it as an alternative to posix_memalign.
26522         (Hooks for Malloc): Document __memalign_hook is also called
26523         for aligned_alloc.  (Summary of Malloc): Add summary for
26524         aligned alloc.  Document __memalign_hook is also called
26525         for aligned_alloc.
26527 2013-12-16  Will Newton  <will.newton@linaro.org>
26529         * manual/memory.texi (Malloc Examples): Clarify default
26530         alignment documentation.  Suggest posix_memalign rather
26531         than memalign or valloc.
26532         (Aligned Memory Blocks): Remove suggestion to use memalign
26533         or valloc.  Remove obsolete comment about BSD.
26534         Document memalign errno values and mark the function obsolete.
26535         Document posix_memalign returned error codes.  Mark valloc
26536         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26537         called for posix_memalign and valloc.
26538         (Summary of Malloc): Add posix_memalign to function summary.
26539         __memalign_hook is also called for posix_memalign and valloc.
26541 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26543         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26544         TAYLOR_SIN.
26545         (__sin): Adjust.
26546         (__cos): Likewise.
26547         (sloww): Use mynumber union.  Expand ternary operator into
26548         if-else statements.
26549         (cslow): use mynumber union.
26551 2013-12-16  Allan McRae  <allan@archlinux.org>
26553         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26554         * configure: Regenerated.
26556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26558         [BZ #14120]
26559         * configure.ac: Added --enable-maintainer-mode. Check for
26560         autoconf when enabled.
26561         * configure: Regenerated.
26563         * nscd/nscd.service: New file.
26564         * nscd/nscd.tmpfiles: New file.
26566 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26568         [BZ #12100]
26569         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26570         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26571         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26572         (strstr): Add __strstr_sse2_unaligned ifunc.
26573         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26574         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26575         (strcasestr): Remove __strcasestr_sse42 ifunc.
26576         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26577         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26578         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26580 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26582         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26583         * sysdeps/sh/bits/fenv.h: ... here.
26584         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26586 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26588         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26590         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26591         hypotf multiarch implementations.
26592         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26593         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26594         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26595         multiarch hypot for PPC64.
26596         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26597         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26598         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26599         multiarch hypotf for PPC64.
26601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26602         modff multiarch implementations.
26603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26606         multiarch modf for PPC64.
26607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26610         multiarch modff for PPC64.
26612         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26613         and logl multiarch implementations.
26614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26617         multiarch logb for PPC64.
26618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26621         multiarch logb for PPC64.
26622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26625         multiarch logb for PPC64.
26627         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26628         isinff multiarch implementation.
26629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26630         file.
26631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26633         multiarch isinf for PPC64.
26634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26635         file.
26636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26637         multiarch isinff for PPC64.
26639         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26640         finitef multiarch implementation.
26641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26642         file.
26643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26645         multiarch finite for PPC64.
26646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26647         file.
26648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26649         multiarch finitef for PPC64.
26651         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26652         lrint multiarch implementation.
26653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26654         file.
26655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26657         multiarch llrint for PPC64.
26658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26659         multiarch lrint for PPC64.
26661         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26662         copysignf multiarch implementation.
26663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26664         file.
26665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26666         file.
26667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26668         multiarch copysign for PPC64.
26669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26670         multiarch copysignf for PPC64.
26672         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26673         multiarch implementation.
26674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26675         file.
26676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26677         file.
26678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26679         file.
26680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26681         file.
26682         multiarch llround for PPC64.
26683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26684         multiarch trunc for PPC64.
26685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26686         multiarch truncf for PPC64.
26688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26689         multiarch implementation.
26690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26691         file.
26692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26693         file.
26694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26695         file.
26696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26697         file.
26698         multiarch llround for PPC64.
26699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26700         multiarch round for PPC64.
26701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26702         multiarch roundf for PPC64.
26704         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26705         multiarch implementation.
26706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26707         file.
26708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26709         file.
26710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26711         file.
26712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26713         file.
26714         multiarch llround for PPC64.
26715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26716         multiarch floor for PPC64.
26717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26718         multiarch floorf for PPC64.
26720         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26721         multiarch implementation.
26722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26723         file.
26724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26725         file.
26726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26727         file.
26728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26729         file.
26730         multiarch llround for PPC64.
26731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26732         multiarch ceil for PPC64.
26733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26734         multiarch ceilf for PPC64.
26736         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26737         multiarch implementation.
26738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26739         file.
26740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26741         file.
26742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26743         file.
26744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26745         multiarch llround for PPC64.
26746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26747         multiarch lround for PPC64.
26749         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26750         multiarch implementation.
26751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26754         file.
26755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26758         multiarch isnan for PPC64.
26759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26760         multiarch isnanf for PPC64.
26762         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26763         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26764         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26765         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26766         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26769         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26770         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26771         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26772         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26774         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26775         multiarch implementations.
26776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26777         (__libc_ifunc_impl_list): Likewise.
26778         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26779         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26780         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26781         multiarch stpcpy for PPC64.
26783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26784         multiarch implementations.
26785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26786         (__libc_ifunc_impl_list): Likewise.
26787         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26788         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26789         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26790         multiarch strcpy for PPC64.
26792         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26793         redefine function name.
26794         (_wordcopy_fwd_dest_aligned): Likewise.
26795         (_wordcopy_bwd_aligned): Likewise.
26796         (_wordcopy_bwd_dest_aligned): Likewise.
26797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26798         multiarch implementations.
26799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26800         (__libc_ifunc_impl_list): Likewise.
26801         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26802         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26803         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26804         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26805         multiarch wcscpy for PPC64.
26807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26808         multiarch implementations.
26809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26810         (__libc_ifunc_impl_list): Likewise.
26811         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26812         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26813         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26814         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26815         multiarch wcscpy for PPC64.
26817         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26818         multiarch implementations.
26819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26820         (__libc_ifunc_impl_list): Likewise.
26821         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26822         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26823         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26824         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26825         multiarch wcsrchr for PPC64.
26827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26828         multiarch implementations.
26829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26830         (__libc_ifunc_impl_list): Likewise.
26831         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26832         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26833         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26834         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26835         multiarch wcschr for PPC64.
26837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26838         multiarch implementations.
26839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26840         (__libc_ifunc_impl_list): Likewise.
26841         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26842         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26843         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26844         multiarch strchrnul for PPC64.
26846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26847         implementations.
26848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26849         (__libc_ifunc_impl_list): Likewise.
26850         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26851         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26852         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26853         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26854         strchr for PPC64.
26856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26857         implementations.
26858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26859         (__libc_ifunc_impl_list): Likewise.
26860         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26861         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26862         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26863         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26864         strncmp for PPC64.
26866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26867         multiarch implementations.
26868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26869         (__libc_ifunc_impl_list): Likewise.
26870         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26871         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26872         strncasecmp for PPC64.
26873         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26874         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26875         multiarch strncasecmp_l for PPC64.
26877         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26878         multiarch implementations.
26879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26880         (__libc_ifunc_impl_list): Likewise.
26881         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26882         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26883         multiarch strcasecmp for PPC64.
26884         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26885         file.
26886         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26887         multiarch strcasecmp_l for PPC64.
26889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26890         implementations.
26891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26892         (__libc_ifunc_impl_list): Likewise.
26893         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26894         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26895         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26896         strnlen for PPC64.
26898         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26899         implementations.
26900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26901         (__libc_ifunc_impl_list): Likewise.
26902         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26903         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26904         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26905         strlen for PPC64.
26907         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26908         implementations.
26909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26910         (__libc_ifunc_impl_list): Likewise.
26911         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26912         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26913         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26914         rawmemrchr for PPC64.
26916         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26917         implementation.
26918         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26919         (__libc_ifunc_impl_list): Likewise.
26920         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26921         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26922         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26923         memrchr for PPC64.
26925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26926         implementation.
26927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26928         (__libc_ifunc_impl_list): Likewise.
26929         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26930         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26931         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26932         memchr for PPC64.
26934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26935         implementation.
26936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26937         (__libc_ifunc_impl_list): Likewise.
26938         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26939         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26940         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26941         mempcpy for PPC64.
26943         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26944         avoid cretion of __bzero symbol.
26945         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26946         Likewise.
26947         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26948         Likewise.
26949         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26950         Likewise.
26951         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26952         multiarch implementations.
26953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26954         (__libc_ifunc_impl_list): Likewise.
26955         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26956         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26957         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26958         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26959         bzero for PPC32.
26960         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26961         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26962         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26963         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26964         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26965         memset for PPC64.
26966         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26968         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26970         implementations.
26971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26972         (__libc_ifunc_impl_list): Likewise.
26973         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26974         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26975         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26976         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26977         memcmp for PPC64.
26979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26980         multiarch for POWER/PPC64.
26981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26982         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26983         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26984         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26985         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26986         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26987         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26988         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26989         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26990         memcpy for PPC64.
26992         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26993         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26994         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26995         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26996         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26997         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26998         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26999         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27000         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27001         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27002         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27003         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27004         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27005         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27006         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27015 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27017         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27019 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27021         * benchtests/Makefile (bench): Add exp2 and log2.
27022         (LDLIBS-bench-exp2): Add -lm.
27023         (LDLIBS-bench-log2): Likewise.
27024         * benchtests/exp2-inputs: New inputs file.
27025         * benchtests/log2-inputs: New inputs file.
27026         * benchtests/log-inputs: Add new inputs.
27027         * benchtests/tan-inputs: Likewise.
27029 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27031         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27032         definition...
27033         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27034         (csloww2): ... from here.
27036         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27037         instead of structures.
27038         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27039         (POLYNOMIAL): Likewise.
27040         (TAYLOR_SLOW): Likewise.
27041         (__sin): Likewise.
27042         (__cos): Likewise.
27043         (slow1): Likewise.
27044         (slow2): Likewise.
27045         (sloww): Likewise.
27046         (sloww1); Likewise.
27047         (sloww2): Likewise.
27048         (bsloww1): Likewise.
27049         (bsloww2): Likewise.
27050         (cslow2): Likewise.
27051         (csloww): Likewise.
27052         (csloww1): Likewise.
27053         (csloww2): Likewise.
27055 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27057         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27058         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27059         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27060         * malloc/hooks.c (realloc_check): Likewise.
27062         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27063         * malloc/arena.c: Remove PER_THREAD conditional.
27064         [!PER_THREAD]: Remove code.
27065         (ptmalloc_unlock_all2): Likewise.
27066         (ptmalloc_init): Likewise.
27067         (_int_new_arena): Likewise.
27068         (arena_get2): Likewise.
27069         * malloc/hooks.c (__malloc_get_state): Likewise.
27070         (__malloc_set_state): Likewise.
27071         * malloc/malloc.c: Likewise.
27072         (struct malloc_state): Likewise.
27073         (struct malloc_par): Likewise.
27074         (__libc_realloc): Likewise.
27075         (__libc_mallopt): Likewise.
27077 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27079         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27081 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27083         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27084         macro to a function.  Check for zero perturb_byte.
27085         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27087         * malloc/malloc.c: (force_reg): Remove.
27088         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27089         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27090         force_reg by atomic_forced_read.
27091         * malloc/arena.c (ptmalloc_init): Likewise.
27092         * malloc/hooks.c (top_check): Likewise.
27094 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27098 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27100         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27102 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27104         * math/auto-libm-test-in: Add tests of lgamma.
27105         * math/auto-libm-test-out: Regenerated.
27106         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27107         (M_LOG_2_SQRT_PIl): Likewise.
27108         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27109         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27110         mpfr_f_f1.
27111         (func_calc_desc): Add mpfr_f_f1 union field.
27112         (ARGS1): New macro.
27113         (ARGS2): Likewise.
27114         (ARGS3): Likewise.
27115         (ARGS4): Likewise.
27116         (RET1): Likewise.
27117         (RET2): Likewise.
27118         (CALC): Likewise.
27119         (FUNC): Likewise.
27120         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27121         (test_functions): Add lgamma.
27122         (calc_generic_results): Handle mpfr_f_f1.
27123         * sysdeps/i386/fpu/libm-test-ulps: Update.
27124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27126 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27128         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27129         __mpn_add_n for PowerPC64/POWER7.
27130         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27131         __mpn_sub_n for PowerPC64/POWER7.
27133         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27134         __mpn_addmul_1 for PowerPC64.
27135         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27136         __mpn_submul_1 for PowerPC64.
27137         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27138         for PowerPC64.
27139         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27140         for PowerPC64.
27142 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27144         [BZ #15089]
27145         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27147 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27149         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27151         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27152         add multiarch folders.
27153         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27154         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27155         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27156         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27157         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27158         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27159         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27160         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27161         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27162         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27163         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27172         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27174         New file.
27175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27176         New file.
27177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27178         multiarch __ieee754_hypot for PowerPC32.
27179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27180         New file.
27181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27182         New file.
27183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27184         multiarch __ieee754_hypotf for PowerPC32.
27186         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27187         long_double_symbol only if __logbl is defined.
27188         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27189         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27190         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27191         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27193         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27194         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27195         path for implementation.
27196         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27197         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27199         logb, and logbl multiarch implementations for PowerPC32.
27200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27201         file.
27202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27203         file.
27204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27205         multiarch logb for PowerPC32.
27206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27207         file.
27208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27209         file.
27210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27211         multiarch logbf for PowerPC32.
27212         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27214         file.
27215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27216         multiarch logbl implementation for PowerPC32.
27218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27219         and modff multiarch implementations.
27220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27221         New file.
27222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27223         New file.
27224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27225         multiarch modf for PowerPC32.
27226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27227         New file.
27228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27229         New file.
27230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27231         multiarch modff for PowerPC32.
27233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27234         and lrintf multiarch implementations.
27235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27236         New file.
27237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27238         New file.
27239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27240         multiarch lrint for PowerPC32.
27241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27242         file: multiarch lrintf for PowerPC32.
27244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27245         and lroundf multiarch implementations.
27246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27247         New file.
27248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27249         New file.
27250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27251         New file.
27252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27253         multiarch lround for PowerPC32.
27254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27255         file: multiarch lroundf for PowerPC32.
27257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27258         copysign and copysignf multiarch implementations.
27259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27260         New file.
27261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27262         New file.
27263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27264         file: multiarch copysign for PowerPC32.
27265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27266         file: multiarch copysignf for PowerPC32.
27268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27269         and truncf multiarch implementations.
27270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27271         New file.
27272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27273         file.
27274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27275         multiarch trunc for PowerPC32.
27276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27277         New file.
27278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27279         New file.
27280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27281         multiarch truncf for PowerPC32.
27283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27284         and roundf multiarch implementations.
27285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27286         New file.
27287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27288         file.
27289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27290         multiarch round for PowerPC32.
27291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27292         New file.
27293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27294         New file.
27295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27296         multiarch roundf for PowerPC32.
27298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27299         and floorf multiarch implementations.
27300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27301         New file.
27302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27303         file.
27304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27305         multiarch floor for PowerPC32.
27306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27307         New file.
27308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27309         New file.
27310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27311         multiarch floorf for PowerPC32.
27313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27314         and ceilf multiarch implementations.
27315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27316         New file.
27317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27318         file.
27319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27320         multiarch ceil for PowerPC32.
27321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27322         New file.
27323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27324         file.
27325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27326         multiarch ceilf for PowerPC32.
27328         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27329         is defined.
27330         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27331         FINITEF is defined.
27332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27333         and finitef multiarch implementations.
27334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27335         New file.
27336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27337         file.
27338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27339         multiarch finite for PowerPC32.
27340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27341         New file.
27342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27343         file: multiarch finitef for PowerPC32.
27345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27346         and isinff multiarch implementations.
27347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27348         file.
27349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27350         file.
27351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27352         multiarch isinf for PowerPC32.
27353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27354         New file.
27355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27356         multiarch isinff for PowerPC32.
27358         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27359         alias when __isnan is defined.
27360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27361         and isnanf multiarch implementations.
27362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27363         file.
27364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27365         file.
27366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27367         file.
27368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27369         file.
27370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27371         multiarch isnan for PowerPC32.
27372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27373         New file.
27374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27375         New file.
27376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27377         multiarch isnanf for PowerPC32.
27379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27380         and sqrtf multiarch implementations.
27381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27382         file.
27383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27384         file.
27385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27386         multiarch sqrt for PowerPC32.
27387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27388         file.
27389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27390         file.
27391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27392         multiarch sqrtf for PowerPC32.
27394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27395         and llroundf multiarch implementations.
27396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27397         New file.
27398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27399         New file.
27400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27401         New file.
27402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27403         file: multiarch llround for PowerPC32.
27404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27405         file: multiarch llroundf for PowerPC32.
27407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27408         multiarch PowerPC32 fpu implementations.
27409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27410         New file.
27411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27412         New file.
27413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27414         multiarch llrint for PowerPC32.
27415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27416         New file.
27417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27418         New file.
27419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27420         file.
27422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27424         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27425         file.
27426         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27427         file.
27428         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27429         file.
27430         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27431         multiarch wordcopy for PPC32.
27432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27433         wordcopy objects.
27434         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27435         (__libc_ifunc_impl_list): Likewise.
27436         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27437         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27438         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27439         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27440         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27441         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27443         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27444         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27445         file.
27446         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27447         file.
27448         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27449         file.
27450         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27451         multiarch wcscpy for PPC32.
27452         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27453         multiarch objects.
27454         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27455         (__libc_ifunc_impl_list): Likewise.
27456         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27457         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27458         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27459         sysdeps/powerpc/power6/wcscpy.c.
27461         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27462         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27463         file.
27464         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27465         file.
27466         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27467         file.
27468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27469         multiarch wcsrchr for PPC32.
27470         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27471         multiarch objects.
27472         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27473         (__libc_ifunc_impl_list): Likewise.
27474         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27475         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27476         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27477         sysdeps/powerpc/power6/wcsrchr.c.
27479         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27480         file.
27481         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27482         file.
27483         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27484         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27485         multiarch wcschr for PPc32.
27486         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27487         multiarch objects.
27488         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27489         (__libc_ifunc_impl_list): Likewise.
27490         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27491         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27492         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27493         sysdeps/powerpc/power6/wcschr.c.
27495         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27496         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27497         file.
27498         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27499         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27500         file: multiarch strchr for PPC32.
27501         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27502         multiarch objects.
27503         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27504         (__libc_ifunc_impl_list): Likewise.
27506         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27507         name.
27508         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27509         file.
27510         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27511         file.
27512         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27513         multiarch strchrnul for PPC32.
27514         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27515         multiarch objects.
27516         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27517         (__libc_ifunc_impl_list): Likewise.
27519         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27520         file.
27521         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27522         multiarch strncasecmp for PPC32.
27523         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27524         file.
27525         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27526         multiarch strncasecmp_l for PPC32.
27527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27528         strncasecmp multiarch objects.
27529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27530         (__libc_ifunc_impl_list): Likewise.
27532         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27533         file.
27534         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27535         multiarch strncasecmp for PPC32.
27536         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27537         New file.
27538         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27539         multiarch strcasecmp_l for PPC32.
27540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27541         multiarch objects.
27542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27543         (__libc_ifunc_impl_list): Likewise.
27545         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27546         file.
27547         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27548         file.
27549         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27550         multiarch strncmp for PPC32.
27551         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27552         multiarch objects.
27553         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27554         (__libc_ifunc_impl_list): Likewise.
27556         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27557         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27558         file.
27559         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27560         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27561         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27562         multiarch objects.
27563         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27564         (__libc_ifunc_impl_list): Likewise.
27566         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27567         file.
27568         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27569         file.
27570         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27571         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27572         multiarch objects.
27573         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27574         (__libc_ifunc_impl_list): Likewise.
27576         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27577         file.
27578         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27579         file.
27580         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27581         multiarch rawmemchr for PPC32.
27582         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27583         multiarch objects.
27584         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27585         (__libc_ifunc_impl_list): Likewise.
27587         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27588         file.
27589         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27590         file.
27591         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27592         file: memrchr multiarch for PPC32.
27593         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27594         multiarch objects.
27595         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27596         (__libc_ifunc_impl_list): Likewise.
27598         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27599         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27600         file.
27601         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27602         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27603         multiarch memchr for PPC32.
27604         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27605         multiarch objects.
27606         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27607         (__libc_ifunc_impl_list): Likewise.
27609         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27610         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27611         file.
27612         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27613         file.
27614         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27615         file: multiarch mempcpy for PPC32.
27616         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27617         multiarch objects.
27618         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27619         (__libc_ifunc_impl_list): Likewise.
27621         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27622         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27623         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27624         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27625         multiarch bzero for PPC32.
27626         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27627         file.
27628         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27629         file.
27630         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27631         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27632         file: multiarch memset for PPC32.
27633         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27635         memset multiarch objects.
27636         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27637         (__libc_ifunc_impl_list): Likewise.
27639         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27640         file.
27641         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27642         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27643         memcmp for PPC32.
27644         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27645         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27646         multiarch objects.
27647         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27648         (__libc_ifunc_impl_list): Likewise.
27650         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27651         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27652         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27653         file.
27654         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27655         file.
27656         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27657         file.
27658         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27659         multiarch memcpy for PPC32.
27660         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27661         multiarch objects.
27662         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27663         (__libc_ifunc_impl_list): Likewise.
27665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27666         support multiarch for POWER/PPC32.
27667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27668         Likewise.
27669         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27671         Implies file to make multiarch folder appers before the fpu and
27672         default folder for power4 configuration.
27674 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27676         * scripts/bench.pl: Append volatile keyword to type.
27678 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27680         * sysdeps/sh/sotruss-lib.c: New file.
27681         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27683 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27687 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27689         [BZ #6810]
27690         * math/w_tgamma.c: Include <errno.h>.
27691         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27692         * math/w_tgammaf.c: Include <errno.h>.
27693         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27694         * math/w_tgammal.c: Include <errno.h>.
27695         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27696         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27697         underflow.  Add more tgamma tests.
27698         * math/auto-libm-test-out: Regenerated.
27699         * sysdeps/i386/fpu/libm-test-ulps: Update.
27700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27702         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27703         sin, sinh, tan, tanh, tgamma, y0 and y1.
27704         * math/auto-libm-test-out: Regenerated.
27705         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27706         (TEST_COND_x86): Likewise.
27707         (M_E2l): Remove macro.
27708         (M_E3l): Likewise.
27709         (M_2_SQRT_PIl): Likewise.
27710         (M_SQRT_PIl): Likewise.
27711         (M_1_DIV_El): Likewise.
27712         (log_test_data): Use AUTO_TESTS_f_f.
27713         (log10_test_data): Likewise.
27714         (log1p_test_data): Likewise.
27715         (log2_test_data): Likewise.
27716         (sin_test_data): Likewise.
27717         (sin_tonearest_test_data): Likewise.
27718         (sin_towardzero_test_data): Likewise.
27719         (sin_downward_test_data): Likewise.
27720         (sin_upward_test_data): Likewise.
27721         (sinh_test_data): Likewise.
27722         (sinh_tonearest_test_data): Likewise.
27723         (sinh_towardzero_test_data): Likewise.
27724         (sinh_downward_test_data): Likewise.
27725         (sinh_upward_test_data): Likewise.
27726         (tan_test_data): Likewise.
27727         (tan_tonearest_test_data): Likewise.
27728         (tan_towardzero_test_data): Likewise.
27729         (tan_downward_test_data): Likewise.
27730         (tan_upward_test_data): Likewise.
27731         (tanh_test_data): Likewise.
27732         (tgamma_test_data): Likewise.
27733         (y0_test_data): Likewise.
27734         (y1_test_data): Likewise.
27735         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27736         (special_real_inputs): Add pi/4.
27737         * sysdeps/i386/fpu/libm-test-ulps: Update.
27738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27740 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27742         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27743         "longjmp_target" static probes.
27744         (__longjmp): Rename to __longjmp_symbol.
27745         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27746         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27747         on which longjmp to generate.
27748         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27749         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27750         probe.
27751         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27752         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27753         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27754         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27755         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27756         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27758         __longjmp_symbol based on which __longjmp to generate.
27759         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27760         probe.
27761         (setjmp): Rename to setjmp_symbol.
27762         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27763         (_setjmp): Rename to _setjmp_symbol.
27764         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27765         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27766         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27767         which setjmp to generate.
27768         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27769         "longjmp_target" static probes.
27771 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27773         * benchtests/README: Add note about output arguments.
27774         * benchtests/bench-sincos.c: Remove file.
27775         * benchtests/sincos-inputs: New file.
27776         * scripts/bench.pl: Identify output arguments and define
27777         static variables for them.
27779         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27781         [BZ #15941]
27782         * Makefile (INSTALL): Add install-plain.texi as the primary
27783         dependency.
27784         * manual/install-plain.texi: New file.
27785         * manual/install.texi: Include node directive only for
27786         non-plaintext output.
27788 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27790         * stdlib/longlong.h: Update from GCC.
27792         [BZ #6807]
27793         [BZ #15901]
27794         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27795         * math/w_j0f.c (y0f): Likewise.
27796         * math/w_j0l.c (__y0l): Likewise.
27797         * math/w_j1.c (y1): Likewise.
27798         * math/w_j1f.c (y1f): Likewise.
27799         * math/w_j1l.c (__y1l): Likewise
27800         * math/w_jn.c (yn): Likewise.
27801         * math/w_jnf.c (ynf): Likewise.
27802         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27803         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27804         value for Bessel function domain errors outside _SVID_ mode.
27805         Adjust sign of return value for yn (negative integer, 0).
27806         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27807         by zero in return for negative x and set sign appropriately for
27808         negative n.
27809         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27810         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27811         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27812         expectations in error cases.
27813         (y1_test_data): Likewise.
27814         (yn_test_data): Likewise.
27815         * sysdeps/i386/fpu/libm-test-ulps: Update.
27816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27818 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27820         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27821         "64" to "64-v1".  Add "64-v2".
27822         (abi-64-options): Rename to ...
27823         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27824         (abi-64-condition): Rename to ...
27825         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27826         (abi-64-ld-soname): Rename to ...
27827         (abi-64-v1-ld-soname): ... this.
27828         (abi-64-v2-options): Define.
27829         (abi-64-v2-condition): Likewise.
27830         (abi-64-v2-ld-soname): Likewise.
27831         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27832         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27837 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27838             Alan Modra  <amodra@gmail.com>
27840         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27841         New versions for use with the ELFv2 ABI.
27842         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27843         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27844         declaration.
27845         (struct La_ppc64v2_retval): Likewise.
27846         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27847         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27848         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27849         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27850         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27851         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27852         Do not save or restore CR.
27853         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27854         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27855         return values for ELFv2 ABI.  Fix location of FPR return registers.
27856         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27857         updated values for _CALL_ELF == 2.
27858         (La_regs, La_retval, int_retval): Likewise.
27860 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27862         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27863         (FRAME_MIN_SIZE_PARM): Likewise.
27864         (FRAME_BACKCHAIN): Likewise.
27865         (FRAME_CR_SAVE): Likewise.
27866         (FRAME_LR_SAVE): Likewise.
27867         (FRAME_TOC_SAVE): Likewise.
27868         (FRAME_PARM_SAVE): Likewise.
27869         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27870         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27871         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27872         (call_mcount_parm_offset): New macro.
27873         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27874         (PROF): Use symbolic stack frame offsets.
27875         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27876         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27877         Redefine in terms of FRAME_MIN_SIZE.
27878         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27879         (_dl_profile_resolve): Likewise.  Update comment.
27880         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27881         symbols stack frame offsets.
27882         (__sigsetjmp): Likewise.
27883         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27884         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27885         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27886         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27889         (FRAME_BACKCHAIN): Remove.
27890         (FRAME_CR_SAVE): Likewise.
27891         (FRAME_LR_SAVE): Likewise.
27892         (FRAME_COMPILER_DW): Likewise.
27893         (FRAME_LINKER_DW): Likewise.
27894         (FRAME_TOC_SAVE): Likewise.
27895         (FRAME_PARM_SAVE): Likewise.
27896         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27897         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27898         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27900         (CHECK_SP): Use symbolic stack frame offsets.
27901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27902         zone" instead of caller's parameter save area for temp storage.
27903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27904         Likewise.  Also, use symbolic stack frame offsets.
27905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27906         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27907         our own stack frame instead of the caller's.
27908         (__socket): Use symbolic stack frame offsets.
27910 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27911             Alan Modra  <amodra@gmail.com>
27913         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27914         Define.
27915         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27916         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27917         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27918         New function.
27919         (elf_machine_fixup_plt): Call it.
27920         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27921         reloc arguments.
27922         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27923         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27924         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27925         r2 before calling target.
27927 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27928             Alan Modra  <amodra@gmail.com>
27930         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27931         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27932         versions of macros to support ELFv2 ABI.
27933         (LOCALENTRY): New macro.
27934         (ENTRY, EALIGN): Use it.
27935         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27936         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27937         fall through into ENTRY entry point.
27938         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27939         Only define if _CALL_ELF != 2.
27941         (elf_machine_matches_host): Verify ABI version matches.
27942         (RTLD_START): Use LOCALENTRY.
27943         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27944         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27945         (PLT_ENTRY_WORDS): New macro.
27946         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27947         (elf_machine_runtime_setup): Support ELFv2 ABI.
27948         (elf_machine_fixup_plt): Likewise.
27949         (elf_machine_plt_conflict): Likewise.
27950         (resolve_ifunc): Likewise.
27951         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27952         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27953         Likewise.
27954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27955         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27957         (makecontext): Support ELFv2 ABI.
27958         * elf/elf.h (EF_PPC64_ABI): Define.
27960 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27962         * sysdeps/powerpc/powerpc64/sysdep.h
27963         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27964         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27965         (ENTRY) [ASSEMBLER]: ... but instead here ...
27966         (EALIGN) [ASSEMBLER]: ... and here.
27967         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27968         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27969         (ENTRY_2) [!ASSEMBLER]: Use it.
27970         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27971         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27972         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27973         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27974         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27976         Use PPC64_LOAD_FUNCPTR.
27978         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27980 2013-12-04  Alan Modra  <amodra@gmail.com>
27982         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27983         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27984         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27985         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27987         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27988         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27989         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27990         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27991         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27992         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27994 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27997         (__makecontext): Fix incorrect CFI when backtracing out of
27998         context created via makecontext.
27999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28000         (__setcontext): Fix incorrect CFI during switch to new context.
28001         (__novec_setcontext): Likewise.
28003 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28005         [BZ #4772]
28006         * time/strptime_l.c (__strptime_internal): Allow modifiers
28007         in strptime.
28008         * time/tst-strptime.c (day_tests): Add testcase.
28010 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28012         * scripts/bench.pl: Skip over blank lines.
28014 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28016         [BZ #926]
28017         * manual/time.texi (Calendar Time): Clarify what timezone functions
28018         use.
28020 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28024 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28026         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28027         implementation.
28028         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28029         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28030         * debug/memset_chk.c (__memset_chk): Likewise.
28031         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28032         * debug/strncpy_chk.c: Likewise.
28034 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28036         [BZ #15268]
28037         [BZ #15425]
28038         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28039         (__ieee754_exp): For possibly underflowing results, check size of
28040         result and force underflow exception if required.
28041         * math/auto-libm-test-in: Add more tests of exp.
28042         * math/auto-libm-test-out: Regenerated.
28043         * sysdeps/i386/fpu/libm-test-ulps: Update.
28044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28046         [BZ #16283]
28047         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28048         * math/w_exp2f.c (__exp2f): Likewise.
28049         * math/w_exp2l.c (__exp2l): Likewise.
28050         * math/auto-libm-test-in: Do not allow missing errno on exp2
28051         underflow.
28052         * math/auto-libm-test-out: Regenerated.
28054 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28056         [BZ #16274]
28057         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28058         handle filename validation.
28059         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28060         (do_open): Delete.
28062 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28064         [BZ #6786]
28065         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28066         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28067         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28068         <float.h>.
28069         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28070         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28071         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28072         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28073         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28074         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28075         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28076         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28077         Add more erfc tests.
28078         * math/auto-libm-test-out: Regenerated.
28079         * sysdeps/i386/fpu/libm-test-ulps: Update.
28080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28082         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28083         exp2, expm1, j0 and j1.
28084         * math/auto-libm-test-out: Regenerated.
28085         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28086         (erfc_test_data): Likewise.
28087         (exp_test_data): Likewise.
28088         (exp_tonearest_test_data): Likewise.
28089         (exp_towardzero_test_data): Likewise.
28090         (exp_downward_test_data): Likewise.
28091         (exp_upward_test_data): Likewise.
28092         (exp10_test_data): Likewise.
28093         (exp2_test_data): Likewise.
28094         (expm1_test_data): Likewise.
28095         (j0_test_data): Likewise.
28096         (j1_test_data): Likewise.
28097         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28098         (input_flag_type): Add flag_xfail_rounding.
28099         (input_flags): Add xfail-rounding.
28100         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28101         (output_for_one_input_case): Handle flag_xfail_rounding.
28102         * sysdeps/i386/fpu/libm-test-ulps: Update.
28103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28105 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28107         [BZ #16289]
28108         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28109         division by 0.
28111 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28113         [BZ #16195]
28114         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28115         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28116         (STAP_PROBE0): New macro.
28117         (STAP_PROBE1): Likewise.
28118         (STAP_PROBE2): Likewise.
28119         (STAP_PROBE3): Likewise.
28120         (STAP_PROBE4): Likewise.
28122 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28124         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28126 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28128         * benchtests/Makefile (bench): Add sqrt.
28129         (LDLIBS-bench-sqrt): New.
28130         * benchtests/sqrt-input: New.
28132 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28134         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28135         (GAIH_EAI): Likewise.
28136         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28137         (gaih_inet): Likewise.
28138         (getaddrinfo): Don't use GAIH_EAI.
28140         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28141         (struct gaih): Remove definition.
28143 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28145         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28146         Use HERRNOP directly.
28148 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28152 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28154         * math/gen-auto-libm-tests.c (test_functions): Add more
28155         single-argument functions.
28156         (special_fill_pi_2): New function.
28157         (special_fill_minus_pi_2): Likewise.
28158         (special_fill_pi_6): Likewise.
28159         (special_fill_minus_pi_6): Likewise.
28160         (special_fill_pi_3): Likewise.
28161         (special_fill_2pi_3): Likewise.
28162         (special_fill_e): Likewise.
28163         (special_fill_1_e): Likewise.
28164         (special_fill_e_minus_1): Likewise.
28165         (special_real_inputs): Add more special inputs.
28166         (output_for_one_input_case): Do not require ERANGE on underflow to
28167         zero if round-to-nearest result does not underflow to zero, unless
28168         exact results required.
28169         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28170         atan, atanh, cbrt, cos and cosh.
28171         * math/auto-libm-test-out: Regenerated.
28172         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28173         (acos_tonearest_test_data): Likewise.
28174         (acos_towardzero_test_data): Likewise.
28175         (acos_downward_test_data): Likewise.
28176         (acos_upward_test_data): Likewise.
28177         (acosh_test_data): Likewise.
28178         (asin_test_data): Likewise.
28179         (asin_tonearest_test_data): Likewise.
28180         (asin_towardzero_test_data): Likewise.
28181         (asin_upward_test_data): Likewise.
28182         (asinh_test_data): Likewise.
28183         (atan_test_data): Likewise.
28184         (atanh_test_data): Likewise.
28185         (cbrt_test_data): Likewise.
28186         (cos_test_data): Likewise.
28187         (cos_tonearest_test_data): Likewise.
28188         (cos_towardzero_test_data): Likewise.
28189         (cos_downward_test_data): Likewise.
28190         (cos_upward_test_data): Likewise.
28191         (cosh_test_data): Likewise.
28192         (cosh_tonearest_test_data): Likewise.
28193         (cosh_towardzero_test_data): Likewise.
28194         (cosh_downward_test_data): Likewise.
28195         (cosh_upward_test_data): Likewise.
28196         * sysdeps/i386/fpu/libm-test-ulps: Update.
28197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28199 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28201         [BZ #6787]
28202         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28203         * math/w_exp10f.c (__exp10f): Likewise.
28204         * math/w_exp10l.c (__exp10l): Likewise.
28205         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28206         errno settings in existing tests.
28208         [BZ #14032]
28209         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28210         precision control set to double precision.
28211         * sysdeps/i386/fpu/w_sqrt.c: New file.
28212         * math/auto-libm-test-in: Add more tests.
28213         * math/auto-libm-test-out: Update.
28215         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28216         (sqrt_test_tonearest): New function.
28217         (sqrt_towardzero_test_data): New variable.
28218         (sqrt_test_towardzero): New function.
28219         (sqrt_downward_test_data): New variable.
28220         (sqrt_test_downward): New function.
28221         (sqrt_upward_test_data): New variable.
28222         (sqrt_test_upward): New function.
28223         (main): Call the new functions.
28225         * math/gen-auto-libm-tests.c: New file.
28226         * math/auto-libm-test-in: Likewise.
28227         * math/auto-libm-test-out: New generated file.
28228         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28229         variables.
28230         (%beautify): Add generated representations of zero.
28231         (top level): Set $auto_input and call parse_auto_input.
28232         (beautify): Remove trailing "f" from hex float constants.
28233         (parse_args): Handle XFAIL_TEST.
28234         (convert_condition): New function.
28235         (or_value): Likewise.
28236         (or_cond_value): Likewise.
28237         (generate_testfile): Handle AUTO_TESTS_* lines.
28238         (parse_auto_input): New function.
28239         * math/libm-test.inc (XFAIL_TEST): New macro.
28240         (ERRNO_UNCHANGED): Update value.
28241         (ERRNO_EDOM): Likewise.
28242         (ERRNO_ERANGE): Likewise.
28243         (IGNORE_RESULT): Likewise.
28244         (TEST_COND_flt_32): New macro.
28245         (TEST_COND_dbl_64): Likewise.
28246         (TEST_COND_ldbl_96_intel): Likewise.
28247         (TEST_COND_ldbl_96_m68k): Likewise.
28248         (TEST_COND_ldbl_128): Likewise.
28249         (TEST_COND_ldbl_128ibm): Likewise.
28250         (TEST_COND_long32): Likewise.
28251         (TEST_COND_long64): Likewise.
28252         (TEST_COND_before_rounding): Likewise.
28253         (TEST_COND_after_rounding): Likewise.
28254         (enable_test): Handle XFAIL_TEST flag.
28255         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28256         with finite results.
28257         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28258         auto-libm-test-out.
28260 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28261             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28263         [BZ #16214]
28264         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28265         __tls_get_addr_internal instead of __tls_get_offset in order to
28266         avoid GOT pointer dependency.  Make rtld export
28267         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28268         __tls_get_addr since we are a __tls_get_offset platform.
28269         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28270         GOT pointer being set up before.
28271         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28273 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28275         * manual/math.texi (Errors in Math Functions): Document accuracy
28276         goals.
28278         [BZ #15004]
28279         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28280         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28281         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28282         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28283         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28284         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28285         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28286         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28287         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28288         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28289         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28290         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28291         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28292         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28293         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28294         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28296         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28297         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28298         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28299         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28300         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28301         Likewise.
28302         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28303         Likewise.
28304         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28305         Likewise.
28306         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28307         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28308         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28309         atomic-feupdateenv and flt-rounds.
28310         * sysdeps/powerpc/nofpu/Versions (libc): Add
28311         __atomic_feholdexcept, __atomic_feclearexcept,
28312         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28313         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28314         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28315         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28316         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28317         here.
28318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28319         Update.
28321         * manual/arith.texi (FP Exceptions): Document that exceptions may
28322         not be raised when matherr is used.
28323         (Math Error Reporting): Document overflow in directed rounding
28324         modes.  Document that errno may not be set when finite values are
28325         returned on overflow.  Document intent to set errno on underflow
28326         only for underflow to zero.
28328         [BZ #16271]
28329         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28330         round-to-nearest then adjust result for other rounding modes.
28331         * include/fenv.h (fegetround): Use libm_hidden_proto.
28332         * math/fegetround.c (fegetround): Use libm_hidden_def.
28333         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28334         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28335         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28336         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28337         Likewise.
28338         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28339         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28340         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28341         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28343 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28345         [BZ #16077]
28346         * nss/Versions (libnss_files): Add
28347         _nss_files_gethostbyname3_r.
28348         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28349         New function.
28350         (HOST_DB_LOOKUP): Remove macro.
28351         (_nss_files_gethostbyname_r): Implement function without the
28352         HOST_DB_LOOKUP macro.
28353         (_nss_files_gethostbyname2_r): Likewise.
28355 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28357         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28359 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28361         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28362         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28363         warning.
28365 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28367         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28368         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28369         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28370         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28371         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28372         __fe_nomask_env_priv and attribute_hidden.
28373         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28374         (libc_feupdateenv_test_ppc): Likewise.
28375         (libc_feresetround_ppc): Likewise.
28376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28377         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28378         compat_symbol macro.
28379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28380         (__fe_nomask_env): Likewise.
28381         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28383 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28385         * string/Makefile: Remove ifunc tests.
28386         * string/test-string.h: Define TEST_IFUNC.
28387         * string/test-bcopy-ifunc.c: Remove.
28388         * string/test-bzero-ifunc.c: Likewise.
28389         * string/test-memccpy-ifunc.c: Likewise.
28390         * string/test-memchr-ifunc.c: Likewise.
28391         * string/test-memcmp-ifunc.c: Likewise.
28392         * string/test-memcpy-ifunc.c: Likewise.
28393         * string/test-memmem-ifunc.c: Likewise.
28394         * string/test-memmove-ifunc.c: Likewise.
28395         * string/test-mempcpy-ifunc.c: Likewise.
28396         * string/test-memrchr-ifunc.c: Likewise.
28397         * string/test-memset-ifunc.c: Likewise.
28398         * string/test-rawmemchr-ifunc.c: Likewise.
28399         * string/test-stpcpy-ifunc.c: Likewise.
28400         * string/test-stpncpy-ifunc.c: Likewise.
28401         * string/test-strcasecmp-ifunc.c: Likewise.
28402         * string/test-strcasestr-ifunc.c: Likewise.
28403         * string/test-strcat-ifunc.c: Likewise.
28404         * string/test-strchr-ifunc.c: Likewise.
28405         * string/test-strchrnul-ifunc.c: Likewise.
28406         * string/test-strcmp-ifunc.c: Likewise.
28407         * string/test-strcpy-ifunc.c: Likewise.
28408         * string/test-strcspn-ifunc.c: Likewise.
28409         * string/test-strlen-ifunc.c: Likewise.
28410         * string/test-strncasecmp-ifunc.c: Likewise.
28411         * string/test-strncat-ifunc.c: Likewise.
28412         * string/test-strncmp-ifunc.c: Likewise.
28413         * string/test-strncpy-ifunc.c: Likewise.
28414         * string/test-strnlen-ifunc.c: Likewise.
28415         * string/test-strpbrk-ifunc.c: Likewise.
28416         * string/test-strrchr-ifunc.c: Likewise.
28417         * string/test-strspn-ifunc.c: Likewise.
28418         * string/test-strstr-ifunc.c: Likewise.
28420 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28422         * benchtests/Makefile: Remove ifunc tests.
28423         * benchtests/bench-string.h: Define TEST_IFUNC.
28424         * benchtests/bench-bcopy-ifunc.c: Remove.
28425         * benchtests/bench-bzero-ifunc.c: Likewise.
28426         * benchtests/bench-memccpy-ifunc.c: Likewise.
28427         * benchtests/bench-memchr-ifunc.c: Likewise.
28428         * benchtests/bench-memcmp-ifunc.c: Likewise.
28429         * benchtests/bench-memcpy-ifunc.c: Likewise.
28430         * benchtests/bench-memmem-ifunc.c: Likewise.
28431         * benchtests/bench-memmove-ifunc.c: Likewise.
28432         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28433         * benchtests/bench-memrchr-ifunc.c: Likewise.
28434         * benchtests/bench-memset-ifunc.c: Likewise.
28435         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28436         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28437         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28438         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28439         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28440         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28441         * benchtests/bench-strcat-ifunc.c: Likewise.
28442         * benchtests/bench-strchr-ifunc.c: Likewise.
28443         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28444         * benchtests/bench-strcmp-ifunc.c: Likewise.
28445         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28446         * benchtests/bench-strcpy-ifunc.c: Likewise.
28447         * benchtests/bench-strcspn-ifunc.c: Likewise.
28448         * benchtests/bench-strlen-ifunc.c: Likewise.
28449         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28450         * benchtests/bench-strncat-ifunc.c: Likewise.
28451         * benchtests/bench-strncmp-ifunc.c: Likewise.
28452         * benchtests/bench-strncpy-ifunc.c: Likewise.
28453         * benchtests/bench-strnlen-ifunc.c: Likewise.
28454         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28455         * benchtests/bench-strrchr-ifunc.c: Likewise.
28456         * benchtests/bench-strsep-ifunc.c: Likewise.
28457         * benchtests/bench-strspn-ifunc.c: Likewise.
28458         * benchtests/bench-strstr-ifunc.c: Likewise.
28460 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28462         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28464 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28466         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28467         * rt/aio.h: Likewise.
28468         * sysdeps/gnu/bits/utmp.h: Likewise.
28469         * sysdeps/gnu/bits/utmpx.h: Likewise.
28470         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28471         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28472         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28473         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28474         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28475         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28476         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28477         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28478         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28479         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28480         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28481         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28482         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28484         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28485         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28486         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28487         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28488         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28489         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28490         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28491         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28492         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28493         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28494         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28495         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28496         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28497         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28498         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28499         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28500         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28501         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28502         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28503         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28504         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28505         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28506         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28507         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28508         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28509         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28510         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28511         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28513 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28515         [BZ #16245]
28516         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28517         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28519 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28521         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28522         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28523         Likewise.
28525 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28527         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28528         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28529         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28530         (__fesetround): Remove define.
28531         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28532         rounding and exceptions handling.
28533         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28534         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28535         (__fe_nomask_env): Likewise.
28536         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28537         __fegetround instead of fegetround.
28538         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28539         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28541 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28543         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28544         it's there.
28546         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28548 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28550         [BZ #11157]
28551         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28552         (encrypt_r): Likewise.
28553         * malloc/obstack.h (obstack_free): Likewise.
28554         * posix/unistd.h (encrypt): Likewise.
28556 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28558         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28559         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28560         DL_CALL_DT_FINI() that call the functions directly.
28561         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28562         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28563         * elf/dl-fini.c: Likewise.
28565 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28567         * malloc/hooks.c (memalign_check): Add alignment rounding.
28568         * malloc/malloc.c (_mid_memalign): New function.
28569         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28570         Implement by calling _mid_memalign.
28571         * manual/probes.texi (Memory Allocation Probes): Remove
28572         memory_valloc_retry and memory_pvalloc_retry.
28574 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28576         * locale/programs/locarchive.c (open_archive): Add const
28577         qualifier to ARCHIVEFNAME and copy default fname to
28578         DEFAULT_FNAME.
28580         [BZ #15601]
28581         * libio/tst-widetext.input: Rename Oriya to Odia.
28582         * locale/iso-639.def: Likewise.
28584         * manual/probes.texi (Mathematical Function Probes): Add
28585         documentation for sin, cos, asin and acos probes.
28586         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28587         (__sin32): Add slowasin probe.
28588         (__cos32): Add slowacos probe.
28589         (__mpsin): Add slowsin probe.
28590         (__mpcos): Add slowcos probe.
28592 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28594         [BZ #15483]
28595         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28596         thread-local __sim_exceptions_thread and global
28597         __sim_exceptions_global.
28598         (__sim_disabled_exceptions): Change to thread-local
28599         __sim_disabled_exceptions_thread and global
28600         __sim_disabled_exceptions_global.
28601         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28602         and global __sim_round_mode_global.
28603         (__simulate_exceptions): Use thread-local floating-point state and
28604         set global state from it as needed.
28605         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28606         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28607         __sim_round_mode_thread.
28608         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28609         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28610         and global __sim_exceptions_global.
28611         (__sim_disabled_exceptions): Change to thread-local
28612         __sim_disabled_exceptions_thread and global
28613         __sim_disabled_exceptions_global.
28614         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28615         and global __sim_round_mode_global.
28616         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28617         (SIM_SET_GLOBAL): Likewise.
28618         * sysdeps/powerpc/soft-fp/sfp-machine.h
28619         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28620         __sim_round_mode_thread.
28621         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28622         __sim_disabled_exceptions_thread.
28623         (__sim_exceptions): Change to __sim_exceptions_thread.
28624         (__sim_disabled_exceptions): Change to
28625         __sim_disabled_exceptions_thread.
28626         (__sim_round_mode): Change to __sim_round_mode_thread.
28627         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28628         thread-local floating-point state and set global state from it as
28629         needed.
28630         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28631         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28632         (__sim_disabled_exceptions): Remove extern declaration.
28633         (feenableexcept): Use thread-local floating-point state and set
28634         global state from it as needed.
28635         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28636         extern declaration.
28637         (__sim_disabled_exceptions): Likewise.
28638         (__sim_round_mode): Likewise.
28639         (__fegetenv): Use thread-local floating-point state.
28640         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28641         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28642         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28643         floating-point state and set global state from it as needed.
28644         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28645         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28646         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28647         Likewise.
28648         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28649         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28650         Likewise.
28651         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28652         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28653         Use __sim_round_mode_thread.
28654         * math/test-fenv-tls.c: New file.
28655         * math/Makefile (tests): Add test-fenv-tls.
28656         ($(objpfx)test-fenv-tls): Depend on
28657         $(common-objpfx)nptl/libpthread.so.
28659 2013-11-19  Andreas Schwab  <schwab@suse.de>
28661         * locale/programs/locale.c (show_info): Decode wordarray elements.
28662         * locale/categories.def (LC_MONETARY): Add element for
28663         _NL_MONETARY_CRNCYSTR.
28664         * locale/C-monetary.c (conversion_rate): New variable.
28665         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28666         element.
28668 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28670         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28671         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28673 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28675         * elf/Makefile (tst-auxv): New test.
28676         * elf/tst-auxv.c: New
28677         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28679 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28681         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28682         (hidden_proto): Caller changed.
28683         (hidden_tls_proto): New macro.
28684         (libc_hidden_tls_proto): Likewise.
28685         (rtld_hidden_tls_proto): Likewise.
28686         (libm_hidden_tls_proto): Likewise.
28687         (libresolv_hidden_tls_proto): Likewise.
28688         (librt_hidden_tls_proto): Likewise.
28689         (libdl_hidden_tls_proto): Likewise.
28690         (libnss_files_hidden_tls_proto): Likewise.
28691         (libnsl_hidden_tls_proto): Likewise.
28692         (libnss_nisplus_hidden_tls_proto): Likewise.
28693         (libutil_hidden_tls_proto): Likewise.
28695 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28697         [BZ #10253]
28698         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28699         (decompose_rpath): Defer expansion to fillin_rpath.
28700         (_dl_init_paths): Pass linkmap to fillin_rpath.
28702 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28704         * benchtests/Makefile: Add strsep.
28705         * benchtests/bench-strsep.c: New file: strsep benchtest.
28706         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28708 2013-11-18  Andreas Schwab  <schwab@suse.de>
28710         * locale/programs/locale.c (show_info) [case byte]: Check for
28711         '\377' instead of '\177'.
28712         * locale/C-monetary.c (not_available): Always use "\377".
28713         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28714         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28715         detect unavailable sign_posn locale elements.
28716         * locale/localeconv.c (__localeconv): For grouping and
28717         mon_grouping handle "\177" and "\377" like no grouping.
28718         (INT_ELEM): New macro.  Use it to set all numeric members.
28719         * locale/programs/ld-monetary.c (monetary_read)
28720         <tok_mon_grouping>: Normalize single -1 to the empty string.
28721         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28722         Likewise.
28724 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28726         [BZ #16055]
28727         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28728         when we match (nil).
28729         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28731 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28733         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28734         (NO_TEST_INLINE): Update value.
28735         (ERRNO_UNCHANGED): Likewise.
28736         (ERRNO_EDOM): Likewise.
28737         (ERRNO_ERANGE): Likewise.
28738         (IGNORE_RESULT): Likewise.
28739         (check_float_internal): Check signs of NaN results if
28740         TEST_NAN_SIGN used.
28741         (check_complex): Pass TEST_NAN_SIGN flag through to second
28742         check_float_internal call.
28743         (copysign_test_data): Add tests with quiet NaNs as second
28744         argument.  Use TEST_NAN_SIGN.
28745         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28746         TEST_NAN_SIGN.
28747         (signbit_test_data): Add tests of quiet NaN argument.
28748         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28750         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28751         $ignore_result.
28752         (parse_args): Handle function results specified as IGNORE.
28753         * math/libm-test.inc (IGNORE_RESULT): New macro.
28754         (check_float_internal): Do not check numerical result if flag
28755         IGNORE_RESULT set.
28756         (check_complex): Pass through IGNORE_RESULT to second
28757         check_float_internal call.
28758         (check_int): Do not check numerical result if flag IGNORE_RESULT
28759         set.
28760         (check_long): Likewise.
28761         (check_bool): Likewise.
28762         (check_longlong): Likewise.
28763         (lrint_test_data): Add tests of infinite and NaN arguments.
28764         (lrint_tonearest_test_data): Likewise.
28765         (lrint_towardzero_test_data): Likewise.
28766         (lrint_downward_test_data): Likewise.
28767         (lrint_upward_test_data): Likewise.
28768         (llrint_test_data): Likewise.
28769         (llrint_tonearest_test_data): Likewise.
28770         (llrint_towardzero_test_data): Likewise.
28771         (llrint_downward_test_data): Likewise.
28772         (llrint_upward_test_data): Likewise.
28773         (lround_test_data): Likewise.
28774         (llround_test_data): Likewise.
28776         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28777         (ERRNO_UNCHANGED): Update value.
28778         (ERRNO_EDOM): Likewise.
28779         (ERRNO_ERANGE): Likewise.
28780         (NO_TEST_INLINE_FLOAT): New macro.
28781         (NO_TEST_INLINE_DOUBLE): Likewise.
28782         (enable_test): New function.
28783         (RUN_TEST_f_f): Check enable_test before running test.
28784         (RUN_TEST_2_f): Likewise.
28785         (RUN_TEST_fff_f): Likewise.
28786         (RUN_TEST_c_f): Likewise.
28787         (RUN_TEST_f_f1): Likewise.
28788         (RUN_TEST_fF_f1): Likewise.
28789         (RUN_TEST_fI_f1): Likewise.
28790         (RUN_TEST_ffI_f1): Likewise.
28791         (RUN_TEST_c_c): Likewise.
28792         (RUN_TEST_cc_c): Likewise.
28793         (RUN_TEST_f_i): Likewise.
28794         (RUN_TEST_f_i_tg): Likewise.
28795         (RUN_TEST_ff_i_tg): Likewise.
28796         (RUN_TEST_f_b): Likewise.
28797         (RUN_TEST_f_b_tg): Likewise.
28798         (RUN_TEST_f_l): Likewise.
28799         (RUN_TEST_f_L): Likewise.
28800         (RUN_TEST_fFF_11): Likewise.
28801         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28802         conditionals.
28803         (cosh_test_data): Likewise.
28804         (exp_test_data): Likewise.
28805         (expm1_test_data): Likewise.
28806         (hypot_test_data): Likewise.
28807         (pow_test_data): Likewise.
28808         (sinh_test_data): Likewise.
28809         (tanh_test_data): Likewise.
28810         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28811         flags argument.
28813         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28814         tests with quiet NaN input and output.
28815         (acosh_test_data): Likewise.
28816         (asin_test_data): Likewise.
28817         (asinh_test_data): Likewise.
28818         (atan_test_data): Likewise.
28819         (atanh_test_data): Likewise.
28820         (atan2_test_data): Likewise.
28821         (cbrt_test_data): Likewise.
28822         (cos_test_data): Likewise.
28823         (cosh_test_data): Likewise.
28824         (erf_test_data): Likewise.
28825         (erfc_test_data): Likewise.
28826         (exp_test_data): Likewise.
28827         (exp10_test_data): Likewise.
28828         (exp2_test_data): Likewise.
28829         (expm1_test_data): Likewise.
28830         (hypot_test_data): Likewise.
28831         (j0_test_data): Likewise.
28832         (j1_test_data): Likewise.
28833         (jn_test_data): Likewise.
28834         (lgamma_test_data): Likewise.
28835         (log_test_data): Likewise.
28836         (log10_test_data): Likewise.
28837         (log1p_test_data): Likewise.
28838         (log2_test_data): Likewise.
28839         (pow_test_data): Likewise.
28840         (scalb_test_data): Likewise.
28841         (sin_test_data): Likewise.
28842         (sincos_test_data): Likewise.
28843         (sinh_test_data): Likewise.
28844         (tan_test_data): Likewise.
28845         (tanh_test_data): Likewise.
28846         (tgamma_test_data): Likewise.
28847         (y0_test_data): Likewise.
28848         (y1_test_data): Likewise.
28849         (yn_test_data): Likewise.
28851         [BZ #16167]
28852         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28853         argument being NaN and avoid computations with second argument in
28854         that case.
28855         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28856         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28857         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28859 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28861         * locale/iso-639.def: Add Chitwani Tharu (the).
28863 2013-11-14  Andreas Schwab  <schwab@suse.de>
28865         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28866         word instead of empty string.
28868 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28871         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28873         (__fe_nomask_env): Likewise.
28875 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28877         * benchtests/bench-timing.h: Include time.h.
28879 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28881         [BZ #15997]
28882         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28883         to 3.4.0 for x32.
28884         * sysdeps/unix/sysv/linux/configure: Regenerated.
28886 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28888         [BZ #16151]
28889         * stdlib/strtod_l.c (round_and_return): Do not consider
28890         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28891         exponent one less than half the least subnormal exponent.
28892         * stdlib/test-strtod-round-data: Add more tests.
28893         * stdlib/tst-strtod-round.c (tests): Regenerated.
28895 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28897         [BZ #14143]
28898         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28899         (__fe_mask_env): Likewise.
28900         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28901         libm_hidden_proto and add function prototype.
28902         (__fe_mask_env): Add function prototype.
28903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28904         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28906         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28908         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28910 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28912         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28913         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28915 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28917         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28918         of htab_find_slot().
28920 2013-11-11  David S. Miller  <davem@davemloft.net>
28922         [BZ #16150]
28923         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28924         symbol in the non-vis3 case in static builds.
28925         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28926         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28927         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28928         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28930 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28932         [BZ #387]
28933         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28934         it is empty.
28936 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28938         * benchtests/Makefile: Add bench-strtod.
28939         * benchtests/bench-strtod.c: New file: strtod benchtest
28941 2013-11-11  Andreas Schwab  <schwab@suse.de>
28943         [BZ #16153]
28944         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28945         terminating NUL in key length.
28947 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28949         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28950         Add artificial ODP entry for vDSO symbol for PPC64.
28951         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28952         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28954 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28956         [BZ #15374]
28957         * nss/getent.c (services_keys): Recognize services starting with digit.
28959 2013-11-06  David S. Miller  <davem@davemloft.net>
28961         [BZ #15985]
28962         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28963         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28965 2013-11-06  Will Newton  <will.newton@linaro.org>
28967         * manual/memory.texi (Malloc Examples): Remove register
28968         keyword from examples.
28970 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28972         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28974 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28976         [BZ #6981]
28977         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28978         depending on [__GCC_IEC_559 > 0].
28979         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28980         depending on [__GCC_IEC_559_COMPLEX > 0].
28982 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28984         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28985         to iso-639.def.
28987 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28989         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28991 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28993         [BZ #16112]
28994         * malloc/malloc (malloc_info): Do not handle first bin as
28995         special case.
28997 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28999         * locale/iso-639.def: Add Central Nahuatl (nhn).
29001 2013-11-01  Bruno Haible  <bruno@clisp.org>
29003         [BZ #7003]
29004         * manual/math.texi (BSD Random): Specify range upper bound as
29005         in POSIX.
29007 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29009         * locale/iso-639.def: Add Meadow Mari (mhr).
29011 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29013         [BZ #14752], [BZ #15763]
29014         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29015         Validate name.
29016         * rt/tst_shm.c: Add test for escaping directory.
29018 2013-10-31  Andreas Schwab  <schwab@suse.de>
29020         [BZ #15917]
29021         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29022         followed by 'x' as part of digit sequence.
29023         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29025 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29027         [BZ #16037]
29028         * configure.ac: allow GNU Make 4.0 and greater.
29029         * configure: Regenerated.
29031 2013-10-30  Will Newton  <will.newton@linaro.org>
29033         [BZ #16038]
29034         * malloc/hooks.c (memalign_check): Limit alignment to the
29035         maximum representable power of two.
29036         * malloc/malloc.c (__libc_memalign): Likewise.
29037         * malloc/tst-memalign.c (do_test): Add test for very
29038         large alignment values.
29039         * malloc/tst-posix_memalign.c (do_test): Likewise.
29041 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29043         [BZ #11087]
29044         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29045         (munmap_chunk): Likewise.
29046         (mremap_chunk): Likewise.
29048 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29050         [BZ #15799]
29051         * stdlib/div.c (div): Remove obsolete code.
29052         * stdlib/ldiv.c (ldiv): Likewise.
29053         * stdlib/lldiv.c (lldiv): Likewise.
29055 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29057         [BZ #16071]
29058         * nss/nss_files/files-XXX.c (get_contents_ret): New
29059         enumerator.
29060         (get_contents): New function.
29061         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29063 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29065         * configure.in: Moved to ...
29066         * configure.ac: ... here. Change reference to configure.in
29067         to configure.ac.
29068         * sysdeps/arm/preconfigure.ac: ... here.
29069         configure.in to configure.ac.
29070         * sysdeps/gnu/configure.in: Moved to ...
29071         * sysdeps/gnu/configure.ac: ... here.
29072         * sysdeps/i386/configure.in: Moved to ...
29073         * sysdeps/i386/configure.ac: ... here.
29074         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29075         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29076         * sysdeps/mach/configure.in: Moved to ...
29077         * sysdeps/mach/configure.ac: ... here.
29078         * sysdeps/mach/hurd/configure.in: Moved to ...
29079         * sysdeps/mach/hurd/configure.ac: ... here.
29080         * sysdeps/powerpc/configure.in: Moved to ...
29081         * sysdeps/powerpc/configure.ac: ... here.
29082         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29083         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29084         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29085         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29086         * sysdeps/s390/s390-32/configure.in: Moved to ...
29087         * sysdeps/s390/s390-32/configure.ac: ... here.
29088         * sysdeps/s390/s390-64/configure.in: Moved to ...
29089         * sysdeps/s390/s390-64/configure.ac: ... here.
29090         * sysdeps/sh/configure.in: Moved to ...
29091         * sysdeps/sh/configure.ac: ... here.
29092         * sysdeps/sparc/configure.in: Moved to ...
29093         * sysdeps/sparc/configure.ac: ... here.
29094         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29095         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29096         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29097         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29098         * sysdeps/x86_64/configure.in: Moved to ...
29099         * sysdeps/x86_64/configure.ac: ... here.
29100         * sysdeps/x86_64/preconfigure.in: Moved to ...
29101         * sysdeps/x86_64/preconfigure.ac: ... here.
29102         * aclocal.m4: Change reference to configure.in to configure.ac.
29103         * config.h.in: Likewise.
29104         * manual/install.texi: Likewise.
29105         * manual/maint.texi: Likewise.
29106         * Makefile: Likewise.
29107         * malloc/Makefile: Likewise.
29108         * nscd/Makefile: Likewise.
29109         * Makeconfig: Change reference to configure.in and
29110         preconfigure.in to configure.ac and preconfigure.ac
29111         respectively.
29112         * INSTALL: Regenerated.
29113         * configure: Likewise.
29114         * sysdeps/gnu/configure: Likewise.
29115         * sysdeps/i386/configure: Likewise.
29116         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29117         * sysdeps/mach/configure: Likewise.
29118         * sysdeps/mach/hurd/configure: Likewise.
29119         * sysdeps/powerpc/configure: Likewise.
29120         * sysdeps/powerpc/powerpc32/configure: Likewise.
29121         * sysdeps/powerpc/powerpc64/configure: Likewise.
29122         * sysdeps/s390/s390-32/configure: Likewise.
29123         * sysdeps/s390/s390-64/configure: Likewise.
29124         * sysdeps/sh/configure: Likewise.
29125         * sysdeps/sparc/configure: Likewise.
29126         * sysdeps/unix/sysv/linux/configure: Likewise.
29127         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29128         * sysdeps/x86_64/configure: Likewise.
29129         * sysdeps/x86_64/preconfigure: Likewise.
29131 2013-10-29  Andreas Schwab  <schwab@suse.de>
29133         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29135 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29137         * benchtests/pow-inputs: Add new inputs.
29139         * benchtests/exp-inputs: Add new inputs.
29141         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29142         conditional check for return value.
29143         (__cos32): Likewise.
29145 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29147         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29148         to provide a boost for large inputs with word alignment.
29149         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29150         implementation based on optimized PPC64 strcpy.
29151         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29152         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29153         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29154         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29156 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29158         [BZ #2801]
29159         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29161 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29163         [BZ #14876]
29164         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29165         * time/tst-strptime.c (day_tests): Add testcase.
29167 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29169         [BZ #14029]
29170         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29172 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29174         [BZ #16074]
29175         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29176         MAP_FAILED on error.
29178 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29180         [BZ #16072]
29181         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29182         heap for large requests.
29184 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29186         [BZ #9954]
29187         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29188         result if the result has no associated interface.
29189         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29190         interface for all 127.X.Y.Z addresses.
29192 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29194         * locale/iso-639.def: Add Ligurian (lij)
29196 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29198         [BZ #15825]
29199         * sunrpc/rpc_main.c: Document rpcgen -5.
29201 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29203         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29205 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29207         [BZ #10278]
29208         * posix/glob.c: Match only directories when trailing slash is present.
29209         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29210         (main): Add testcase.
29212 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29214         [BZ #15670]
29215         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29217 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29219         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29220         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29221         AUTH_DES and cindex for FIPS 140-2.
29222         (DES Encryption): Add cindex FIPS 46-3.
29224         * locale/locarchive.h (struct locarhandle): Add fname.
29225         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29226         if an optional argument was specified to --list-archive,
29227         otherwise NULL.
29228         * locale/programs/locarchive.c (show_archive_content): Take new
29229         argument fname and pass it via ah.fname to open_archive.
29230         * locale/programs/localedef.h: Update decl.
29231         (open_archive): If AH->fname is non-null, open that file
29232         rather than the default file name, and don't ignore ENOENT.
29233         (create_archive): Set AH.fname to NULL.
29234         (delete_locales_from_archive): Likewise.
29235         (add_locales_to_archive): Likewise.
29236         * locale/programs/locfile.c (write_all_categories): Likewise.
29238 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29239             Aldy Hernandez  <aldyh@redhat.com>
29241         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29242         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29243         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29244         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29245         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29246         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29247         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29248         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29249         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29250         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29251         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29252         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29253         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29254         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29255         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29256         Likewise.
29257         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29258         Likewise.
29259         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29260         Likewise.
29261         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29262         Likewise.
29263         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29264         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29265         Likewise.
29266         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29267         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29268         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29269         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29270         Likewise.
29271         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29272         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29273         * sysdeps/powerpc/preconfigure: Likewise.
29274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29275         Likewise.
29276         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29277         Replace contents of file by #include of <fenv_libc.h>.
29278         * sysdeps/powerpc/soft-fp/sfp-machine.h
29279         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29280         and <sys/prctl.h>.
29281         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29282         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29283         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29284         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29285         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29286         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29288         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29289         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29290         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29291         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29292         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29294         Allow copysignl PLT reference to be missing.
29296 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29297             Joseph Myers  <joseph@codesourcery.com
29299         [BZ #15948]
29300         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29301         single character.
29302         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29304 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29306         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29307         * elf/tst-tls1.c: Likewise.
29308         * elf/tst-tls10.h: Likewise.
29309         * elf/tst-tls14.c: Likewise.
29310         * elf/tst-tls2.c: Likewise.
29311         * elf/tst-tls3.c: Likewise.
29312         * elf/tst-tls4.c: Likewise.
29313         * elf/tst-tls5.c: Likewise.
29314         * elf/tst-tls6.c: Likewise.
29315         * elf/tst-tls7.c: Likewise.
29316         * elf/tst-tls8.c: Likewise.
29317         * elf/tst-tls9.c: Likewise.
29318         * elf/tst-tlsmod1.c: Likewise.
29319         * elf/tst-tlsmod13.c: Likewise.
29320         * elf/tst-tlsmod13a.c: Likewise.
29321         * elf/tst-tlsmod14a.c: Likewise.
29322         * elf/tst-tlsmod16a.c: Likewise.
29323         * elf/tst-tlsmod16b.c: Likewise.
29324         * elf/tst-tlsmod2.c: Likewise.
29325         * elf/tst-tlsmod3.c: Likewise.
29326         * elf/tst-tlsmod4.c: Likewise.
29327         * elf/tst-tlsmod5.c: Likewise.
29328         * elf/tst-tlsmod6.c: Likewise.
29330 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29332         [BZ #12486]
29333         * malloc/malloc.c: remove checks for statistics.
29335 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29337         [BZ #15277]
29338         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29339         * inet/tst-network.c: Add testcase.
29341 2013-10-17  Andreas Schwab  <schwab@suse.de>
29343         [BZ #15218]
29344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29345         to determine canonical name.
29347 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29349         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29350         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29351         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29352         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29353         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29354         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29355         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29356         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29357         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29358         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29359         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29360         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29361         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29362         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29363         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29364         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29365         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29366         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29367         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29368         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29369         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29370         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29371         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29372         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29373         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29374         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29375         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29376         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29377         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29378         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29379         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29380         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29381         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29382         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29383         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29384         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29385         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29386         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29387         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29388         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29389         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29390         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29391         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29392         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29393         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29394         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29395         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29396         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29397         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29398         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29399         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29400         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29401         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29402         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29403         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29404         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29405         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29406         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29408 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29410         [BZ #16041]
29411         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29412         make result into a quiet NaN.
29414 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29416         * soft-fp/adddf3.c: Fix horizontal whitespace.
29417         * soft-fp/addsf3.c: Likewise.
29418         * soft-fp/addtf3.c: Likewise.
29419         * soft-fp/divdf3.c: Likewise.
29420         * soft-fp/divsf3.c: Likewise.
29421         * soft-fp/divtf3.c: Likewise.
29422         * soft-fp/double.h: Likewise.
29423         * soft-fp/eqdf2.c: Likewise.
29424         * soft-fp/eqsf2.c: Likewise.
29425         * soft-fp/eqtf2.c: Likewise.
29426         * soft-fp/extenddftf2.c: Likewise.
29427         * soft-fp/extended.h: Likewise.
29428         * soft-fp/extendsfdf2.c: Likewise.
29429         * soft-fp/extendsftf2.c: Likewise.
29430         * soft-fp/extendxftf2.c: Likewise.
29431         * soft-fp/fixdfdi.c: Likewise.
29432         * soft-fp/fixdfsi.c: Likewise.
29433         * soft-fp/fixdfti.c: Likewise.
29434         * soft-fp/fixsfdi.c: Likewise.
29435         * soft-fp/fixsfsi.c: Likewise.
29436         * soft-fp/fixsfti.c: Likewise.
29437         * soft-fp/fixtfdi.c: Likewise.
29438         * soft-fp/fixtfsi.c: Likewise.
29439         * soft-fp/fixtfti.c: Likewise.
29440         * soft-fp/fixunsdfdi.c: Likewise.
29441         * soft-fp/fixunsdfsi.c: Likewise.
29442         * soft-fp/fixunsdfti.c: Likewise.
29443         * soft-fp/fixunssfdi.c: Likewise.
29444         * soft-fp/fixunssfsi.c: Likewise.
29445         * soft-fp/fixunssfti.c: Likewise.
29446         * soft-fp/fixunstfdi.c: Likewise.
29447         * soft-fp/fixunstfsi.c: Likewise.
29448         * soft-fp/fixunstfti.c: Likewise.
29449         * soft-fp/floatdidf.c: Likewise.
29450         * soft-fp/floatdisf.c: Likewise.
29451         * soft-fp/floatditf.c: Likewise.
29452         * soft-fp/floatsidf.c: Likewise.
29453         * soft-fp/floatsisf.c: Likewise.
29454         * soft-fp/floatsitf.c: Likewise.
29455         * soft-fp/floattidf.c: Likewise.
29456         * soft-fp/floattisf.c: Likewise.
29457         * soft-fp/floattitf.c: Likewise.
29458         * soft-fp/floatundidf.c: Likewise.
29459         * soft-fp/floatundisf.c: Likewise.
29460         * soft-fp/floatunditf.c: Likewise.
29461         * soft-fp/floatunsidf.c: Likewise.
29462         * soft-fp/floatunsisf.c: Likewise.
29463         * soft-fp/floatunsitf.c: Likewise.
29464         * soft-fp/floatuntidf.c: Likewise.
29465         * soft-fp/floatuntisf.c: Likewise.
29466         * soft-fp/floatuntitf.c: Likewise.
29467         * soft-fp/fmadf4.c: Likewise.
29468         * soft-fp/fmasf4.c: Likewise.
29469         * soft-fp/fmatf4.c: Likewise.
29470         * soft-fp/gedf2.c: Likewise.
29471         * soft-fp/gesf2.c: Likewise.
29472         * soft-fp/getf2.c: Likewise.
29473         * soft-fp/ledf2.c: Likewise.
29474         * soft-fp/lesf2.c: Likewise.
29475         * soft-fp/letf2.c: Likewise.
29476         * soft-fp/muldf3.c: Likewise.
29477         * soft-fp/mulsf3.c: Likewise.
29478         * soft-fp/multf3.c: Likewise.
29479         * soft-fp/negdf2.c: Likewise.
29480         * soft-fp/negsf2.c: Likewise.
29481         * soft-fp/negtf2.c: Likewise.
29482         * soft-fp/op-1.h: Likewise.
29483         * soft-fp/op-2.h: Likewise.
29484         * soft-fp/op-4.h: Likewise.
29485         * soft-fp/op-8.h: Likewise.
29486         * soft-fp/op-common.h: Likewise.
29487         * soft-fp/quad.h: Likewise.
29488         * soft-fp/single.h: Likewise.
29489         * soft-fp/soft-fp.h: Likewise.
29490         * soft-fp/sqrtdf2.c: Likewise.
29491         * soft-fp/sqrtsf2.c: Likewise.
29492         * soft-fp/sqrttf2.c: Likewise.
29493         * soft-fp/subdf3.c: Likewise.
29494         * soft-fp/subsf3.c: Likewise.
29495         * soft-fp/subtf3.c: Likewise.
29496         * soft-fp/truncdfsf2.c: Likewise.
29497         * soft-fp/trunctfdf2.c: Likewise.
29498         * soft-fp/trunctfsf2.c: Likewise.
29499         * soft-fp/trunctfxf2.c: Likewise.
29500         * soft-fp/unorddf2.c: Likewise.
29501         * soft-fp/unordsf2.c: Likewise.
29502         * soft-fp/unordtf2.c: Likewise.
29504 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29506         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29507         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29509 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29511         * elf/dl-libc.c: Clear initfini list after freeing.
29513 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29515         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29516         * soft-fp/addsf3.c: Likewise.
29517         * soft-fp/addtf3.c: Likewise.
29518         * soft-fp/divdf3.c: Likewise.
29519         * soft-fp/divsf3.c: Likewise.
29520         * soft-fp/divtf3.c: Likewise.
29521         * soft-fp/double.h: Likewise.
29522         * soft-fp/eqdf2.c: Likewise.
29523         * soft-fp/eqsf2.c: Likewise.
29524         * soft-fp/eqtf2.c: Likewise.
29525         * soft-fp/extenddftf2.c: Likewise.
29526         * soft-fp/extended.h: Likewise.
29527         * soft-fp/extendsfdf2.c: Likewise.
29528         * soft-fp/extendsftf2.c: Likewise.
29529         * soft-fp/extendxftf2.c: Likewise.
29530         * soft-fp/fixdfdi.c: Likewise.
29531         * soft-fp/fixdfsi.c: Likewise.
29532         * soft-fp/fixdfti.c: Likewise.
29533         * soft-fp/fixsfdi.c: Likewise.
29534         * soft-fp/fixsfsi.c: Likewise.
29535         * soft-fp/fixsfti.c: Likewise.
29536         * soft-fp/fixtfdi.c: Likewise.
29537         * soft-fp/fixtfsi.c: Likewise.
29538         * soft-fp/fixtfti.c: Likewise.
29539         * soft-fp/fixunsdfdi.c: Likewise.
29540         * soft-fp/fixunsdfsi.c: Likewise.
29541         * soft-fp/fixunsdfti.c: Likewise.
29542         * soft-fp/fixunssfdi.c: Likewise.
29543         * soft-fp/fixunssfsi.c: Likewise.
29544         * soft-fp/fixunssfti.c: Likewise.
29545         * soft-fp/fixunstfdi.c: Likewise.
29546         * soft-fp/fixunstfsi.c: Likewise.
29547         * soft-fp/fixunstfti.c: Likewise.
29548         * soft-fp/floatdidf.c: Likewise.
29549         * soft-fp/floatdisf.c: Likewise.
29550         * soft-fp/floatditf.c: Likewise.
29551         * soft-fp/floatsidf.c: Likewise.
29552         * soft-fp/floatsisf.c: Likewise.
29553         * soft-fp/floatsitf.c: Likewise.
29554         * soft-fp/floattidf.c: Likewise.
29555         * soft-fp/floattisf.c: Likewise.
29556         * soft-fp/floattitf.c: Likewise.
29557         * soft-fp/floatundidf.c: Likewise.
29558         * soft-fp/floatundisf.c: Likewise.
29559         * soft-fp/floatunsidf.c: Likewise.
29560         * soft-fp/floatunsisf.c: Likewise.
29561         * soft-fp/floatuntidf.c: Likewise.
29562         * soft-fp/floatuntisf.c: Likewise.
29563         * soft-fp/floatuntitf.c: Likewise.
29564         * soft-fp/fmadf4.c: Likewise.
29565         * soft-fp/fmasf4.c: Likewise.
29566         * soft-fp/fmatf4.c: Likewise.
29567         * soft-fp/gedf2.c: Likewise.
29568         * soft-fp/gesf2.c: Likewise.
29569         * soft-fp/getf2.c: Likewise.
29570         * soft-fp/ledf2.c: Likewise.
29571         * soft-fp/lesf2.c: Likewise.
29572         * soft-fp/letf2.c: Likewise.
29573         * soft-fp/muldf3.c: Likewise.
29574         * soft-fp/mulsf3.c: Likewise.
29575         * soft-fp/multf3.c: Likewise.
29576         * soft-fp/negdf2.c: Likewise.
29577         * soft-fp/negsf2.c: Likewise.
29578         * soft-fp/negtf2.c: Likewise.
29579         * soft-fp/op-1.h: Likewise.
29580         * soft-fp/op-2.h: Likewise.
29581         * soft-fp/op-4.h: Likewise.
29582         * soft-fp/op-8.h: Likewise.
29583         * soft-fp/op-common.h: Likewise.
29584         * soft-fp/quad.h: Likewise.
29585         * soft-fp/single.h: Likewise.
29586         * soft-fp/soft-fp.h: Likewise.
29587         * soft-fp/sqrtdf2.c: Likewise.
29588         * soft-fp/sqrtsf2.c: Likewise.
29589         * soft-fp/sqrttf2.c: Likewise.
29590         * soft-fp/subdf3.c: Likewise.
29591         * soft-fp/subsf3.c: Likewise.
29592         * soft-fp/subtf3.c: Likewise.
29593         * soft-fp/truncdfsf2.c: Likewise.
29594         * soft-fp/trunctfdf2.c: Likewise.
29595         * soft-fp/trunctfsf2.c: Likewise.
29596         * soft-fp/trunctfxf2.c: Likewise.
29597         * soft-fp/unorddf2.c: Likewise.
29598         * soft-fp/unordsf2.c: Likewise.
29599         * soft-fp/unordtf2.c: Likewise.
29601 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29603         [BZ #15672]
29604         * misc/error.c (error_tail): Fix possible buffer overflow.
29606 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29608         [BZ #13028]
29609         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29610         address.
29612 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29614         [BZ #832]
29615         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29616         testing pipefail option.
29618 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29620         * soft-fp/double.h: Indent preprocessor directives inside #if.
29621         * soft-fp/extended.h: Likewise.
29622         * soft-fp/op-2.h: Likewise.
29623         * soft-fp/op-4.h: Likewise.
29624         * soft-fp/op-common.h: Likewise.
29625         * soft-fp/quad.h: Likewise.
29626         * soft-fp/single.h: Likewise.
29627         * soft-fp/soft-fp.h: Likewise.
29629 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29631         * iconv/iconv_prog.c: Fix typos.
29632         * stdio-common/psiginfo-data.h: Likewise.
29634 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29636         [BZ #15764]
29637         * locale/setlocale.c: Fix typo.
29639 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29641         [BZ #16036]
29642         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29643         signaling NaN arguments.
29644         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29645         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29647         [BZ #14910]
29648         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29649         unordered operands.
29650         * soft-fp/gesf2.c (__gesf2): Likewise.
29651         * soft-fp/getf2.c (__getf2): Likewise.
29652         * soft-fp/ledf2.c (__ledf2): Likewise.
29653         * soft-fp/lesf2.c (__lesf2): Likewise.
29654         * soft-fp/letf2.c (__letf2): Likewise.
29656         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29657         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29658         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29659         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29660         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29661         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29662         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29663         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29664         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29665         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29666         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29667         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29668         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29669         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29670         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29671         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29672         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29673         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29674         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29675         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29676         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29677         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29678         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29679         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29680         * soft-fp/floattidf.c (__floattidf): Likewise.
29681         * soft-fp/floattisf.c (__floattisf): Likewise.
29682         * soft-fp/floattitf.c (__floattitf): Likewise.
29683         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29684         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29685         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29686         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29687         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29688         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29689         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29690         * soft-fp/gesf2.c (__gesf2): Likewise.
29691         * soft-fp/getf2.c (__getf2): Likewise.
29692         * soft-fp/ledf2.c (__ledf2): Likewise.
29693         * soft-fp/lesf2.c (__lesf2): Likewise.
29694         * soft-fp/letf2.c (__letf2): Likewise.
29696         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29697         Undefine and redefine.
29698         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29699         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29700         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29701         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29702         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29703         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29704         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29705         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29706         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29707         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29708         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29709         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29710         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29711         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29712         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29714         [BZ #16032]
29715         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29716         without decrementing exponent if mantissa >= that for the
29717         denominator, not >.
29718         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29719         denominator, not >.  Decrement exponent in < case instead of
29720         incrementing in >= case.
29721         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29722         without decrementing exponent if mantissa >= that for the
29723         denominator, not >.
29725         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29726         computing saturated result for unsigned overflow.
29728 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29729             Jeff Law  <law@redhat.com>
29731         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29732         (atan2Mp): Add systemtap probe marker.
29733         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29734         (__ieee754_log): Add systemtap probe marker.
29735         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29736         (atanMp): Add systemtap probe marker.
29737         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29738         (tanMp): Add systemtap probe marker.
29739         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29740         (__slowexp): Add systemtap probe marker.
29741         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29742         (__slowpow): Add systemtap probe marker.
29743         * manual/probes.texi: Document probes.
29745 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29747         [BZ #15362]
29748         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29749         written.
29750         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29751         written.
29752         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29753         written to buffer but not flushed.
29754         * libio/iofwrite_u.c:  Likewise.
29755         * libio/iopadn.c:  Return bytes returned even if EOF was
29756         encountered.
29757         * libio/iowpadn.c:  Likewise.
29758         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29759         if _IO_padn does not write the whole buffer.
29760         [!COMPILE_WPRINTF] (PAD): Likewise.
29762 2013-10-10  David S. Miller  <davem@davemloft.net>
29764         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29765         directory block.
29767 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29769         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29770         instead of FSF address.
29771         * soft-fp/fixdfti.c: Likewise.
29772         * soft-fp/fixsfti.c: Likewise.
29773         * soft-fp/fixtfti.c: Likewise.
29774         * soft-fp/fixunsdfti.c: Likewise.
29775         * soft-fp/fixunssfti.c: Likewise.
29776         * soft-fp/fixunstfti.c: Likewise.
29777         * soft-fp/floattidf.c: Likewise.
29778         * soft-fp/floattisf.c: Likewise.
29779         * soft-fp/floattitf.c: Likewise.
29780         * soft-fp/floatuntidf.c: Likewise.
29781         * soft-fp/floatuntisf.c: Likewise.
29782         * soft-fp/floatuntitf.c: Likewise.
29783         * soft-fp/trunctfxf2.c: Likewise.
29785         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29786         * soft-fp/fixdfti.c: Likewise.
29787         * soft-fp/fixsfti.c: Likewise.
29788         * soft-fp/fixtfti.c: Likewise.
29789         * soft-fp/fixunsdfti.c: Likewise.
29790         * soft-fp/fixunssfti.c: Likewise.
29791         * soft-fp/fixunstfti.c: Likewise.
29792         * soft-fp/floattidf.c: Likewise.
29793         * soft-fp/floattisf.c: Likewise.
29794         * soft-fp/floattitf.c: Likewise.
29795         * soft-fp/floatuntidf.c: Likewise.
29796         * soft-fp/floatuntisf.c: Likewise.
29797         * soft-fp/floatuntitf.c: Likewise.
29798         * soft-fp/trunctfxf2.c: Likewise.
29800 2013-10-10  David S. Miller  <davem@davemloft.net>
29802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29804 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29806         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29807         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29808         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29809         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29810         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29811         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29812         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29814         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29815         for NaNs before doing comparisons on argument.
29816         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29817         Likewise.
29819 2013-10-10  Will Newton  <will.newton@linaro.org>
29821         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29822         passed to _int_memalign does not overflow.
29824 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29826         * scripts/bench.pl: Add include-sources directive.
29827         * benchtests/README: Update documentation.
29829 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29831         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29832         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29833         instead of FP_INIT_ROUNDMODE.
29834         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29835         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29837         [BZ #16034]
29838         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29839         copy class of input value.
29840         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29841         not handle exceptions.
29842         * soft-fp/negsf2.c (__negsf2): Likewise.
29843         * soft-fp/negtf2.c (__negtf2): Likewise.
29844         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29846 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29848         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29849         semicolon.  From Linux kernel.
29851 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29853         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29855 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29857         [BZ #156]
29858         * manual/socket.texi: Added statement about buffer
29859         for gethostbyname2_r.
29861 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29863         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29864         Use .p2align directive instead, throughout.
29865         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29866         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29867         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29868         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29869         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29870         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29871         * sysdeps/x86_64/strchr.S: Likewise.
29872         * sysdeps/x86_64/strrchr.S: Likewise.
29874 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29876         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29878         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29880         * sysdeps/generic/math_private.h (__mpsin1): Remove
29881         declaration.
29882         (__mpcos1): Likewise.
29883         (__mpsin): New argument __range_reduce.
29884         (__mpcos): Likewise.
29885         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29886         (slow): Use __mpsin and __mpcos.
29887         (slow1): Likewise.
29888         (slow2): Likewise.
29889         (sloww): Likewise.
29890         (sloww1): Likewise.
29891         (sloww2): Likewise.
29892         (bsloww): Likewise.
29893         (bsloww1): Likewise.
29894         (bsloww2): Likewise.
29895         (cslow2): Likewise.
29896         (csloww): Likewise.
29897         (csloww1): Likewise.
29898         (csloww2): Likewise.
29899         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29900         range_reduce.  Merge in __mpsin1.
29901         (__mpcos): Likewise.
29902         (__mpsin1): Remove.
29903         (__mpcos1): Likewise.
29905 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29907         * locale/loadlocale.c (_nl_intern_locale_data): Use
29908         LOCFILE_ALIGNED_P.
29909         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29910         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29911         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29912         obstack data is appropriately aligned.
29913         (obstack_int32_grow_fast): Likewise.
29914         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29915         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29916         (add_locale_uint32_array): Likewise.
29918 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29920         * benchtests/Makefile: Remove ARGLIST and RET variables.
29921         ($(objpfx)bench-%.c): Pass only function name to the script.
29922         * benchtests/README: Update documentation.
29923         * benchtests/acos-inputs: Add new directives.
29924         * benchtests/acosh-inputs: Likewise.
29925         * benchtests/asin-inputs: Likewise.
29926         * benchtests/asinh-inputs: Likewise.
29927         * benchtests/atan-inputs: Likewise.
29928         * benchtests/atanh-inputs: Likewise.
29929         * benchtests/cos-inputs: Likewise.
29930         * benchtests/cosh-inputs: Likewise.
29931         * benchtests/exp-inputs: Likewise.
29932         * benchtests/log-inputs: Likewise.
29933         * benchtests/pow-inputs: Likewise.
29934         * benchtests/rint-inputs: Likewise.
29935         * benchtests/sin-inputs: Likewise.
29936         * benchtests/sinh-inputs: Likewise.
29937         * benchtests/tan-inputs: Likewise.
29938         * benchtests/tanh-inputs: Likewise.
29939         * scripts/bench.pl: Add support for new directives.
29941 2013-10-07  Alan Modra  <amodra@gmail.com>
29943         * README: Fix careless merge.
29945 2013-10-05  Alan Modra  <amodra@gmail.com>
29947         * NEWS: Mention powerpc64le support and bugs fixed.
29948         * README: Both big-endian and little-endian powerpc64 supported.
29950 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29952         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29953         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29954         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29955         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29957 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29959         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29960         match prototype.
29962 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29964         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29965         Move -mhard-float appending from
29966         ports/sysdeps/powerpc/powerpc32/Makefile.
29967         [$(with-fp) = yes] (ASFLAGS): Likewise.
29968         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29969         * sysdeps/powerpc/nofpu: Move directory from
29970         ports/sysdeps/powerpc/nofpu.
29971         * sysdeps/powerpc/soft-fp: Move directory from
29972         ports/sysdeps/powerpc/soft-fp.
29973         * sysdeps/powerpc/powerpc32/405: Move directory from
29974         ports/sysdeps/powerpc/powerpc32/405.
29975         * sysdeps/powerpc/powerpc32/440: Move directory from
29976         ports/sysdeps/powerpc/powerpc32/440.
29977         * sysdeps/powerpc/powerpc32/464: Move directory from
29978         ports/sysdeps/powerpc/powerpc32/464.
29979         * sysdeps/powerpc/powerpc32/476: Move directory from
29980         ports/sysdeps/powerpc/powerpc32/476.
29981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29982         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29984         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29986         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29988         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29990         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29991         * README: Update for powerpc-*-linux-gnu software floating point
29992         support in libc.
29994         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29995         case to powerpc/powerpc32*.
29996         * sysdeps/unix/sysv/linux/configure: Regenerated.
29998         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29999         (_FPU_MASK_OM): Define as 0x04.
30000         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30001         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30002         0x00c10080.
30003         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30004         0x0000003c.
30005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30008         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30009         getcontext_e500.
30010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30011         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30012         setcontext_e500.
30013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30014         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30015         and setcontext_e500.
30017 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30019         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30021 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30023         * manual/threads.texi (Default Thread Attributes): Fix typo.
30025 2013-10-04  Will Newton  <will.newton@linaro.org>
30027         * malloc/Makefile: Add tst-memalign.
30028         * malloc/tst-memalign.c: New file.
30030         * malloc/tst-posix_memalign.c: Add comments.
30031         (do_test): Add comments and call free on all potentially
30032         allocated pointers. Add space after cast.
30034         * malloc/tst-pvalloc.c: Add comments.
30035         (do_test): Add comments and call free on all potentially
30036         allocated pointers. Remove duplicate check for NULL pointer.
30037         Add space after cast.
30039         * malloc/tst-valloc.c: Add comments.
30040         (do_test): Add comments and call free on all potentially
30041         allocated pointers. Remove duplicate check for NULL pointer.
30042         Add space after cast.
30044 2013-10-04  Alan Modra  <amodra@gmail.com>
30046         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30047         Use stdint types in rather than __attribute__((mode())).
30048         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30050 2013-10-04  Alan Modra  <amodra@gmail.com>
30052         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30053         Correct handling of unaligned relocs for little-endian.
30054         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30056 2013-10-04  Alan Modra  <amodra@gmail.com>
30058         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30059         * configure: Regenerate.
30060         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30061         * shlib-versions: Likewise.
30063 2013-10-04  Alan Modra  <amodra@gmail.com>
30065         * string/tester.c (test_memrchr): Increment reported test cycle.
30067 2013-10-04  Alan Modra  <amodra@gmail.com>
30069         * string/test-memcpy.c (do_one_test): When reporting errors, print
30070         string address and don't overrun end of string.
30072 2013-10-04  Alan Modra  <amodra@gmail.com>
30074         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30075         insrdi.  Make better use of reg selection to speed exit slightly.
30076         Schedule entry path a little better.  Remove useless "are we done"
30077         checks on entry to main loop.  Handle wrapping around zero address.
30078         Correct main loop count.  Handle single left-over word from main
30079         loop inline rather than by using loop_small.  Remove extra word
30080         case in loop_small caused by wrong loop count.  Add little-endian
30081         support.
30082         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30083         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30084         cache hint.
30085         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30086         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30087         support.  Avoid rlwimi.
30088         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30090 2013-10-04  Alan Modra  <amodra@gmail.com>
30092         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30093         insrdi.  Formatting.
30094         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30095         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30096         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30097         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30098         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30099         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30101 2013-10-04  Alan Modra  <amodra@gmail.com>
30103         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30104         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30105         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30106         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30107         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30108         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30109         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30110         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30111         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30112         use of regs.  Use power7 mtocrf.  Tidy function tails.
30114 2013-10-04  Alan Modra  <amodra@gmail.com>
30116         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30117         Formatting.  Consistently use rXXX register defines or rN defines.
30118         Use early exit labels that avoid restoring unused non-volatile regs.
30119         Make cr field use more consistent with rWORDn compares.  Rename
30120         regs used as shift registers for unaligned loop, using rN defines
30121         for short lifetime/multiple use regs.
30122         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30123         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30124         addi 1,1,64 to pop stack frame.  Simplify return value code.
30125         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30127 2013-10-04  Alan Modra  <amodra@gmail.com>
30129         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30130         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30131         rather than rlwimi.
30132         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30133         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30134         little-endian support.  Correct typos.
30135         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30136         rather than rlwimi.
30137         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30138         in loop and entry code to keep "and." results.
30139         (strchr): Add little-endian support.  Comment.  Move cntlzd
30140         earlier in tail.
30141         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30143 2013-10-04  Alan Modra  <amodra@gmail.com>
30145         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30146         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30147         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30148         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30150 2013-10-04  Alan Modra  <amodra@gmail.com>
30152         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30153         (rTMP): Define as r11.
30154         (strcmp): Add little-endian support.  Optimise tail.
30155         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30156         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30157         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30158         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30159         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30160         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30161         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30163 2013-10-04  Alan Modra  <amodra@gmail.com>
30165         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30166         little-endian support.  Remove unnecessary "are we done" tests.
30167         Handle "s" wrapping around zero and extremely large "size".
30168         Correct main loop count.  Handle single left-over word from main
30169         loop inline rather than by using small_loop.  Correct comments.
30170         Delete "zero" tail, use "end_max" instead.
30171         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30173 2013-10-04  Alan Modra  <amodra@gmail.com>
30175         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30176         support.  Don't branch over align.
30177         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30178         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30179         support.  Rearrange tmp reg use to suit.  Comment.
30180         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30182 2013-10-04  Alan Modra  <amodra@gmail.com>
30184         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30186 2013-10-04  Alan Modra  <amodra@gmail.com>
30188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30189         conditional form of branch and link when obtaining pc.
30190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30192 2013-10-04  Alan Modra  <amodra@gmail.com>
30194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30195         HIWORD/LOWORD.
30196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30199 2013-10-04  Alan Modra  <amodra@gmail.com>
30201         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30202         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30203         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30204         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30205         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30206         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30207         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30208         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30209         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30210         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30212 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30213             Alistair Popple <alistair@ozlabs.au.ibm.com>
30214             Alan Modra <amodra@gmail.com>
30216         [BZ #15723]
30217         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30218         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30219         _dl_hwcap access for little-endian.
30220         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30221         destroy vmx regs when saving unaligned.
30222         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30223         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30224         destroy vmx regs when saving unaligned.
30226 2013-10-04  Alan Modra  <amodra@gmail.com>
30228         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30229         Don't use a union to pack hi/low value.
30231 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30233         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30234         for little-endian.
30235         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30236         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30237         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30238         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30239         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30241 2013-10-04  Alan Modra  <amodra@gmail.com>
30243         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30244         constants to usual value for .cst8 section, and remove redundant
30245         high address load.
30246         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30247         constant for 0x1p52.  Load little-endian words of double from
30248         correct stack offsets.
30250 2013-10-04  Alan Modra  <amodra@gmail.com>
30252         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30253         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30254         words of double from correct stack offsets.
30255         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30256         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30257         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30258         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30259         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30260         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30261         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30262         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30263         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30264         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30265         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30266         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30267         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30268         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30269         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30270         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30271         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30273 2013-10-04  Alan Modra  <amodra@gmail.com>
30275         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30276         64-bit int/double union.
30277         (_FPU_SETCW): Likewise.
30278         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30279         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30281 2013-10-04  Alan Modra  <amodra@gmail.com>
30283         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30284         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30286 2013-10-04  Alan Modra  <amodra@gmail.com>
30288         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30289         use vector int constants.
30290         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30292 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30294         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30295         array with long long.
30296         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30297         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30298         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30299         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30300         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30301         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30302         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30303         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30304         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30305         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30306         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30307         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30308         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30310 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30312         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30313         (__signbit): Likewise.  Correct for little-endian.
30314         (__signbitl): Call __signbit.
30315         (lrint): Correct for little-endian.
30316         (lrintf): Call lrint.
30318 2013-10-04  Alan Modra  <amodra@gmail.com>
30320         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30321         union 32-bit int array member with 64-bit int array.
30322         (t515, tm256): Double rather than long double.
30323         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30325 2013-10-04  Alan Modra  <amodra@gmail.com>
30327         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30328         Delete.
30329         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30330         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30331         version of math_ldbl.h.
30333 2013-10-04  Alan Modra  <amodra@gmail.com>
30335         [BZ #15734], [BZ #15735]
30336         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30337         all uses of ieee875 long double macros and unions.  Simplify test
30338         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30339         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30340         normalize after ldbl_extract_mantissa, and don't add hidden bit
30341         already handled.  Don't treat low word of ieee854 mantissa like
30342         low word of IBM long double and mask off bit when testing for
30343         zero.
30344         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30345         all uses of ieee875 long double macros and unions.  Simplify tests
30346         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30347         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30348         two1022, instead use their values.  Recognise that tests for large
30349         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30350         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30351         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30352         test for 0.0L and nan.  Correct negation.
30353         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30354         ieee875 long double macros and unions.  Correct output for large
30355         magnitude x.  Correct absolute value calculation.
30356         (__erfcl): Likewise.
30357         * math/libm-test.inc: Add tests for errors discovered in IBM long
30358         double versions of fmodl, remainderl, erfl and erfcl.
30360 2013-10-04  Alan Modra  <amodra@gmail.com>
30362         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30363         all uses of ieee854 long double macros and unions.  Simplify tests
30364         for long doubles that are fully specified by the high double.
30365         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30366         Likewise.
30367         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30368         Remove dead code too.
30369         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30370         (__ieee754_ynl): Likewise.
30371         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30372         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30373         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30374         Remove dead code too.
30375         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30376         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30377         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30378         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30379         Simplify.
30380         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30381         Simplify.
30382         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30383         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30384         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30385         Comment on variable precision.
30386         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30387         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30388         Likewise.
30389         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30390         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30391         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30392         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30393         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30395 2013-10-04  Alan Modra  <amodra@gmail.com>
30397         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30398         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30399         all uses of ieee854 long double macros and unions.
30400         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30401         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30402         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30403         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30404         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30405         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30406         Likewise.
30407         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30408         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30409         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30410         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30411         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30412         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30413         Simplify sign and nan test too.
30414         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30415         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30416         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30417         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30418         Likewise.
30419         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30420         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30421         Likewise.
30422         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30423         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30424         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30425         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30426         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30427         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30429 2013-10-04  Alan Modra  <amodra@gmail.com>
30431         * stdio-common/printf_size.c (__printf_size): Don't use
30432         union ieee854_long_double in fpnum union.
30433         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30434         signbit macro to retrieve sign from long double.
30435         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30436         retrieve sign from long double.
30437         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30438         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30439         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30440         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30441         * math/test-misc.c (main): Don't use union ieee854_long_double.
30443 2013-10-04  Alan Modra  <amodra@gmail.com>
30445         [BZ #15680]
30446         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30447         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30448         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30449         calculation.  Remove unnecessary test for denormal exponent.
30450         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30451         Correct handling of denormals.  Avoid undefined shift behaviour.
30452         Correct normalisation of low mantissa when low double is denormal.
30453         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30454         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30455         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30456         Correct normalisation of low mantissa.  Test for overflow of high
30457         mantissa and normalise.
30458         (ldbl_nearbyint): Use more readable constant for two52.
30459         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30460         (__mpn_construct_long_double): Fix test for overflow of high
30461         mantissa and correct normalisation.  Avoid undefined shift.
30463 2013-10-04  Alan Modra  <amodra@gmail.com>
30465         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30466         (union ibm_extended_long_double): Define as an array of ieee754_double.
30467         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30468         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30469         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30470         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30471         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30472         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30473         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30474         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30475         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30476         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30477         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30479 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30481         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30482         page size instead of calling getpagesize.
30484         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30485         (LOCFILE_ALIGN_MASK): Likewise.
30486         (LOCFILE_ALIGN_UP): Likewise.
30487         (LOCFILE_ALIGNED_P): Likewise.
30488         * locale/programs/ld-collate.c (collate_output): Use the new
30489         macros instead of __alignof__ (int32_t).
30490         * locale/weight.h (findidx): Likewise.
30492 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30494         [BZ #431]
30495         * manual/string.texi: Fix strncat and wcsncat.
30497 2013-10-03  Brooks Moses  <bmoses@google.com>
30499         [BZ #15915]
30500         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30501         * Makerules: ...here, and adjust associated comments.
30503 2013-10-02  Will Newton  <will.newton@linaro.org>
30505         * malloc/Makefile: Add tst-pvalloc.
30506         * malloc/tst-pvalloc.c: New file.
30508 2013-10-02  Will Newton  <will.newton@linaro.org>
30510         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30511         improve test coverage.
30513 2013-10-02  Will Newton  <will.newton@linaro.org>
30515         * malloc/Makefile: Add tst-posix_memalign.
30516         * malloc/tst-posix_memalign.c: New file.
30518 2013-10-01  Eric Blake  <eblake@redhat.com>
30520         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30521         Use __THROWNL rather than __THROW on static functions.
30523 2013-09-30  Petr Machata  <pmachata@redhat.com>
30525         * elf/elf.h (R_AARCH64_ABS16): New macro.
30526         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30527         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30528         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30529         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30530         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30531         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30532         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30533         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30534         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30535         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30536         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30537         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30538         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30539         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30540         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30541         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30542         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30543         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30544         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30545         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30546         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30547         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30548         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30549         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30550         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30551         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30552         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30553         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30554         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30555         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30556         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30557         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30558         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30559         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30560         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30561         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30562         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30563         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30564         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30565         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30566         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30567         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30568         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30569         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30570         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30571         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30572         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30573         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30574         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30575         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30576         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30577         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30578         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30579         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30580         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30581         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30582         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30583         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30584         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30585         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30586         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30587         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30588         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30589         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30590         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30591         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30592         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30593         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30594         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30595         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30596         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30597         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30598         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30599         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30600         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30601         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30602         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30603         (R_AARCH64_TLSDESC_LDR): Likewise.
30604         (R_AARCH64_TLSDESC_ADD): Likewise.
30605         (R_AARCH64_TLSDESC_CALL): Likewise.
30607 2013-09-30  Andreas Schwab  <schwab@suse.de>
30609         [BZ #15048]
30610         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30611         the nss database lookup.
30612         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30615 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30617         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30619 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30621         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30622         ${Bash-specific parameter/pattern/string} parameter expansion.
30623         * sysdeps/unix/make-syscalls.sh: Likewise.
30625 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30627         * sysdeps/sh/stackguard-macros.h: New file.
30629 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30631         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30632         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30633         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30634         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30635         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30636         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30638 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30640         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30641         Fix thread ID register.
30643 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30645         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30646         [POSIX || UNIX98]: Require rather than permitting all symbols from
30647         <time.h>.
30648         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30649         element of struct sched_param.
30650         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30651         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30652         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30653         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30654         constant.
30656 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30658         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30659         argument calculation.
30661 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30663         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30664         Expect macro.
30665         [POSIX] (pthread_attr_t): Do not require type.
30666         [POSIX] (pthread_cond_t): Likewise.
30667         [POSIX] (pthread_condattr_t): Likewise.
30668         [POSIX] (pthread_key_t): Likewise.
30669         [POSIX] (pthread_mutex_t): Likewise.
30670         [POSIX] (pthread_mutexattr_t): Likewise.
30671         [POSIX] (pthread_once_t): Likewise.
30672         [POSIX] (pthread_t): Likewise.
30673         [POSIX-based standards] (pthread_atfork): Expect function.
30675 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30676             Richard Sandiford  <richard@codesourcery.com>
30678         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30679         (swap_endianness_p): New extern variable.
30680         (set_big_endian): New inline function.
30681         (maybe_swap_uint32): Likewise.
30682         (maybe_swap_uint32_array): Likewise.
30683         (maybe_swap_uint32_obstack): Likewise.
30684         * locale/programs/locfile.c: Include <stdbool.h>.
30685         (swap_endianness_p): New variable.
30686         (add_locale_uint32): Call maybe_swap_uint32.
30687         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30688         (write_locale_data): Call maybe_swap_uint32_array.
30689         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30690         maybe_swap_uint32.
30691         (obstack_int32_grow_fast): Likewise.
30692         (output_weightwc): Call maybe_swap_uint32_obstack.
30693         (collate_output): Likewise.
30694         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30695         (OPT_LITTLE_ENDIAN): Likewise.
30696         (options): Add --little-endian and --big-endian options.
30697         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30698         * locale/programs/locarchive.c: Include "locfile.h".
30699         (GET): New macro.
30700         (SET): Likewise.
30701         (INC): Likewise.
30702         (create_archive): Use the new macros to access fields of
30703         structures directly mapped from or written to locale archives.
30704         (oldlocrecentcmp): Likewise.
30705         (enlarge_archive): Likewise.
30706         (insert_name): Likewise.
30707         (add_alias): Likewise.
30708         (add_locale): Likewise.
30709         (delete_locales_from_archive): Likewise.
30710         (show_archive_content): Likewise.
30711         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30712         locale data.
30714 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30716         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30717         http://www.gnu.org/doc/freemanuals.texi.
30718         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30720 2013-09-24  Will Newton  <will.newton@linaro.org>
30722         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30723         macro.
30725 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30727         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30728         unsigned char.
30730 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30732         * manual/threads.texi (POSIX Threads): Fix a typo.
30734 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30736         [BZ #14547]
30737         * string/tst-strcoll-overflow.c: New test case.
30738         * string/Makefile (xtests): Add tst-strcoll-overflow.
30739         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30740         cache if string sizes may cause integer overflow.
30742         [BZ #14547]
30743         * string/strcoll_l.c (coll_seq): New members rule, idx,
30744         save_idx and back_us.
30745         (get_next_seq_nocache): New function.
30746         (do_compare_nocache): New function.
30747         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30748         when malloc fails.
30750 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30752         [BZ #15754]
30753         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30754         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30755         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30757         [BZ #15754]
30758         * elf/Makefile (tests): Add tst-ptrguard1.
30759         (tests-static): Add tst-ptrguard1-static.
30760         (tst-ptrguard1-ARGS): Define.
30761         (tst-ptrguard1-static-ARGS): Define.
30762         * elf/tst-ptrguard1.c: New file.
30763         * elf/tst-ptrguard1-static.c: New file.
30764         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30765         * sysdeps/i386/stackguard-macros.h: Likewise.
30766         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30767         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30768         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30769         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30770         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30771         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30773 2013-09-23  Hector Marco  <hecmargi@upv.es>
30774             Ismael Ripoll  <iripoll@disca.upv.es>
30775             Carlos O'Donell  <carlos@redhat.com>
30777         [BZ #15754]
30778         * sysdeps/generic/stackguard-macros.h: Define
30779         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30780         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30781         Define __pointer_chk_guard_local.
30782         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30783         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30785 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30787         [BZ #15859]
30788         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30790 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30792         * include/string.h (__ffs): Declare as hidden.
30793         * string/ffs.c (__ffs): Define as hidden.
30794         * sysdeps/i386/ffs.c (__ffs): Likewise.
30795         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30796         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30797         * sysdeps/s390/ffs.c (__ffs): Likewise.
30798         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30800 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30802         * NEWS: Mention malloc probes.
30804         * malloc/arena.c (new_heap): New memory_heap_new probe.
30805         (grow_heap): New memory_heap_more probe.
30806         (shrink_heap): New memory_heap_less probe.
30807         (heap_trim): New memory_heap_free probe.
30808         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30809         (systrim): New memory_sbrk_less probe.
30810         * manual/probes.texi: Document them.
30812         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30813         * manual/probes.texi: Document it.
30815         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30816         (__libc_realloc): Add memory_realloc_retry probe.
30817         (__libc_memalign): Add memory_memalign_retry probe.
30818         (__libc_valloc): Add memory_valloc_retry probe.
30819         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30820         (__libc_calloc): Add memory_calloc_retry probe.
30821         * manual/probes.texi: Document them.
30823         * malloc/arena.c (get_free_list): Add probe
30824         memory_arena_reuse_free_list.
30825         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30826         and memory_arena_reuse.
30827         (arena_get2) [!PER_THREAD]: Likewise.
30828         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30829         memory_arena_reuse_realloc.
30830         * manual/probes.texi: Document them.
30832         * malloc/malloc.c (__libc_free): Add
30833         memory_mallopt_free_dyn_thresholds probe.
30834         (__libc_mallopt): Add multiple memory_mallopt probes.
30835         * manual/probes.texi: Document them.
30837         * malloc/malloc.c: Include stap-probe.h.
30838         (__libc_mallopt): Add memory_mallopt probe.
30839         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30840         * manual/probes.texi: New.
30841         * manual/Makefile (chapters): Add probes.
30842         * manual/threads.texi: Set next node.
30844 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30846         [BZ #15963, #13985]
30847         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30848         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30849         Add `Chinese' to `nan' entry name.
30851 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30853         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30854         (POLYNOMIAL): Likewise.
30855         (TAYLOR_SINCOS): Likewise.
30856         (TAYLOR_SLOW): Likewise.
30857         (__sin): Use TAYLOR_SINCOS.
30858         (__cos): Likewise.
30859         (slow): Use TAYLOR_SLOW.
30860         (sloww): Likewise.
30861         (bsloww): Likewise.
30862         (csloww): Likewise.
30864 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30866         * stdlib/strtod_l.c: Fix buffer overrun.
30868 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30870         * benchtests/Makefile (bench): Add sincos.
30871         * benchtests/bench-sincos.c: New file.
30873         * math/libm-test.inc (cos_test_data): New test inputs.
30874         (sin_test_data): Likewise.
30876         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30877         macro.
30878         (__sin): Use it.
30879         (__cos): Likewise.
30880         (slow1): Likewise.
30881         (slow2): Likewise.
30882         (sloww1): Likewise.
30883         (sloww2): Likewise.
30884         (bsloww1): Likewise.
30885         (bsloww2): Likewise.
30886         (cslow2): Likewise.
30887         (csloww1): Likewise.
30888         (csloww2): Likewise.
30890         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30891         function.
30892         (__sin): Use it.
30893         (__cos): Likewise.
30895         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30896         gotos.
30897         (__cos): Likewise.
30899 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30901         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30902         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30903         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30904         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30905         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30906         * elf/cache.c (print_entry): Handle the new cache flags.
30908 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30909             Aldy Hernandez  <aldyh@redhat.com>
30911         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30912         Change condition to [_SOFT_FLOAT].
30913         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30914         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30917         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30918         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30919         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30920         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30921         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30922         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30923         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30925         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30926         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30927         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30928         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30929         declaration.
30931 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30933         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30934         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30935         (__longjmp): Use LOAD_GP to load saved GPRs.
30936         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30937         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30938         (__sigsetjmp): Use SAVE_GP to save GPRs.
30940         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30941         Do not append -msoft-float.
30942         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30944 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30946         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30948 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30950         [BZ #15966]
30951         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30952         (_FPU_GETCW): Use initial "__" on variable and field names but not
30953         on macro parameter name.
30954         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30955         parentheses around reference to macro parameter.
30957 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30959         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30960         prototype.
30961         (ctype_startup): Use uint32_t in cast and sizeof for
30962         ctype->charnames.
30964 2013-09-11  Jia Liu  <proljc@gmail.com>
30966         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30967         __daddr_t_defined.
30968         [__FreeBSD__]: Likewise.
30970 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30972         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30973         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30974         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30975         (strchr): Remove __strchr_sse42 ifunc selection.
30976         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30977         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30979 2013-09-11  Will Newton  <will.newton@linaro.org>
30981         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30982         parameter to RES. Remove hardcoded 1000 value.
30983         * benchtests/bench-skeleton.c (main): Pass RES parameter
30984         to TIMING_INIT and multiply result by 1000.
30986 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30990 2013-09-11  Andreas Schwab  <schwab@suse.de>
30992         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30993         if not defined.
30994         (O_TMPFILE) [__USE_GNU]: Define.
30995         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30996         Define.
30998 2013-09-11  Will Newton  <will.newton@linaro.org>
31000         [BZ #15857]
31001         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31002         does not overflow.
31004 2013-09-11  Will Newton  <will.newton@linaro.org>
31006         [BZ #15856]
31007         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31008         does not overflow.
31010 2013-09-11  Will Newton  <will.newton@linaro.org>
31012         [BZ #15855]
31013         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31014         does not overflow.
31016 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31018         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31019         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31020         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31021         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31022         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31024 2013-09-10  Allan McRae  <allan@archlinux.org>
31026         [BZ #15748]
31027         * manual/arith.texi (Parsing of Floats): Clarify
31028         cross-reference.
31030         [BZ #15849]
31031         * manual/install.texi (Running make install): Mention
31032         --enable-pt-chown.
31033         * INSTALL: Regenerated.
31035 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31037         * csu/init-first.c (_init): Remove the !SHARED condition around
31038         FPU control word initialization.
31039         * elf/dl-support.c (_dl_fpu_control): New variable.
31040         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31041         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31042         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31043         * math/test-fpucw-static.c: New file.
31044         * math/test-fpucw-ieee.c: New file.
31045         * math/test-fpucw-ieee-static.c: New file.
31046         * math/Makefile (tests): Add `test-fpucw-ieee' and
31047         `$(tests-static)'.
31048         (tests-static): New variable.
31049         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31050         dependency to...
31051         [($(build-shared),yes)]
31052         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31053         ... this.
31054         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31055         New dependency.
31057 2013-09-09  Allan McRae  <allan@archlinux.org>
31059         [BZ #15939]
31060         * manual/string.texi (Collation Functions): Fix typo in
31061         strcoll example.
31062         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31064         [BZ #15893]
31065         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31067         [BZ #15892]
31068         * libio/memstream.c (open_memstream): Fix memory leak.
31069         * libio/wmemstream.c (open_wmemstream): Likewise.
31071         [BZ #15895]
31072         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31074 2013-09-09  Will Newton  <will.newton@linaro.org>
31076         * malloc/Makefile: Add tst-realloc to tests.
31077         * malloc/tst-realloc.c: New file.
31079 2013-09-09  Allan McRae  <allan@archlinux.org>
31081         [BZ #15844]
31082         * COPYING: Update from GNU website to fix FSF address.
31083         * COPYING.LIB: Likewise.
31085 2013-09-06  David S. Miller  <davem@davemloft.net>
31087         * po/zh_TW.po: Update Chinese (traditional) translation from
31088         translation project.
31090 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31091             Joseph Myers  <joseph@codesourcery.com>
31093         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31094         "localeinfo.h".
31095         (obstack_chunk_alloc): New macro.
31096         (obstack_chunk_free): Likewise.
31097         (record_offset): New function.
31098         (init_locale_data): Likewise.
31099         (align_locale_data): Likewise.
31100         (add_locale_empty): Likewise.
31101         (add_locale_raw_data): Likewise.
31102         (add_locale_raw_obstack): Likewise.
31103         (add_locale_string): Likewise.
31104         (add_locale_wstring): Likewise.
31105         (add_locale_uint32): Likewise.
31106         (add_locale_uint32_array): Likewise.
31107         (add_locale_char): Likewise.
31108         (start_locale_structure): Likewise.
31109         (end_locale_structure): Likewise.
31110         (start_locale_prelude): Likewise.
31111         (end_locale_prelude): Likewise.
31112         (write_locale_data): Take locale_file structure rather than an
31113         iovec.
31114         * locale/programs/locfile.h: Include "obstack.h".
31115         (struct locale_file): Change to store locale file contents instead
31116         of header.
31117         (init_locale_data): New prototype.
31118         (align_locale_data): Likewise.
31119         (add_locale_empty): Likewise.
31120         (add_locale_raw_data): Likewise.
31121         (add_locale_raw_obstack): Likewise.
31122         (add_locale_string): Likewise.
31123         (add_locale_wstring): Likewise.
31124         (add_locale_uint32): Likewise.
31125         (add_locale_uint32_array): Likewise.
31126         (add_locale_char): Likewise.
31127         (start_locale_structure): Likewise.
31128         (end_locale_structure): Likewise.
31129         (start_locale_prelude): Likewise.
31130         (end_locale_prelude): Likewise.
31131         (write_locale_data): Update prototype.
31132         * locale/programs/3level.h (struct TABLE): Remove result field.
31133         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31134         Use new locale_file interface.
31135         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31136         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31137         * locale/programs/ld-address.c (address_output): Use new
31138         locale_file interface.
31139         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31140         NO_ADD_LOCALE.
31141         (collate_finish): Don't call collseq_table_finalize.
31142         (collate_output): Use new locale_file interface.
31143         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31144         in file.
31145         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31146         (TABLE): Move defines earlier in file.
31147         (ELEMENT): Likewise.
31148         (DEFAULT): Likewise.
31149         (wctrans_table_add): Move macro and inline function earlier in
31150         file.
31151         (struct wctype_table): Move type earlier in file.
31152         (add_locale_wctype_table): New static prototype.
31153         (struct locale_ctype_t): Use logical types instead of struct iovec
31154         pointers for members.
31155         (ctype_output): Use new locale_file interface.
31156         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31157         new locale_file interface.
31158         (allocate_arrays): Update for use of new locale_file interface.
31159         * locale/programs/ld-identification.c (identification_output): Use
31160         new locale_file interface.
31161         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31162         * locale/programs/ld-messages.c (messages_output): Likewise.
31163         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31164         * locale/programs/ld-name.c (name_output): Likewise.
31165         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31166         * locale/programs/ld-paper.c (paper_output): Likewise.
31167         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31168         * locale/programs/ld-time.c (time_output): Likewise.
31170 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31172         * benchtests/Makefile: Add memrchr benchmark.
31173         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31174         benchmark as memrchr.
31175         * benchtests/bench-memrchr-ifunc.c: New file.
31176         * benchtests/bench-memrchr.c: New file.
31178 2013-09-06   Will Newton  <will.newton@linaro.org>
31180         * benchtests/Makefile (string-bench): Add memcpy.
31182 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31183             Cong Wang  <amwang@redhat.com>
31185         [BZ #15850]
31186         * sysdeps/unix/sysv/linux/bits/in.h
31187         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31188         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31189         before __USE_KERNEL_IPV6_DEFS uses.
31190         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31191         IPPROTO_BEETPH.
31192         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31193         sockaddr_in6, or ipv6_mreq.
31195 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31197         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31198         memory access for final bytes in some large inputs.
31199         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31201 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31203         * string/test-memrchr.c: New file.
31204         * string/test-memrchr-ifunc.c: New file.
31205         * string/Makefile: Add new memrchr testcase.
31207 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31209         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31210         fanotify_init returns EPERM.
31212 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31214         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31215         errors.
31216         (top level): Treat second token from macro or constant entries for
31217         allowed headers as allowed.
31218         * include/complex.h: Condition internal declarations on
31219         [!_ISOMAC].
31220         * include/fenv.h: Condition include of <stdbool.h> and internal
31221         declarations on [!_ISOMAC].
31223 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31225         [BZ #15923]
31226         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31228 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31230         * configure.in (--enable-versioning): Remove configure option.
31231         (libc_cv_asm_symver_directive): Remove configure test.
31232         (libc_cv_ld_version_script_option): Likewise.
31233         (VERSIONING): Remove variable and AC_SUBST.
31234         (DO_VERSIONING): Remove AC_DEFINE.
31235         * configure: Regenerated.
31236         * config.h.in (DO_VERSIONING): Remove macro.
31237         * Makerules [$(versioning) = yes]: Change conditionals to
31238         [$(build-shared) = yes].
31239         * config.make.in (versioning): Remove variable.
31240         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31241         [$(build-shared) = yes].
31242         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31243         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31244         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31245         [$(build-shared) = yes].
31246         * extra-lib.mk [$(versioning) = yes]: Likewise.
31247         * hurd/Makefile [$(versioning) = yes]: Likewise.
31248         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31249         [SHARED].
31250         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31251         [SHARED].
31252         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31253         [SHARED && !NO_HIDDEN].
31254         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31255         [SHARED].
31256         [SHARED && DO_VERSIONING]: Likewise..
31257         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31258         [$(build-shared) = yes].
31259         * manual/install.texi (--disable-versioning): Remove
31260         documentation.
31261         * INSTALL: Regenerated.
31262         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31263         to [SHARED].
31264         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31265         [$(build-shared) = yes].
31266         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31267         * sysdeps/i386/i686/multiarch/strstr-c.c
31268         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31269         [SHARED && !NO_HIDDEN].
31270         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31271         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31272         * sysdeps/powerpc/powerpc32/dl-machine.c
31273         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31274         * sysdeps/powerpc/powerpc32/sysdep.h
31275         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31276         to [SHARED && PIC && !NO_HIDDEN].
31277         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31278         conditional to [SHARED].
31280 2013-09-04   Will Newton  <will.newton@linaro.org>
31282         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31283         * benchtests/bench-string.h: Include bench-timing.h instead
31284         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31285         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31286         call to HP_TIMING_DIFF_INIT.
31287         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31288         instead of hp-timing.h macros.
31289         * benchtests/bench-memchr.c: Likewise.
31290         * benchtests/bench-memcmp.c: Likewise.
31291         * benchtests/bench-memcpy.c: Likewise.
31292         * benchtests/bench-memmem.c: Likewise.
31293         * benchtests/bench-memmove.c: Likewise.
31294         * benchtests/bench-memset.c: Likewise.
31295         * benchtests/bench-rawmemchr.c: Likewise.
31296         * benchtests/bench-strcasecmp.c: Likewise.
31297         * benchtests/bench-strcasestr.c: Likewise.
31298         * benchtests/bench-strcat.c: Likewise.
31299         * benchtests/bench-strchr.c: Likewise.
31300         * benchtests/bench-strcmp.c: Likewise.
31301         * benchtests/bench-strcpy.c: Likewise.
31302         * benchtests/bench-strcpy_chk.c: Likewise.
31303         * benchtests/bench-strlen.c: Likewise.
31304         * benchtests/bench-strncasecmp.c: Likewise.
31305         * benchtests/bench-strncat.c: Likewise.
31306         * benchtests/bench-strncmp.c: Likewise.
31307         * benchtests/bench-strncpy.c: Likewise.
31308         * benchtests/bench-strnlen.c: Likewise.
31309         * benchtests/bench-strpbrk.c: Likewise.
31310         * benchtests/bench-strrchr.c: Likewise.
31311         * benchtests/bench-strspn.c: Likewise.
31312         * benchtests/bench-strstr.c: Likewise.
31314 2013-09-04  Will Newton  <will.newton@linaro.org>
31316         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31318 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31320         [BZ #15427]
31321         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31322         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31323         * math/libm-test.inc (lgamma_test_data): Add more tests.
31324         * sysdeps/i386/fpu/libm-test-ulps: Update.
31325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31327 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31329         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31331         Add ifunc.
31332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31333         Add strcmp-sse2-unaligned
31334         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31336 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31338         * Versions.def (libc): Add GLIBC_2.19.
31340 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31342         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31343         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31345 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31347         [BZ #14155]
31348         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31349         intermediate calculations in recurrence.
31350         (__ieee754_ynf): Likewise.
31351         * math/libm-test.inc (jn_test_data): Do not allow spurious
31352         underflow exception.  Add more tests.
31353         (yn_test_data): Add more tests.
31354         * sysdeps/i386/fpu/libm-test-ulps: Update.
31355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31357 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31359         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31361 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31363         * csu/init-first.c: Fix then/than typos.
31364         * locale/programs/ld-collate.c: Likewise.
31365         * locale/programs/linereader.h: Likewise.
31366         * manual/charset.texi: Likewise.
31367         * manual/filesys.texi: Likewise.
31368         * manual/stdio.texi: Likewise.
31369         * manual/string.texi: Likewise.
31370         * stdlib/fmtmsg.c: Likewise.
31371         * sysdeps/i386/stpncpy.S: Likewise.
31372         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31373         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31374         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31375         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31377 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31379         * elf/dl-open.c: Fix typos.
31380         * iconvdata/gbbig5.c: Likewise.
31381         * iconvdata/iso-2022-jp.c: Likewise.
31382         * iconv/gconv_int.h: Likewise.
31383         * iconv/loop.c: Likewise.
31384         * nis/rpcsvc/nis.h: Likewise.
31385         * resolv/ns_name.c: Likewise.
31386         * stdio-common/vfscanf.c: Likewise.
31387         * streams/stropts.h: Likewise.
31388         * sunrpc/rpc_thread.c: Likewise.
31389         * sysdeps/i386/strpbrk.S: Likewise.
31390         * sysdeps/ieee754/k_standard.c: Likewise.
31391         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31392         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31393         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31394         * sysdeps/mach/hurd/profil.c: Likewise.
31395         * sysdeps/s390/dl-procinfo.h: Likewise.
31396         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31397         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31398         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31399         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31400         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31402 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31404         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31405         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31407 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31409         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31410         aix specific files.
31411         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31412         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31413         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31414         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31415         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31416         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31417         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31418         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31420 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31421             Roland McGrath  <roland@hack.frob.com>
31423         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31424         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31426 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31428         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31429         __executable_start symbol instead of _start.
31431 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31433         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31434         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31435         Move macros to...
31436         * sysdeps/gnu/ldsodefs.h: ... this new file.
31438         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31439         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31440         instead of ELFOSABI_LINUX.
31442         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31443         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31444         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31445         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31446         Likewise.
31447         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31448         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31449         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31450         Likewise.
31451         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31452         (ibm_extended_long_double): Add ieee_nan member.
31453         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31454         (do_test): New function.
31456         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31457         TEST_TRUNC.
31458         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31459         functions, renamed from truncdfsf_test, trunctfsf_test,
31460         trunctfdf_test.
31461         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31462         functions.
31463         (do_test): Run all these.
31465 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31467         * argp/argp-help.c: Fix typos.
31468         * argp/argp-parse.c: Likewise.
31469         * debug/backtracesyms.c: Likewise.
31470         * elf/elf.h: Likewise.
31471         * malloc/malloc.c: Likewise.
31472         * nis/nis_print.c: Likewise.
31473         * resolv/res_comp.c: Likewise.
31474         * stdlib/stdlib.h: Likewise.
31475         * sunrpc/clnt_tcp.c: Likewise.
31476         * sunrpc/clnt_udp.c: Likewise.
31477         * sunrpc/clnt_unix.c: Likewise.
31478         * sysdeps/unix/bsd/ptsname.c: Likewise.
31479         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31480         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31482         Likewise.
31483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31484         Likewise.
31485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31486         Likewise.
31487         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31489 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31491         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31492         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31494 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31496         [BZ #15897]
31497         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31498         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31499         ($(objpfx)bug-dl-leaf): New rule.
31500         ($(objpfx)bug-dl-leaf.so): Likewise.
31501         ($(objpfx)bug-dl-leaf.out): Likewise.
31502         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31503         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31504         * dlfcn/bug-dl-leaf.c: New test.
31505         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31506         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31507         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31508         (dlclose): Likewise.
31509         (dlmopen): Likewise.
31511 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31513         * include/netdb.h [!_ISOMAC]:
31514         Don't include <tls.h>.
31515         (h_errno, __libc_h_errno): Move declaration and macros out of
31516         [_LIBC_REENTRANT].
31518         * include/resolv.h [_RESOLV_H_]:
31519         Don't include <tls.h>.
31520         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31521         * resolv/res_libc.c: Don't include <tls.h>.
31522         (_res): Use __attribute__ ((nocommon)) in place of
31523         __attribute__ ((section (".bss"))).
31525         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31526         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31528         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31530         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31531         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31533         * resolv/res_mkquery.c: Include <sys/time.h>.
31535         * inet/ifreq.c: Moved to ...
31536         * sysdeps/unix/ifreq.c: ... here.
31537         * inet/ifreq.c: New file, true stub version.
31539         * socket/sa_len.c: New file.
31540         * socket/Makefile (aux): Add it.
31541         * sysdeps/unix/sysv/linux/Makefile
31542         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31543         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31544         and #include <socket/sa_len.c>.
31545         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31546         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31548         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31549         * bits/socket.h: ... here.
31551         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31552         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31553         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31555 2013-08-27  Andreas Schwab  <schwab@suse.de>
31557         [BZ #15736]
31558         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31559         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31560         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31561         * string/test-strcasecmp.c (test_main): Run tests in several
31562         locales.
31563         * string/test-strncasecmp.c (test_main): Likewise.
31565         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31566         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31567         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31568         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31569         (__strncasecmp_ssse3) [PIC]: Likewise.
31571 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31573         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31575         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31576         instead of explicitly declaring xdecrypt.
31577         * nis/nss_nis/nis-publickey.c: Likewise.
31579 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31581         [BZ #15890]
31582         * nscd/aicache.c: Include res_hconf.h.
31583         (addhstaiX): Initialize res_hconf.
31585 2013-08-26  Andreas Schwab  <schwab@suse.de>
31587         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31588         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31590 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31592         * nscd/aicache.c (addhstaiX): Fix indentation.
31594 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31596         * configure.ac: Quote $build_pt_chown test.
31597         * configure: Regenerated.
31599 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31601         [BZ #15532]
31602         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31603         * math/s_cexpf.c (__cexpf): Likewise.
31604         * math/s_cexpl.c (__cexpl): Likewise.
31605         * math/libm-test.inc (cexp_test_data): Correct expected return
31606         value for NaN + i0.  Add another test.
31608 2013-08-22  David S. Miller  <davem@davemloft.net>
31610         * po/ca.po: Update Catalan translation from translation project.
31611         * po/uk.po: Add Ukrainian translations from translation project.
31613 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31615         [BZ #15797]
31616         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31617         is infinite, not alongside NaN test.
31618         * math/s_fdimf.c (__fdimf): Likewise.
31619         * math/s_fdiml.c (__fdiml): Likewise.
31620         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31621         errno is unchanged.
31623 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31625         * argp/argp-help.c: Fix typos.
31626         * crypt/speeds.c: Likewise.
31627         * csu/check_fds.c: Likewise.
31628         * elf/dl-load.c: Likewise.
31629         * elf/dl-open.c: Likewise.
31630         * elf/reldep3.c: Likewise.
31631         * elf/reldep.c: Likewise.
31632         * elf/sprof.c: Likewise.
31633         * iconv/iconv_charmap.c: Likewise.
31634         * iconv/skeleton.c: Likewise.
31635         * iconv/strtab.c: Likewise.
31636         * io/lockf64.c: Likewise.
31637         * libio/libioP.h: Likewise.
31638         * resolv/gai_notify.c: Likewise.
31639         * resolv/ns_name.c: Likewise.
31640         * resolv/ns_samedomain.c: Likewise.
31641         * resolv/res_send.c: Likewise.
31642         * stdlib/random.c: Likewise.
31643         * sunrpc/rpc/xdr.h: Likewise.
31644         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31645         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31646         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31647         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31648         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31649         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31650         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31651         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31652         * sysdeps/mach/hurd/check_fds.c: Likewise.
31653         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31654         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31655         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31656         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31657         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31658         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31659         * sysdeps/pthread/aio_notify.c: Likewise.
31660         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31661         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31662         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31663         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31664         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31666 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31668         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31669         version if bit_Slow_SSE4_2 is set.
31670         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31671         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31673 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31675         [BZ #15867]
31676         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31677         trampoline stack frame information.
31678         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31679         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31680         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31681         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31682         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31683         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31684         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31685         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31686         sa_flags value.
31687         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31688         interrupting a syscall and set with option SA_SIGINFO.
31690 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31692         [BZ #15531]
31693         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31694         argument is infinite.
31695         * math/s_cprojf.c (__cprojf): Likewise.
31696         * math/s_cprojl.c (__cprojl): Likewise.
31697         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31698         * math/libm-test.inc (cproj_test_data): Add more tests.
31700         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31702         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31703         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31704         size.  Use __ffs to determine corresponding shift.
31706 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31707             Roland McGrath  <roland@hack.frob.com>
31709         * Makefile (INSTALL): Remove trailing blank lines from output of
31710         makeinfo.
31712 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31714         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31715         Align 32 bit compat elf_greg to 8 bytes.
31717 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31719         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31721 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31723         * string/strcoll_l.c (coll_seq): New structure.
31724         (get_next_seq_cached): New function.
31725         (get_next_seq): New function.
31726         (do_compare): New function.
31727         (STRCOLL): Use GNU style definition.  Simplify implementation
31728         by using get_next_seq, get_next_seq_cached and do_compare.
31730 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31732         [BZ #14699]
31733         CVE-2013-4237
31734         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31735         member.
31736         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31737         member.
31738         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31739         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31740         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31741         conditional.
31742         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31743         GETDENTS_64BIT_ALIGNED.
31744         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31745         * manual/filesys.texi (Reading/Closing Directory): Document
31746         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31747         strongly.
31748         * manual/conf.texi (Limits for Files): Add portability note to
31749         NAME_MAX, PATH_MAX.
31750         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31752 2013-08-13  Andreas Schwab  <schwab@suse.de>
31754         [BZ #15749]
31755         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31756         of fabs.
31757         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31758         LDBL_MAX_EXP >= 16384]: Add tests for it.
31760 2013-08-12  David S. Miller  <davem@davemloft.net>
31762         * version.h (RELEASE): Set to "development".
31763         (VERSION): Set to "2.18.90".
31764         * NEWS: Add 2.19 section.
31766 2013-08-03  David S. Miller  <davem@davemloft.net>
31768         * po/ko.po: Update Korean translation from translation project.
31770 2013-08-01  David S. Miller  <davem@davemloft.net>
31772         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31773         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31774         Bilka.
31776 2013-07-30  David S. Miller  <davem@davemloft.net>
31778         * po/fr.po: Update French translation from translation project.
31780 2013-07-28  David S. Miller  <davem@davemloft.net>
31782         * po/cs.po: Update Czech translation from translation project.
31784         * po/sv.po: Update Swedish translation from translation project.
31786 2013-07-27  David S. Miller  <davem@davemloft.net>
31788         * po/eo.po: Update Esperanto translation from translation project.
31790         * po/vi.po: Update Vietnamese translation from translation project.
31792         * po/de.po: Update German translation from translation project.
31794 2013-07-26  David S. Miller  <davem@davemloft.net>
31796         * po/bg.po: Update Bulgarian translation from translation project.
31798         * po/nl.po: Update Dutch translation from translation project.
31799         * po/pl.po: Update Polish translation from translation project.
31800         * po/ru.po: Update Russian translation from translation project.
31802 2013-07-24  David S. Miller  <davem@davemloft.net>
31804         * po/libc.pot: Update.
31806 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31808         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31809         variable page size.
31810         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31811         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31812         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31814 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31816         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31818 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31819             Andreas Schwab  <schwab@suse.de>
31820             Roland McGrath  <roland@hack.frob.com>
31821             Joseph Myers  <joseph@codesourcery.com>
31822             Carlos O'Donell  <carlos@redhat.com>
31824         [BZ #15755]
31825         * config.h.in: Define HAVE_PT_CHOWN.
31826         * config.make.in (build-pt-chown): New variable.
31827         * configure.in (--enable-pt_chown): New configure option.
31828         * configure: Regenerate.
31829         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31830         build-pt-chown is enabled.
31831         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31832         pt_chown to fix pty ownership.
31833         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31834         CLOSE_ALL_FDS.
31835         * manual/install.texi (Configuring and compiling): Mention
31836         --enable-pt_chown. Add @findex for grantpt.
31837         * INSTALL: Regenerate.
31839 2013-07-20  David S. Miller  <davem@davemloft.net>
31841         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31842         difference between 32-bit and 64-bit.
31844 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31846         [BZ #15711]
31847         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31848         Avoid system header dependency with -ffreestanding.
31849         ($(objpfx)bits/syscall%d): Likewise.
31851 2013-07-13  David S. Miller  <davem@davemloft.net>
31853         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31854         underflows from atanl/atan2l due to bug 15319.
31855         (casinh_test_data): Likewise.
31857 2013-07-07  David S. Miller  <davem@davemloft.net>
31859         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31861 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31863         * sysdeps/i386/fpu/libm-test-ulps: Update.
31864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31866 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31868         * configure.in (--enable-lock-elision): Fix message text.
31869         * INSTALL: Regenerate.
31870         * configure: Regenerate.
31872 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31876 2013-07-03  Andreas Jaeger  <aj@suse.de>
31878         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31879         define.
31880         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31881         (ptrace_peeksiginfo_args): Add.
31882         (__ptrace_peeksiginfo_flags): Add.
31883         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31884         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31885         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31887 2013-07-03  Allan McRae  <allan@archlinux.org>
31889         * sysdeps/i386/fpu/libm-test-ulps: Update.
31891 2013-07-02  David S. Miller  <davem@davemloft.net>
31893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31895 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31897         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31899 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31901         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31904 2013-07-02  Andi Kleen <ak@linux.intel.com>
31906         * config.h.in (ENABLE_LOCK_ELISION): Add.
31907         * configure.in (--enable-lock-elision): Add option.
31908         * manual/install.texi: Document --enable lock elision.
31909         * configure: Regenerate
31910         * INSTALL: Regenerate.
31912 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31914         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31915         SSE4.2 strcasecmp for libc.a.
31916         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31918 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31920         [BZ #13304]
31921         * soft-fp/op-common.h (_FP_FMA): New macro.
31922         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31923         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31924         (_FP_MUL_MEAT_1_imm): ... here.
31925         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31926         (_FP_MUL_MEAT_1_wide): ... here.
31927         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31928         (_FP_MUL_MEAT_1_hard): ... here.
31929         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31930         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31931         (_FP_MUL_MEAT_2_wide): ... here.
31932         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31933         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31934         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31935         (_FP_MUL_MEAT_2_gmp): ... here.
31936         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31937         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31938         (_FP_MUL_MEAT_4_wide): ... here.
31939         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31940         (_FP_MUL_MEAT_4_gmp): ... here.
31941         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31942         (_FP_WFRACBITS_DW_S): Likewise.
31943         (_FP_WFRACXBITS_DW_S): Likewise.
31944         (_FP_HIGHBIT_DW_S): Likewise.
31945         (FP_FMA_S): Likewise.
31946         (_FP_FRAC_HIGH_DW_S): Likewise.
31947         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31948         (_FP_WFRACBITS_DW_D): Likewise.
31949         (_FP_WFRACXBITS_DW_D): Likewise.
31950         (_FP_HIGHBIT_DW_D): Likewise.
31951         (FP_FMA_D): Likewise.
31952         (_FP_FRAC_HIGH_DW_D): Likewise.
31953         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31954         (_FP_WFRACBITS_DW_E): Likewise.
31955         (_FP_WFRACXBITS_DW_E): Likewise.
31956         (_FP_HIGHBIT_DW_E): Likewise.
31957         (FP_FMA_E): Likewise.
31958         (_FP_FRAC_HIGH_DW_E): Likewise.
31959         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31960         (_FP_WFRACBITS_DW_Q): Likewise.
31961         (_FP_WFRACXBITS_DW_Q): Likewise.
31962         (_FP_HIGHBIT_DW_Q): Likewise.
31963         (FP_FMA_Q): Likewise.
31964         (_FP_FRAC_HIGH_DW_Q): Likewise.
31965         * soft-fp/fmasf4.c: New file.
31966         * soft-fp/fmadf4.c: Likewise.
31967         * soft-fp/fmatf4.c: Likewise.
31969 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31972         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31973         Silvermont.
31974         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31975         macro.
31976         (index_Slow_SSE4_2): Likewise.
31977         (index_Prefer_PMINUB_for_stringop): Likewise.
31978         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31979         bit_Slow_SSE4_2 is set.
31980         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31981         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31983 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31985         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31986         rtld_global._dl_hwcap2.
31987         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31988         POWER8.
31989         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31990         POWER8 feature descriptions defined in _dl_hwcap2.
31991         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31992         string handling for POWER8 feature bits.
31993         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31994         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31995         _dl_powerpc_cap_flags.
31996         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31997         * sysdeps/powerpc/rtld-global-offsets.sym
31998         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31999         _dl_hwcap2 in the rtld_global_ro structure.
32001 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32003         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32004         hardware capabilities in support of AT_HWCAP2.
32005         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32006         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32007         GLRO(dl_hwcap2).
32008         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32009         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32010         explicitly the unknown a_type display mechanism is used.
32011         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32012         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32013         struct member.
32014         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32015         to macro prototype for AT_HWCAP2 support.
32016         * sysdeps/i386/dl-procinfo.h: Likewise.
32017         * sysdeps/s390/dl-procinfo.h: Likewise.
32018         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32019         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32020         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32021         return -1 for unknown a_type display fallback.
32022         * sysdeps/sparc/dl-procinfo.h: Likewise.
32023         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32024         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32026 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32028         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32029         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32031 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32033         [BZ #12492]
32034         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32035         mprotect making __stack_prot writable.
32037 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32038             Joseph Myers  <joseph@codesourcery.com>
32040         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32041         as being properly aligned.
32043 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32045         * dlfcn/modstatic5.c: New file.
32046         * dlfcn/tststatic5.c: New file.
32047         * dlfcn/Makefile (tests): Add tststatic5.
32048         (tests-static): Likewise.
32049         (modules-names): Add modstatic5.
32050         (tststatic5-ENV): New variable.
32051         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32053         [BZ #15022]
32054         * elf/dl-support.c (_dl_main_map): New variable.
32055         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32056         (_dl_nns, _dl_load_adds): Set to 1.
32057         (_dl_initial_searchlist): Refer to _dl_main_map.
32058         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32059         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32060         call to _dl_get_origin.
32061         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32062         around call_map.
32063         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32064         * dlfcn/modstatic3.c: New file.
32065         * dlfcn/tststatic3.c: New file.
32066         * dlfcn/tststatic4.c: New file.
32067         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32068         (tests-static): Likewise.
32069         (modules-names): Add modstatic3.
32070         (tststatic3-ENV, tststatic4-ENV): New variables.
32071         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32072         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32074 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32076         * configure.in (CC): Require GCC version 4.4 or later.
32077         * configure: Regenerated.
32078         * manual/install.texi (Tools for Compilation): Update GCC version
32079         requirement.
32080         * INSTALL: Regenerated.
32082 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32084         [BZ #15674]
32085         * string/test-memcmp.c (check2): New.
32086         (main): Call check2.
32088         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32090 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32092         [BZ #15022]
32093         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32094         over to...
32095         (dl_open_worker) [!SHARED]: ... here.
32097 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32099         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32101 2013-06-25  Richard Henderson  <rth@redhat.com>
32103         * locale/programs/locarchive.c: Include <libc-internal.h>
32105 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32107         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32108         trailing whitespace removed.
32110 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32112         [BZ #10283]
32113         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32114         * locale/programs/locarchive.c: Include libc-mmap.h.
32115         (prepare_address_space): Take two new outputs (the mmap base and len).
32116         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32117         values.
32118         (create_archive): Declare new mmap base and len values for
32119         prepare_address_space, and store the result in ah.
32120         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32121         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32122         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32123         Declare new mmap base and len values for
32124         prepare_address_space, and store the result in new_ah.
32125         (open_archive): Declare new mmap base and len values for
32126         prepare_address_space, and store the result in ah.
32127         (close_archive): If ah->mmap_base is not NULL, use that and
32128         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32129         * sysdeps/generic/libc-mmap.h: New file.
32131 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32133         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32134         (ALIGN_UP): Likewise.
32135         (PTR_ALIGN_DOWN): Likewise.
32136         (PTR_ALIGN_UP): Likewise.
32138 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32140         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32141         entry mapped to PPC_PLATFORM_POWER8.
32142         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32143         POWER8.
32144         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32145         (_dl_string_platform): Add case for exporting platform position for
32146         POWER8.
32147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32148         search path to sysdeps/powerpc/powerpc32/power8 directory.
32149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32150         search path to sysdeps/powerpc/powerpc64/power8 directory.
32151         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32152         power7 directories.
32153         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32154         power7 directories.
32156 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32158         * INSTALL: Regenerate.
32160         * nscd/connections.c (nscd_init): Fix comment.
32162 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32164         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32166         [BZ #15667]
32167         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32168         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32170 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32172         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32173         DL_DST_REQ_STATIC.
32174         (DL_DST_REQ_STATIC): Remove macro.
32176 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32178         [BZ #7006]
32179         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32180         with a shift of 0 bits.
32182 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32184         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32185         $(tststatic-ENV).
32187 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32189         [BZ #15655]
32190         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32192 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32194         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32195         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32196         accepts -fno-tree-loop-distribute-patterns.
32197         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32198         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32199         recursive call.
32200         * string/memset.c (memset): Likewise.
32201         * string/test-memmove.c (simple_memmove): Disable loop transformation
32202         to library calls.
32203         * string/test-memset.c (simple_memset): Likewise.
32204         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32205         * benchtests/bench-memset.c (simple_memset): Likewise.
32206         * configure: Regenerated.
32208 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32210         * math/test-misc.c (main): Ignore fesetround failure when failures
32211         of subsequent rounding tests would be ignored.
32213         [BZ #15654]
32214         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32215         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32216         * math/fegetenv.c (__fegetenv): Return 0.
32217         * math/fegetexcept.c (fegetexcept): Return 0.
32218         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32219         FE_TONEAREST.
32220         * math/feholdexcpt.c (feholdexcept): Return 0.
32221         * math/fesetenv.c (__fesetenv): Return 0.
32222         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32223         argument FE_TONEAREST.
32224         * math/feupdateenv.c (__feupdateenv): Return 0.
32225         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32227 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32229         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32230         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32231         ($(objpfx)rtld-%.os rules): Use them.
32233 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32235         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32236         fields.
32238 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32240         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32241         length of target pattern, then descending length of dependency pattern.
32242         * configure.in (AWK): Require gawk 3.1.2 or newer.
32243         * manual/install.texi (Tools for Compilation): Say that we do.
32244         * configure: Regenerated.
32246         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32247         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32248         * scripts/sysd-rules.awk: ... this new script.
32249         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32250         than a glob-style pattern.
32252 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32254         * math/test-misc.c (main): Do not treat incorrectly rounded
32255         conversions as failure unless ROUNDING_TESTS passes.
32257 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32259         [BZ #15631]
32260         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32261         restore exception state around main square root computation, then
32262         check for inexactness explicitly.
32264         * math/libm-test.inc (fma_test_data): Add another test.
32266 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32268         * manual/threads.texi (Non-POSIX Extensions): New document
32269         node.  Document pthread_getattr_default_np and
32270         pthread_setattr_default_np.
32272         * Versions.def (libpthread): Add GLIBC_2.18.
32273         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32275         Likewise.
32276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32277         Likewise.
32278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32279         Likewise.
32280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32281         Likewise.
32282         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32283         Likewise.
32284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32285         Likewise.
32286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32287         Likewise.
32288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32289         Likewise.
32290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32291         Likewise.
32293 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32296         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32298 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32299             H.J. Lu  <hjl.tools@gmail.com>
32301         [BZ #15627]
32302         * sysdeps/x86_64/rtld-memset.c: Remove file.
32303         * sysdeps/x86_64/rtld-memset.S: New file.
32305 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32307         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32308         (test_in_one_mode): Take arguments for whether the rounding mode
32309         is supported for each floating-point type.
32310         (do_test): Pass new arguments to test_in_one_mode using
32311         ROUNDING_TESTS.
32313 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32315         * posix/tst-waitid.c (do_test): Distinguish different instances of
32316         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32317         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32318         before entering the kernel for waitpid.
32320 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32322         * NEWS: Fix note on clock function precision.  Text by Roland
32323         McGrath.
32325 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32327         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32328         it into place only when and if the sanity check passes.
32330 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32332         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32333         output for whether conversion result is exact.  Take argument
32334         indicating whether type is IBM long double.
32335         (round_for_all): Change need_exact field to ibm_ld.
32336         * stdlib/tst-strtod-round.c (struct exactness): New type.
32337         (struct test): Change bool ld_ok field to struct exactness exact.
32338         (TEST): Update all definitions for change to field.
32339         (tests): Regenerate array contents.
32340         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32341         field value.  Check for IBM long double here.
32342         (do_test): Update calls to test_in_one_mode.
32344 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32346         [BZ #12515]
32347         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32348         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32350 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32352         [BZ #15605]
32353         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32354         generated by the compiler on loop optimizations.
32355         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32356         general definitions.
32358 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32360         * math/bug-nextafter.c: Include <math-tests.h>.
32361         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32362         the relevant type.
32363         * math/bug-nexttoward.c: Include <math-tests.h>.
32364         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32365         the relevant type.
32366         * math/test-misc.c: Include <math-tests.h>.
32367         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32368         the relevant type.
32370 2013-06-12  Andreas Jaeger  <aj@suse.de>
32372         * po/ia.po: Update Interlingua translation from translation
32373         project.
32375 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32377         * include/fenv.h: Include stdbool.h.
32378         (struct rm_ctx): New structure.
32379         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32380         Define macro.
32381         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32382         (SET_RESTORE_ROUNDF): Likewise.
32383         (SET_RESTORE_ROUNDL): Likewise.
32384         (SET_RESTORE_ROUND_NOEX): Likewise.
32385         (SET_RESTORE_ROUND_NOEXF): Likewise.
32386         (SET_RESTORE_ROUND_NOEXL): Likewise.
32387         (SET_RESTORE_ROUND_53BIT): Likewise.
32388         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32389         (libc_feresetround_noexf_ctx): Likewise.
32390         (libc_feresetround_noexl_ctx): Likewise.
32391         (libc_feholdsetround_53bit_ctx): Likewise.
32392         (libc_feresetround_53bit_ctx): Likewise.
32393         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32394         (libc_feholdexcept_setround_sse_ctx): New function.
32395         (libc_fesetenv_sse_ctx): Likewise.
32396         (libc_feupdateenv_sse_ctx): Likewise.
32397         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32398         (libc_feholdexcept_setround_387_ctx): Likewise.
32399         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32400         (libc_feholdsetround_387_prec_ctx): Likewise.
32401         (libc_feholdsetround_387_ctx): Likewise.
32402         (libc_feholdsetround_387_53bit_ctx): Likewise.
32403         (libc_feholdsetround_sse_ctx): Likewise.
32404         (libc_feresetround_sse_ctx): Likewise.
32405         (libc_feresetround_387_ctx): Likewise.
32406         (libc_feupdateenv_387_ctx): Likewise.
32407         (libc_feholdexcept_setroundf_ctx): Define macro.
32408         (libc_fesetenvf_ctx): Likewise.
32409         (libc_feupdateenvf_ctx): Likewise.
32410         (libc_feholdsetroundf_ctx): Likewise.
32411         (libc_feresetroundf_ctx): Likewise.
32412         (libc_feholdexcept_setround_ctx): Likewise.
32413         (libc_fesetenv_ctx): Likewise.
32414         (libc_feupdateenv_ctx): Likewise.
32415         (libc_feholdsetround_ctx): Likewise.
32416         (libc_feresetround_ctx): Likewise.
32417         (libc_feholdexcept_setroundl_ctx): Likewise.
32418         (libc_feupdateenvl_ctx): Likewise.
32419         (libc_feholdsetroundl_ctx): Likewise.
32420         (libc_feresetroundl_ctx): Likewise.
32421         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32422         (libc_feresetround_53bit_ctx): Likewise.
32424 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32426         * locale/iso-639.def: Convert to UTF-8.
32428 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32430         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32431         (EXCEPTION_TESTS_double): Likewise.
32432         (EXCEPTION_TESTS_long_double): Likewise.
32433         (EXCEPTION_TESTS): Likewise.
32434         * math/libm-test.inc (test_exceptions): Only test exceptions if
32435         EXCEPTION_TESTS (FLOAT).
32437 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32439         * benchtests/Makefile (string-bench): Add strcpy_chk and
32440         stpcpy_chk.
32441         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32442         * benchtests/bench-stpcpy_chk.c: New file.
32443         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32444         * benchtests/bench-strcpy_chk.c: New file.
32445         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32446         code.
32447         (do_test): Likewise.
32449 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32451         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32452         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32453         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32454         with tabs where appropriate.
32455         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32456         dl-procinfo.h.
32457         [PPC_PLATFORM_PPC440]: Likewise.
32458         [PPC_PLATFORM_PPC464]: Likewise.
32459         [PPC_PLATFORM_PPC476]: Likewise.
32460         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32461         ppc464, and ppc476 platform strings merging from ports/
32462         dl-procinfo.h.
32464 2013-06-11  Andreas Schwab  <schwab@suse.de>
32466         [BZ #14991]
32467         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32468         (from_ucs4_idx): Regenerate.
32469         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32470         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32471         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32472         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32473         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32474         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32475         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32476         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32477         from FROM_LOOP and TO_LOOP specific macros.
32478         (BODY): Handle combining characters.
32479         * iconvdata/BIG5HKSCS.irreversible: Update.
32480         * iconvdata/BIG5HKSCS.precomposed: New file.
32481         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32482         characters.
32483         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32485 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32487         * include/sys/time.h: Fix indentation and add copyright header.
32489         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32490         (do_test): Likewise.
32491         * string/test-memchr.c (do_one_test): Likewise.
32492         (do_test): Likewise.
32493         * string/test-memcmp.c (do_one_test): Likewise.
32494         (do_test): Likewise.
32495         * string/test-memcpy.c (do_one_test): Likewise.
32496         (do_test): Likewise.
32497         * string/test-memmem.c (do_one_test): Likewise.
32498         (do_test): Likewise.
32499         (do_random_tests): Likewise.
32500         * string/test-memmove.c (do_one_test): Likewise.
32501         (do_test): Likewise.
32502         * string/test-memset.c (do_one_test): Likewise.
32503         (do_test): Likewise.
32504         * string/test-rawmemchr.c (do_one_test): Likewise.
32505         (do_test): Likewise.
32506         * string/test-strcasecmp.c (do_one_test): Likewise.
32507         (do_test): Likewise.
32508         * string/test-strcasestr.c (do_one_test): Likewise.
32509         (do_test): Likewise.
32510         * string/test-strcat.c (do_one_test): Likewise.
32511         (do_test): Likewise.
32512         * string/test-strchr.c (do_one_test): Likewise.
32513         (do_test): Likewise.
32514         * string/test-strcmp.c (do_one_test): Likewise.
32515         (do_test): Likewise.
32516         * string/test-strcpy.c (do_one_test): Likewise.
32517         (do_test): Likewise.
32518         * string/test-string.h: Likewise.
32519         (test_init): Likewise.
32520         * string/test-strlen.c (do_one_test): Likewise.
32521         (do_test): Likewise.
32522         * string/test-strncasecmp.c (do_one_test): Likewise.
32523         (do_test): Likewise.
32524         * string/test-strncat.c (do_one_test): Likewise.
32525         (do_test): Likewise.
32526         * string/test-strncmp.c (do_one_test): Likewise.
32527         (do_test_limit): Likewise.
32528         (do_test): Likewise.
32529         * string/test-strncpy.c (do_one_test): Likewise.
32530         (do_test): Likewise.
32531         * string/test-strnlen.c (do_one_test): Likewise.
32532         (do_test): Likewise.
32533         * string/test-strpbrk.c (do_one_test): Likewise.
32534         (do_test): Likewise.
32535         * string/test-strrchr.c (do_one_test): Likewise.
32536         (do_test): Likewise.
32537         * string/test-strspn.c (do_one_test): Likewise.
32538         (do_test): Likewise.
32539         * string/test-strstr.c (do_one_test): Likewise.
32540         (do_test): Likewise.
32542         * benchtests/Makefile (string-bench): Add string benchmarks.
32543         * benchtests/bench-bcopy-ifunc.c: New file.
32544         * benchtests/bench-bcopy.c: New file.
32545         * benchtests/bench-bzero-ifunc.c: New file.
32546         * benchtests/bench-bzero.c: New file.
32547         * benchtests/bench-memccpy-ifunc.c: New file.
32548         * benchtests/bench-memccpy.c: New file.
32549         * benchtests/bench-memchr-ifunc.c: New file.
32550         * benchtests/bench-memchr.c: New file.
32551         * benchtests/bench-memcmp-ifunc.c: New file.
32552         * benchtests/bench-memcmp.c: New file.
32553         * benchtests/bench-memmem-ifunc.c: New file.
32554         * benchtests/bench-memmem.c: New file.
32555         * benchtests/bench-memmove-ifunc.c: New file.
32556         * benchtests/bench-memmove.c: New file.
32557         * benchtests/bench-mempcpy-ifunc.c: New file.
32558         * benchtests/bench-mempcpy.c: New file.
32559         * benchtests/bench-memset-ifunc.c: New file.
32560         * benchtests/bench-memset.c: New file.
32561         * benchtests/bench-rawmemchr-ifunc.c: New file.
32562         * benchtests/bench-rawmemchr.c: New file.
32563         * benchtests/bench-stpcpy-ifunc.c: New file.
32564         * benchtests/bench-stpcpy.c: New file.
32565         * benchtests/bench-stpncpy-ifunc.c: New file.
32566         * benchtests/bench-stpncpy.c: New file.
32567         * benchtests/bench-strcasecmp-ifunc.c: New file.
32568         * benchtests/bench-strcasecmp.c: New file.
32569         * benchtests/bench-strcasestr-ifunc.c: New file.
32570         * benchtests/bench-strcasestr.c: New file.
32571         * benchtests/bench-strcat-ifunc.c: New file.
32572         * benchtests/bench-strcat.c: New file.
32573         * benchtests/bench-strchr-ifunc.c: New file.
32574         * benchtests/bench-strchr.c: New file.
32575         * benchtests/bench-strchrnul-ifunc.c: New file.
32576         * benchtests/bench-strchrnul.c: New file.
32577         * benchtests/bench-strcmp-ifunc.c: New file.
32578         * benchtests/bench-strcmp.c: New file.
32579         * benchtests/bench-strcpy-ifunc.c: New file.
32580         * benchtests/bench-strcpy.c: New file.
32581         * benchtests/bench-strcspn-ifunc.c: New file.
32582         * benchtests/bench-strcspn.c: New file.
32583         * benchtests/bench-strlen-ifunc.c: New file.
32584         * benchtests/bench-strlen.c: New file.
32585         * benchtests/bench-strncasecmp-ifunc.c: New file.
32586         * benchtests/bench-strncasecmp.c: New file.
32587         * benchtests/bench-strncat-ifunc.c: New file.
32588         * benchtests/bench-strncat.c: New file.
32589         * benchtests/bench-strncmp-ifunc.c: New file.
32590         * benchtests/bench-strncmp.c: New file.
32591         * benchtests/bench-strncpy-ifunc.c: New file.
32592         * benchtests/bench-strncpy.c: New file.
32593         * benchtests/bench-strnlen-ifunc.c: New file.
32594         * benchtests/bench-strnlen.c: New file.
32595         * benchtests/bench-strpbrk-ifunc.c: New file.
32596         * benchtests/bench-strpbrk.c: New file.
32597         * benchtests/bench-strrchr-ifunc.c: New file.
32598         * benchtests/bench-strrchr.c: New file.
32599         * benchtests/bench-strspn-ifunc.c: New file.
32600         * benchtests/bench-strspn.c: New file.
32601         * benchtests/bench-strstr-ifunc.c: New file.
32602         * benchtests/bench-strstr.c: New file.
32604         * benchtests/Makefile: Disable parallel execution of targets.
32605         (string-bench): Add memcpy.
32606         (benchset): New variable to store a list of benchmark sets.
32607         (bench-func): Renamed from bench.
32608         (bench-set): New target.
32609         (bench): Depend on bench-func and bench-set.
32610         * benchtests/README: Add section on benchmark sets.
32611         * benchtests/bench-memcpy-ifunc.c: New file.
32612         * benchtests/bench-memcpy.c: New file.
32613         * benchtests/bench-string.h: New file.
32615 2013-06-11  Andreas Schwab  <schwab@suse.de>
32617         [BZ #15577]
32618         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32619         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32620         values in the triple.
32621         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32622         terminator in the group key.
32624 2013-06-11  Andreas Jaeger  <aj@suse.de>
32626         * po/zh_TW.po: Update Chinese (traditional) translation from
32627         translation project.
32629 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32631         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32632         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32633         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32634         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32635         (clock_getcpuclockid): Likewise.
32636         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32637         Add weak_alias and libc_hidden_def.
32638         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32639         * rt/clock_gettime.c (clock_gettime): Rename to
32640         __clock_gettime.  Add weak_alias and libc_hidden_def.
32641         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32642         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32643         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32644         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32645         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32646         Likewise.
32647         * rt/clock_settime.c (clock_settime): Rename to
32648         __clock_settime.  Add weak_alias and libc_hidden_def.
32649         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32651 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32653         * mach/err_boot.sub: Remove trailing whitespace.
32654         * mach/err_ipc.sub: Likewise.
32655         * mach/err_mach.sub: Likewise.
32657         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32658         (ROUNDING_TESTS_double): Likewise.
32659         (ROUNDING_TESTS_long_double): Likewise.
32660         (ROUNDING_TESTS): Likewise.
32661         * math/libm-test.inc: Include <math-tests.h>.
32662         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32663         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32664         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32665         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32667 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32669         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32670         of assigning.
32672 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32674         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32675         otherwise empty TRANS lines.
32676         * sysdeps/gnu/errlist.c: Regenerated.
32678         * catgets/gencat.c (error_print): Use (void) in function
32679         definition.
32680         * crypt/crypt_util.c (__init_des): Likewise.
32681         * crypt/speeds.c (Stop): Likewise.
32682         (main): Likewise.
32683         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32684         * inet/ruserpass.c (token): Likewise.
32685         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32686         * intl/localealias.c (extend_alias_table): Likewise.
32687         * intl/plural-exp.c (init_germanic_plural): Likewise.
32688         * libio/fcloseall.c (__fcloseall): Likewise.
32689         * libio/genops.c (_IO_flush_all): Likewise.
32690         (_IO_flush_all_linebuffered): Likewise.
32691         (_IO_cleanup): Likewise.
32692         (_IO_iter_begin): Likewise.
32693         (_IO_iter_end): Likewise.
32694         (_IO_list_lock): Likewise.
32695         (_IO_list_unlock): Likewise.
32696         (_IO_list_resetlock): Likewise.
32697         * libio/getchar.c (getchar): Likewise.
32698         * libio/getchar_u.c (getchar_unlocked): Likewise.
32699         * libio/getwchar.c (getwchar): Likewise.
32700         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32701         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32702         * login/getpt.c (__getpt): Likewise.
32703         * login/tst-utmp.c (main): Likewise.
32704         * malloc/hooks.c (__malloc_check_init): Likewise.
32705         * malloc/malloc.c (__malloc_stats): Likewise.
32706         * malloc/mtrace.c (tr_break): Likewise.
32707         (mtrace): Likewise.
32708         (muntrace): Likewise.
32709         * misc/fstab.c (endfsent): Likewise.
32710         * misc/getclktck.c (__getclktck): Likewise.
32711         * misc/getdtsz.c (__getdtablesize): Likewise.
32712         * misc/gethostid.c (gethostid): Likewise.
32713         * misc/getpagesize.c (__getpagesize): Likewise.
32714         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32715         (__get_nprocs): Likewise.
32716         (__get_phys_pages): Likewise.
32717         (__get_avphys_pages): Likewise.
32718         * misc/getttyent.c (getttyent): Likewise.
32719         (setttyent): Likewise.
32720         (endttyent): Likewise.
32721         * misc/getusershell.c (getusershell): Likewise.
32722         (endusershell): Likewise.
32723         (setusershell): Likewise.
32724         (initshells): Likewise.
32725         * misc/hsearch.c (__hdestroy): Likewise.
32726         * misc/sync.c (sync): Likewise.
32727         * misc/syslog.c (closelog_internal): Likewise.
32728         (closelog): Likewise.
32729         * misc/ttyslot.c (ttyslot): Likewise.
32730         * misc/vhangup.c (vhangup): Likewise.
32731         * posix/fork.c (__fork): Likewise.
32732         * posix/getegid.c (__getegid): Likewise.
32733         * posix/geteuid.c (__geteuid): Likewise.
32734         * posix/getgid.c (__getgid): Likewise.
32735         * posix/getpid.c (__getpid): Likewise.
32736         * posix/getppid.c (__getppid): Likewise.
32737         * posix/getuid.c (__getuid): Likewise.
32738         * posix/pause.c (pause): Likewise.
32739         * posix/setpgrp.c (setpgrp): Likewise.
32740         * posix/setsid.c (__setsid): Likewise.
32741         * posix/test-vfork.c (noop): Likewise.
32742         * resolv/gethnamaddr.c (_endhtent): Likewise.
32743         (_gethtent): Likewise.
32744         (ht_endhostent): Likewise.
32745         (gethostent): Likewise.
32746         (dns_service): Likewise.
32747         * stdlib/drand48.c (drand48): Likewise.
32748         * stdlib/lrand48.c (lrand48): Likewise.
32749         * stdlib/mrand48.c (mrand48): Likewise.
32750         * stdlib/rand.c (rand): Likewise.
32751         * stdlib/random.c (__random): Likewise.
32752         * stdlib/setenv.c (clearenv): Likewise.
32753         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32754         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32755         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32756         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32757         (__get_nprocs): Likewise.
32758         (__get_phys_pages): Likewise.
32759         (__get_avphys_pages): Likewise.
32760         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32761         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32762         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32763         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32764         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32765         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32766         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32767         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32768         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32769         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32770         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32771         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32772         * sysdeps/posix/clock.c (clock): Likewise.
32773         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32774         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32775         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32776         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32777         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32778         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32779         (__get_nprocs_conf): Likewise.
32780         (__get_phys_pages): Likewise.
32781         (__get_avphys_pages): Likewise.
32782         * time/clock.c (clock): Likewise.
32783         * time/tzset.c (__tzname_max): Likewise.
32785 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32787         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32788         (__bswap_32): Do not use "register".
32789         * crypt/crypt.c (_ufc_doit_r): Likewise.
32790         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32791         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32792         * gmon/gmon.c (__monstartup): Likewise.
32793         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32794         * hurd/hurdmalloc.c (more_memory): Likewise.
32795         (malloc): Likewise.
32796         (free): Likewise.
32797         (realloc): Likewise.
32798         (malloc_fork_prepare): Likewise.
32799         (malloc_fork_parent): Likewise.
32800         (malloc_fork_child): Likewise.
32801         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32802         (_svcauth_des): Likewise.
32803         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32804         * inet/inet_net.c (inet_network): Likewise.
32805         * inet/inet_netof.c (inet_netof): Likewise.
32806         * inet/rcmd.c (__validuser2_sa): Likewise.
32807         * io/fts.c (fts_open): Likewise.
32808         (fts_load): Likewise.
32809         (fts_close): Likewise.
32810         (fts_read): Likewise.
32811         (fts_children): Likewise.
32812         (fts_build): Likewise.
32813         (fts_stat): Likewise.
32814         (fts_sort): Likewise.
32815         (fts_alloc): Likewise.
32816         (fts_lfree): Likewise.
32817         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32818         (_IO_file_xsgetn): Likewise.
32819         (_IO_file_xsgetn_mmap): Likewise.
32820         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32821         (_IO_cookie_write): Likewise.
32822         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32823         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32824         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32825         * malloc/obstack.c (_obstack_begin): Likewise.
32826         (_obstack_begin_1): Likewise.
32827         (_obstack_newchunk): Likewise.
32828         (_obstack_allocated_p): Likewise.
32829         (obstack_free): Likewise.
32830         (_obstack_memory_used): Likewise.
32831         * misc/getttyent.c (getttynam): Likewise.
32832         (getttyent): Likewise.
32833         (skip): Likewise.
32834         (value): Likewise.
32835         * misc/getusershell.c (initshells): Likewise.
32836         * misc/syslog.c (__vsyslog_chk): Likewise.
32837         * misc/ttyslot.c (ttyslot): Likewise.
32838         * nis/nis_hash.c (__nis_hash): Likewise.
32839         * posix/fnmatch_loop.c (FCT): Likewise.
32840         * posix/getconf.c (print_all): Likewise.
32841         (main): Likewise.
32842         * posix/getopt.c (exchange): Likewise.
32843         * posix/glob.c (globfree): Likewise.
32844         (prefix_array): Likewise.
32845         (__glob_pattern_type): Likewise.
32846         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32847         (NS_GET32): Likewise.
32848         (NS_PUT16): Likewise.
32849         (NS_PUT32): Likewise.
32850         * resolv/gethnamaddr.c (getanswer): Likewise.
32851         (gethostbyname2): Likewise.
32852         (gethostbyaddr): Likewise.
32853         (_gethtent): Likewise.
32854         (_gethtbyname2): Likewise.
32855         (_gethtbyaddr): Likewise.
32856         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32857         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32858         * resolv/res_init.c (__res_vinit): Likewise.
32859         (net_mask): Likewise.
32860         * resolv/res_mkquery.c (outchar): Likewise.
32861         (PRINT): Likewise.
32862         * stdio-common/printf_fp.c (outchar): Likewise.
32863         (PRINT): Likewise.
32864         * stdio-common/printf_fphex.c (outchar): Likewise.
32865         (PRINT): Likewise.
32866         * stdio-common/printf_size.c (outchar): Likewise.
32867         (PRINT): Likewise.
32868         * stdio-common/test_rdwr.c (main): Likewise.
32869         * stdio-common/tfformat.c (matches): Likewise.
32870         * stdio-common/vfprintf.c (outchar): Likewise.
32871         (printf_unknown): Likewise.
32872         (buffered_vfprintf): Likewise.
32873         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32874         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32875         (ReadFile): Likewise.
32876         * stdlib/qsort.c (SWAP): Likewise.
32877         (_quicksort): Likewise.
32878         * stdlib/setenv.c (__add_to_environ): Likewise.
32879         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32880         * stdlib/strtol_l.c (__strtol_l): Likewise.
32881         * stdlib/tst-strtod.c (main): Likewise.
32882         * stdlib/tst-strtol.c (main): Likewise.
32883         * stdlib/tst-strtoll.c (main): Likewise.
32884         * string/bits/string2.h (__strcmp_cc): Likewise.
32885         (__strcmp_cg): Likewise.
32886         (__strcspn_c1): Likewise.
32887         (__strcspn_c2): Likewise.
32888         (__strcspn_c3): Likewise.
32889         (__strspn_c1): Likewise.
32890         (__strspn_c2): Likewise.
32891         (__strspn_c3): Likewise.
32892         (__strsep_1c): Likewise.
32893         (__strsep_2c): Likewise.
32894         (__strsep_3c): Likewise.
32895         * string/memccpy.c (__memccpy): Likewise.
32896         * string/stpcpy.c (__stpcpy): Likewise.
32897         * string/strcmp.c (strcmp): Likewise.
32898         * string/strrchr.c (strrchr): Likewise.
32899         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32900         Likewise.
32901         * sysdeps/mach/hurd/getcwd.c
32902         (_hurd_canonicalize_directory_name_internal): Likewise.
32903         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32904         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32905         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32906         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32907         Likewise, in both definitions.
32908         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32909         definitions.
32910         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32911         64] (__bswap_64): Likewise.
32912         * time/test_time.c (main): Likewise.
32913         * time/tzfile.c (__tzfile_read): Likewise.
32914         (__tzfile_compute): Likewise.
32915         * time/tzset.c (__tzset_parse_tz): Likewise.
32916         (tzset_internal): Likewise.
32917         (compute_change): Likewise.
32918         * wcsmbs/wcscat.c (__wcscat): Likewise.
32919         * wcsmbs/wcschr.c (wcschr): Likewise.
32920         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32921         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32922         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32923         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32924         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32925         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32926         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32927         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32928         * wcsmbs/wmemset.c (wmemset): Likewise.
32930 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32932         * scripts/config.guess: Update to version 2013-05-16.
32933         * scripts/config.sub: Update to version 2013-04-24.
32934         * scripts/install-sh: Update to version 2011-11-20.07.
32935         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32936         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32938 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32940         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32941         * elf/sln.c: Likewise.
32942         * hurd/hurd/ioctl.h: Likewise.
32943         * hurd/hurdmalloc.c: Likewise.
32944         * hurd/xattr.c: Likewise.
32945         * include/shlib-compat.h: Likewise.
32946         * inet/ruserpass.c: Likewise.
32947         * libio/iofgets_u.c: Likewise.
32948         * libio/iofgetws_u.c: Likewise.
32949         * locale/programs/ld-identification.c: Likewise.
32950         * locale/programs/ld-time.c: Likewise.
32951         * mach/msg-destroy.c: Likewise.
32952         * nss/nss_files/files-netgrp.c: Likewise.
32953         * resolv/res_data.c: Likewise.
32954         * soft-fp/op-1.h: Likewise.
32955         * soft-fp/op-2.h: Likewise.
32956         * soft-fp/op-4.h: Likewise.
32957         * soft-fp/op-common.h: Likewise.
32958         * stdio-common/printf_fphex.c: Likewise.
32959         * stdlib/strtod_l.c: Likewise.
32960         * sunrpc/rpc/clnt.h: Likewise.
32961         * sysdeps/generic/framestate.c: Likewise.
32962         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32963         * sysdeps/i386/bsd-setjmp.S: Likewise.
32964         * sysdeps/i386/__longjmp.S: Likewise.
32965         * sysdeps/i386/setjmp.S: Likewise.
32966         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32967         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32968         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32969         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32970         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32971         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32972         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32973         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32974         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32975         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32976         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32977         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32978         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32979         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32980         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32981         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32982         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32983         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32984         * sysdeps/ieee754/support.c: Likewise.
32985         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32986         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32987         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32988         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32989         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32990         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32991         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32992         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32993         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32994         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32995         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32996         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32997         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32998         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32999         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33000         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33001         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33004 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33006         * posix/transbug.c: Remove executable mode.
33008 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33010         * crypt/speeds.c: Remove trailing whitespace.
33011         * dlfcn/default.c: Likewise.
33012         * elf/ifuncdep2.c: Likewise.
33013         * elf/ifuncmain1.c: Likewise.
33014         * elf/ifuncmain1vis.c: Likewise.
33015         * elf/testobj.h: Likewise.
33016         * elf/tst-stackguard1.c: Likewise.
33017         * gmon/sys/gmon.h: Likewise.
33018         * hurd/hurdmsg.c: Likewise.
33019         * hurd/new-fd.c: Likewise.
33020         * hurd/ports-get.c: Likewise.
33021         * iconvdata/ibm1008_420.c: Likewise.
33022         * inet/tst-getni1.c: Likewise.
33023         * inet/tst-getni2.c: Likewise.
33024         * libio/ioungetc.c: Likewise.
33025         * libio/wfiledoalloc.c: Likewise.
33026         * manual/libm-err-tab.pl: Likewise.
33027         * math/w_dremf.c: Likewise.
33028         * misc/ftruncate.c: Likewise.
33029         * posix/bug-glob2.c: Likewise.
33030         * posix/tst-pcre.c: Likewise.
33031         * posix/wait4.c: Likewise.
33032         * resolv/README: Likewise.
33033         * resolv/res_debug.h: Likewise.
33034         * resolv/tst-inet_ntop.c: Likewise.
33035         * setjmp/bug269-setjmp.c: Likewise.
33036         * soft-fp/extended.h: Likewise.
33037         * soft-fp/op-1.h: Likewise.
33038         * soft-fp/op-2.h: Likewise.
33039         * soft-fp/op-4.h: Likewise.
33040         * soft-fp/op-8.h: Likewise.
33041         * soft-fp/testit.c: Likewise.
33042         * stdio-common/bug16.c: Likewise.
33043         * stdlib/random.c: Likewise.
33044         * sunrpc/rpcsvc/rquota.x: Likewise.
33045         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33046         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33047         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33048         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33049         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33050         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33051         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33052         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33053         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33054         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33055         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33056         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33057         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33058         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33059         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33060         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33061         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33062         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33063         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33064         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33065         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33066         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33067         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33068         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33069         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33070         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33071         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33072         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33073         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33074         * sysdeps/ieee754/s_lib_version.c: Likewise.
33075         * sysdeps/mach/hurd/check_fds.c: Likewise.
33076         * sysdeps/mach/hurd/getsockname.c: Likewise.
33077         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33078         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33079         * sysdeps/powerpc/bits/link.h: Likewise.
33080         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33081         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33082         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33083         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33084         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33085         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33086         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33087         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33088         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33089         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33090         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33091         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33092         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33093         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33094         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33095         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33096         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33097         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33098         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33099         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33100         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33101         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33102         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33103         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33104         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33105         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33106         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33107         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33108         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33109         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33110         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33111         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33112         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33113         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33114         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33115         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33116         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33117         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33118         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33119         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33120         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33121         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33122         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33123         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33124         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33125         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33126         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33127         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33128         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33129         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33130         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33131         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33132         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33133         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33134         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33135         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33136         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33137         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33138         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33139         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33140         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33141         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33142         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33143         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33144         * sysdeps/powerpc/sysdep.h: Likewise.
33145         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33146         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33147         * sysdeps/sh/dl-trampoline.S: Likewise.
33148         * sysdeps/sh/memset.S: Likewise.
33149         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33150         * sysdeps/sh/strlen.S: Likewise.
33151         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33152         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33153         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33154         * sysdeps/sparc/sparc32/rem.S: Likewise.
33155         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33156         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33157         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33158         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33159         * sysdeps/sparc/sparc32/urem.S: Likewise.
33160         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33161         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33162         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33163         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33164         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33165         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33166         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33167         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33168         * sysdeps/unix/bsd/times.c: Likewise.
33169         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33170         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33174         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33175         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33176         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33177         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33178         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33179         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33180         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33181         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33182         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33183         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33184         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33185         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33186         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33187         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33188         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33189         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33190         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33191         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33192         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33193         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33194         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33195         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33196         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33197         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33198         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33199         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33200         * sysdeps/x86_64/strcspn.S: Likewise.
33202 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33204         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33205         generated file.  Regenerate properly from gen-translit.pl.
33206         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33207         locale/C-translit.h.
33209 2013-06-05  Andreas Schwab  <schwab@suse.de>
33211         [BZ #15100]
33212         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33213         week as 6 instead of -1.
33214         * time/tst-strptime.c (day_tests): Add test case.
33216 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33218         * sysdeps/generic/math_private.h
33219         (libc_feholdexcept_setround_53bit): Replace with
33220         libc_feholdsetround_53bit.
33221         (libc_feupdateenv_53bit): Replace with
33222         libc_feresetround_53bit.
33223         (SET_RESTORE_ROUND_53BIT): Adjust.
33225 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33227         * string/test-strchrnul.c: Add copyright header.
33229         * posix/tst-getaddrinfo4.c: Increase test timeout.
33231 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33233         [BZ #15536]
33234         * math/libm-test.inc (MAX_EXP): Remove
33235         (MIN_EXP): Define.
33236         (ulp): Use MIN_EXP - MANT_DIG.
33237         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33239 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33241         * po/be.po: Revert last change.
33242         * po/zh_CN.po: Likewise.
33243         * po/header.pot: Likewise.
33245 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33247         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33248         link-libc-deps to empty as target-specific variable.
33249         * Makerules (link-libc-args): New variable.
33250         (libc-for-link): Likewise.
33251         (link-libc-deps): Likewise.
33252         (lib%.so): Depend on $(link-libc-deps).  Link with
33253         $(link-libc-args).
33254         (build-module): Link with $(link-libc-args).
33255         (build-module-asneeded): Likewise.
33256         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33257         list of objects.
33258         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33259         target-specific variable.
33260         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33261         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33262         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33263         libc.
33264         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33265         libc and ld.so.
33266         ($(objpfx)libpcprofile.so): Likewise.
33267         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33268         libc_nonshared.a.
33269         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33270         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33271         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33272         $(link-libc-deps).
33273         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33274         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33275         * login/Makefile ($(objpfx)libutil.so): Likewise.
33276         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33277         * math/Makefile ($(objpfx)libm.so): Likewise.
33278         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33279         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33280         variable instead of depending directly on libc.
33281         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33282         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33283         $(link-libc-deps).
33284         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33285         libc.
33286         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33287         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33288         ($(objpfx)libanl.so): Likewise.
33289         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33290         ld.so.
33291         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33292         $(link-libc-deps).
33293         * sysdeps/i386/fpu/Makefile: Remove file.
33294         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33295         ($(objpfx)libm.so): Remove dependency on ld.so.
33297 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33299         [BZ # 15553]
33300         * nis/yp_xdr.c (XDRMAXNAME): Define.
33301         (XDRMAXRECORD): Define.
33302         (xdr_domainname): Use XDRMAXNAME.
33303         (xdr_mapname): Likewise.
33304         (xdr_peername): Likewise.
33305         (xdr_keydat): Use XDRMAXRECORD.
33306         (xdr_valdat): Likewise.
33308 2013-05-30  Jeff Law  <law@redhat.com>
33310         [BZ #14256]
33311         * manual/errno.texi (ESTALE): Update to account for more than
33312         just NFS file systems.
33313         * sysdeps/gnu/errlist.c: Regenerated.
33315 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33317         [BZ #15465]
33318         * elf/Makefile (tests): Add tst-null-argv.
33319         (modules-names):  Add tst-null-argv-lib.
33320         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33321         (tst-null-argv-ENV): Set environment for tst-null-argv.
33322         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33323         (RTLD_PROGNAME): New macro.
33324         * elf/tst-null-argv.c: New test case.
33325         * elf/tst-null-argv-lib.c: Library for test case.
33326         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33327         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33328         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33329         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33330         * elf/dl-init.c (call_init): Likewise.
33331         (_dl_init): Likewise.
33332         * elf/dl-load.c (print_search_path): Likewise.
33333         (_dl_map_object): Likewise.
33334         * elf/dl-lookup.c (do_lookup_x): Likewise.
33335         (add_dependency): Likewise.
33336         (_dl_lookup_symbol_x): Likewise.
33337         (_dl_debug_bindings): Likewise.
33338         * elf/dl-open.c (_dl_show_scope): Likewise.
33339         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33340         * elf/dl-version.c (match_symbol): Likewise.
33341         (_dl_check_map_versions): Likewise.
33342         * elf/rtld.c (dl_main): Likewise.
33343         (print_unresolved): Use RTLD_PROGNAME.
33344         (print_missing_version): Likewise.
33345         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33346         (elf_machine_rela): Likewise.
33347         * sysdeps/powerpc/powerpc32/dl-machine.c
33348         (__process_machine_rela): Likewise.
33349         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33350         Likewise.
33351         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33352         Likewise.
33353         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33354         Likewise.
33355         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33356         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33357         Likewise.
33358         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33359         Likewise.
33360         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33362 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33364         * po/be.po: Add descriptive title.
33365         * po/zh_CN.po: Likewise.
33366         * po/header.pot: Likewise.
33368 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33370         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33371         error message.
33372         (enlarge_archive): Likewise.
33374 2013-05-28  Ben North  <ben@redfrontdoor.org>
33376         * manual/arith.texi (frexp): It is the magnitude of the return
33377         value which lies in [0.5, 1), not the return value itself.
33379 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33383 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33385         * stdio-common/bug26.c (main): Correct fscanf template.
33387         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33388         declare _dl_skip_args.
33390         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33391         Don't declare.
33393         * manual/platform.texi: Add missing @end deftypefun.
33395 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33397         [BZ #15529]
33398         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33399         bit of mantissa of 2^16382.
33400         * math/libm-test.inc (hypot_test_data): Add more tests.
33402         * math/libm-test.inc: Add drem and pow10 to list of tested
33403         functions.
33404         (pow10_test): New function.
33405         (drem_test): Likewise.
33406         (drem_test_tonearest): Likewise.
33407         (drem_test_towardzero): Likewise.
33408         (drem_test_downward): Likewise.
33409         (drem_test_upward): Likewise.
33410         (main): Call the new functions.
33412         * math/libm-test.inc (finite_test_data): Remove.
33413         (finite_test): Run tests from isfinite_test_data.
33414         (gamma_test_data): Remove.
33415         (gamma_test): Run tests from lgamma_test_data.
33416         * sysdeps/i386/fpu/libm-test-ulps: Update.
33417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33419 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33421         * manual/platform.texi: Add PowerPC PPR function set documentation.
33422         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33423         implementation.
33425 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33427         * math/libm-test.inc (MAX_EXP): Define.
33428         (ULPDIFF): Define.
33429         (ulp): New function.
33430         (check_float_internal): Use ULPDIFF.
33431         (cpow_test): Disable failing test.
33432         (check_ulp): Test ulp() implemetnation.
33433         (main): Call check_ulp before starting tests.
33435 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33437         * math/gen-libm-test.pl (generate_testfile): Do not handle
33438         START_DATA and END_DATA.
33439         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33440         END_DATA.
33441         (acos_tonearest_test_data): Likewise.
33442         (acos_towardzero_test_data): Likewise.
33443         (acos_downward_test_data): Likewise.
33444         (acos_upward_test_data): Likewise.
33445         (acosh_test_data): Likewise.
33446         (asin_test_data): Likewise.
33447         (asin_tonearest_test_data): Likewise.
33448         (asin_towardzero_test_data): Likewise.
33449         (asin_downward_test_data): Likewise.
33450         (asin_upward_test_data): Likewise.
33451         (asinh_test_data): Likewise.
33452         (atan_test_data): Likewise.
33453         (atanh_test_data): Likewise.
33454         (atan2_test_data): Likewise.
33455         (cabs_test_data): Likewise.
33456         (cacos_test_data): Likewise.
33457         (cacosh_test_data): Likewise.
33458         (carg_test_data): Likewise.
33459         (casin_test_data): Likewise.
33460         (casinh_test_data): Likewise.
33461         (catan_test_data): Likewise.
33462         (catanh_test_data): Likewise.
33463         (cbrt_test_data): Likewise.
33464         (ccos_test_data): Likewise.
33465         (ccosh_test_data): Likewise.
33466         (ceil_test_data): Likewise.
33467         (cexp_test_data): Likewise.
33468         (cimag_test_data): Likewise.
33469         (clog_test_data): Likewise.
33470         (clog10_test_data): Likewise.
33471         (conj_test_data): Likewise.
33472         (copysign_test_data): Likewise.
33473         (cos_test_data): Likewise.
33474         (cos_tonearest_test_data): Likewise.
33475         (cos_towardzero_test_data): Likewise.
33476         (cos_downward_test_data): Likewise.
33477         (cos_upward_test_data): Likewise.
33478         (cosh_test_data): Likewise.
33479         (cosh_tonearest_test_data): Likewise.
33480         (cosh_towardzero_test_data): Likewise.
33481         (cosh_downward_test_data): Likewise.
33482         (cosh_upward_test_data): Likewise.
33483         (cpow_test_data): Likewise.
33484         (cproj_test_data): Likewise.
33485         (creal_test_data): Likewise.
33486         (csin_test_data): Likewise.
33487         (csinh_test_data): Likewise.
33488         (csqrt_test_data): Likewise.
33489         (ctan_test_data): Likewise.
33490         (ctan_tonearest_test_data): Likewise.
33491         (ctan_towardzero_test_data): Likewise.
33492         (ctan_downward_test_data): Likewise.
33493         (ctan_upward_test_data): Likewise.
33494         (ctanh_test_data): Likewise.
33495         (ctanh_tonearest_test_data): Likewise.
33496         (ctanh_towardzero_test_data): Likewise.
33497         (ctanh_downward_test_data): Likewise.
33498         (ctanh_upward_test_data): Likewise.
33499         (erf_test_data): Likewise.
33500         (erfc_test_data): Likewise.
33501         (exp_test_data): Likewise.
33502         (exp_tonearest_test_data): Likewise.
33503         (exp_towardzero_test_data): Likewise.
33504         (exp_downward_test_data): Likewise.
33505         (exp_upward_test_data): Likewise.
33506         (exp10_test_data): Likewise.
33507         (exp2_test_data): Likewise.
33508         (expm1_test_data): Likewise.
33509         (fabs_test_data): Likewise.
33510         (fdim_test_data): Likewise.
33511         (finite_test_data): Likewise.
33512         (floor_test_data): Likewise.
33513         (fma_test_data): Likewise.
33514         (fma_towardzero_test_data): Likewise.
33515         (fma_downward_test_data): Likewise.
33516         (fma_upward_test_data): Likewise.
33517         (fmax_test_data): Likewise.
33518         (fmin_test_data): Likewise.
33519         (fmod_test_data): Likewise.
33520         (fpclassify_test_data): Likewise.
33521         (frexp_test_data): Likewise.
33522         (gamma_test_data): Likewise.
33523         (hypot_test_data): Likewise.
33524         (ilogb_test_data): Likewise.
33525         (isfinite_test_data): Likewise.
33526         (isgreater_test_data): Likewise.
33527         (isgreaterequal_test_data): Likewise.
33528         (isinf_test_data): Likewise.
33529         (isless_test_data): Likewise.
33530         (islessequal_test_data): Likewise.
33531         (islessgreater_test_data): Likewise.
33532         (isnan_test_data): Likewise.
33533         (isnormal_test_data): Likewise.
33534         (issignaling_test_data): Likewise.
33535         (isunordered_test_data): Likewise.
33536         (j0_test_data): Likewise.
33537         (j1_test_data): Likewise.
33538         (jn_test_data): Likewise.
33539         (ldexp_test_data): Likewise.
33540         (lgamma_test_data): Likewise.
33541         (lrint_test_data): Likewise.
33542         (lrint_tonearest_test_data): Likewise.
33543         (lrint_towardzero_test_data): Likewise.
33544         (lrint_downward_test_data): Likewise.
33545         (lrint_upward_test_data): Likewise.
33546         (llrint_test_data): Likewise.
33547         (llrint_tonearest_test_data): Likewise.
33548         (llrint_towardzero_test_data): Likewise.
33549         (llrint_downward_test_data): Likewise.
33550         (llrint_upward_test_data): Likewise.
33551         (log_test_data): Likewise.
33552         (log10_test_data): Likewise.
33553         (log1p_test_data): Likewise.
33554         (log2_test_data): Likewise.
33555         (logb_test_data): Likewise.
33556         (logb_downward_test_data): Likewise.
33557         (lround_test_data): Likewise.
33558         (llround_test_data): Likewise.
33559         (modf_test_data): Likewise.
33560         (nearbyint_test_data): Likewise.
33561         (nextafter_test_data): Likewise.
33562         (nexttoward_test_data): Likewise.
33563         (pow_test_data): Likewise.
33564         (pow_tonearest_test_data): Likewise.
33565         (pow_towardzero_test_data): Likewise.
33566         (pow_downward_test_data): Likewise.
33567         (pow_upward_test_data): Likewise.
33568         (remainder_test_data): Likewise.
33569         (remainder_tonearest_test_data): Likewise.
33570         (remainder_towardzero_test_data): Likewise.
33571         (remainder_downward_test_data): Likewise.
33572         (remainder_upward_test_data): Likewise.
33573         (remquo_test_data): Likewise.
33574         (rint_test_data): Likewise.
33575         (rint_tonearest_test_data): Likewise.
33576         (rint_towardzero_test_data): Likewise.
33577         (rint_downward_test_data): Likewise.
33578         (rint_upward_test_data): Likewise.
33579         (round_test_data): Likewise.
33580         (scalb_test_data): Likewise.
33581         (scalbn_test_data): Likewise.
33582         (scalbln_test_data): Likewise.
33583         (signbit_test_data): Likewise.
33584         (sin_test_data): Likewise.
33585         (sin_tonearest_test_data): Likewise.
33586         (sin_towardzero_test_data): Likewise.
33587         (sin_downward_test_data): Likewise.
33588         (sin_upward_test_data): Likewise.
33589         (sincos_test_data): Likewise.
33590         (sinh_test_data): Likewise.
33591         (sinh_tonearest_test_data): Likewise.
33592         (sinh_towardzero_test_data): Likewise.
33593         (sinh_downward_test_data): Likewise.
33594         (sinh_upward_test_data): Likewise.
33595         (sqrt_test_data): Likewise.
33596         (tan_test_data): Likewise.
33597         (tan_tonearest_test_data): Likewise.
33598         (tan_towardzero_test_data): Likewise.
33599         (tan_downward_test_data): Likewise.
33600         (tan_upward_test_data): Likewise.
33601         (tanh_test_data): Likewise.
33602         (tgamma_test_data): Likewise.
33603         (trunc_test_data): Likewise.
33604         (y0_test_data): Likewise.
33605         (y1_test_data): Likewise.
33606         (yn_test_data): Likewise.
33607         (significand_test_data): Likewise.
33609         * math/gen-libm-test.pl (@functions): Remove variable.
33610         (generate_testfile): Don't handle START and END lines.
33611         * math/libm-test.inc (START): New macro.
33612         (END): Likewise.
33613         (END_COMPLEX): Likewise.
33614         (acos_test): Use END macro without arguments.
33615         (acos_test_tonearest): Likewise.
33616         (acos_test_towardzero): Likewise.
33617         (acos_test_downward): Likewise.
33618         (acos_test_upward): Likewise.
33619         (acosh_test): Likewise.
33620         (asin_test): Likewise.
33621         (asin_test_tonearest): Likewise.
33622         (asin_test_towardzero): Likewise.
33623         (asin_test_downward): Likewise.
33624         (asin_test_upward): Likewise.
33625         (asinh_test): Likewise.
33626         (atan_test): Likewise.
33627         (atanh_test): Likewise.
33628         (atan2_test): Likewise.
33629         (cabs_test): Likewise.
33630         (cacos_test): Use END_COMPLEX macro without arguments.
33631         (cacosh_test): Likewise.
33632         (carg_test): Use END macro without arguments.
33633         (casin_test): Use END_COMPLEX macro without arguments.
33634         (casinh_test): Likewise.
33635         (catan_test): Likewise.
33636         (catanh_test): Likewise.
33637         (cbrt_test): Use END macro without arguments.
33638         (ccos_test): Use END_COMPLEX macro without arguments.
33639         (ccosh_test): Likewise.
33640         (ceil_test): Use END macro without arguments.
33641         (cexp_test): Use END_COMPLEX macro without arguments.
33642         (cimag_test): Use END macro without arguments.
33643         (clog_test): Use END_COMPLEX macro without arguments.
33644         (clog10_test): Likewise.
33645         (conj_test): Likewise.
33646         (copysign_test): Use END macro without arguments.
33647         (cos_test): Likewise.
33648         (cos_test_tonearest): Likewise.
33649         (cos_test_towardzero): Likewise.
33650         (cos_test_downward): Likewise.
33651         (cos_test_upward): Likewise.
33652         (cosh_test): Likewise.
33653         (cosh_test_tonearest): Likewise.
33654         (cosh_test_towardzero): Likewise.
33655         (cosh_test_downward): Likewise.
33656         (cosh_test_upward): Likewise.
33657         (cpow_test): Use END_COMPLEX macro without arguments.
33658         (cproj_test): Likewise.
33659         (creal_test): Use END macro without arguments.
33660         (csin_test): Use END_COMPLEX macro without arguments.
33661         (csinh_test): Likewise.
33662         (csqrt_test): Likewise.
33663         (ctan_test): Likewise.
33664         (ctan_test_tonearest): Likewise.
33665         (ctan_test_towardzero): Likewise.
33666         (ctan_test_downward): Likewise.
33667         (ctan_test_upward): Likewise.
33668         (ctanh_test): Likewise.
33669         (ctanh_test_tonearest): Likewise.
33670         (ctanh_test_towardzero): Likewise.
33671         (ctanh_test_downward): Likewise.
33672         (ctanh_test_upward): Likewise.
33673         (erf_test): Use END macro without arguments.
33674         (erfc_test): Likewise.
33675         (exp_test): Likewise.
33676         (exp_test_tonearest): Likewise.
33677         (exp_test_towardzero): Likewise.
33678         (exp_test_downward): Likewise.
33679         (exp_test_upward): Likewise.
33680         (exp10_test): Likewise.
33681         (exp2_test): Likewise.
33682         (expm1_test): Likewise.
33683         (fabs_test): Likewise.
33684         (fdim_test): Likewise.
33685         (finite_test): Likewise.
33686         (floor_test): Likewise.
33687         (fma_test): Likewise.
33688         (fma_test_towardzero): Likewise.
33689         (fma_test_downward): Likewise.
33690         (fma_test_upward): Likewise.
33691         (fmax_test): Likewise.
33692         (fmin_test): Likewise.
33693         (fmod_test): Likewise.
33694         (fpclassify_test): Likewise.
33695         (frexp_test): Likewise.
33696         (gamma_test): Likewise.
33697         (hypot_test): Likewise.
33698         (ilogb_test): Likewise.
33699         (isfinite_test): Likewise.
33700         (isgreater_test): Likewise.
33701         (isgreaterequal_test): Likewise.
33702         (isinf_test): Likewise.
33703         (isless_test): Likewise.
33704         (islessequal_test): Likewise.
33705         (islessgreater_test): Likewise.
33706         (isnan_test): Likewise.
33707         (isnormal_test): Likewise.
33708         (issignaling_test): Likewise.
33709         (isunordered_test): Likewise.
33710         (j0_test): Likewise.
33711         (j1_test): Likewise.
33712         (jn_test): Likewise.
33713         (ldexp_test): Likewise.
33714         (lgamma_test): Likewise.
33715         (lrint_test): Likewise.
33716         (lrint_test_tonearest): Likewise.
33717         (lrint_test_towardzero): Likewise.
33718         (lrint_test_downward): Likewise.
33719         (lrint_test_upward): Likewise.
33720         (llrint_test): Likewise.
33721         (llrint_test_tonearest): Likewise.
33722         (llrint_test_towardzero): Likewise.
33723         (llrint_test_downward): Likewise.
33724         (llrint_test_upward): Likewise.
33725         (log_test): Likewise.
33726         (log10_test): Likewise.
33727         (log1p_test): Likewise.
33728         (log2_test): Likewise.
33729         (logb_test): Likewise.
33730         (logb_test_downward): Likewise.
33731         (lround_test): Likewise.
33732         (llround_test): Likewise.
33733         (modf_test): Likewise.
33734         (nearbyint_test): Likewise.
33735         (nextafter_test): Likewise.
33736         (nexttoward_test): Likewise.
33737         (pow_test): Likewise.
33738         (pow_test_tonearest): Likewise.
33739         (pow_test_towardzero): Likewise.
33740         (pow_test_downward): Likewise.
33741         (pow_test_upward): Likewise.
33742         (remainder_test): Likewise.
33743         (remainder_test_tonearest): Likewise.
33744         (remainder_test_towardzero): Likewise.
33745         (remainder_test_downward): Likewise.
33746         (remainder_test_upward): Likewise.
33747         (remquo_test): Likewise.
33748         (rint_test): Likewise.
33749         (rint_test_tonearest): Likewise.
33750         (rint_test_towardzero): Likewise.
33751         (rint_test_downward): Likewise.
33752         (rint_test_upward): Likewise.
33753         (round_test): Likewise.
33754         (scalb_test): Likewise.
33755         (scalbn_test): Likewise.
33756         (scalbln_test): Likewise.
33757         (signbit_test): Likewise.
33758         (sin_test): Likewise.
33759         (sin_test_tonearest): Likewise.
33760         (sin_test_towardzero): Likewise.
33761         (sin_test_downward): Likewise.
33762         (sin_test_upward): Likewise.
33763         (sincos_test): Likewise.
33764         (sinh_test): Likewise.
33765         (sinh_test_tonearest): Likewise.
33766         (sinh_test_towardzero): Likewise.
33767         (sinh_test_downward): Likewise.
33768         (sinh_test_upward): Likewise.
33769         (sqrt_test): Likewise.
33770         (tan_test): Likewise.
33771         (tan_test_tonearest): Likewise.
33772         (tan_test_towardzero): Likewise.
33773         (tan_test_downward): Likewise.
33774         (tan_test_upward): Likewise.
33775         (tanh_test): Likewise.
33776         (tgamma_test): Likewise.
33777         (trunc_test): Likewise.
33778         (y0_test): Likewise.
33779         (y1_test): Likewise.
33780         (yn_test): Likewise.
33781         (significand_test): Likewise.
33783 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33785         [BZ #15381]
33786         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33788 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33790         [BZ #14894]
33791         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33792         __ppc_mdoio and __ppc_mdoom.
33793         * manual/platform.texi: Document new functions __ppc_yield,
33794         __ppc_mdoio and __ppc_mdoom.
33796 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33798         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33799         (main): Mention "tls" pseudo-hwcap is legacy.
33800         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33802 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33804         * math/gen-libm-test.pl (parse_args): Output only string of
33805         arguments as text for test name, not full call or descriptions of
33806         tests for extra outputs.
33807         (generate_testfile): Do not pass function name to parse_args.
33808         Generate this_func variable from START.
33809         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33810         field to arg_str.
33811         (struct test_ff_f_data): Likewise.
33812         (test_ff_f_data_nexttoward): Likewise.
33813         (struct test_fi_f_data): Likewise.
33814         (struct test_fl_f_data): Likewise.
33815         (struct test_if_f_data): Likewise.
33816         (struct test_fff_f_data): Likewise.
33817         (struct test_c_f_data): Likewise.
33818         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33819         (struct test_fF_f1_data): Likewise.
33820         (struct test_ffI_f1_data): Likewise.
33821         (struct test_c_c_data): Rename test_name field to arg_str.
33822         (struct test_cc_c_data): Likewise.
33823         (struct test_f_i_data): Likewise.
33824         (struct test_ff_i_data): Likewise.
33825         (struct test_f_l_data): Likewise.
33826         (struct test_f_L_data): Likewise.
33827         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33828         and extra2_name.
33829         (COMMON_TEST_SETUP): New macro.
33830         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33831         (COMMON_TEST_CLEANUP): Likewise.
33832         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33833         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33834         macros.
33835         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33836         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33837         macros.
33838         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33839         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33840         cleanup macros.
33841         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33842         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33843         macros.
33844         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33845         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33846         macros.
33847         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33848         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33849         cleanup macros.
33850         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33851         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33852         cleanup macros.
33853         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33854         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33855         cleanup macros.
33856         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33857         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33858         macros.
33859         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33860         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33861         macros.
33862         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33863         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33864         macros.
33865         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33866         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33867         cleanup macros.
33868         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33869         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33870         cleanup macros.
33871         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33872         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33873         macros.
33874         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33875         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33876         cleanup macros.
33877         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33878         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33879         macros.
33880         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33881         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33882         macros.
33883         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33884         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33885         cleanup macros.
33886         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33888 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33890         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33891         to _sifields.sigfault.
33892         (si_addr_lsb): Define new macro.
33893         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33894         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33895         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33897 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33899         [BZ #15441]
33900         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33901         returns -1.
33902         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33903         null return -1.
33904         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33905         loading the domain.
33907 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33909         * math/gen-libm-test.pl (parse_args): Do not include expected
33910         result in test name.
33911         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33912         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33913         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33914         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33915         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33918 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33920         * benchtests/Makefile: Sort function entries.
33922         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33923         tanh, asinh, acosh, atanh.
33924         * benchtests/acos-inputs: New file.
33925         * benchtests/acosh-inputs: New file.
33926         * benchtests/asin-inputs: New file.
33927         * benchtests/asinh-inputs: New file.
33928         * benchtests/atanh-inputs: New file.
33929         * benchtests/cosh-inputs: New file.
33930         * benchtests/log-inputs: New file.
33931         * benchtests/sinh-inputs: New file.
33932         * benchtests/tanh-inputs: New file.
33934 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33936         [BZ #15339]
33937         * posix/tst-getaddrinfo4.c: New test.
33938         * posix/Makefile (tests): Add it.
33940 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33942         [BZ #15339]
33943         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33944         when no services were used.
33945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33946         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33948 2013-05-21  Andreas Schwab  <schwab@suse.de>
33950         [BZ #15014]
33951         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33952         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33953         successful.
33954         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33955         redundant variable declarations and reallocation of buffer when
33956         parsing as IPv6 address.  Always set NSS status when called from
33957         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33958         buffer too small.  Correct computation of needed size.
33959         * nss/Makefile (tests): Add test-digits-dots.
33960         * nss/test-digits-dots.c: New test.
33962 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33964         * benchtests/Makefile: Remove instructions for adding
33965         benchmark tests.
33966         * benchtests/README: New file to explain how to execute and
33967         enhance the benchmark tests.
33969 2013-05-21  Andreas Schwab  <schwab@suse.de>
33971         [BZ #15493]
33972         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33973         * setjmp/tst-sigsetjmp.c: New test.
33975 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33977         * sysdeps/x86_64/memset.S (memset): New implementation.
33978         (__bzero): Likewise.
33979         (__memset_tail): New function.
33981 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33983         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33984         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33985         __memcpy_sse2_unaligned ifunc selection.
33986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33987         Add memcpy-sse2-unaligned.S.
33988         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33989         Add: __memcpy_sse2_unaligned.
33991 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33993         [BZ #15490]
33994         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33995         math_force_eval before restoring floating-point envrionment.
33996         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33997         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33998         Likewise.
33999         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34000         <math_private.h>.
34001         (__nearbyintl): Use math_force_eval before restoring
34002         floating-point environment.
34003         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34005         * math/gen-libm-test.pl (special_functions): Remove.
34006         (parse_args): Don't handle TEST_extra.  Handle functions with no
34007         return value.
34008         * math/libm-test.inc (struct test_sincos_data): Replace with
34009         struct test_fFF_11_data.
34010         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34011         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34012         (sincos_test_data): Change element type to struct
34013         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34014         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34015         RUN_TEST_LOOP_sincos.
34016         * math/README.libm-test: Don't mention special handling of
34017         individual functions.
34018         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34019         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34020         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34021         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34022         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34025         * math/gen-libm-test.pl (get_variable): Remove function.
34026         (parse_args): Don't show pointer parameters to call in test
34027         names.  Use "extra output N" in test names for extra outputs
34028         rather than naming variables.
34030 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34032         [BZ #15488]
34033         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34034         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34035         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34036         double tests.
34037         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34038         disable.
34039         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34040         check_long_double.
34042         * math/gen-libm-test.pl (@tests): Remove variable.
34043         ($count): Likewise.
34044         (new_test): Remove function.
34045         (show_exceptions): New function.
34046         (special_functions): Use show_exceptions instead of new_test.
34047         (parse_args): Likewise.
34048         (generate_testfile): Pass only function name in generated call to
34049         print_max_error or print_complex_max_error.
34050         (get_ulps): Do not handle complex tests specially.
34051         (output_test): Rename to ...
34052         (get_all_ulps_for_test): ... this.  Return a string rather than
34053         printing to a file.  Require ulps to be present.
34054         (output_ulps): Generate arrays rather than #defines.
34055         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34056         (struct ulp_data): New type.
34057         (BUILD_COMPLEX_ULP): Remove macro.
34058         (compare_ulp_data): New function.
34059         (find_ulps): Likewise.
34060         (find_test_ulps): Likewise.
34061         (find_function_ulps): Likewise.
34062         (find_complex_function_ulps): Likewise.
34063         (print_max_error): Determine allowed ulps using
34064         find_function_ulps.
34065         (print_complex_max_error): Determine allowed ulps using
34066         find_complex_function_ulps.
34067         (check_float_internal): Determine max ulps using find_test_ulps.
34068         (check_float): Do not take max_ulp parameter.  Update call to
34069         check_float_internal.
34070         (check_complex): Likewise.
34071         (check_int): Do not take max_ulp parameter.
34072         (check_long): Likewise.
34073         (check_bool): Likewise.
34074         (check_longlong): Likewise.
34075         (struct test_f_f_data): Remove max_ulp field.
34076         (struct test_ff_f_data): Likewise.
34077         (struct test_ff_f_data_nexttoward): Likewise.
34078         (struct test_fi_f_data): Likewise.
34079         (struct test_fl_f_data): Likewise.
34080         (struct test_if_f_data): Likewise.
34081         (struct test_fff_f_data): Likewise.
34082         (struct test_c_f_data): Likewise.
34083         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34084         (struct test_fF_f1_data): Likewise.
34085         (struct test_ffI_f1_data): Likewise.
34086         (struct test_c_c_data): Remove max_ulp field.
34087         (struct test_cc_c_data): Likewise.
34088         (struct test_f_i_data): Likewise.
34089         (struct test_ff_i_data): Likewise.
34090         (struct test_f_l_data): Likewise.
34091         (struct test_f_L_data): Likewise.
34092         (struct test_sincos_data): Likewise.
34093         (RUN_TEST_f_f): Do not handle ulps.
34094         (RUN_TEST_LOOP_f_f): Likewise.
34095         (RUN_TEST_2_f): Likewise.
34096         (RUN_TEST_LOOP_2_f): Likewise.
34097         (RUN_TEST_fff_f): Likewise.
34098         (RUN_TEST_LOOP_fff_f): Likewise.
34099         (RUN_TEST_c_f): Likewise.
34100         (RUN_TEST_LOOP_c_f): Likewise.
34101         (RUN_TEST_f_f1): Likewise.
34102         (RUN_TEST_LOOP_f_f1): Likewise.
34103         (RUN_TEST_fF_f1): Likewise.
34104         (RUN_TEST_LOOP_fF_f1): Likewise.
34105         (RUN_TEST_fI_f1): Likewise.
34106         (RUN_TEST_LOOP_fI_f1): Likewise.
34107         (RUN_TEST_ffI_f1): Likewise.
34108         (RUN_TEST_LOOP_ffI_f1): Likewise.
34109         (RUN_TEST_c_c): Likewise.
34110         (RUN_TEST_LOOP_c_c): Likewise.
34111         (RUN_TEST_cc_c): Likewise.
34112         (RUN_TEST_LOOP_cc_c): Likewise.
34113         (RUN_TEST_f_i): Likewise.
34114         (RUN_TEST_LOOP_f_i): Likewise.
34115         (RUN_TEST_f_i_tg): Likewise.
34116         (RUN_TEST_LOOP_f_i_tg): Likewise.
34117         (RUN_TEST_ff_i_tg): Likewise.
34118         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34119         (RUN_TEST_f_b): Likewise.
34120         (RUN_TEST_LOOP_f_b): Likewise.
34121         (RUN_TEST_f_b_tg): Likewise.
34122         (RUN_TEST_LOOP_f_b_tg): Likewise.
34123         (RUN_TEST_f_l): Likewise.
34124         (RUN_TEST_LOOP_f_l): Likewise.
34125         (RUN_TEST_f_L): Likewise.
34126         (RUN_TEST_LOOP_f_L): Likewise.
34127         (RUN_TEST_sincos): Likewise.
34128         (RUN_TEST_LOOP_sincos): Likewise.
34130 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34132         [BZ #15480]
34133         [BZ #15485]
34134         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34135         main case of finite arguments, set rounding mode to FE_TONEAREST
34136         and discard exceptions.
34137         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34138         exceptions.
34139         (remainder_tonearest_test_data): New variable.
34140         (remainder_test_tonearest): New function.
34141         (remainder_towardzero_test_data): New variable.
34142         (remainder_test_towardzero): New function.
34143         (remainder_downward_test_data): New variable.
34144         (remainder_test_downward): New function.
34145         (remainder_upward_test_data): New variable.
34146         (remainder_test_upward): New function.
34147         (main): Call the new test functions.
34149         * math/libm-test.inc (struct test_f_f1_data): Remove field
34150         extra_init.
34151         (struct test_fF_f1_data): Likewise.
34152         (struct test_ffI_f1_data): Likewise.
34153         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34154         based on value of EXTRA_EXPECTED.
34155         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34156         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34157         EXTRA_VAR based on value of EXTRA_EXPECTED.
34158         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34159         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34160         EXTRA_VAR based on value of EXTRA_EXPECTED.
34161         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34162         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34163         EXTRA_VAR based on value of EXTRA_EXPECTED.
34164         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34165         * math/gen-libm-test.pl (parse_args): Don't output initializers
34166         for extra output values.
34168         * math/libm-test.inc (check_int): Expect result to be exactly
34169         equal to expected value and do not handle ulps.
34170         (check_long): Likewise.
34171         (check_longlong): Likewise.
34173         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34174         exceptions.
34175         (cimag_test_data): Likewise.
34176         (conj_test_data): Likewise.
34177         (copysign_test_data): Likewise.
34178         (cproj_test_data): Likewise.
34179         (creal_test_data): Likewise.
34180         (fabs_test_data): Likewise.
34181         (fdim_test_data): Likewise.
34182         (finite_test_data): Likewise.
34183         (floor_test_data): Likewise.
34184         (fmax_test_data): Likewise.
34185         (fmin_test_data): Likewise.
34186         (fmod_test_data): Likewise.
34187         (fpclassify_test_data): Likewise.
34188         (frexp_test_data): Likewise.
34189         (ilogb_test_data): Likewise.
34190         (isfinite_test_data): Likewise.
34191         (isgreater_test_data): Likewise.
34192         (isgreaterequal_test_data): Likewise.
34193         (isinf_test_data): Likewise.
34194         (isless_test_data): Likewise.
34195         (islessequal_test_data): Likewise.
34196         (islessgreater_test_data): Likewise.
34197         (isnan_test_data): Likewise.
34198         (isnormal_test_data): Likewise.
34199         (issignaling_test_data): Likewise.
34200         (isunordered_test_data): Likewise.
34201         (ldexp_test_data): Likewise.
34202         (lrint_test_data): Likewise.
34203         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34204         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34205         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34206         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34207         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34208         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34209         test input.
34210         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34211         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34212         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34213         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34214         that test input.
34215         (lrint_downward_test_data): Test for "inexact" exceptions.
34216         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34217         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34218         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34219         test input.
34220         (lrint_upward_test_data): Test for "inexact" exceptions.
34221         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34222         test input.
34223         (llrint_test_data): Test for "inexact" exceptions.
34224         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34225         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34226         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34227         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34228         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34229         (llrint_downward_test_data): Test for "inexact" exceptions.
34230         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34231         (llrint_upward_test_data): Test for "inexact" exceptions.
34232         (logb_test_data): Likewise.
34233         (logb_downward_test_data): Likewise.
34234         (nextafter_test_data): Likewise.
34235         (nexttoward_test_data): Likewise.
34236         (remainder_test_data): Likewise.
34237         (remquo_test_data): Likewise.
34238         (scalbn_test_data): Likewise.
34239         (scalbln_test_data): Likewise.
34240         (signbit_test_data): Likewise.
34241         (sqrt_test_data): Likewise.
34242         (significand_test_data): Likewise.
34244 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34246         [BZ #15424]
34247         * benchtests/bench-modf.c (struct args): Mark arg0 as
34248         volatile.
34249         * scripts/bench.pl: Mark members of struct args as volatile.
34251 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34253         [BZ # 15497]
34254         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34255         negative infinity on POWER6 or lower.
34256         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34258 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34260         [BZ #15442]
34261         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34262         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34263         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34264         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34265         (_FP_SETQNAN): New macro.
34266         (_FP_SETQNAN_SEMIRAW): Likewise.
34267         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34268         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34269         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34270         (FP_EXTEND): Use _FP_FRAC_SNANP.
34271         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34272         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34273         into account.
34274         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34275         New macro.
34276         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34277         Likewise.
34279 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34281         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34282         with DIVIDE_BY_ZERO_EXCEPTION.
34283         (gamma_test_data): Likewise.
34284         (lgamma_test_data): Likewise.
34285         (log_test_data): Likewise.
34286         (log10_test_data): Likewise.
34287         (log2_test_data): Likewise.
34288         (tgamma_test_data): Likewise.
34290         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34291         (acos_test_tonearest): Likewise.
34292         (acos_test_towardzero): Likewise.
34293         (acos_test_downward): Likewise.
34294         (acos_test_upward): Likewise.
34295         (acosh_test): Likewise.
34296         (asin_test): Likewise.
34297         (asin_test_tonearest): Likewise.
34298         (asin_test_towardzero): Likewise.
34299         (asin_test_downward): Likewise.
34300         (asin_test_upward): Likewise.
34301         (asinh_test): Likewise.
34302         (atan_test): Likewise.
34303         (atanh_test): Likewise.
34304         (atan2_test): Likewise.
34305         (cabs_test): Likewise.
34306         (cacos_test): Likewise.
34307         (cacosh_test): Likewise.
34308         (casin_test): Likewise.
34309         (casinh_test): Likewise.
34310         (catan_test): Likewise.
34311         (catanh_test): Likewise.
34312         (cbrt_test): Likewise.
34313         (ccos_test): Likewise.
34314         (ccosh_test): Likewise.
34315         (cexp_test): Likewise.
34316         (clog_test): Likewise.
34317         (clog10_test): Likewise.
34318         (cos_test): Likewise.
34319         (cos_test_tonearest): Likewise.
34320         (cos_test_towardzero): Likewise.
34321         (cos_test_downward): Likewise.
34322         (cos_test_upward): Likewise.
34323         (cosh_test): Likewise.
34324         (cosh_test_tonearest): Likewise.
34325         (cosh_test_towardzero): Likewise.
34326         (cosh_test_downward): Likewise.
34327         (cosh_test_upward): Likewise.
34328         (cpow_test): Likewise.
34329         (csin_test): Likewise.
34330         (csinh_test): Likewise.
34331         (csqrt_test): Likewise.
34332         (ctan_test): Likewise.
34333         (ctan_test_tonearest): Likewise.
34334         (ctan_test_towardzero): Likewise.
34335         (ctan_test_downward): Likewise.
34336         (ctan_test_upward): Likewise.
34337         (ctanh_test): Likewise.
34338         (ctanh_test_tonearest): Likewise.
34339         (ctanh_test_towardzero): Likewise.
34340         (ctanh_test_downward): Likewise.
34341         (ctanh_test_upward): Likewise.
34342         (erf_test): Likewise.
34343         (erfc_test): Likewise.
34344         (exp_test): Likewise.
34345         (exp_test_tonearest): Likewise.
34346         (exp_test_towardzero): Likewise.
34347         (exp_test_downward): Likewise.
34348         (exp_test_upward): Likewise.
34349         (exp10_test): Likewise.
34350         (exp2_test): Likewise.
34351         (expm1_test): Likewise.
34352         (fmod_test): Likewise.
34353         (gamma_test): Likewise.
34354         (hypot_test): Likewise.
34355         (j0_test): Likewise.
34356         (j1_test): Likewise.
34357         (jn_test): Likewise.
34358         (lgamma_test): Likewise.
34359         (log_test): Likewise.
34360         (log10_test): Likewise.
34361         (log1p_test): Likewise.
34362         (log2_test): Likewise.
34363         (logb_test_downward): Likewise.
34364         (pow_test): Likewise.
34365         (pow_test_tonearest): Likewise.
34366         (pow_test_towardzero): Likewise.
34367         (pow_test_downward): Likewise.
34368         (pow_test_upward): Likewise.
34369         (remainder_test): Likewise.
34370         (remquo_test): Likewise.
34371         (sin_test): Likewise.
34372         (sin_test_tonearest): Likewise.
34373         (sin_test_towardzero): Likewise.
34374         (sin_test_downward): Likewise.
34375         (sin_test_upward): Likewise.
34376         (sincos_test): Likewise.
34377         (sinh_test): Likewise.
34378         (sinh_test_tonearest): Likewise.
34379         (sinh_test_towardzero): Likewise.
34380         (sinh_test_downward): Likewise.
34381         (sinh_test_upward): Likewise.
34382         (sqrt_test): Likewise.
34383         (tan_test): Likewise.
34384         (tan_test_tonearest): Likewise.
34385         (tan_test_towardzero): Likewise.
34386         (tan_test_downward): Likewise.
34387         (tan_test_upward): Likewise.
34388         (tanh_test): Likewise.
34389         (tgamma_test): Likewise.
34390         (y0_test): Likewise.
34391         (y1_test): Likewise.
34392         (yn_test): Likewise.
34394         * math/gen-libm-test.pl (adjust_arg): Remove function.
34395         (special_function): Remove argument $in_func.  Only handle
34396         generating output for tables of tests, not inside functions.
34397         (parse_args): Likewise.
34398         (generate_testfile): Remove variable $in_func.  Update call to
34399         parse_args.
34400         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34401         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34402         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34403         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34404         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34405         (MAX_VALUE_INIT): Rename macro to max_value.
34406         (MIN_VALUE_INIT): Rename macro to min_value.
34407         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34408         (plus_zero): Remove variable.
34409         (minus_zero): Likewise.
34410         (plus_infty): Likewise.
34411         (minus_infty): Likewise.
34412         (qnan_value): Likewise.
34413         (max_value): Likewise.
34414         (min_value): Likewise.
34415         (min_subnorm_value): Likewise.
34417 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34419         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34420         uint64_t or uint32_t usage.
34421         * crypt/sha256-block.c: Likewise.
34422         * crypt/sha256-crypt.c: Likewise.
34423         * crypt/sha256.c: Likewise.
34424         * crypt/sha512-block.c: Likewise.
34425         * crypt/sha512-crypt.c: Likewise.
34426         * crypt/sha512.c: Likewise.
34427         * debug/backtrace-tst.c: Likewise.
34428         * debug/pcprofiledump.c: Likewise.
34429         * elf/cache.c: Likewise.
34430         * elf/dl-cache.c: Likewise.
34431         * elf/dl-misc.c: Likewise.
34432         * elf/dl-profile.c: Likewise.
34433         * elf/dl-support.c: Likewise.
34434         * elf/ldconfig.c: Likewise.
34435         * elf/sprof.c: Likewise.
34436         * iconv/dummy-repertoire.c: Likewise.
34437         * iconv/iconv_charmap.c: Likewise.
34438         * iconv/skeleton.c: Likewise.
34439         * iconvdata/8bit-generic.c: Likewise.
34440         * iconvdata/cp737.h: Likewise.
34441         * iconvdata/cp775.h: Likewise.
34442         * iconvdata/ibm1008.h: Likewise.
34443         * iconvdata/ibm1025.h: Likewise.
34444         * iconvdata/ibm1046.h: Likewise.
34445         * iconvdata/ibm1097.h: Likewise.
34446         * iconvdata/ibm1112.h: Likewise.
34447         * iconvdata/ibm1122.h: Likewise.
34448         * iconvdata/ibm1123.h: Likewise.
34449         * iconvdata/ibm1124.h: Likewise.
34450         * iconvdata/ibm1129.h: Likewise.
34451         * iconvdata/ibm1130.h: Likewise.
34452         * iconvdata/ibm1132.h: Likewise.
34453         * iconvdata/ibm1133.h: Likewise.
34454         * iconvdata/ibm1137.h: Likewise.
34455         * iconvdata/ibm1140.h: Likewise.
34456         * iconvdata/ibm1141.h: Likewise.
34457         * iconvdata/ibm1142.h: Likewise.
34458         * iconvdata/ibm1143.h: Likewise.
34459         * iconvdata/ibm1144.h: Likewise.
34460         * iconvdata/ibm1145.h: Likewise.
34461         * iconvdata/ibm1146.h: Likewise.
34462         * iconvdata/ibm1147.h: Likewise.
34463         * iconvdata/ibm1148.h: Likewise.
34464         * iconvdata/ibm1149.h: Likewise.
34465         * iconvdata/ibm1153.h: Likewise.
34466         * iconvdata/ibm1154.h: Likewise.
34467         * iconvdata/ibm1155.h: Likewise.
34468         * iconvdata/ibm1156.h: Likewise.
34469         * iconvdata/ibm1157.h: Likewise.
34470         * iconvdata/ibm1158.h: Likewise.
34471         * iconvdata/ibm1160.h: Likewise.
34472         * iconvdata/ibm1161.h: Likewise.
34473         * iconvdata/ibm1162.h: Likewise.
34474         * iconvdata/ibm1163.h: Likewise.
34475         * iconvdata/ibm1164.h: Likewise.
34476         * iconvdata/ibm1166.h: Likewise.
34477         * iconvdata/ibm1167.h: Likewise.
34478         * iconvdata/ibm12712.h: Likewise.
34479         * iconvdata/ibm1390.h: Likewise.
34480         * iconvdata/ibm1399.h: Likewise.
34481         * iconvdata/ibm16804.h: Likewise.
34482         * iconvdata/ibm4517.h: Likewise.
34483         * iconvdata/ibm4899.h: Likewise.
34484         * iconvdata/ibm4909.h: Likewise.
34485         * iconvdata/ibm4971.h: Likewise.
34486         * iconvdata/ibm5347.h: Likewise.
34487         * iconvdata/ibm803.h: Likewise.
34488         * iconvdata/ibm856.h: Likewise.
34489         * iconvdata/ibm901.h: Likewise.
34490         * iconvdata/ibm902.h: Likewise.
34491         * iconvdata/ibm9030.h: Likewise.
34492         * iconvdata/ibm9066.h: Likewise.
34493         * iconvdata/ibm921.h: Likewise.
34494         * iconvdata/ibm922.h: Likewise.
34495         * iconvdata/ibm9448.h: Likewise.
34496         * iconvdata/isiri-3342.h: Likewise.
34497         * iconvdata/jis0201.h: Likewise.
34498         * include/link.h: Likewise.
34499         * include/netdb.h: Likewise.
34500         * inet/check_native.c: Likewise.
34501         * inet/check_pf.c: Likewise.
34502         * inet/getipv4sourcefilter.c: Likewise.
34503         * inet/getnameinfo.c: Likewise.
34504         * inet/getsourcefilter.c: Likewise.
34505         * inet/htonl.c: Likewise.
34506         * inet/setipv4sourcefilter.c: Likewise.
34507         * inet/setsourcefilter.c: Likewise.
34508         * inet/test-inet6_opt.c: Likewise.
34509         * inet/tst-network.c: Likewise.
34510         * locale/C-collate.c: Likewise.
34511         * locale/C-ctype.c: Likewise.
34512         * locale/C-time.c: Likewise.
34513         * locale/C-translit.h: Likewise.
34514         * locale/loadarchive.c: Likewise.
34515         * locale/programs/3level.h: Likewise.
34516         * locale/programs/charmap.c: Likewise.
34517         * locale/programs/charmap.h: Likewise.
34518         * locale/programs/ld-address.c: Likewise.
34519         * locale/programs/ld-collate.c: Likewise.
34520         * locale/programs/ld-ctype.c: Likewise.
34521         * locale/programs/ld-identification.c: Likewise.
34522         * locale/programs/ld-measurement.c: Likewise.
34523         * locale/programs/ld-messages.c: Likewise.
34524         * locale/programs/ld-monetary.c: Likewise.
34525         * locale/programs/ld-name.c: Likewise.
34526         * locale/programs/ld-numeric.c: Likewise.
34527         * locale/programs/ld-paper.c: Likewise.
34528         * locale/programs/ld-telephone.c: Likewise.
34529         * locale/programs/ld-time.c: Likewise.
34530         * locale/programs/linereader.c: Likewise.
34531         * locale/programs/locale.c: Likewise.
34532         * locale/programs/locarchive.c: Likewise.
34533         * locale/programs/locfile.h: Likewise.
34534         * locale/programs/repertoire.c: Likewise.
34535         * locale/programs/simple-hash.c: Likewise.
34536         * locale/programs/simple-hash.h: Likewise.
34537         * malloc/memusage.c: Likewise.
34538         * malloc/memusagestat.c: Likewise.
34539         * nis/nis_defaults.c: Likewise.
34540         * nis/nis_hash.c: Likewise.
34541         * nis/nis_print.c: Likewise.
34542         * nis/nis_xdr.c: Likewise.
34543         * nscd/connections.c: Likewise.
34544         * nscd/hstcache.c: Likewise.
34545         * nscd/nscd_gethst_r.c: Likewise.
34546         * nscd/nscd_getserv_r.c: Likewise.
34547         * nscd/nscd_helper.c: Likewise.
34548         * nscd/servicescache.c: Likewise.
34549         * nss/makedb.c: Likewise.
34550         * nss/nss_db/db-XXX.c: Likewise.
34551         * nss/nss_db/db-initgroups.c: Likewise.
34552         * nss/nss_db/db-netgrp.c: Likewise.
34553         * nss/nss_files/files-network.c: Likewise.
34554         * nss/nss_files/files-parse.c: Likewise.
34555         * posix/bug-regex5.c: Likewise.
34556         * posix/fnmatch_loop.c: Likewise.
34557         * posix/regcomp.c: Likewise.
34558         * posix/regexec.c: Likewise.
34559         * posix/tst-rfc3484-2.c: Likewise.
34560         * posix/tst-rfc3484-3.c: Likewise.
34561         * posix/tst-rfc3484.c: Likewise.
34562         * resolv/nss_dns/dns-canon.c: Likewise.
34563         * resolv/nss_dns/dns-network.c: Likewise.
34564         * resolv/res_init.c: Likewise.
34565         * resolv/res_mkquery.c: Likewise.
34566         * resolv/tst-aton.c: Likewise.
34567         * stdlib/cxa_atexit.c: Likewise.
34568         * stdlib/cxa_finalize.c: Likewise.
34569         * stdlib/gen-fpioconst.c: Likewise.
34570         * stdlib/strtol_l.c: Likewise.
34571         * string/tst-endian.c: Likewise.
34572         * sunrpc/auth_des.c: Likewise.
34573         * sunrpc/clnt_udp.c: Likewise.
34574         * sunrpc/rtime.c: Likewise.
34575         * sunrpc/svcauth_des.c: Likewise.
34576         * sunrpc/xdr.c: Likewise.
34577         * sunrpc/xdr_intXX_t.c: Likewise.
34578         * sunrpc/xdr_rec.c: Likewise.
34579         * sysdeps/generic/ldconfig.h: Likewise.
34580         * sysdeps/generic/ldsodefs.h: Likewise.
34581         * sysdeps/generic/memusage.h: Likewise.
34582         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34583         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34584         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34585         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34586         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34587         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34588         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34589         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34590         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34591         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34592         * sysdeps/posix/getaddrinfo.c: Likewise.
34593         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34594         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34595         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34596         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34597         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34598         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34599         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34600         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34601         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34602         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34603         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34604         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34605         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34606         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34607         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34608         * sysdeps/x86_64/dl-tls.h: Likewise.
34609         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34610         * time/alt_digit.c: Likewise.
34611         * time/era.c: Likewise.
34612         * wcsmbs/tst-c16c32-1.c: Likewise.
34614 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34616         * math/libm-test.inc (struct test_sincos_data): New type.
34617         (RUN_TEST_LOOP_sincos): New macro.
34618         (sincos_test_data): New variable.
34619         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34621 2013-05-16  Richard Henderson  <rth@redhat.com>
34623         * math/atest-exp2.c (LIMB64): New macro.
34624         (CONSTSZ): New macro.
34625         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34626         (hexdig): Move ...
34627         (print_mpn_fp): ... to function scope.
34628         (read_mpn_hex): Remove.
34629         (get_log2): Remove.
34630         (exp2_mpn): Use mp_log2.
34631         (main): Use mp_exp1.
34633 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34635         * math/libm-test.inc: Remove comment about not testing "inexact"
34636         exceptions.
34637         (INEXACT_EXCEPTION): New macro.
34638         (NO_INEXACT_EXCEPTION): Likewise.
34639         (INVALID_EXCEPTION_OK): Update value.
34640         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34641         (OVERFLOW_EXCEPTION_OK): Likewise.
34642         (UNDERFLOW_EXCEPTION_OK): Likewise.
34643         (IGNORE_ZERO_INF_SIGN): Likewise.
34644         (ERRNO_UNCHANGED): Likewise.
34645         (ERRNO_EDOM): Likewise.
34646         (ERRNO_ERANGE): Likewise.
34647         (test_exceptions): Handle testing "inexact" exceptions.
34648         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34649         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34650         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34651         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34652         INEXACT_EXCEPTION.
34653         (rint_towardzero_test_data): Likewise.
34654         (rint_downward_test_data): Likewise.
34655         (rint_upward_test_data): Likewise.
34657         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34658         with OVERFLOW_EXCEPTION.
34659         (exp10_test_data): Likewise.
34660         (exp2_test_data): Likewise.
34661         (expm1_test_data): Likewise.
34662         (lgamma_test_data): Likewise.
34663         (pow_test_data): Likewise.
34664         (tgamma_test_data): Likewise.
34665         (yn_test_data): Remove duplicate test of overflow.
34667         * math/libm-test.inc (struct test_cc_c_data): New type.
34668         (RUN_TEST_LOOP_cc_c): New macro.
34669         (cpow_test_data): New variable.
34670         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34672         * math/libm-test.inc (struct test_f_L_data): New type.
34673         (RUN_TEST_LOOP_f_L): New macro.
34674         (llrint_test_data): New variable.
34675         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34676         (llrint_tonearest_test_data): New variable.
34677         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34678         (llrint_towardzero_test_data): New variable.
34679         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34680         (llrint_downward_test_data): New variable.
34681         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34682         (llrint_upward_test_data): New variable.
34683         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34684         (llround_test_data): New variable.
34685         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34687 2013-05-13  Peter Collingbourne  <pcc@google.com>
34689         * math/atest-exp2.c (get_log2): Remove const attribute.
34691 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34693         * math/libm-test.inc (struct test_f_l_data): New type.
34694         (RUN_TEST_LOOP_f_l): New macro.
34695         (lrint_test_data): New variable.
34696         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34697         (lrint_tonearest_test_data): New variable.
34698         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34699         (lrint_towardzero_test_data): New variable.
34700         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34701         (lrint_downward_test_data): New variable.
34702         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34703         (lrint_upward_test_data): New variable.
34704         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34705         (lround_test_data): New variable.
34706         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34708 2013-05-15  Peter Collingbourne  <pcc@google.com>
34710         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34711         (EXTRACT_WORDS64) Use where appropriate.
34712         (INSERT_WORDS64) Likewise.
34714         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34715         constraints with x constraints.
34716         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34718         * malloc/obstack.c (_obstack_compat): Add initializer.
34720 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34722         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34723         si_trapno and add si_addr_lsb to _sifields.sigfault.
34724         (si_trapno): Remove macro.
34725         (si_addr_lsb): Define new macro.
34726         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34728 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34730         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34731         instead of TEST_f_l.
34732         (llrint_test_tonearest): Likewise.
34733         (llrint_test_towardzero): Likewise.
34734         (llrint_test_downward): Likewise.
34735         (llrint_test_upward): Likewise.
34736         (llround_test): Likewise.
34738         * math/libm-test.inc (struct test_f_i_data): Add comment.
34739         (RUN_TEST_LOOP_f_b): New macro.
34740         (RUN_TEST_LOOP_f_b_tg): Likewise.
34741         (finite_test_data): New variable.
34742         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34743         (isfinite_test_data): New variable.
34744         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34745         (isinf_test_data): New variable.
34746         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34747         (isnan_test_data): New variable.
34748         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34749         (isnormal_test_data): New variable.
34750         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34751         (issignaling_test_data): New variable.
34752         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34753         (signbit_test_data): New variable.
34754         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34756         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34757         with INVALID_EXCEPTION.
34758         (acosh_test_data): Likewise.
34759         (asin_test_data): Likewise.
34760         (atanh_test_data): Likewise.
34761         (fmod_test_data): Likewise.
34762         (log_test_data): Likewise.
34763         (log10_test_data): Likewise.
34764         (log2_test_data): Likewise.
34765         (pow_test_data): Likewise.
34766         (sqrt_test_data): Likewise.
34767         (y0_test_data): Likewise.
34768         (y1_test_data): Likewise.
34769         (yn_test_data): Likewise.
34771         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34772         function contents.
34774         * math/libm-test.inc (struct test_ff_i_data): New type.
34775         (RUN_TEST_LOOP_ff_i_tg): New macro.
34776         (isgreater_test_data): New variable.
34777         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34778         (isgreaterequal_test_data): New variable.
34779         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34780         (isless_test_data): New variable.
34781         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34782         (islessequal_test_data): New variable.
34783         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34784         (islessgreater_test_data): New variable.
34785         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34786         (isunordered_test_data): New variable.
34787         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34789 2013-05-14  David S. Miller  <davem@davemloft.net>
34791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34793 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34795         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34797         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34798         extra_test to int.
34799         (struct test_f_i_data): Change type of max_ulp to int.
34801         * math/libm-test.inc (test_ffI_f1_data): New type.
34802         (RUN_TEST_LOOP_ffI_f1): New macro.
34803         (remquo_test_data): New variable.
34804         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34806         * setjmp/tst-setjmp-fp.c: New file.
34807         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34808         (link-libm): New variable.
34809         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34811         * math/libm-test.inc (struct test_f_i_data): New type.
34812         (RUN_TEST_LOOP_f_i): New macro.
34813         (RUN_TEST_LOOP_f_i_tg): Likewise.
34814         (fpclassify_test_data): New variable.
34815         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34816         (ilogb_test_data): New variable.
34817         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34819         * math/libm-test.inc (scalbln_test): Correct function name in END
34820         call.
34822         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34823         (RUN_TEST_LOOP_fI_f1): New macro.
34824         (frexp_test_data): New variable.
34825         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34827         * math/libm-test.inc (struct test_fF_f1_data): New type.
34828         (RUN_TEST_LOOP_fF_f1): New macro.
34829         (modf_test_data): New variable.
34830         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34832         * math/libm-test.inc (struct test_f_f1_data): New type.
34833         (RUN_TEST_LOOP_f_f1): New macro.
34834         (gamma_test_data): New variable.
34835         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34836         (lgamma_test_data): New variable.
34837         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34839 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34841         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34842         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34843         (main): Comment "tls" pseudo-hwcap.
34845 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34847         * math/libm-test.inc (struct test_fl_f_data): New type.
34848         (RUN_TEST_LOOP_fl_f): New variable.
34849         (scalbln_test_data): New variable.
34850         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34852         * math/libm-test.inc (struct test_fi_f_data): New type.
34853         (RUN_TEST_LOOP_fi_f): New macro.
34854         (ldexp_test_data): New variable.
34855         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34856         (scalbn_test_data): New variable.
34857         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34859         * math/libm-test.inc (struct test_c_f_data): New type.
34860         (RUN_TEST_LOOP_c_f): New macro.
34861         (cabs_test_data): New variable.
34862         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34863         (carg_test_data): New variable.
34864         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34865         (cimag_test_data): New variable.
34866         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34867         (creal_test_data): New variable.
34868         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34870         * math/libm-test.inc (struct test_if_f_data): New type.
34871         (RUN_TEST_LOOP_if_f): New macro.
34872         (jn_test_data): New variable.
34873         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34874         (yn_test_data): New variable.
34875         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34877         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34879 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34881         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34882         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34884 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34886         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34887         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34888         (bench-deps): Add bench-timing.h.
34889         * benchtests-bench-skeleton.c: Include bench-timing.h.
34890         (main): Use TIMING_* macros instead of clock_gettime.
34891         * benchtests/bench-timing.h: New file.
34893         [BZ #14582]
34894         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34895         Renamed from _LIB_VERSION.
34896         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34898 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34900         * math/libm-test.inc (struct test_fff_f_data): New type.
34901         (RUN_TEST_LOOP_fff_f): New macro.
34902         (fma_test_data): New variable.
34903         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34904         (fma_towardzero_test_data): New variable.
34905         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34906         (fma_downward_test_data): New variable.
34907         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34908         (fma_upward_test_data): New variable.
34909         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34911         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34912         (struct test_c_c_data): New type.
34913         (RUN_TEST_LOOP_c_c): New macro.
34914         (cacos_test_data): New variable.
34915         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34916         (cacosh_test_data): New variable.
34917         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34918         (casin_test_data): New variable.
34919         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34920         (casinh_test_data): New variable.
34921         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34922         (catan_test_data): New variable.
34923         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34924         (catanh_test_data): New variable.
34925         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34926         (ccos_test_data): New variable.
34927         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34928         (ccosh_test_data): New variable.
34929         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34930         (cexp_test_data): New variable.
34931         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34932         (clog_test_data): New variable.
34933         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34934         (clog10_test_data): New variable.
34935         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34936         (conj_test_data): New variable.
34937         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34938         (cproj_test_data): New variable.
34939         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34940         (csin_test_data): New variable.
34941         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34942         (csinh_test_data): New variable.
34943         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34944         (csqrt_test_data): New variable.
34945         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34946         (ctan_test_data): New variable.
34947         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34948         (ctan_tonearest_test_data): New variable.
34949         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34950         (ctan_towardzero_test_data): New variable.
34951         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34952         (ctan_downward_test_data): New variable.
34953         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34954         (ctan_upward_test_data): New variable.
34955         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34956         (ctanh_test_data): New variable.
34957         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34958         (ctanh_tonearest_test_data): New variable.
34959         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34960         (ctanh_towardzero_test_data): New variable.
34961         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34962         (ctanh_downward_test_data): New variable.
34963         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34964         (ctanh_upward_test_data): New variable.
34965         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34966         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34967         of BUILD_COMPLEX.
34969         * math/libm-test.inc (struct test_ff_f_data): New type.
34970         (struct test_ff_f_data_nexttoward): Likewise.
34971         (RUN_TEST_LOOP_2_f): New macro.
34972         (RUN_TEST_LOOP_ff_f): Likewise.
34973         (atan2_test_data): New variable.
34974         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34975         (copysign_test_data): New variable.
34976         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34977         (fdim_test_data): New variable.
34978         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34979         (fmax_test_data): New variable.
34980         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34981         (fmin_test_data): New variable.
34982         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34983         (fmod_test_data): New variable.
34984         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34985         (hypot_test_data): New variable.
34986         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34987         (nextafter_test_data): New variable.
34988         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34989         (nexttoward_test_data): New variable.
34990         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34991         (pow_test_data): New variable.
34992         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34993         (pow_tonearest_test_data): New variable.
34994         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34995         (pow_towardzero_test_data): New variable.
34996         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34997         (pow_downward_test_data): New variable.
34998         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34999         (pow_upward_test_data): New variable.
35000         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35001         (remainder_test_data): New variable.
35002         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35003         (scalb_test_data): New variable.
35004         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35005         * sysdeps/i386/fpu/libm-test-ulps: Update.
35007 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35009         * math/libm-test.inc (fma_test): Use max_value instead of local
35010         variable fltmax.
35011         (nextafter_test): Likewise.
35013         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35014         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35015         (acos_downward_test_data): New variable.
35016         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35017         (acos_upward_test_data): New variable.
35018         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35019         (acosh_test_data): New variable.
35020         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35021         (asin_test_data): New variable.
35022         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35023         (asin_tonearest_test_data): New variable.
35024         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35025         (asin_towardzero_test_data): New variable.
35026         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35027         (asin_downward_test_data): New variable.
35028         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35029         (asin_upward_test_data): New variable.
35030         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35031         (asinh_test_data): New variable.
35032         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35033         (atan_test_data): New variable.
35034         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35035         (atanh_test_data): New variable.
35036         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35037         (cbrt_test_data): New variable.
35038         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35039         (ceil_test_data): New variable.
35040         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35041         (cos_test_data): New variable.
35042         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35043         (cos_tonearest_test_data): New variable.
35044         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35045         (cos_towardzero_test_data): New variable.
35046         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35047         (cos_downward_test_data): New variable.
35048         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35049         (cos_upward_test_data): New variable.
35050         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35051         (cosh_test_data): New variable.
35052         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35053         (cosh_tonearest_test_data): New variable.
35054         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35055         (cosh_towardzero_test_data): New variable.
35056         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35057         (cosh_downward_test_data): New variable.
35058         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35059         (cosh_upward_test_data): New variable.
35060         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35061         (erf_test_data): New variable.
35062         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35063         (erfc_test_data): New variable.
35064         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35065         (exp_test_data): New variable.
35066         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35067         (exp_tonearest_test_data): New variable.
35068         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35069         (exp_towardzero_test_data): New variable.
35070         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35071         (exp_downward_test_data): New variable.
35072         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35073         (exp_upward_test_data): New variable.
35074         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35075         (exp10_test_data): New variable.
35076         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35077         (exp2_test_data): New variable.
35078         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35079         (expm1_test_data): New variable.
35080         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35081         (fabs_test_data): New variable.
35082         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35083         (floor_test_data): New variable.
35084         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35085         (j0_test_data): New variable.
35086         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35087         (j1_test_data): New variable.
35088         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35089         (log_test_data): New variable.
35090         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35091         (log10_test_data): New variable.
35092         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35093         (log1p_test_data): New variable.
35094         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35095         (log2_test_data): New variable.
35096         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35097         (logb_test_data): New variable.
35098         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35099         (logb_downward_test_data): New variable.
35100         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35101         (nearbyint_test_data): New variable.
35102         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35103         (rint_test_data): New variable.
35104         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35105         (rint_tonearest_test_data): New variable.
35106         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35107         (rint_towardzero_test_data): New variable.
35108         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35109         (rint_downward_test_data): New variable.
35110         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35111         (rint_upward_test_data): New variable.
35112         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35113         (round_test_data): New variable.
35114         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35115         (sin_test_data): New variable.
35116         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35117         (sin_tonearest_test_data): New variable.
35118         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35119         (sin_towardzero_test_data): New variable.
35120         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35121         (sin_downward_test_data): New variable.
35122         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35123         (sin_upward_test_data): New variable.
35124         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35125         (sinh_test_data): New variable.
35126         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35127         (sinh_tonearest_test_data): New variable.
35128         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35129         (sinh_towardzero_test_data): New variable.
35130         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35131         (sinh_downward_test_data): New variable.
35132         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35133         (sinh_upward_test_data): New variable.
35134         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35135         (sqrt_test_data): New variable.
35136         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35137         (tan_test_data): New variable.
35138         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35139         (tan_tonearest_test_data): New variable.
35140         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35141         (tan_towardzero_test_data): New variable.
35142         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35143         (tan_downward_test_data): New variable.
35144         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35145         (tan_upward_test_data): New variable.
35146         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35147         (tanh_test_data): New variable.
35148         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35149         (tgamma_test_data): New variable.
35150         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35151         (trunc_test_data): New variable.
35152         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35153         (y0_test_data): New variable.
35154         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35155         (y1_test_data): New variable.
35156         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35157         (significand_test_data): New variable.
35158         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35160 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35162         [BZ #12387]
35163         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35165 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35167         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35169 2013-05-10  Andreas Jaeger  <aj@suse.de>
35171         [BZ #15448]
35172         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35173         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35175 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35177         * math/gen-libm-test.pl (adjust_arg): New function.
35178         (special_functions): Handle generating output in both functions
35179         and arrays.
35180         (parse_args): Likewise.
35181         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35182         $in_func argument to parse_args.
35183         * math/libm-test.inc (struct test_f_f_data): New type.
35184         (IF_ROUND_INIT_): New macro.
35185         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35186         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35187         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35188         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35189         (ROUND_RESTORE_): Likewise.
35190         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35191         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35192         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35193         (ROUND_RESTORE_FE_UPWARD): Likewise.
35194         (RUN_TEST_LOOP_f_f): New macro.
35195         (acos_test_data): New variable.
35196         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35197         (acos_tonearest_test_data): New variable.
35198         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35200 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35202         * benchtests/bench-skeleton.c (startup): Fix coding style.
35204 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35206         [BZ #6809]
35207         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35208         negative infinity argument.
35209         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35210         negative infinity argument.
35211         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35212         negative infinity argument.
35213         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35214         domain errors.
35216 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35218         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35219         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35220         * iconv/iconv_prog.c (main): Likewise.
35221         * locale/programs/charmap-dir.c (charmap_readdir)
35222         (fopen_uncompressed): Likewise.
35223         * locale/programs/locfile.c (siblings_uncached)
35224         (write_locale_data): Use lstat64 instead of lstat.
35225         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35226         stat.
35228 2013-05-10  Andreas Jaeger  <aj@suse.de>
35230         [BZ #15395]
35231         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35232         localization.
35233         Include <locale.h>.
35235 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35237         * elf/dl-close.c (_dl_close_worker): Add comments.
35239 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35241         [BZ #15359]
35242         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35243         high part of pi/2.
35244         (__ieee754_rem_pio2l): Update comments.
35246         [BZ #15429]
35247         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35248         high part of pi/2.
35249         (__ieee754_rem_pio2l): Update comments.
35251         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35252         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35254         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35255         M_PI_4l.
35257         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35258         (M_PI_34_LOG10El): Likewise.
35259         (M_PI2_LOG10El): Likewise.
35260         (M_PI4_LOG10El): Likewise.
35261         (M_PI_LOG10El): Likewise.
35263 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35267 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35269         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35270         (MINUS_ZERO_INIT): Likewise.
35271         (PLUS_INFTY_INIT): Likewise.
35272         (MINUS_INFTY_INIT): Likewise.
35273         (QNAN_VALUE_INIT): Likewise.
35274         (MAX_VALUE_INIT): Likewise.
35275         (MIN_VALUE_INIT): Likewise.
35276         (MIN_SUBNORM_VALUE_INIT): Likewise.
35277         (plus_zero): Initialize with PLUS_ZERO_INIT.
35278         (minus_zero): Initialize with MINUS_ZERO_INIT.
35279         (plus_infty): Initialize with PLUS_INFTY_INIT.
35280         (minus_infty): Initialize with MINUS_INFTY_INIT.
35281         (qnan_value): Initialize with QNAN_VALUE_INIT.
35282         (max_value): Initialize with MAX_VALUE_INIT.
35283         (min_value): Initialize with MIN_VALUE_INIT.
35284         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35286         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35287         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35288         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35289         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35291         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35292         (RUN_TEST_2_f): Likewise.
35293         (RUN_TEST_ff_f): Likewise.
35294         (RUN_TEST_fi_f): Likewise.
35295         (RUN_TEST_fl_f): Likewise.
35296         (RUN_TEST_fff_f): Likewise.
35297         (RUN_TEST_c_f): Likewise.
35298         (RUN_TEST_f_f1): Likewise.
35299         (RUN_TEST_fF_f1): Likewise.
35300         (RUN_TEST_fI_f1): Likewise.
35301         (RUN_TEST_ffI_f1): Likewise.
35302         (RUN_TEST_c_c): Likewise.
35303         (RUN_TEST_cc_c): Likewise.
35304         (RUN_TEST_f_i): Likewise.
35305         (RUN_TEST_f_i_tg): Likewise.
35306         (RUN_TEST_ff_i_tg): Likewise.
35307         (RUN_TEST_f_b): Likewise.
35308         (RUN_TEST_f_b_tg): Likewise.
35309         (RUN_TEST_f_l): Likewise.
35310         (RUN_TEST_f_L): Likewise.
35311         (RUN_TEST_sincos): Likewise.
35312         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35313         whether to show exceptions.  Do not include ");\n" in return
35314         value.
35315         (special_functions): Output call to RUN_TEST_sincos instead of
35316         check_float calls.  Update calls to new_test.
35317         (parse_args): Output call to single RUN_TEST_* macro instead of
35318         check_* calls and other assignments.  Update calls to new_test.
35320         [BZ #2546]
35321         [BZ #2560]
35322         [BZ #5159]
35323         [BZ #15426]
35324         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35325         input to result for tgamma overflow.
35326         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35327         (gamma_coeff): New variable.
35328         (NCOEFF): New macro.
35329         (gamma_positive): New function.
35330         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35331         underflow here.  Use gamma_positive instead of exp (lgamma) for
35332         other arguments.
35333         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35334         (gamma_coeff): New variable.
35335         (NCOEFF): New macro.
35336         (gammaf_positive): New function.
35337         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35338         underflow here.  Use gamma_positive instead of exp (lgamma) for
35339         other arguments.
35340         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35341         (gamma_coeff): New variable.
35342         (NCOEFF): New macro.
35343         (gammal_positive): New function.
35344         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35345         underflow here.  Use gamma_positive instead of exp (lgamma) for
35346         other arguments.
35347         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35348         (gamma_coeff): New variable.
35349         (NCOEFF): New macro.
35350         (gammal_positive): New function.
35351         (__ieee754_gammal_r): Handle positive infinity, overflow and
35352         underflow here.  Handle NaN the same as positive infinity.  Remove
35353         check x < 0xffffffff for negative integers.  Use gamma_positive
35354         instead of exp (lgamma) for other arguments.
35355         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35356         (gamma_coeff): New variable.
35357         (NCOEFF): New macro.
35358         (gammal_positive): New function.
35359         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35360         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35361         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35362         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35363         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35364         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35365         * sysdeps/generic/math_private.h (__gamma_productf): New
35366         prototype.
35367         (__gamma_product): Likewise.
35368         (__gamma_productl): Likewise.
35369         * math/Makefile (libm-calls): Add gamma_product.
35370         * math/libm-test.inc (tgamma_test): Add more tests.
35371         * sysdeps/i386/fpu/libm-test-ulps: Update.
35372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35374 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35376         * benchtests/bench-skeleton.c (main): Preheat CPU.
35378 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35380         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35382 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35384         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35385         and _dl_skip_args_internal.
35387 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35389         * manual/message.texi (Message Translation): Talk about users.
35390         Message to key mapping impacts design.
35392 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35394         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35396         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35398         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35399         * sysdeps/wordsize-64/glob64.c: ... here.
35401         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35402         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35403         New macros.
35405         * debug/getlogin_r_chk.c: Moved to ...
35406         * login/getlogin_r_chk.c: ... here.
35407         * debug/Makefile (routines): Move getlogin_r_chk to ...
35408         * login/Makefile (routines): ... here.
35409         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35410         * login/Versions (libc: GLIBC_2.4): ... here.
35412         * io/poll.c (__poll): Renamed from poll.
35413         Add libc_hidden_def.
35414         (poll): Define as weak alias.
35416         * debug/ptsname_r_chk.c: Moved to ...
35417         * login/ptsname_r_chk.c: ... here.
35418         * debug/Makefile (routines): Move ptsname_r_chk to ...
35419         * login/Makefile (routines): ... here.
35420         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35421         * login/Versions (libc: GLIBC_2.4): ... here.
35423         * posix/getlogin.c: Moved to ...
35424         * login/getlogin.c: ... here.
35425         * posix/getlogin_r.c: Moved to ...
35426         * login/getlogin_r.c: ... here.
35427         * posix/getlogin_r.c: Moved to ...
35428         * login/getlogin_r.c: ... here.
35429         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35430         * login/Makefile (routines): ... here.
35431         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35432         * login/Versions (libc: GLIBC_2.0): ... here.
35434         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35435         (setrlimit): Define as weak alias.
35437         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35438         Call __ names for open, ftruncate, and close.
35439         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35440         (truncate): Define as weak alias.
35442 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35444         * math/gen-libm-test.pl (parse_args): Initialize x before each
35445         test of frexp, modf and remquo.
35447         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35448         test signgam value.
35450 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35452         [BZ #15418]
35453         [BZ #15419]
35454         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35455         internal tests.
35456         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35458 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35460         * elf/dl-writev.h: New file.
35461         * elf/dl-misc.c: Include it.
35462         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35463         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35465 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35467         * math/libm-test.inc (noXFails): Remove variable.
35468         (noXPasses): Likewise.
35469         (BUILD_COMPLEX_INT): Remove macro.
35470         (print_screen): Remove xfail argument.
35471         (print_screen_max_error): Likewise.
35472         (update_stats): Likewise.
35473         (print_max_error): Likewise.  Update calls to other affected
35474         functions.
35475         (print_complex_max_error): Likewise.
35476         (test_single_exception): Update calls to print_screen.
35477         (test_single_errno): Likewise.
35478         (check_float_internal): Remove xfail argument.  Update calls to
35479         other affected functions.
35480         (check_float): Likewise.
35481         (check_complex): Likewise.
35482         (check_int): Likewise.
35483         (check_long): Likewise.
35484         (check_bool): Likewise.
35485         (check_longlong): Likewise.
35486         (main): Don't print noXFails and noXPasses.
35487         * math/gen-libm-test.pl (top level): Don't mention expected
35488         failure handling in comment.
35489         (new_test): Don't handle expected failures.
35490         (parse_args): Don't mention expected failure handling in comment.
35491         (generate_testfile): Don't handle expected failures.
35492         (parse_ulps): Likewise.
35493         (print_ulps_file): Likewise.
35494         (get_failure): Remove function.
35495         (output_test): Don't handle expected failures.
35496         * make/README.libm-test: Don't mention expected failure handling.
35498         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35499         (minus_zero): Likewise.
35500         (plus_infty): Likewise.
35501         (minus_infty): Likewise.
35502         (qnan_value): Likewise.
35503         (max_value): Likewise.
35504         (min_value): Likewise.
35505         (min_subnorm_value): Likewise.
35506         (initialize): Do not initialize those variables dynamically.
35508 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35510         * io/open.c (__open_2): Moved to ...
35511         * io/open_2.c: ... this new file.
35512         * io/open64.c (__open64_2): Moved to ...
35513         * io/open64_2.c: ... this new file.
35514         * io/openat.c (__openat_2): Moved to ...
35515         * io/openat_2.c: ... this new file.
35516         * io/openat64.c (__openat64_2): Moved to ...
35517         * io/openat64_2.c: ... this new file.
35518         * io/Makefile (routines): Add them.
35519         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35520         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35521         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35522         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35523         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35524         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35525         (__openat64): Add hidden_ver.
35526         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35527         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35529         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35530         Separately conditionalize setting of GLRO(dl_sysinfo) so
35531         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35532         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35534 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35536         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35537         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35538         definition.
35539         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35540         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35541         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35542         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35543         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35545 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35547         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35548         test signgam value.
35550         * math/libm-test.inc (hypot_test): Do not use
35551         IGNORE_ZERO_INF_SIGN.
35553 2013-05-03  Andreas Jaeger  <aj@suse.de>
35555         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35556         Linux 3.9.
35557         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35558         (PF_MAX): Adjust for VSOCK change.
35560 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35564 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35566         [BZ #15264]
35567         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35568         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35569         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35571 2013-05-02  David S. Miller  <davem@davemloft.net>
35573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35575 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35577         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35579 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35581         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35583 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35585         [BZ #14952]
35586         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35587         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35588         Use __attribute__ ((__gnu_inline__)).
35589         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35590         Don't use __attribute__ ((__gnu_inline__)).
35592 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35594         [BZ #15423]
35595         * math/s_catan.c (__catan): Handle small real or imaginary part of
35596         input specially to avoid spurious underflow.
35597         * math/s_catanf.c (__catanf): Likewise.
35598         * math/s_catanh.c (__catanh): Likewise.
35599         * math/s_catanhf.c (__catanhf): Likewise.
35600         * math/s_catanhl.c (__catanhl): Likewise.
35601         * math/s_catanl.c (__catanl): Likewise.
35602         * math/libm-test.inc (catan_test): Add more tests.
35603         (catanh_test): Likewise.
35604         * sysdeps/i386/fpu/libm-test-ulps: Update.
35605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35607 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35611 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35613         [BZ #15416]
35614         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35615         accurately for denominator in atan2.
35616         * math/s_catanf.c (__catanf): Likewise.
35617         * math/s_catanh.c (__catanh): Likewise.
35618         * math/s_catanhf.c (__catanhf): Likewise.
35619         * math/s_catanhl.c (__catanhl): Likewise.
35620         * math/s_catanl.c (__catanl): Likewise.
35621         * math/libm-test.inc (catan_test): Add more tests.
35622         (catanh_test): Likewise.
35623         * sysdeps/i386/fpu/libm-test-ulps: Update.
35624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35626 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35628         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35630         * benchtests/Makefile (bench): Remove slow benchmarks.
35631         * benchtests/atan-inputs: Add slow benchmark inputs.
35632         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35633         (BENCH_FUNC): Accept variant offset.
35634         (VARIANT): Define.
35635         * benchtests/bench-skeleton.c (main): Run benchmark for each
35636         variant.
35637         * benchtests/cos-inputs: Add slow benchmark inputs.
35638         * benchtests/exp-inputs: Likewise.
35639         * benchtests/pow-inputs: Likewise.
35640         * benchtests/sin-inputs: Likewise.
35641         * benchtests/slowatan-inputs: Remove.
35642         * benchtests/slowatan.c: Remove.
35643         * benchtests/slowcos-inputs: Remove.
35644         * benchtests/slowcos.c: Remove.
35645         * benchtests/slowexp-inputs: Remove.
35646         * benchtests/slowexp.c: Remove.
35647         * benchtests/slowpow-inputs: Remove.
35648         * benchtests/slowpow.c: Remove.
35649         * benchtests/slowsin-inputs: Remove.
35650         * benchtests/slowsin.c: Remove.
35651         * benchtests/slowtan-inputs: Remove.
35652         * benchtests/slowtan.c: Remove.
35653         * benchtests/tan-inputs: Add slow benchmark inputs.
35654         * scripts/bench.pl: Parse comments and directives.
35656         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35657         in CPPFLAGS.
35658         ($(objpfx)bench-%.c): Remove *-ITER.
35659         * benchtests/bench-modf.c: Remove definition of ITER.
35660         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35661         (main): Loop for DURATION seconds instead of fixed number of
35662         iterations.
35663         * scripts/bench.pl: Don't expect iterations in parameters.
35665 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35667         * io/fchdir.c (__fchdir): Renamed from fchdir.
35668         (fchdir): Define as weak alias.
35670 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35672         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35673         (ERRNO_EDOM): Likewise.
35674         (ERRNO_ERANGE): Likewise.
35675         (noErrnoTests): New variable.
35676         (init_max_error): Set errno to 0.
35677         (test_single_errno): New function.
35678         (test_errno): Likewise.
35679         (check_float_internal): Call test_errno.  Set errno to 0.
35680         (check_complex): Refer to errno tests in comment.
35681         (check_int): Call test_errno.  Set errno to 0.
35682         (check_long): Likewise.
35683         (check_bool): Likewise.
35684         (check_longlong): Likewise.
35685         (cos_test): Use ERRNO_* flags for errno tests instead of
35686         check_int.
35687         (expm1_test): Likewise.
35688         (fmod_test): Likewise.
35689         (ilogb_test): Likewise.
35690         (lgamma_test): Likewise.
35691         (pow_test): Likewise.
35692         (remainder_test): Likewise.
35693         (sin_test): Likewise.
35694         (tan_test): Likewise.
35695         (yn_test): Likewise.
35696         (initialize): Set errno to 0.
35697         (main): Print number of errno tests.
35698         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35700 2013-04-29  Andreas Jaeger  <aj@suse.de>
35702         [BZ #15084]
35703         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35704         and RES_USEVC.
35706         [BZ #15085]
35707         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35708         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35709         unimplemented.
35711         [BZ #15380]
35712         * stdlib/random.c (__initstate): Return NULL if
35713         __initstate fails.
35715         [BZ #15086]
35716         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35717         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35718         RES_SNGLKUPREOP.
35720 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35724 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35726         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35727         of individual tests.
35728         (casin_test): Likewise.
35729         (casinh_test): Likewise.
35731 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35733         [BZ #15409]
35734         * math/s_catan.c (__catan): Handle arguments with large real or
35735         imaginary part separately without squaring.
35736         * math/s_catanf.c (__catanf): Likewise.
35737         * math/s_catanh.c (__catanh): Likewise.
35738         * math/s_catanhf.c (__catanhf): Likewise.
35739         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35740         and redefine.
35741         (__catanhl): Handle arguments with large real or imaginary part
35742         separately without squaring.
35743         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35744         and redefine.
35745         (__catanl): Handle arguments with large real or imaginary part
35746         separately without squaring.
35747         * math/libm-test.inc (catan_test): Add more tests.
35748         (catanh_test): Likewise.
35749         * sysdeps/i386/fpu/libm-test-ulps: Update.
35750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35752 2013-04-27  Andreas Jaeger  <aj@suse.de>
35754         [BZ #15007]
35755         * stdlib/stdlib.h: Update guards for qecvt.
35756         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35757         <stdlib.h>.
35759 2013-04-27  Allan McRae  <allan@archlinux.org>
35761         * sysdeps/i386/fpu/libm-test-ulps: Update.
35763 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35765         [BZ #15406]
35766         * math/s_catan.c: Include <float.h>.
35767         (__catan): Ensure underflow exception occurs for underflowed
35768         result.
35769         * math/s_catanf.c: Include <float.h>.
35770         (__catanf): Ensure underflow exception occurs for underflowed
35771         result.
35772         * math/s_catanh.c: Include <float.h>.
35773         (__catanh): Ensure underflow exception occurs for underflowed
35774         result.
35775         * math/s_catanhf.c: Include <float.h>.
35776         (__catanhf): Ensure underflow exception occurs for underflowed
35777         result.
35778         * math/s_catanhl.c: Include <float.h>.
35779         (__catanhl): Ensure underflow exception occurs for underflowed
35780         result.
35781         * math/s_catanl.c: Include <float.h>.
35782         (__catanl): Ensure underflow exception occurs for underflowed
35783         result.
35784         * math/libm-test.inc (catan_test): Add more tests.
35785         (catanh_test): Likewise.
35787         [BZ #15405]
35788         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35789         underflowed result.
35790         * math/s_ccoshf.c (__ccoshf): Likewise.
35791         * math/s_ccoshl.c (__ccoshl): Likewise.
35792         * math/s_csin.c (__csin): Likewise.
35793         * math/s_csinf.c (__csinf): Likewise.
35794         * math/s_csinh.c (__csinh): Likewise.
35795         * math/s_csinhf.c (__csinhf): Likewise.
35796         * math/s_csinhl.c (__csinhl): Likewise.
35797         * math/s_csinl.c (__csinl): Likewise.
35798         * math/libm-test.inc (ccos_test): Add more tests.
35799         (ccosh_test): Likewise.
35800         (csin_test): Likewise.
35801         (csinh_test): Likewise.
35803 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35805         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35806         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35807         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35808         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35809         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35810         powerpc/power5+/fpu folders.
35811         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35814 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35818 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35820         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35821         additions to variable.
35822         [$(config-machine) = x86_64] (modules-names): Likewise.
35823         ($(objpfx)tst-audit3): Remove dependency.
35824         ($(objpfx)tst-audit3.out): Likewise.
35825         ($(objpfx)tst-audit4): Likewise.
35826         ($(objpfx)tst-audit4.out): Likewise.
35827         ($(objpfx)tst-audit5): Likewise.
35828         ($(objpfx)tst-audit5.out): Likewise.
35829         ($(objpfx)tst-audit6): Likewise.
35830         ($(objpfx)tst-audit6.out): Likewise.
35831         ($(objpfx)tst-audit7): Likewise.
35832         ($(objpfx)tst-audit7.out): Likewise.
35833         (tst-audit3-ENV): Remove variable.
35834         (tst-audit4-ENV): Likewise.
35835         (tst-audit5-ENV): Likewise.
35836         (tst-audit6-ENV): Likewise.
35837         (tst-audit7-ENV): Likewise.
35838         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35839         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35840         addition to variable.
35841         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35842         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35843         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35844         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35845         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35846         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35847         tst-audit3, tst-audit4 and tst-audit5.
35848         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35849         tst-audit6 and tst-audit7.
35850         [$(subdir) = elf] (modules-names): Add audit modules for those
35851         tests.
35852         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35853         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35854         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35855         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35856         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35857         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35858         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35859         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35860         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35861         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35862         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35863         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35864         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35865         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35866         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35867         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35868         Likewise.
35869         [$(subdir) = elf && $(config-cflags-avx) = yes]
35870         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35871         [$(subdir) = elf && $(config-cflags-avx) = yes]
35872         (CFLAGS-tst-auditmod4a.c): Likewise.
35873         [$(subdir) = elf && $(config-cflags-avx) = yes]
35874         (CFLAGS-tst-auditmod4b.c): Likewise.
35875         [$(subdir) = elf && $(config-cflags-avx) = yes]
35876         (CFLAGS-tst-auditmod6b.c): Likewise.
35877         [$(subdir) = elf && $(config-cflags-avx) = yes]
35878         (CFLAGS-tst-auditmod6c.c): Likewise.
35879         [$(subdir) = elf && $(config-cflags-avx) = yes]
35880         (CFLAGS-tst-auditmod7b.c): Likewise.
35881         * elf/tst-audit3.c: Move to ...
35882         * sysdeps/x86_64/tst-audit3.c: ... here.
35883         * elf/tst-audit4.c: Move to ...
35884         * sysdeps/x86_64/tst-audit4.c: ... here.
35885         * elf/tst-audit5.c: Move to ...
35886         * sysdeps/x86_64/tst-audit5.c: ... here.
35887         * elf/tst-audit6.c: Move to ...
35888         * sysdeps/x86_64/tst-audit6.c: ... here.
35889         * elf/tst-audit7.c: Move to ...
35890         * sysdeps/x86_64/tst-audit7.c: ... here.
35891         * elf/tst-auditmod3a.c: Move to ...
35892         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35893         * elf/tst-auditmod3b.c: Move to ...
35894         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35895         * elf/tst-auditmod4a.c: Move to ...
35896         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35897         * elf/tst-auditmod4b.c: Move to ...
35898         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35899         * elf/tst-auditmod5a.c: Move to ...
35900         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35901         * elf/tst-auditmod5b.c: Move to ...
35902         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35903         * elf/tst-auditmod6a.c: Move to ...
35904         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35905         * elf/tst-auditmod6b.c: Move to ...
35906         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35907         * elf/tst-auditmod6c.c: Move to ...
35908         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35909         * elf/tst-auditmod7a.c: Move to ...
35910         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35911         * elf/tst-auditmod7b.c: Move to ...
35912         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35914 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35916         [BZ #15366]
35917         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35918         define unconditionally.
35919         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35920         define unconditionally.
35921         (INT8_C, INT16_C, etc.): Likewise.
35923 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35925         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35926         __ehdr_start with hidden visibility.
35928         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35930 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35932         * math/libm-test.inc (cos_test): Use accurate hex constants.
35933         (sincost_test): Likewise.
35935 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35937         * math/libm-test.inc (catan_test): Add more tests.
35938         (catanh_test): Likewise.
35940         * math/s_catanf.c (__catanf): Use suffixed floating-point
35941         constants.
35942         * math/s_catanhf.c (__catanhf): Likewise.
35943         * math/s_catanhl.c (__catanhl): Likewise.
35944         * math/s_catanl.c (__catanl): Likewise.
35946         [BZ #15394]
35947         * math/s_catan.c (__catan): Calculate imaginary part of result
35948         with log1p not log unless computing log of number close to 0.
35949         * math/s_catanf.c (__catanf): Likewise.
35950         * math/s_catanl.c (__catanl): Likewise.
35951         * math/s_catanh.c (__catanh): Calculate real part of result with
35952         log1p not log unless computing log of number close to 0.
35953         * math/s_catanhf.c (__catanhf): Likewise.
35954         * math/s_catanhl.c (__catanhl): Likewise.
35955         * math/libm-test.inc (catan_test): Add more tests.
35956         (catanh_test): Likewise.
35957         * sysdeps/i386/fpu/libm-test-ulps: Update.
35958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35960 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35962         * benchtests/Makefile: Mention files in which fast and slow
35963         paths of math functions are implemented.
35965 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35967         * sysdeps/posix/timespec_get.c: New file.
35969 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35971         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35972         POWER.
35973         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35974         for POWER.
35975         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35976         powerpc/power5/fpu folders.
35977         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35978         * benchtests/Makefile: Add modf testcase.
35979         * benchtests/bench-modf.c: New file: Benchmark test for mo
35981 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35983         [BZ #14888]
35984         * time/Makefile (tests): Add tst-strptime-whitespace.
35985         * time/strptime_l.c (get_number): Use ISSPACE.
35986         (__strptime_internal): Likewise.
35987         * time/tst-strptime-whitespace.c: New test case.
35989 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35991         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35992         member.
35993         (_nss_files_init): Set it here.
35995 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35997         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35998         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35999         unsigned.
36001 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36003         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36005 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36007         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36008         size just once.
36010 2013-04-21  David S. Miller  <davem@davemloft.net>
36012         * po/ru.po: Update Russion translation from translation project.
36014 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36016         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36017         and setfsgid.
36019 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36021         * configure.in: Remove i386 configure warning. Remove i386 case.
36022         * configure: Regenerate.
36023         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36024         Add example to error message.
36025         * sysdeps/i386/configure: Regenerate.
36027 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36029         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36030         slowtan.
36031         * benchtests/cos-inputs: New file.
36032         * benchtests/slowcos-inputs: New file.
36033         * benchtests/slowcos.c: New file.
36034         * benchtests/slowtan-inputs: New file.
36035         * benchtests/slowtan.c: New file.
36036         * benchtests/tan-inputs: New file.
36038 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36040         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36041         considered kosher.
36043 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36045         * benchtests/Makefile: Include cppflags-iterator.mk to add
36046         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36048         * Makefile.in (bench-clean): New target.
36049         * benchtests/Makefile (bench-clean): Likewise.
36051 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36053         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36055 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36057         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36059 2013-04-15  Andreas Schwab  <schwab@suse.de>
36061         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36062         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36063         * nscd/pwdcache.c (cache_addpw): Likewise.
36064         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36065         more than recsize.
36067 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36069         * benchtests/Makefile (bench): Write all output to
36070         bench-out.tmp together.
36072 2013-04-15  Andreas Schwab  <schwab@suse.de>
36074         * nscd/nscd.c (main): Don't fork again after closing files.
36076 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36078         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36080         * benchtests/Rules (bench-deps): Collect dependencies into a
36081         single variable.  Add Makefile to dependencies.
36082         ($(objpfx)bench-%.c): Depend on bench-deps.
36084 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36085             Xavier Roche  <roche+kml2@exalead.com>
36087         [BZ #15361]
36088         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36089         just that it's a file descriptor.
36090         * manual/llio.texi (Synchronizing AIO Operations): Update description
36091         for EBADF error from aio_fsync.
36093 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36095         * Rules (bench): Move target definition...
36096         * benchtests/Makefile: ... here.
36098 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36100         * math/libm-test.inc (cos_test): Fix PI/2 test.
36101         (sincos_test): Likewise.
36102         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36103         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36105 2013-04-11  Andreas Schwab  <schwab@suse.de>
36107         [BZ #13988]
36108         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36109         accept exponent character only when digits were seen.
36110         * stdio-common/Makefile (tests): Add bug26.
36111         * stdio-common/bug26.c: New file.
36113         [BZ #14293]
36114         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36115         non-freeable.
36117 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36119         * Makeconfig (rtld-prefix): Define built linker prefix.
36120         * Rules (run-bench): Use it.
36121         * math/Makefile (run-regen-ulps): Likewise.
36123         * Rules (bench): Remove eval.
36125 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36126             Roland McGrath  <roland@hack.frob.com>
36127             Ondrej Bilka  <neleai@seznam.cz>
36129         [BZ #15346]
36130         * time/getdate.c: Include ctype.h and alloca.h.
36131         (__getdate_r): Trim leading and trailing spaces of input.
36132         * time/tst-getdate.c (tests): Add tests with leading and
36133         trailing spaces.
36135 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36137         [BZ #14280]
36138         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36139         when computing value.
36141 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36143         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36144         Use testrun.sh to run libm tests.
36146         [BZ #15309]
36147         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36149 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36151         [BZ #15264]
36152         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36154 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36156         * Makefile.in (regen-ulps): New target.
36157         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36158         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36159         [ifneq (no,$(PERL)] (regen-ulps): New target.
36160         [ifeq (no,$(PERL)] (regen-ulps): New target.
36161         * math/libm-test.inc (ulps_file_name): Define.
36162         (output_dir): New variable.
36163         (options): Add "output-dir" option.
36164         (parse_opt): Handle 'o' case.
36165         (main): If output_dir is non-NULL use it as a prefix
36166         otherwise use "".
36167         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36169 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36171         [BZ #10060, #10062]
36172         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36173         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36174         fail configure if __sync_val_compare_and_swap is not inlined.
36175         * sysdeps/i386/configure: Regenerate.
36176         * configure.in: Build for i686 when configured for i386.
36177         * configure: Regenerate.
36178         * README: Remove i386 reference.
36180 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36182         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36183         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36185 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36187         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36188         (lmsnanval): New variables.
36189         (F): Add conversion tests.
36190         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36191         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36193         * stdio-common/tstdiomisc.c (F): Properly collect individual
36194         tests' results.
36196         [BZ #14686, #15336]
36197         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36198         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36199         Instead, use input NaN values or generate a qNaN by arithmetic
36200         operation.  Also fix bugs to comply with the standard.
36201         * math/libm-test.inc (remainder_test): Add more tests.
36203         [BZ #15335, #15342]
36204         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36205         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36206         input NaN values or generate a qNaN by arithmetic operation.
36208         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36209         unreachable code.
36211         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36212         definitions.
36214 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36216         [BZ #14478]
36217         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36218         underflowed result.
36219         * math/s_cexpf.c (__cexpf): Likewise.
36220         * math/s_cexpl.c (__cexpl): Likewise.
36221         * math/libm-test.inc (cexp_test): Add more tests.
36223 2013-04-03  Andreas Schwab  <schwab@suse.de>
36225         [BZ #15330]
36226         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36227         order arrays from heap if bigger than alloca cutoff.
36229 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36231         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36232         (SNAN_TESTS_double): Refer to GCC PR56831.
36233         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36234         GCC PR56828.
36236 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36238         * Rules (bench): Move bench.out after the run is complete.
36240         * Rules (bench): Echo currently running benchmark.
36242         * benchtests/Makefile (bench): Add atan and slowatan.
36243         * benchtests/atan-inputs: New file.
36244         * benchtests/slowatan-inputs: New file.
36245         * benchtests/slowatan.c: New file.
36247         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36248         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36249         its value.
36251         [BZ #15305]
36252         * sysdeps/unix/sysv/linux/kernel-features.h
36253         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36254         __ASSUME_XFS_RESTRICTED_CHOWN.
36255         * sysdeps/unix/sysv/linux/pathconf.c
36256         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36257         Save and restore errno.
36259 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36261         [BZ #15327]
36262         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36263         arguments using __kernel_casinh.
36264         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36265         arguments using __kernel_casinhf.
36266         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36267         arguments using __kernel_casinhl.
36268         * math/libm-test.inc (cacosh_test): Add more tests.
36269         * sysdeps/i386/fpu/libm-test-ulps: Update.
36270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36272 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36274         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36275         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36277         * bench/Makefile (bench): Add sin and slowsin.
36278         * benchtests/sin-inputs: New file.
36279         * benchtests/slowsin-inputs: New file.
36280         * benchtests/slowsin.c: New file.
36282         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36283         (bench): Add slowexp and slowpow.
36284         (exp-ITER): Increase iterations.
36285         (pow-ITER): Likewise.
36286         * benchtests/exp-inputs: Change input.
36287         * benchtests/pow-inputs: Likewise.
36288         * benchtests/slowexp-inputs: New file.
36289         * benchtests/slowexp.c: New file.
36290         * benchtests/slowpow-inputs: New file.
36291         * benchtests/slowpow.c: New file.
36293 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36295         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36296         instructions.
36297         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36298         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36299         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36300         * benchtests/Makefile: Add rint benchtest.
36301         * benchtests/rint-inputs: Input for rint benchtest.
36303 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36305         * Versions.def (libm): Add GLIBC_2.18.
36306         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36307         hidden libm prototypes.
36308         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36309         * math/Makefile (libm-calls): Add s_issignaling.
36310         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36311         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36312         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36313         declaration.
36314         * math/math.h [__USE_GNU] (issignaling): New macro.
36315         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36316         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36317         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36318         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36319         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36320         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36321         * manual/arith.texi (issignaling): New section.
36322         * manual/libm-err-tab.pl (@all_functions): Update comment.
36323         * math/gen-libm-test.pl (parse_args): Apply special handling for
36324         issignaling.
36325         * math/libm-test.inc (print_float, issignaling_test): New
36326         functions.
36327         (check_float_internal): Add issignaling checks.
36328         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36329         default definition.
36330         * sysdeps/powerpc/math-tests.h: New file.
36331         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36332         tests.
36333         * math/test-snan.c (TEST_FUNC): Likewise.
36335 2013-03-30  David S. Miller  <davem@davemloft.net>
36337         * po/de.po: Update from translation team.
36339 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36341         [BZ #10357]
36342         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36343         imaginary part less than 1.0 and real part less than 0.5
36344         specially.
36345         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36346         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36347         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36348         (cacos_test): Add more tests.
36349         (casin_test): Likewise.
36350         (casinh_test): Likewise.
36351         * sysdeps/i386/fpu/libm-test-ulps: Update.
36352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36354 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36356         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36357         ONE with its value.
36359         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36360         (__pow_mp): Replace ONE and MONE with their values.
36361         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36362         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36363         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36364         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36365         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36366         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36368         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36370         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36371         (__pow_mp): Replace ZERO and MZERO with their values.
36372         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36373         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36374         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36375         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36376         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36377         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36378         (__sqr): Likewise.
36380         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36382         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36384 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36386         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36387         Declare with __attribute__ ((weak)).
36388         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36389         Call __call_tls_dtors only if it's not NULL.
36391 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36393         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36394         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36395         magic __ehdr_start linker symbol if it's defined.
36396         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36397         them up here if it was already done.
36399         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36400         (_dl_aux_init): Use const in cast when setting it.
36401         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36402         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36403         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36405         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36406         Declare them here.
36407         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36408         * csu/libc-tls.c: Nor here.
36409         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36411         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36412         (__libc_message): Never call vsyslog.
36414 2013-03-28  Alan Modra  <amodra@gmail.com>
36416         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36417         Define as empty.
36418         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36419         Likewise.
36421 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36423         [BZ #15214]
36424         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36425         underflow.
36426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36428 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36430         [BZ #15304]
36431         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36432         Don't add gid passed as argument.
36434         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36436 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36438         [BZ #15307]
36439         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36440         imaginary part between 1.0 and 1.5 and real part less than 0.5
36441         specially.
36442         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36443         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36444         * math/libm-test.inc (cacos_test): Add more tests.
36445         (casin_test): Likewise.
36446         (casinh_test): Likewise.
36447         * sysdeps/i386/fpu/libm-test-ulps: Update.
36448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36450 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36452         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36453         constants.
36454         (norm): Likewise.
36455         (denorm): Likewise.
36456         (__dbl_mp): Likewise.
36457         (add_magnitudes): Likewise.
36458         (sub_magnitudes): Likewise.
36459         (__add): Likewise.
36460         (__sub): Likewise.
36461         (__mul): Likewise.
36462         (__sqr): Likewise.
36463         (__inv): Likewise.
36464         (__dvd): Likewise.
36466         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36467         commented code.
36468         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36469         (__dubcos): Likewise.
36470         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36471         (__ieee754_acos): Likewise.
36472         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36473         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36474         (__exp1): Likewise.
36475         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36476         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36477         (log1): Likewise.
36478         (my_log2): Likewise.
36479         (checkint): Likewise.
36480         * sysdeps/ieee754/dbl-64/e_remainder.c
36481         (__ieee754_remainder): Likewise.
36482         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36483         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36484         (bsloww): Likewise.
36485         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36487         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36488         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36489         MANTISSA_STORE_T to store computations on mantissa.  Use
36490         macros for rounding and division.
36491         (denorm): Likewise.
36492         (__dbl_mp): Likewise.
36493         (add_magnitudes): Likewise.
36494         (sub_magnitudes): Likewise.
36495         (__mul): Likewise.
36496         (__sqr): Likewise.
36497         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36498         powers of two in terms of TWOPOW macro.
36499         (mp_no): Make type of mantissa as MANTISSA_T.
36500         [!RADIXI]: Define RADIXI.
36501         [!TWO52]: Define TWO52.
36502         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36504 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36506         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36507         llroundl symbol when building for PPC32.
36509 2013-03-24  Mark H Weaver  <mhw@netris.org>
36511         * manual/arith.texi (Normalization Functions): Fix prototypes for
36512         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36514 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36516         [BZ #13889]
36517         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36518         high value to check if expl overflow.
36519         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36520         to check for underflow and overflow.
36521         * math/libm-test.inc: Add exp test.
36523 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36525         [BZ #11120]
36526         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36527         with NOT_IN_libc.
36529 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36531         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36532         symbol.
36534 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36536         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36537         wrap blocks consisting of several statements.
36539         * sysdeps/generic/math-tests.h: New file.
36540         * sysdeps/i386/fpu/math-tests.h: Likewise.
36541         * math/test-snan.c: Include it.
36542         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36544 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36546         [BZ #15285]
36547         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36548         (__ieee754_j0l): Do not improve calculations using cos of twice
36549         input for inputs above LDBL_MAX / 2.0L.
36550         (__ieee754_y0l): Likewise.
36551         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36552         (__ieee754_j1l): Do not improve calculations using cos of twice
36553         input for inputs above LDBL_MAX / 2.0L.
36554         (__ieee754_y1l): Likewise.
36555         * math/libm-test.inc (j0_test): Add another test.
36556         (j1_test): Likewise.
36557         (y0_test): Likewise.
36558         (y1_test): Likewise.
36559         * sysdeps/i386/fpu/libm-test-ulps: Update.
36561 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36563         * Rules ($(objpfx)bench-%.c): Include code from a C source
36564         file.
36566 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36568         [BZ #15287]
36569         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36570         imaginary part 1.0 and real part less than 0.5 specially.
36571         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36572         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36573         * math/libm-test.inc (cacos_test): Add more tests.
36574         (casin_test): Likewise.
36575         (casinh_test): Likewise.
36576         * sysdeps/i386/fpu/libm-test-ulps: Update.
36577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36579 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36581         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36582         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36584 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36586         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36587         * config.make.in (config-cflags-sse4): Remove variable.
36588         (config-cflags-avx): Likewise.
36589         (config-cflags-sse2avx): Likewise.
36590         (config-cflags-novzeroupper): Likewise.
36591         (config-asflags-i686): Likewise.
36592         (have-mfma4): Likewise.
36593         (have-as-vis3): Likewise.
36594         (MIG): Likewise.
36595         * configure.in (MIG): Do not AC_SUBST.
36596         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36597         (libc_cv_cc_sse4): Do not AC_SUBST.
36598         (libc_cv_cc_avx): Likewise.
36599         (libc_cv_cc_sse2avx): Likewise.
36600         (libc_cv_cc_novzeroupper): Likewise.
36601         (libc_cv_cc_fma4): Likewise.
36602         (libc_cv_as_i686): Likewise.
36603         (libc_cv_sparc_as_vis3): Likewise.
36604         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36605         LIBC_CONFIG_VAR.
36606         (config-asflags-i686): Likewise.
36607         (config-cflags-avx): Likewise.
36608         (config-cflags-sse2avx): Likewise.
36609         (have-mfma4): Likewise.
36610         (config-cflags-novzeroupper): Likewise.
36611         * sysdeps/mach/configure.in (MIG): Likewise.
36612         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36613         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36614         LIBC_CONFIG_VAR.
36615         (config-cflags-avx): Likewise.
36616         (config-cflags-sse2avx): Likewise.
36617         (have-mfma4): Likewise.
36618         (config-cflags-novzeroupper): Likewise.
36619         * configure: Regenerated.
36620         * sysdeps/i386/configure: Likewise.
36621         * sysdeps/mach/configure: Likewise.
36622         * sysdeps/sparc/configure: Likewise.
36623         * sysdeps/x86_64/configure: Likewise.
36625 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36627         [BZ #14812]
36628         * locale/programs/localedef.c (options): Put N_ translation marker
36629         on argument names, not just descriptions.
36631 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36633         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36635 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36637         [BZ #14176]
36638         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36640 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36642         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36643         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36644         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36645         [!BEFORE_ABORT] (before_abort): New function.
36646         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36647         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36648         (writev_for_fatal): New function.
36649         (WRITEV_FOR_FATAL): New macro; call that.
36650         (backtrace_and_maps): New function.
36651         (BEFORE_ABORT): New macro; call that.
36652         (struct str_list): Type removed.
36653         (__libc_message, __libc_fatal): Functions removed.
36654         Include <sysdeps/posix/libc_fatal.c> instead.
36656 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36658         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36659         constants.
36660         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36661         double constants.
36663 2013-03-19  Andreas Schwab  <schwab@suse.de>
36665         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36666         * sysdeps/gnu/configure: Regenerate.
36668         * configure.in: Substitute libc_cv_rtlddir.
36669         * configure: Regenerate.
36670         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36671         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36672         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36673         * elf/Makefile (install-others, CFLAGS-interp.c)
36674         (ldso_install, common-ldd-rewrite): Likewise.
36675         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36676         $(inst_slibdir)/$(rtld-installed-name).
36677         * scripts/rellns-sh: Add -p option.
36678         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36679         for source.
36681 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36683         * manual/nptl.texi: Renamed to ...
36684         * manual/threads.texi: ... this.
36685         * manual/Makefile (chapters): Update.
36687 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36689         [BZ #14812]
36690         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36691         on argument names, not just descriptions.
36692         * malloc/memusagestat.c (options): Likewise.
36693         * nss/getent.c (options): Likewise.
36695 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36697         [BZ #14812]
36698         * iconv/iconv_prog.c (options): Put N_ translation marker
36699         on argument names, not just descriptions.
36700         * iconv/iconvconfig.c (options): Likewise.
36702 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36704         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36705         implementation which is faster on all x86_64 architectures.
36706         Tested on AMD, Intel Nehalem, SNB, IVB.
36707         * sysdeps/x86_64/strnlen.S: Likewise.
36709         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36710         Remove all multiarch strlen and strnlen versions.
36711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36712         Remove strlen and strnlen related parts.
36714         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36715         Inline strlen part.
36716         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36718         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36719         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36720         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36721         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36722         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36723         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36725 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36727         * manual/memory.texi (Malloc Tunable Parameters):
36728         Sort parameters alphabetically. Add comments for missing entries.
36730 2013-03-17  David S. Miller  <davem@davemloft.net>
36732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36734 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36736         [BZ #15283]
36737         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36738         for arguments at most half maximum finite value.
36739         * math/libm-test.inc (j0_test): Add more tests.
36740         (j1_test): Likewise.
36741         (y0_test): Likewise.
36742         (y1_test): Likewise.
36743         * sysdeps/i386/fpu/libm-test-ulps: Update.
36744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36746         [BZ #14155]
36747         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36748         1 / x and functions P and Q for arguments above 0x1p256L.
36749         (__ieee754_y0l): Likewise.
36750         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36751         (__ieee754_y1l): Likewise.
36752         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36753         (j1_test): Likewise.
36754         (y0_test): Likewise.
36755         (y1_test): Likewise.
36757 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36759         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36760         variable.
36762 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36764         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36765         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36766         zero since it's initialized to EXEC_PAGESIZE.
36768         * sysdeps/unix/sysv/linux/ldsodefs.h
36769         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36770         * sysdeps/generic/ldsodefs.h: ... here.
36772 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36774         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36776         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36777         math/test-snan.c.
36778         * math/test-snan.c: Renamed from
36779         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36780         * math/Makefile (tests): Add test-snan.
36781         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36782         test-powerpc-snan.
36784         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36785         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36786         functions.
36787         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36788         __builtin_nan family of functions.
36789         * math/libm-test.inc (initialize): Initialize qnan_value with
36790         __builtin_nan family of functions.
36791         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36792         Remove variables.
36793         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36794         Remove functions.
36795         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36796         storage class.  Initialize qNaN_var and sNaN_var with
36797         __builtin_nan and __builtin_nans families of functions,
36798         respectively.
36800         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36801         (sqrt_test): Remove duplicate test with qNaN input.
36802         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36803         (round_test, signbit_test, significand_test): Note missing +/-Inf
36804         as well as qNaN tests.
36806         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36807         qNaN_var.  Fix a few strings, too.
36808         * math/libm-test.inc (nan_value): Rename to qnan_value.
36809         * math/gen-libm-test.pl (%beautify): Adjust to that.
36810         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36811         * math/test-misc.c (main): Likewise.
36812         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36813         to __qnan_bytes, and __qnan_union, respectively.
36814         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36815         Likewise.
36816         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36817         and lqnanval, respectively.
36818         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36819         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36820         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36821         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36823         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36824         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36825         doubles.
36827         * math/test-misc.c (main): Fix copy'n'pastos.
36828         * misc/tst-efgcvt.c (special): Likewise.
36830         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36831         Remove declarations.
36833 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36835         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36836         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36837         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36838         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36840 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36842         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36843         macro to return vdso values correctly in IFUNC implementations.
36844         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36845         Optimization by using IFUNC.
36847 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36848             Richard Henderson  <rth@redhat.com>
36849             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36851         * Makefile.in (bench): New target.
36852         * NEWS: Mention the benchmark framework.
36853         * Rules (bench): Likewise.
36854         (binaries-bench): Generate binaries for functions to
36855         benchmark.
36856         * benchtests/Makefile: New makefile for benchmark tests.
36857         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36858         programs.
36859         * benchtests/exp-inputs: New input file for EXP function.
36860         * benchtests/pow-inputs: New input file for POW function.
36861         * scripts/bench.pl: New script to generate source files for
36862         benchmark programs.
36864 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36866         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36867         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36868         computations on mantissa.  Use macros for rounding and
36869         division.
36870         (denorm): Likewise.
36871         (__dbl_mp): Likewise.
36872         (add_magnitudes): Likewise.
36873         (sub_magnitudes): Likewise.
36874         (__mul): Likewise.
36875         (__sqr): Likewise.
36876         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36877         powers of two in terms of TWOPOW macro.
36878         (mp_no): Make type of mantissa as MANTISSA_T.
36879         [!RADIXI]: Define RADIXI.
36880         [!TWO52]: Define TWO52.
36881         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36883         * manual/nptl.texi (cindex): Modify threads to pthreads.
36885 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36887         * sysdeps/x86_64/preconfigure: Regenerated.
36889 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36891         [BZ #14155]
36892         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36893         0x1p28 and above.
36894         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36895         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36896         0x1p28 and above.
36897         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36898         * math/libm-test.inc (j0_test): Do not allow one spurious
36899         underflow exception.
36900         (y1_test): Likewise.
36902 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36904         * manual/Makefile (chapters): Add nptl.
36905         * manual/debug.texi (Debugging Support): Add link to Threads
36906         chapter.
36907         * manual/nptl.texi: New file.
36909         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36911 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36913         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36914         for non-NULL pointer before the memory validity test. Pointed
36915         out by Holger Brunck <holger.brunck@keymile.com>.
36917 2013-03-13  Andreas Schwab  <schwab@suse.de>
36919         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36920         instead of .os.
36922 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36924         * timezone/zic.c: Update from tzcode 2013b.
36926 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36928         * manual/install.texi (Configuring and compiling):
36929         Mention i686 and i586.
36930         * INSTALL: Regenerate.
36932 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36934         * sysdeps/init_array/elf-init.c: New file.
36935         * csu/elf-init.c
36936         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36937         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36939         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36940         __gmon_start__ as global, but as static with a .preinit_array pointer.
36941         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36942         * sysdeps/init_array/crti.S: New file, empty except for comments.
36943         * sysdeps/init_array/crtn.S: Likewise.
36945 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36947         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36948         definining bcopy.
36949         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36950         Remove Prefer_SSE_for_memop.
36951         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36952         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36953         HAS_PREFER_SSE_FOR_MEMOP.
36954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36955         memset-x86-64.
36956         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36957         Remove bzero, memset ifunc support.
36958         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36959         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36960         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36961         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36963 2013-03-11  Andreas Schwab  <schwab@suse.de>
36965         [BZ #15234]
36966         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36967         by SHLIB_COMPAT.
36968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36969         (GLIBC_2.16): Remove pthread_atfork.
36971 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36973         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36974         (ptestcases.h): Likewise.
36976 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36978         * Makeconfig ($(common-objpfx)config.status): Depend on
36979         sysdeps/*/preconfigure{,.in} too.
36981 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36983         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36984         (__free_hook): Use void * instead of __malloc_ptr_t.
36985         (__malloc_hook): Likewise.
36986         (__realloc_hook): Likewise.
36987         (__memalign_hook): Likewise.
36988         (__after_morecore_hook): Likewise.
36989         * malloc/arena.c (save_malloc_hook): Likewise.
36990         (save_free_hook): Likewise.
36991         * malloc/hooks.c (malloc_hook_ini): Likewise.
36992         (realloc_hook_ini): Likewise.
36993         (memalign_hook_ini): Likewise.
36994         * malloc/malloc.c (malloc_hook_ini): Likewise.
36995         (realloc_hook_ini): Likewise.
36996         (memalign_hook_ini): Likewise.
36997         (__free_hook): Likewise.
36998         (__malloc_hook): Likewise.
36999         (__realloc_hook): Likewise.
37000         (__memalign_hook): Likewise.
37001         (__libc_malloc): Likewise.
37002         (__libc_free): Likewise.
37003         (__libc_realloc): Likewise.
37004         (__libc_memalign): Likewise.
37005         (__libc_valloc): Likewise.
37006         (__libc_pvalloc): Likewise.
37007         (__libc_calloc): Likewise.
37008         (__posix_memalign): Likewise.
37009         * malloc/morecore.c (__sbrk): Likewise.
37010         (__default_morecore): Likewise.
37012         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37014         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37015         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37016         __malloc_ptrdiff_t.
37018         * malloc/malloc.h (__malloc_size_t): Remove macro.
37019         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37020         __malloc_size_t.
37021         (old_memalign_hook): Likewise.
37022         (old_realloc_hook): Likewise.
37023         (struct hdr): Likewise.
37024         (flood): Likewise.
37025         (mallochook): Likewise.
37026         (memalignhook): Likewise.
37027         (reallochook): Likewise.
37028         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37029         (tr_old_realloc_hook): Likewise.
37030         (tr_old_memalign_hook): Likewise.
37031         (tr_mallochook): Likewise.
37032         (tr_reallochook): Likewise.
37033         (tr_memalignhook): Likewise.
37035 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37037         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37038         default_ldbl_pack and using as default implementation.
37039         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37040         implementation.
37041         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37042         redundant definition.
37043         (ldbl_insert_mantissa): Likewise.
37044         (ldbl_canonicalize): Likewise.
37045         (ldbl_nearbyint): Likewise.
37046         (ldbl_pack): Rename to ldbl_pack_ppc.
37047         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37048         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37049         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37051 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37053         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37054         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37055         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37056         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37058         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37059         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37060         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37062 2013-03-07  Andreas Jaeger  <aj@suse.de>
37064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37065         bits/mman-linux.h.
37067 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37069         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37070         Include mpa.h and declare __MPEXP.
37071         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37072         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37073         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37074         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37075         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37076         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37077         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37079         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37080         (__slowpow): Use long double EXPL and LOGL functions to
37081         compute POW.
37082         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37083         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37084         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37085         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37086         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37087         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37090         intermediate variable to calculate exponent.
37091         (__sqr): Likewise.
37092         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37093         Likewise.
37094         (__sqr): Likewise.
37096         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37097         [!NO__SQR]: Define __sqr.
37098         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37099         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37100         sysdeps/ieee754/dbl-64/mpa.c.
37101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37103         [BZ #12723]
37104         * posix/Makefile (tests): Add tst-pathconf.
37105         * posix/tst-pathconf.c: New test case.
37106         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37107         _PC_PIPE_BUF.
37108         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37110 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37112         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37114 2013-03-06  Andreas Jaeger  <aj@suse.de>
37116         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37117         definition via __MAP_ANONYMOUS.
37119         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37120         it's not part of Linux headers.
37122         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37123         (MAP_HUGE_MASK): Define.
37125         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37126         Define.
37127         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37128         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37129         Define.
37130         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37131         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37132         Define.
37133         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37134         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37135         Define.
37136         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37138         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37139         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37140         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37141         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37142         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37143         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37145         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37146         Handle f2fs.
37148         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37149         Handle f2fs and efivarfs.
37151         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37152         f2fs.
37154         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37155         (EFIVARFS_MAGIC): Add.
37156         (F2FS_LINK_MAX): Add.
37158 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37160         * stdio-common/vfprintf.c: Replace __builtin_expect with
37161         __glibc_unlikely.
37163 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37165         [BZ #13550]
37166         * sysdeps/generic/bp-sym.h: Remove file.
37167         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37168         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37169         <bp-sym.h> and <bp-asm.h>.
37170         (__longjmp): Don't use BP_SYM.
37171         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37172         and <bp-asm.h>.
37173         (memcpy): Don't use BP_SYM.
37174         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37175         <bp-sym.h> and <bp-asm.h>.
37176         (memcpy): Don't use BP_SYM.
37177         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37178         <bp-asm.h>.
37179         (memcpy): Don't use BP_SYM.
37180         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37181         <bp-asm.h>.
37182         (memset): Don't use BP_SYM.
37183         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37184         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37185         (__bzero): Don't use BP_SYM.
37186         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37187         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37188         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37189         <bp-sym.h> and <bp-asm.h>.
37190         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37191         pointers.
37192         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37193         <bp-sym.h> and <bp-asm.h>.
37194         (memcpy): Don't use BP_SYM.
37195         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37196         <bp-sym.h> and <bp-asm.h>.
37197         (memset): Don't use BP_SYM.
37198         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37199         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37200         (__bzero): Don't use BP_SYM.
37201         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37202         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37203         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37204         <bp-sym.h> and <bp-asm.h>.
37205         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37206         pointers.
37207         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37208         <bp-sym.h> and <bp-asm.h>.
37209         (memcpy): Don't use BP_SYM.
37210         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37211         <bp-sym.h> and <bp-asm.h>.
37212         (memset): Don't use BP_SYM.
37213         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37214         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37215         (__bzero): Don't use BP_SYM.
37216         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37217         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37218         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37219         <bp-sym.h> and <bp-asm.h>.
37220         (__memchr): Don't use BP_SYM.
37221         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37222         <bp-sym.h> and <bp-asm.h>.
37223         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37224         pointers.
37225         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37226         <bp-sym.h> and <bp-asm.h>.
37227         (memcpy): Don't use BP_SYM.
37228         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37229         <bp-sym.h> and <bp-asm.h>.
37230         (__mempcpy): Don't use BP_SYM.
37231         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37232         <bp-sym.h> and <bp-asm.h>.
37233         (__memrchr): Don't use BP_SYM.
37234         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37235         <bp-sym.h> and <bp-asm.h>.
37236         (memset): Don't use BP_SYM.
37237         (__bzero): Likewise.
37238         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37239         <bp-sym.h> and <bp-asm.h>.
37240         (__rawmemchr): Don't use BP_SYM.
37241         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37242         <bp-sym.h> and <bp-asm.h>.
37243         (__STRCMP): Don't use BP_SYM.
37244         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37245         <bp-sym.h> and <bp-asm.h>.
37246         (strchr): Don't use BP_SYM.
37247         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37248         <bp-sym.h> and <bp-asm.h>.
37249         (__strchrnul): Don't use BP_SYM.
37250         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37251         <bp-sym.h> and <bp-asm.h>.
37252         (strlen): Don't use BP_SYM.
37253         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37254         <bp-sym.h> and <bp-asm.h>.
37255         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37256         pointers.
37257         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37258         <bp-sym.h> and <bp-asm.h>.
37259         (__strnlen): Don't use BP_SYM.
37260         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37261         <bp-sym.h> and <bp-asm.h>.
37262         (__GI__setjmp): Don't use BP_SYM.
37263         (_setjmp): Likewise.
37264         (__sigsetjmp): Likewise.
37265         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37266         (L(start_addresses)): Don't use BP_SYM.
37267         (_start): Likewise.
37268         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37269         <bp-asm.h>.
37270         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37271         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37272         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37273         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37274         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37275         <bp-asm.h>.
37276         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37277         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37278         about bounded pointers.
37279         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37280         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37281         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37282         <bp-asm.h>.
37283         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37284         about bounded pointers.  Remove GKM FIXME comments.
37285         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37286         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37287         <bp-asm.h>.
37288         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37289         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37290         Remove GKM FIXME comments.
37291         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37292         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37293         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37294         <bp-asm.h>.
37295         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37296         about bounded pointers.  Remove GKM FIXME comment.
37297         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37298         and <bp-asm.h>.
37299         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37300         pointers.
37301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37302         <bp-sym.h> and <bp-asm.h>.
37303         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37305         <bp-sym.h> and <bp-asm.h>.
37306         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37307         comment.
37309 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37311         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37312         call free(NULL).
37314 2013-03-05  David S. Miller  <davem@davemloft.net>
37316         * po/es.po: Update from translation team.
37318 2013-03-05  Andreas Jaeger  <aj@suse.de>
37320         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37321         <bits/mman-linux.h>.
37322         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37323         is fine.
37324         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37325         <bits/mman-linux.h> to end of file.
37326         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37327         is fine.
37328         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37329         <bits/mman-linux.h> to end of file.
37330         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37331         is fine.
37332         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37333         <bits/mman-linux.h> to end of file.
37335         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37336         (MCL_CURRENT, MCL_FUTURE): Define here.
37338 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37340         [BZ #15232]
37341         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37342         attribute_hidden.
37343         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37345 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37347         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37348         fourth parameter needed for rt_sigprocmask syscall.
37349         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37350         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37351         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37352         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37353         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37354         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37356 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37358         [BZ #13550]
37359         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37360         comment about bounded pointers.
37361         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37362         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37364 2013-03-04  Andreas Jaeger  <aj@suse.de>
37366         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37367         common definitions.
37369         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37370         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37371         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37372         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37373         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37374         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37376 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37378         [BZ #15055]
37379         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37380         __ieee754_sqrl instead of __sqrl.
37382 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37384         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37385         * sysdeps/powerpc/fpu_control.h: ... here.
37386         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37387         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37388         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37389         * sysdeps/powerpc/bits/mathinline.h: ... here.
37391 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37393         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37394         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37395         to just [NEED_DL_SYSINFO_DSO].
37396         * elf/dl-support.c: Likewise.
37397         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37398         * elf/rtld.c (dl_main): Likewise.
37399         * elf/setup-vdso.h (setup_vdso): Likewise.
37400         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37401         * sysdeps/unix/sysv/linux/dl-sysdep.c
37402         (_dl_discover_osversion): Likewise.
37404 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37406         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37407         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37409 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37411         * NEWS: Mention libm performance improvements and non-x86 PI
37412         futex support.
37414         * csu/libc-start.c (__pthread_initialize_minimal): Change
37415         function arguments.
37416         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37418 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37420         [BZ #13550]
37421         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37422         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37423         <bp-sym.h> and <bp-asm.h>.
37424         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37425         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37426         and <bp-asm.h>.
37427         (memcpy): Don't use BP_SYM.
37428         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37429         <bp-asm.h>.
37430         (__mpn_add_n): Don't use BP_SYM.
37431         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37432         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37433         and <bp-asm.h>.
37434         (__mpn_addmul_1): Don't use BP_SYM.
37435         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37436         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37437         <bp-sym.h>.
37438         (_setjmp): Don't use BP_SYM.
37439         (__novmx_setjmp): Likewise.
37440         (__GI__setjmp): Likewise.
37441         (__vmx_setjmp): Likewise.
37442         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37443         <bp-sym.h>.
37444         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37445         (__bzero): Don't use BP_SYM.
37446         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37447         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37448         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37449         <bp-sym.h> and <bp-asm.h>.
37450         (memcpy): Don't use BP_SYM.
37451         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37452         <bp-sym.h> and <bp-asm.h>.
37453         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37454         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37455         <bp-sym.h> and <bp-asm.h>.
37456         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37457         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37458         <bp-asm.h>.
37459         (__mpn_lshift): Don't use BP_SYM.
37460         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37461         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37462         <bp-asm.h>.
37463         (memset): Don't use BP_SYM.
37464         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37465         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37466         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37467         <bp-asm.h>.
37468         (__mpn_mul_1): Don't use BP_SYM.
37469         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37470         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37471         <bp-sym.h> and <bp-asm.h>.
37472         (memcmp): Don't use BP_SYM.
37473         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37474         <bp-sym.h> and <bp-asm.h>.
37475         (memcpy): Don't use BP_SYM.
37476         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37477         <bp-sym.h> and <bp-asm.h>.
37478         (memset): Don't use BP_SYM.
37479         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37480         <bp-sym.h> and <bp-asm.h>.
37481         (strncmp): Don't use BP_SYM.
37482         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37483         <bp-sym.h> and <bp-asm.h>.
37484         (memcpy): Don't use BP_SYM.
37485         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37486         <bp-sym.h> and <bp-asm.h>.
37487         (memset): Don't use BP_SYM.
37488         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37489         <bp-sym.h> and <bp-asm.h>.
37490         (__memchr): Don't use BP_SYM.
37491         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37492         <bp-sym.h> and <bp-asm.h>.
37493         (memcmp): Don't use BP_SYM.
37494         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37495         <bp-sym.h> and <bp-asm.h>.
37496         (memcpy): Don't use BP_SYM.
37497         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37498         <bp-sym.h> and <bp-asm.h>.
37499         (__mempcpy): Don't use BP_SYM.
37500         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37501         <bp-sym.h> and <bp-asm.h>.
37502         (__memrchr): Don't use BP_SYM.
37503         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37504         <bp-sym.h> and <bp-asm.h>.
37505         (memset): Don't use BP_SYM.
37506         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37507         <bp-sym.h> and <bp-asm.h>.
37508         (__rawmemchr): Don't use BP_SYM.
37509         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37510         <bp-sym.h> and <bp-asm.h>.
37511         (__STRCMP): Don't use BP_SYM.
37512         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37513         <bp-sym.h> and <bp-asm.h>.
37514         (strchr): Don't use BP_SYM.
37515         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37516         <bp-sym.h> and <bp-asm.h>.
37517         (__strchrnul): Don't use BP_SYM.
37518         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37519         <bp-sym.h> and <bp-asm.h>.
37520         (strlen): Don't use BP_SYM.
37521         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37522         <bp-sym.h> and <bp-asm.h>.
37523         (strncmp): Don't use BP_SYM.
37524         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37525         <bp-sym.h> and <bp-asm.h>.
37526         (__strnlen): Don't use BP_SYM.
37527         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37528         <bp-asm.h>.
37529         (__mpn_rshift): Don't use BP_SYM.
37530         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37531         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37532         <bp-sym.h> and <bp-asm.h>.
37533         (__sigsetjmp): Don't use BP_SYM.
37534         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37535         (L(start_addresses)): Don't use BP_SYM.
37536         (_start): Likewise.
37537         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37538         <bp-asm.h>.
37539         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37540         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37541         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37542         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37543         <bp-asm.h>.
37544         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37545         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37546         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37547         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37548         <bp-asm.h>.
37549         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37550         comments.
37551         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37552         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37553         <bp-asm.h>.
37554         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37555         FIXME comments.
37556         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37557         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37558         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37559         <bp-asm.h>.
37560         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37561         comment.
37562         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37563         and <bp-asm.h>.
37564         (strncmp): Don't use BP_SYM,
37565         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37566         <bp-asm.h>.
37567         (__mpn_sub_n): Don't use BP_SYM.
37568         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37569         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37570         and <bp-asm.h>.
37571         (__mpn_submul_1): Don't use BP_SYM.
37572         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37574         <bp-sym.h> and <bp-asm.h>.
37575         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37577         <bp-sym.h> and <bp-asm.h>.
37578         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37579         comment.
37581 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37584         Use ZK to minimize writes to Z.
37585         (sub_magnitudes): Simplify code a bit.
37586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37587         Use ZK to minimize writes to Z.
37588         (sub_magnitudes): Simplify code a bit.
37590 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37592         * csu/gmon-start.c: Add special exception to license text.
37594 2013-02-27  Richard Henderson  <rth@redhat.com>
37596         * scripts/config.guess: Update from config.git.
37597         * scripts/config.sub: Likewise.
37599 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37601         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37603         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37605         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37607         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37609         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37611 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37613         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37614         [$(build-shared = yes].
37616 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37618         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37619         (__mul): Reduce iterations for calculating mantissa.
37621         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37622         MPTWO.
37623         (__mpranred): Likewise.
37625         [BZ #15160]
37626         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37627         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37629 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37631         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37632         Define __attribute__.
37634 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37636         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37637         unused.
37638         * posix/regex_internal.h (__attribute): Remove.
37639         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37640         (re_string_context_at): Likewise.
37641         (bitset_not): Use __attribute__ and mark function as possibly
37642         unused.
37643         (bitset_merge): Likewise.
37644         (bitset_mask): Likewise.
37645         (re_string_char_size_at): Likewise.
37646         (re_string_wchar_at): Likewise.
37647         (re_string_elem_size_at): Likewise.
37649 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37651         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37652         code.
37653         (cc32): Likewise.
37655         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37656         (__acr): Likewise.
37657         (__cpy): Likewise.
37658         (norm): Likewise.
37659         (denorm): Likewise.
37660         (__dbl_mp): Likewise.
37661         (add_magnitudes): Likewise.
37662         (sub_magnitudes): Likewise.
37663         (__mul): Likewise.
37664         (__inv): Likewise.
37666         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37667         style.
37669         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37670         style.
37672         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37673         code.
37675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37676         up changes with default code.
37677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37678         Likewise.
37680 2013-02-24  Allan McRae  <allan@archlinux.org>
37682         * manual/socket.texi (The Internet Namespace): Order menu items
37683         to match that in the file.
37685         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37686         node listing of the info page menu.
37688 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37690         [BZ #13550]
37691         * sysdeps/i386/bp-asm.h: Remove file.
37692         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37693         (PARMS): Do not use macros from bp-asm.h.
37694         (S1): Likewise.
37695         (S2): Likewise.
37696         (SIZE): Likewise.
37697         (__mpn_add_n): Do not use BP_SYM
37698         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37699         "bp-asm.h".
37700         (PARMS): Do not use macros from bp-asm.h.
37701         (S1): Likewise.
37702         (SIZE): Likewise.
37703         (__mpn_addmul_1): Do not use BP_SYM
37704         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37705         "bp-asm.h".
37706         (PARMS): Do not use macros from bp-asm.h.
37707         (SIGMSK): Likewise.
37708         (_setjmp): Likewise.  Do not use BP_SYM.
37709         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37710         "bp-asm.h".
37711         (PARMS): Do not use macros from bp-asm.h.
37712         (SIGMSK): Likewise.
37713         (setjmp): Likewise.  Do not use BP_SYM.
37714         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37715         "bp-asm.h".
37716         (PARMS): Do not use macros from bp-asm.h.
37717         (__frexp): Do not use BP_SYM.
37718         (frexp): Likewise.
37719         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37720         "bp-asm.h".
37721         (PARMS): Do not use macros from bp-asm.h.
37722         (__frexpf): Do not use BP_SYM.
37723         (frexpf): Likewise.
37724         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37725         "bp-asm.h".
37726         (PARMS): Do not use macros from bp-asm.h.
37727         (__frexpl): Do not use BP_SYM.
37728         (frexpl): Likewise.
37729         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37730         "bp-asm.h".
37731         (PARMS): Do not use macros from bp-asm.h.
37732         (__remquo): Do not use BP_SYM.
37733         (remquo): Likewise.
37734         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37735         "bp-asm.h".
37736         (PARMS): Do not use macros from bp-asm.h.
37737         (__remquof): Do not use BP_SYM.
37738         (remquof): Likewise.
37739         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37740         "bp-asm.h".
37741         (PARMS): Do not use macros from bp-asm.h.
37742         (__remquol): Do not use BP_SYM.
37743         (remquol): Likewise.
37744         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37745         "bp-asm.h".
37746         (PARMS): Do not use macros from bp-asm.h.
37747         (DEST): Likewise.
37748         (SRC): Likewise.
37749         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37750         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37751         "bp-asm.h".
37752         (PARMS): Do not use macros from bp-asm.h.
37753         (strlen): Do not use BP_SYM.
37754         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37755         "bp-asm.h".
37756         (PARMS): Do not use macros from bp-asm.h.
37757         (S1): Likewise.
37758         (S2): Likewise.
37759         (SIZE): Likewise.
37760         (__mpn_add_n): Do not use BP_SYM.
37761         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37762         "bp-asm.h".
37763         (PARMS): Do not use macros from bp-asm.h.
37764         (S1): Likewise.
37765         (SIZE): Likewise.
37766         (__mpn_addmul_1): Do not use BP_SYM.
37767         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37768         weak_alias.
37769         (bzero): Likewise.
37770         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37771         "bp-asm.h".
37772         (PARMS): Do not use macros from bp-asm.h.
37773         (S): Likewise.
37774         (SIZE): Likewise.
37775         (__mpn_lshift): Do not use BP_SYM.
37776         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37777         "bp-asm.h".
37778         (PARMS): Do not use macros from bp-asm.h.
37779         (DEST): Likewise.
37780         (SRC): Likewise.
37781         (LEN): Likewise.
37782         (memcpy): Likewise.  Do not use BP_SYM.
37783         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37784         libc_hidden_def and weak_alias.
37785         (mempcpy): Do not use BP_SYM in weak_alias.
37786         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37787         "bp-asm.h".
37788         (PARMS): Do not use macros from bp-asm.h.
37789         (DEST): Likewise.
37790         (LEN): Likewise.
37791         [!BZERO_P] (CHR): Likewise.
37792         (memset): Likewise.  Do not use BP_SYM.
37793         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37794         "bp-asm.h".
37795         (PARMS): Do not use macros from bp-asm.h.
37796         (S1): Likewise.
37797         (SIZE): Likewise.
37798         (__mpn_mul_1): Do not use BP_SYM.
37799         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37800         "bp-asm.h".
37801         (PARMS): Do not use macros from bp-asm.h.
37802         (S): Likewise.
37803         (SIZE): Likewise.
37804         (__mpn_rshift): Do not use BP_SYM.
37805         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37806         "bp-asm.h".
37807         (PARMS): Do not use macros from bp-asm.h.
37808         (STR): Likewise.
37809         (CHR): Likewise.
37810         (strchr): Likewise.  Do not use BP_SYM.
37811         (index): Do not use BP_SYM in weak_alias.
37812         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37813         "bp-asm.h".
37814         (PARMS): Do not use macros from bp-asm.h.
37815         (DEST): Likewise.
37816         (SRC): Likewise.
37817         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37818         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37819         "bp-asm.h".
37820         (PARMS): Do not use macros from bp-asm.h.
37821         (strlen): Do not use BP_SYM.
37822         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37823         "bp-asm.h".
37824         (PARMS): Do not use macros from bp-asm.h.
37825         (S1): Likewise.
37826         (S2): Likewise.
37827         (SIZE): Likewise.
37828         (__mpn_sub_n): Do not use BP_SYM.
37829         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37830         "bp-asm.h".
37831         (PARMS): Do not use macros from bp-asm.h.
37832         (S1): Likewise.
37833         (SIZE): Likewise.
37834         (__mpn_submul_1): Do not use BP_SYM.
37835         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37836         "bp-asm.h".
37837         (PARMS): Do not use macros from bp-asm.h.
37838         (S1): Likewise.
37839         (S2): Likewise.
37840         (SIZE): Likewise.
37841         (__mpn_add_n): Do not use BP_SYM.
37842         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37843         weak_alias.
37844         (bzero): Likewise.
37845         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37846         "bp-asm.h".
37847         (PARMS): Do not use macros from bp-asm.h.
37848         (BLK2): Likewise.
37849         (LEN): Likewise.
37850         (memcmp): Do not use BP_SYM.
37851         (bcmp): Do not use BP_SYM in weak_alias.
37852         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37853         "bp-asm.h".
37854         (PARMS): Do not use macros from bp-asm.h.
37855         (DEST): Likewise.
37856         (SRC): Likewise.
37857         (LEN): Likewise.
37858         (memcpy): Likewise.  Do not use BP_SYM.
37859         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37860         "bp-asm.h".
37861         (PARMS): Do not use macros from bp-asm.h.
37862         (DEST): Likewise.
37863         (SRC): Likewise.
37864         (LEN): Likewise.
37865         (memmove): Likewise.  Do not use BP_SYM.
37866         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37867         "bp-asm.h".
37868         (PARMS): Do not use macros from bp-asm.h.
37869         (DEST): Likewise.
37870         (SRC): Likewise.
37871         (LEN): Likewise.
37872         (__mempcpy): Likewise.  Do not use BP_SYM.
37873         (mempcpy): Do not use BP_SYM in weak_alias.
37874         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37875         "bp-asm.h".
37876         (PARMS): Do not use macros from bp-asm.h.
37877         (DEST): Likewise.
37878         (LEN): Likewise.
37879         [!BZERO_P] (CHR): Likewise.
37880         (memset): Likewise.  Do not use BP_SYM.
37881         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37882         "bp-asm.h".
37883         (PARMS): Do not use macros from bp-asm.h.
37884         (STR2): Likewise.
37885         (strcmp): Do not use BP_SYM.
37886         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37887         "bp-asm.h".
37888         (PARMS): Do not use macros from bp-asm.h.
37889         (STR): Likewise.
37890         (DELIM): Likewise.
37891         [USE_AS_STRTOK_R] (SAVE): Likewise.
37892         (FUNCTION): Likewise.  Do not use BP_SYM.
37893         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37894         aliases.
37895         (strtok_r): Likewise.
37896         (__GI___strtok_r): Likewise.
37897         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37898         (PARMS): Do not use macros from bp-asm.h.
37899         (S): Likewise.
37900         (SIZE): Likewise.
37901         (__mpn_lshift): Do not use BP_SYM.
37902         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37903         (PARMS): Do not use macros from bp-asm.h.
37904         (STR): Likewise.
37905         (CHR): Likewise.
37906         (__memchr): Do not use BP_SYM.
37907         (memchr): Do not use BP_SYM in weak_alias.
37908         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37909         (PARMS): Do not use macros from bp-asm.h.
37910         (BLK2): Likewise.
37911         (LEN): Likewise.
37912         (memcmp): Do not use BP_SYM.
37913         (bcmp): Do not use BP_SYM in weak_alias.
37914         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37915         (PARMS): Do not use macros from bp-asm.h.
37916         (S1): Likewise.
37917         (SIZE): Likewise.
37918         (__mpn_mul_1): Do not use BP_SYM.
37919         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37920         "bp-asm.h".
37921         (PARMS): Do not use macros from bp-asm.h.
37922         (STR): Likewise.
37923         (CHR): Likewise.
37924         (__rawmemchr): Do not use BP_SYM.
37925         (rawmemchr): Do not use BP_SYM in weak_alias.
37926         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37927         (PARMS): Do not use macros from bp-asm.h.
37928         (S): Likewise.
37929         (SIZE): Likewise.
37930         (__mpn_rshift): Do not use BP_SYM.
37931         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37932         (PARMS): Do not use macros from bp-asm.h.
37933         (SIGMSK): Likewise.
37934         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37935         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37936         (_start): Do not use BP_SYM.
37937         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37938         (PARMS): Do not use macros from bp-asm.h.
37939         (DEST): Likewise.
37940         (SRC): Likewise.
37941         (__stpcpy): Likewise.  Do not use BP_SYM.
37942         (stpcpy): Do not use BP_SYM in weak_alias.
37943         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37944         "bp-asm.h".
37945         (PARMS): Do not use macros from bp-asm.h.
37946         (DEST): Likewise.
37947         (SRC): Likewise.
37948         (LEN): Likewise.
37949         (__stpncpy): Likewise.  Do not use BP_SYM.
37950         (stpncpy): Do not use BP_SYM in weak_alias.
37951         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37952         (PARMS): Do not use macros from bp-asm.h.
37953         (STR): Likewise.
37954         (CHR): Likewise.
37955         (strchr): Likewise.  Do not use BP_SYM.
37956         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37957         "bp-asm.h".
37958         (PARMS): Do not use macros from bp-asm.h.
37959         (STR): Likewise.
37960         (CHR): Likewise.
37961         (__strchrnul): Likewise.  Do not use BP_SYM.
37962         (strchrnul): Do not use BP_SYM in weak_alias.
37963         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37964         "bp-asm.h".
37965         (PARMS): Do not use macros from bp-asm.h.
37966         (STOP): Likewise.
37967         (strcspn): Do not use BP_SYM.
37968         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37969         "bp-asm.h".
37970         (PARMS): Do not use macros from bp-asm.h.
37971         (STR): Likewise.
37972         (STOP): Likewise.
37973         (strpbrk): Likewise.  Do not use BP_SYM.
37974         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37975         "bp-asm.h".
37976         (PARMS): Do not use macros from bp-asm.h.
37977         (STR): Likewise.
37978         (CHR): Likewise.
37979         (strrchr): Likewise.  Do not use BP_SYM.
37980         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37981         (PARMS): Do not use macros from bp-asm.h.
37982         (SKIP): Likewise.
37983         (strspn): Do not use BP_SYM.
37984         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37985         (PARMS): Do not use macros from bp-asm.h.
37986         (STR): Likewise.
37987         (DELIM): Likewise.
37988         (SAVE): Likewise.
37989         (FUNCTION): Likewise.  Do not use BP_SYM.
37990         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37991         aliases.
37992         (strtok_r): Likewise.
37993         (__GI___strtok_r): Likewise.
37994         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37995         (PARMS): Do not use macros from bp-asm.h.
37996         (S1): Likewise.
37997         (S2): Likewise.
37998         (SIZE): Likewise.
37999         (__mpn_sub_n): Do not use BP_SYM.
38000         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38001         "bp-asm.h".
38002         (PARMS): Do not use macros from bp-asm.h.
38003         (S1): Likewise.
38004         (SIZE): Likewise.
38005         (__mpn_submul_1): Do not use BP_SYM.
38006         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38007         <bp-sym.h>.
38008         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38009         and <bp-asm.h>.
38010         (PARMS): Do not use macros from bp-asm.h.
38011         (FLAGS): Likewise.
38012         (PTID): Likewise.
38013         (TLS): Likewise.
38014         (CTID): Likewise.
38015         (__clone): Do not use BP_SYM.
38016         (clone): Do not use BP_SYM in weak_alias.
38017         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38018         and <bp-asm.h>.
38019         (PARMS): Do not use macros from bp-asm.h.
38020         (LEN): Likewise.
38021         (__mmap64): Do not use BP_SYM.
38022         (mmap64): Do not use BP_SYM in weak_alias.
38023         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38024         <bp-sym.h> and <bp-asm.h>.
38025         (PARMS): Do not use macros from bp-asm.h.
38026         (__posix_fadvise64_l64): Do not use BP_SYM.
38027         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38028         (PARMS): Do not use macros from bp-asm.h.
38029         (NSOPS): Likewise.
38030         (semtimedop): Do not use BP_SYM.
38031         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38032         and <bp-asm.h>.
38034 2013-02-21  Allan McRae  <allan@archlinux.org>
38036         * manual/message.texi (Charset conversion in gettext):
38037         Move @end statement to beginning of line.
38039 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38042         static.
38043         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38044         Likewise.
38046         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38047         (denorm): Likewise.
38048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38051 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38053         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38054         tail-call to the resolved function if pltexit isn't needed.
38056 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38058         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38059         or Y being zero as being unlikely.
38060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38061         Likewise.
38063 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38065         * manual/nss.texi (System Databases and Name Service Switch):
38066         Remove frobnicate @pxref.
38068 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38070         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38071         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38073 2013-02-20  Petr Machata  <pmachata@redhat.com>
38075         * elf/elf.h (R_ARM_TARGET1): New macro.
38076         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38077         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38078         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38079         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38080         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38081         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38082         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38083         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38084         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38085         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38086         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38087         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38088         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38089         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38090         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38091         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38092         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38093         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38094         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38095         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38096         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38097         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38098         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38099         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38100         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38101         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38102         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38103         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38104         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38105         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38106         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38107         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38108         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38109         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38110         (R_ARM_THM_GOT_BREL12): Likewise.
38111         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38112         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38113         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38114         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38115         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38116         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38117         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38118         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38119         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38121 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38123         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38124         __attribute_used__ to __attribute__ ((unused)).
38126 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38128         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38129         powerpc mpa.c.
38130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38131         comment formatting.
38132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38134 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38136         [BZ #13550]
38137         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38138         Remove macro.
38139         (ENTER): Remove both macro definitions.
38140         (LEAVE): Likewise.
38141         (CHECK_BOUNDS_LOW): Likewise.
38142         (CHECK_BOUNDS_HIGH): Likewise.
38143         (CHECK_BOUNDS_BOTH): Likewise.
38144         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38145         (RETURN_BOUNDED_POINTER): Likewise.
38146         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38147         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38148         (POP_ERRNO_LOCATION_RETURN): Likewise.
38149         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38150         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38151         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38152         macros.
38153         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38154         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38155         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38156         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38157         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38158         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38159         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38160         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38161         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38162         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38163         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38164         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38165         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38166         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38167         removed macros.
38168         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38169         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38170         macros.
38171         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38172         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38173         * sysdeps/i386/i586/memset.S (memset): Likewise.
38174         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38175         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38176         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38177         macros.
38178         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38179         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38180         Change uses of L(2) to L(out).
38181         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38182         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38183         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38184         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38185         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38186         removed macros.
38187         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38188         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38189         macros.
38190         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38191         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38192         (RETURN): Do not use macro LEAVE.
38193         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38194         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38195         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38196         * sysdeps/i386/i686/memset.S (memset): Likewise.
38197         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38198         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38199         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38200         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38201         Likewise.
38202         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38203         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38204         L(1_2) and L(1_3) into L(1).
38205         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38206         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38207         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38208         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38209         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38210         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38211         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38212         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38213         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38214         macros.
38215         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38216         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38217         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38218         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38219         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38220         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38221         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38222         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38223         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38224         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38225         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38226         * sysdeps/i386/strspn.S (strspn): Likewise.
38227         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38228         conditional code.
38229         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38230         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38231         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38232         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38233         L(1_3) into L(1_1).
38234         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38235         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38236         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38237         macros.
38238         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38240 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38242         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38243         macro.
38245 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38247         * math/atest-exp.c (exp_mpn): Remove ROUND.
38248         * math/atest-exp2.c (exp_mpn): Likewise.
38249         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38251         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38252         * stdlib/tst-tls-atexit-lib.c: Likewise.
38253         * stdlib/tst-tls-atexit.c: Likewise.
38255 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38257         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38258         and __attribute_alloc_size__.
38260 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38262         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38263         __attribute_alloc_size__.
38264         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38265         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38267 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38269         * include/programs/xmalloc.h: New file.
38270         * catgets/gencat.c: Include it.
38271         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38272         * elf/pldd.c: Likewise.
38273         * iconv/iconv_charmap.c: Likewise.
38274         * iconv/iconvconfig.c: Likewise.
38275         * iconv/strtab.c: Likewise.
38276         * locale/programs/locale.c: Likewise.
38277         * locale/programs/localedef.h: Likewise.
38278         * locale/programs/simple-hash.c: Likewise.
38279         * nscd/nscd.h: Likewise.
38280         * nss/makedb.c: Likewise.
38281         * sysdeps/generic/ldconfig.h: Likewise.
38283 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38285         * Versions.def: Add GLIBC_2.18.
38286         * include/link.h (struct link_map): New member l_tls_dtor_count.
38287         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38288         (__call_tls_dtors): Likewise.
38289         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38290         __cxa_thread_atexit_impl.
38291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38292         Likewise.
38293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38294         Likewise.
38295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38296         Likewise.
38297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38298         Likewise.
38299         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38301         Likewise.
38302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38303         Likewise.
38304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38306         Likewise.
38307         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38308         (tests): Add test case tst-tls-atexit.
38309         (modules-names): Add shared library for tst-tls-atexit.
38310         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38311         (GLIBC_PRIVATE): Add __call_tls_dtors.
38312         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38313         for libstdc++.
38314         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38315         * stdlib/tst-tls-atexit.c: New test case.
38316         * stdlib/tst-tls-atexit-lib.c: New test case.
38318         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38320         * elf/Versions (ld): Add _dl_find_dso_for_object.
38321         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38322         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38323         (dl_open_worker): Use _dl_find_dso_for_object.
38324         * elf/dl-sym.c (do_sym): Likewise.
38325         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38327 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38329         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38330         Syntactic changes only.
38331         (_dl_runtime_profile): Do a tail-call to the resolved function.
38333 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38335         [BZ #13550]
38336         * sysdeps/x86_64/bp-asm.h: Remove file.
38337         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38338         <bp-sym.h> and <bp-asm.h>.
38339         (__clone): Do not use BP_SYM.
38340         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38341         <bp-sym.h> and <bp-asm.h>.
38342         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38343         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38344         "bp-asm.h".
38345         (_setjmp): Do not use BP_SYM.
38346         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38347         "bp-asm.h".
38348         (setjmp): Do not use BP_SYM.
38349         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38350         libc_hidden_def.
38351         (mempcpy): Do not use BP_SYM in weak_alias.
38352         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38353         "bp-asm.h".
38354         (strchr): Do not use BP_SYM.
38355         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38356         "bp-asm.h".
38357         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38358         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38359         (_start): Do not use BP_SYM.
38360         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38361         "bp-asm.h".
38362         (strcat): Do not use BP_SYM.
38363         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38364         "bp-asm.h".
38365         (STRCMP): Do not use BP_SYM.
38366         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38367         "bp-asm.h".
38368         (STRCPY): Do not use BP_SYM.
38369         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38370         "bp-asm.h".
38371         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38372         "bp-asm.h".
38373         (FUNCTION): Do not use BP_SYM.
38374         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38375         weak_alias.
38376         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38378 2013-02-17  Andreas Jaeger  <aj@suse.de>
38380         * time/Versions: Sort entries.
38381         * string/Versions: Likewise.
38382         * resolv/Versions: Likewise.
38383         * posix/Versions: Likewise.
38384         * iconv/Versions: Likewise.
38385         * elf/Versions: Likewise.
38386         * wcsmbs/Versions: Likewise.
38388 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38390         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38391         loop termination condition.
38393         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38394         variable to calculate EZ.
38395         (__sqr): Likewise.
38397         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38398         the lower precision input.
38400 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38402         [BZ #13550]
38403         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38404         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38405         (run-via-rtld-prefix): Do not handle %-bp tests.
38406         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38407         (all-object-suffixes): Remove .ob.
38408         (bppfx): Remove variable.
38409         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38410         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38411         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38412         [$(build-bounded) = yes] (libtype.ob): Likewise.
38413         * Makerules (elide-routines.ob): Remove variable.
38414         (do-tests-clean): Do not handle *-bp.out.
38415         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38416         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38417         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38418         (tests): Do not include $(tests-bp.out).
38419         (xtests): Do not include $(xtests-bp.out).
38420         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38421         [$(build-bounded) = yes] ($(addprefix
38422         $(objpfx),$(binaries-bounded))): Remove rule.
38423         ($(objpfx)%-bp.out): Remove rule.
38424         * config.make.in (build-bounded): Remove variable.
38425         * crypt/Makefile [$(build-bounded) = yes]
38426         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38427         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38428         append to variable.
38429         [$(build-bounded) = yes] (install-lib): Likewise.
38430         [$(build-bounded) = yes] (generated): Likewise.
38431         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38432         Remove rule.
38433         * intl/Makefile [$(build-bounded) = yes]
38434         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38435         * math/Makefile [$(build-bounded) = yes]
38436         ($(tests:%=$(objpfx)%-bp): Likewise.
38437         * misc/Makefile [$(build-bounded) = yes]
38438         ($(objpfx)tst-tsearch-bp): Likewise.
38439         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38440         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38441         Remove dependency.
38442         * string/Makefile (o-objects.ob): Remove variable.
38443         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38444         (CFLAGS-.ob): Remove variable.
38445         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38446         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38447         both definitions of variable.
38448         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38449         (ASFLAGS-.ob): Remove variable.
38451 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38453         [BZ #13550]
38454         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38455         Remove __BOUNDED_POINTERS__ from condition.
38456         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38457         * string/bits/string2.h [!__NO_STRING_INLINES &&
38458         !__BOUNDED_POINTERS__]: Likewise.
38459         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38460         Likewise.
38461         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38462         Remove conditional code.
38463         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38464         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38465         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38466         condition.
38468         [BZ #13550]
38469         * csu/libc-start.c: Do not include <bp-sym.h>.
38470         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38471         * elf/dl-open.c: Do not include <bp-sym.h>.
38472         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38473         * math/fegetenv.c: Do not include <bp-sym.h>.
38474         (fegetenv): Do not use BP_SYM in versioned symbols.
38475         * nptl/sysdeps/pthread/bits/libc-lockP.h
38476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38477         <bp-sym.h>.
38478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38479         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38481         (__pthread_mutex_destroy): Likewise.
38482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38483         (__pthread_mutex_lock): Likewise.
38484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38485         (__pthread_mutex_trylock): Likewise.
38486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38487         (__pthread_mutex_unlock): Likewise.
38488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38489         (__pthread_mutexattr_init): Likewise.
38490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38491         (__pthread_mutexattr_destroy): Likewise.
38492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38493         (__pthread_mutexattr_settype): Likewise.
38494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38495         (__pthread_rwlock_init): Likewise.
38496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38497         (__pthread_rwlock_destroy): Likewise.
38498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38499         (__pthread_rwlock_rdlock): Likewise.
38500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38501         (__pthread_rwlock_tryrdlock): Likewise.
38502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38503         (__pthread_rwlock_wrlock): Likewise.
38504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38505         (__pthread_rwlock_trywrlock): Likewise.
38506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38507         (__pthread_rwlock_unlock): Likewise.
38508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38509         (__pthread_key_create): Likewise.
38510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38511         (__pthread_setspecific): Likewise.
38512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38513         (__pthread_getspecific): Likewise.
38514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38515         Likewise.
38516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38517         (_pthread_cleanup_push_defer): Likewise.
38518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38519         (_pthread_cleanup_pop_restore): Likewise.
38520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38521         (pthread_setcancelstate): Likewise.
38522         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38523         <bp-sym.h>.
38524         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38525         (memchr): Do not use BP_SYM in weak_alias.
38526         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38527         (fegetenv): Do not use BP_SYM in versioned symbols.
38528         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38529         (fesetenv): Do not use BP_SYM in versioned symbols.
38530         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38531         (feupdateenv): Do not use BP_SYM in versioned symbols.
38532         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38533         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38534         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38535         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38536         (open64): Do not use BP_SYM in weak_alias.
38537         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38538         (fegetenv): Do not use BP_SYM in versioned symbols.
38539         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38540         (fesetenv): Do not use BP_SYM in versioned symbols.
38541         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38542         (feupdateenv): Do not use BP_SYM in versioned symbols.
38543         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38544         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38545         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38546         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38547         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38548         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38549         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38550         <bp-sym.h>.
38551         (__libc_start_main): Do not use BP_SYM.
38553 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38555         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38556         redundant return line.
38557         (norm): Likewise.
38558         (denorm): Likewise.
38559         (dbl_mp): Likewise.
38560         (sub_magnitudes): Likewise.
38561         (__add): Likewise.
38562         (__sub): Likewise.
38563         (__mul): Likewise.
38564         (__inv): Likewise.
38565         (__dvd): Likewise.
38566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38567         (norm): Likewise.
38568         (denorm): Likewise.
38569         (dbl_mp): Likewise.
38570         (sub_magnitudes): Likewise.
38571         (__add): Likewise.
38572         (__sub): Likewise.
38573         (__mul): Likewise.
38574         (__inv): Likewise.
38575         (__dvd): Likewise.
38577         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38578         instead of __mul.
38579         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38580         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38581         (cc32): Likewise.
38583         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38584         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38585         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38586         of __mul for squares.
38587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38588         function
38589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38590         Likewise.
38591         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38592         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38594 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38596         [BZ #13550]
38597         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38598         code.
38599         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38600         prototype or function definition.  Rename ubp_* variables and
38601         parameters.  Remove argv definitions conditional on
38602         [__BOUNDED_POINTERS__].
38603         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38604         * elf/dl-runtime.c (_dl_fixup): Likewise.
38605         * include/set-hooks.h (RUN_HOOK): Likewise.
38606         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38607         definition.
38608         * string/strcpy.c (strcpy): Do not use __unbounded.
38609         * sysdeps/generic/frame.h (struct layout): Likewise.
38610         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38611         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38612         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38613         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38614         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38615         (__backtrace): Likewise.
38616         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38617         use __ptrvalue.
38618         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38619         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38620         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38621         Likewise.
38622         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38623         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38624         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38625         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38626         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38627         Do not use __unbounded.
38628         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38629         Rename __unboundedrlimits parameter to rlimits in prototype.
38630         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38631         Do not use __unbounded.
38632         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38633         not use __ptrvalue.
38634         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38635         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38636         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38637         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38638         __ptrvalue or __unbounded.
38639         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38640         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38641         use __unbounded.
38642         (__new_msgctl): Do not use __ptrvalue.
38643         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38644         __unbounded.
38645         (__libc_msgrcv): Do not use __ptrvalue.
38646         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38647         startup_info): Do not use __unbounded.
38648         (__libc_start_main): Likewise.  Rename ubp_* variables and
38649         parameters.  Remove argv definitions conditional on
38650         [__BOUNDED_POINTERS__].
38651         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38652         __ptrvalue.
38653         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38654         use __unbounded.
38655         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38656         or __ptrvalue.
38657         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38658         use __unbounded.
38659         (__new_shmctl): Do not use __ptrvalue.
38660         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38661         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38662         Likewise.
38663         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38664         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38665         (__libc_sigaction): Likewise.
38666         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38667         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38668         Likewise.
38669         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38671 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38673         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38675         * string/mempcpy.c: Implement by calling memcpy.
38677 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38679         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38681         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38682         evaluation.
38684         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38685         values in the mantissa.
38687         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38688         minimize writes to Z.
38689         (sub_magnitudes): Simplify code a bit.
38691 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38693         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38694         from the message.  The linker prefixes all warnings with that already.
38696 2013-02-12  Andreas Schwab  <schwab@suse.de>
38698         [BZ #15078]
38699         * posix/regexec.c (extend_buffers): Add parameter min_len.
38700         (check_matching): Pass minimum needed length.
38701         (clean_state_log_if_needed): Likewise.
38702         (get_subexp): Likewise.
38703         * posix/Makefile (tests): Add bug-regex34.
38704         (bug-regex34-ENV): Define.
38705         * posix/bug-regex34.c: New file.
38707         [BZ #11561]
38708         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38709         elements compare against the byte sequence of it, not its name.
38710         * posix/Makefile (tests): Add bug-regex35.
38711         (bug-regex35-ENV): Define.
38712         * posix/bug-regex35.c: New file.
38714 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38716         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38717         comment.
38718         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38719         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38720         (CHECK_EOL): Add undef.
38722 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38724         * bits/stdlib-bsearch.h: New file.
38725         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38726         * stdlib/stdlib.h: Likewise.
38728 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38730         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38731         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38732         declaration.
38733         * manual/search.texi (Array Search Function): Add missing const in
38734         lfind prototype.
38735         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38736         declaration to use rlim_t.
38737         (Basic Scheduling Functions): Remove erroneous const from
38738         sched_getparam prototype.  Remove erroneous * from
38739         sched_get_priority_max and sched_get_priority_min prototypes.
38740         (Resource Usage): Fix summary @comment on vtimes to refer to
38741         sys/vtimes.h rather than vtimes.h.
38742         Add missing *s in vtimes prototype.
38743         (Limits on Resources): Fix ulimit prototype to return long int.
38744         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38745         prototypes to use long int rather than double.
38746         (BSD Random): Fix initstate and setstate to use char *, not void *.
38747         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38748         prototype to make second argument 'struct aiocb64 *const[]'.
38749         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38750         (Status of AIO Operations): Remove erroneous const in aio_return and
38751         aio_return64 prototypes.
38752         (Synchronizing I/O): Fix sync prototype to return void.
38753         * manual/startup.texi (Suboptions): Remove an erroneous const in
38754         getsubopt prototype.
38755         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38756         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38757         use size_t rather than int.
38758         (Scanning All Users): Likewise for getpwent_r.
38759         (Setting Groups): Add missing const to setgroups prototype.
38760         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38761         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38762         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38763         'const void *' rather than 'const char *'.
38764         (Host Address Functions): Likewise for inet_ntop.
38765         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38766         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38767         ssize_t for return value.
38768         (Sending Data): Likewise for send, sendto, sendmsg.
38769         (Socket Option Functions): Add a missing const in setsockopt prototype.
38770         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38771         use wchar_t for the argument.
38772         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38773         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38774         take no arguments.
38775         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38776         double/float/long double for second argument.
38777         Fix return types of significand, significandf, significandl.
38778         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38779         argument in fchmod prototype.
38780         (File Owner): Use uid_t and gid_t in fchown prototype.
38781         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38782         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38783         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38784         use 'const struct dirent **' as argument types to CMP function pointer
38785         argument.
38786         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38787         (File Times): Fix summary magic @comment for struct utimbuf and utime
38788         to refer to utime.h, not time.h.
38789         * manual/string.texi (Argz Functions): Add missing const in
38790         argz_extract and argz_next prototypes.
38791         (Finding Tokens in a String): Likewise for basename.
38792         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38793         (Copying and Concatenation): Fix typo in wmemmove prototype.
38794         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38795         (Signal Stack): Remove erroneous const in sigstack prototype.
38796         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38797         prototype.
38798         (Simple Calendar Time): Likewise for stime.
38799         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38800         prototype.
38801         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38802         say sys/sysctl.h instead.
38803         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38804         and vsyslog prototypes.
38806 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38808         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38809         Remove.
38811 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38813         * misc/sys/mman.h: Fix typo in mremap comment.
38815 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38817         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38818         the '\0' terminator.
38820 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38822         [BZ #13550]
38823         * debug/segfault.c: Don't include <bp-checks.h>.
38824         * sysdeps/generic/bp-checks.h: Remove file.
38825         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38826         (__GETDENTS): Don't use CHECK_N.
38827         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38828         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38829         (__getgroups): Don't use CHECK_N.
38830         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38831         (setgroups): Don't use CHECK_N.
38832         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38833         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38834         (__libc_msgrcv): Don't use CHECK_N.
38835         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38836         (__libc_msgsnd): Don't use CHECK_N.
38837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38838         <bp-checks.h>.
38839         (__libc_pread): Don't use CHECK_N.
38840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38841         include <bp-checks.h>.
38842         (__libc_pread64): Don't use CHECK_N.
38843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38844         include <bp-checks.h>.
38845         (__libc_pwrite): Don't use CHECK_N.
38846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38847         include <bp-checks.h>.
38848         (__libc_pwrite64): Don't use CHECK_N.
38849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38850         <bp-checks.h>.
38851         (__libc_pread): Don't use CHECK_N.
38852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38853         include <bp-checks.h>.
38854         (__libc_pread64): Don't use CHECK_N.
38855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38856         include <bp-checks.h>.
38857         (__libc_pwrite): Don't use CHECK_N.
38858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38859         include <bp-checks.h>.
38860         (__libc_pwrite64): Don't use CHECK_N.
38861         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38862         (do_pread): Don't use CHECK_N.
38863         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38864         (do_pread64): Don't use CHECK_N.
38865         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38866         (do_pwrite): Don't use CHECK_N.
38867         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38868         (do_pwrite64): Don't use CHECK_N.
38869         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38870         (__libc_readv): Don't use CHECK_N.
38871         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38872         (semop): Don't use CHECK_N.
38873         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38874         <bp-checks.h>.
38875         (semtimedop): Don't use CHECK_N.
38876         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38877         (__libc_pread): Don't use CHECK_N.
38878         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38879         <bp-checks.h>.
38880         (__libc_pread64): Don't use CHECK_N.
38881         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38882         <bp-checks.h>.
38883         (__libc_pwrite): Don't use CHECK_N.
38884         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38885         <bp-checks.h>.
38886         (__libc_pwrite64): Don't use CHECK_N.
38887         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38888         <bp-checks.h>.
38889         (__libc_msgrcv): Don't use CHECK_N.
38890         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38891         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38892         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38893         (__libc_writev): Don't use CHECK_N.
38895 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38897         * string/strcpy.c: Removed unused variable.
38899         * Makeconfig (+sysdep-includes): Define with := rather than =.
38900         Use an existing include/ subdir of each sysdeps dir before it.
38902 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38904         * nscd/connection.c (register_traced_file): Comment function.
38905         [HAVE_INOTIFY] (union __inev): Define.
38906         [HAVE_INOTIFY] (inotify_check_files): New function.
38907         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38908         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38909         clear_db_cache.
38910         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38912 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38914         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38915         loaded if not already and that a failure is permanent.
38917 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38919         [BZ #15006]
38920         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38921         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38923 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38925         [BZ #13550]
38926         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38927         (CHECK_1_NULL_OK): Likewise.
38928         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38929         (__fxstat): Do not use CHECK_1.
38930         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38931         <bp-checks.h>.
38932         (___fxstat64): Do not use CHECK_1.
38933         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38934         <bp-checks.h>.
38935         (__fxstatat): Do not use CHECK_1.
38936         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38937         <bp-checks.h>.
38938         (__fxstatat64): Do not use CHECK_1.
38939         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38940         <bp-checks.h>.
38941         (__fxstat): Do not use CHECK_1.
38942         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38943         <bp-checks.h>.
38944         (__fxstatat): Do not use CHECK_1.
38945         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38946         <bp-checks.h>.
38947         (__getresgid): Do not use CHECK_1.
38948         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38949         <bp-checks.h>.
38950         (__getresuid): Do not use CHECK_1.
38951         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38952         <bp-checks.h>.
38953         (__lxstat): Do not use CHECK_1.
38954         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38955         <bp-checks.h>.
38956         (__old_msgctl): Do not use CHECK_1.
38957         (__new_msgctl): Likewise.
38958         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38959         <bp-checks.h>.
38960         (__new_setrlimit): Do not use CHECK_1.
38961         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38962         <bp-checks.h>.
38963         (__old_shmctl): Do not use CHECK_1.
38964         (__new_shmctl): Likewise.
38965         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38966         <bp-checks.h>.
38967         (__xstat): Do not use CHECK_1.
38968         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38969         (__lxstat): Do not use CHECK_1.
38970         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38971         <bp-checks.h>.
38972         (___lxstat64): Do not use CHECK_1.
38973         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38974         (__old_msgctl): Do not use CHECK_1.
38975         (__new_msgctl): Likewise.
38976         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38977         <bp-checks.h>.
38978         (__gettimeofday): Do not use CHECK_1.
38979         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38980         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38981         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38982         <bp-checks.h>.
38983         (__gettimeofday): Do not use CHECK_1.
38984         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38985         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38986         (__new_shmctl): Do not use CHECK_1.
38987         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38988         <bp-checks.h>.
38989         (do_sigtimedwait): Do not use CHECK_1.
38990         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38991         <bp-checks.h>.
38992         (do_sigwaitinfo): Do not use CHECK_1.
38993         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38994         <bp-checks.h>.
38995         (msgctl): Do not use CHECK_1.
38996         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38997         <bp-checks.h>.
38998         (shmctl): Do not use CHECK_1.
38999         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39000         (ustat): Do not use CHECK_1.
39001         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39002         <bp-checks.h>.
39003         (__fxstat): Do not use CHECK_1.
39004         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39005         <bp-checks.h>.
39006         (__fxstatat): Do not use CHECK_1.
39007         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39008         <bp-checks.h>.
39009         (__lxstat): Do not use CHECK_1.
39010         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39011         <bp-checks.h>.
39012         (__xstat): Do not use CHECK_1.
39013         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39014         (__xstat): Do not use CHECK_1.
39015         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39016         (___xstat64): Do not use CHECK_1.
39018         [BZ #13550]
39019         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39020         definitions.
39021         (CHECK_BOUNDS_HIGH): Likewise.
39022         * string/strcpy.c: Do not include <bp-checks.h>.
39023         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39025 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39027         * nscd/nscd-client.h (__nscd_drop_map_ref):
39028         Add __attribute__ ((unused)).
39029         * nis/nss-nisplus.h (niserr2nss): Likewise.
39031         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39032         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39034         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39035         Remove inline keyword.
39036         * include/rounding-mode.h (round_away): Likewise.
39037         * libio/wfileops.c (adjust_wide_data): Likewise.
39038         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39039         (__m128i_strloadu_tolower): Likewise.
39040         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39041         (__m128i_strloadu_tolower): Likewise.
39042         * time/mktime.c (ydhms_diff): Likewise.
39043         * locale/elem-hash.h (elem_hash): Likewise.
39044         * locale/setlocale.c (setdata): Likewise.
39045         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39046         (re_string_wchar_at): Likewise.
39047         (bitset_not, bitset_merge, bitset_mask): Likewise.
39048         [!(__GNUC__ > 3)] (inline): Remove macro.
39049         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39050         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39051         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39052         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39053         * string/memcmp.c (memcmp_bytes): Likewise.
39054         * locale/programs/locarchive.c (compute_hashval): Likewise.
39055         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39056         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39057         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39058         * nss/getent.c (print_rpc, print_protocols): Likewise.
39059         (print_passwd, print_group, print_aliases): Likewise.
39060         * nis/nss-nisplus.h (niserr2nss): Likewise.
39061         * nscd/connections.c (restart_p): Likewise.
39062         Change return type to bool.
39064 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39066         * Makeconfig (all-Depend-files): Add existing
39067         $(sorted-subdirs:=/Depend) files.
39068         (all-subdirs): Remove nss.
39069         * sysdeps/unix/inet/Subdirs: Add it here instead.
39070         * hesiod/Depend: New file.
39072         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39073         instead of calling alloca.
39075         * io/lseek.c (__lseek): Rename to __libc_lseek.
39076         Define __lseek as an alias.
39078         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39080 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39082         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39083         else clause and remove check for non-standard endianness.
39085 2013-02-04  David S. Miller  <davem@davemloft.net>
39087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39089 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39091         [BZ #13550]
39092         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39093         (__ubp_memchr): Remove prototype.
39094         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39095         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39096         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39097         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39098         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39099         Remove alias.
39100         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39101         (__ubp_memchr): Likewise.
39102         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39103         (__ubp_memchr): Likewise.
39104         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39105         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39106         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39107         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39108         CHECK_STRING.
39109         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39110         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39111         (__getcwd): Do not use CHECK_STRING.
39112         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39113         <bp-checks.h>.
39114         (__real_chown): Do not use CHECK_STRING.
39115         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39116         <bp-checks.h>.
39117         (fchownat): Do not use CHECK_STRING.
39118         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39119         CHECK_STRING.
39120         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39121         <bp-checks.h>.
39122         (__lchown): Do not use CHECK_STRING.
39123         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39124         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39125         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39126         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39128         include <bp-checks.h>.
39129         (truncate64): Do not use CHECK_STRING.
39130         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39131         <bp-checks.h>.
39132         (__real_chown): Do not use CHECK_STRING.
39133         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39134         <bp-checks.h>.
39135         (__lchown): Do not use CHECK_STRING.
39136         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39137         <bp-checks.h>.
39138         (__chown): Do not use CHECK_STRING.
39139         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39140         <bp-checks.h>.
39141         (truncate64): Do not use CHECK_STRING.
39142         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39143         Likewise.
39144         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39145         (__xmknod): Do not use CHECK_STRING.
39146         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39147         <bp-checks.h>.
39148         (__xmknodat): Do not use CHECK_STRING.
39149         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39150         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39152 2013-02-04  Andreas Schwab  <schwab@suse.de>
39154         [BZ #14142]
39155         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39156         * include/netdb.h: Likewise for h_errno.
39157         * elf/tst-stackguard1.c: Include <tls.h>.
39159 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39161         * elf/link.h (struct link_map): Extend the l_addr comment.
39162         * include/link.h (struct link_map): Likewise.
39164 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39166         [BZ #13550]
39167         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39168         (BOUNDED_1): Remove macro.
39169         * debug/backtrace.c: Don't include <bp-checks.h>.
39170         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39171         (__backtrace): Likewise.
39172         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39173         <bp-checks.h>.
39174         (__backtrace): Don't use BOUNDED_1.
39175         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39176         <bp-checks.h>.
39177         (__backtrace): Don't use BOUNDED_1.
39178         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39179         (__backtrace): Don't use BOUNDED_1.
39180         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39181         (shmat): Don't use BOUNDED_N.
39183 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39185         [BZ #13550]
39186         * sysdeps/generic/bp-start.h: Remove file.
39187         * csu/libc-start.c: Don't include <bp-start.h>.
39188         (LIBC_START_MAIN): Set up __environ directly instead of using
39189         INIT_ARGV_and_ENVIRON.
39190         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39191         <bp-start.h>.
39193         [BZ #13550]
39194         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39195         definitions.
39196         (CHECK_FCNTL): Likewise.
39197         (CHECK_N_PAGES): Likewise.
39199         [BZ #13550]
39200         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39201         definitions.
39202         (CHECK_SIGSET_NULL_OK): Likewise.
39203         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39204         <bp-checks.h>.
39205         (sigpending): Don't use CHECK_SIGSET.
39206         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39207         <bp-checks.h>.
39208         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39209         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39210         <bp-checks.h>.
39211         (do_sigsuspend): Don't use CHECK_SIGSET.
39212         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39213         use CHECK_SIGSET.
39214         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39215         (do_sigwait): Don't use CHECK_SIGSET.
39216         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39217         use CHECK_SIGSET.
39218         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39219         include <bp-checks.h>.
39220         (sigpending): Don't use CHECK_SIGSET.
39221         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39222         include <bp-checks.h>.
39223         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39224         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39225         <bp-checks.h>.
39226         (sigpending): Don't use CHECK_SIGSET.
39227         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39228         <bp-checks.h>.
39229         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39231         [BZ #13550]
39232         * sysdeps/generic/bp-semctl.h: Remove file.
39233         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39234         <bp-checks.h> and <bp-semctl.h>.
39235         (__old_semctl): Don't use CHECK_SEMCTL.
39236         (__new_semctl): Likewise.
39237         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39238         and <bp-semctl.h>.
39239         (__old_semctl): Don't use CHECK_SEMCTL.
39240         (__new_semctl): Likewise.
39241         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39242         <bp-checks.h> and <bp-semctl.h>.
39243         (__old_semctl): Don't use CHECK_SEMCTL.
39244         (__new_semctl): Likewise.
39245         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39246         <bp-checks.h> and <bp-semctl.h>.
39247         (semctl): Don't use CHECK_SEMCTL.
39249         [BZ #13550]
39250         * Makerules (elide-bp-thunks): Remove variable.
39251         (elide-routines.oS): Don't use $(elide-bp-thunks).
39252         (elide-routines.os): Likewise.
39253         (elide-routines.o): Likewise.
39254         (elide-routines.op): Likewise.
39255         (elide-routines.og): Likewise.
39256         (objects): Don't use $(bp-thunks).
39257         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39258         include.
39259         (common-generated): Do not add s-proto-bp.d.
39260         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39261         (int): Likewise.
39262         (typ): Likewise.
39263         Do not generate makefile rules for bounded-pointer thunks.
39264         * sysdeps/generic/bp-thunks.h: Remove file.
39265         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39266         * sysdeps/unix/s-proto-bp.S: Likewise.
39268         [BZ #15062]
39269         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39270         parts of result separately when argument is not close to line from
39271         -i to i and one part of argument is small.
39272         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39273         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39274         * math/libm-test.inc (cacos_test): Add more tests.
39275         (casin_test): Likewise.
39276         (casinh_test): Likewise.
39277         * sysdeps/i386/fpu/libm-test-ulps: Update.
39278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39280 2013-01-31  David S. Miller  <davem@davemloft.net>
39282         * po/de.po: Update from translation team.
39284 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39286         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39288 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39290         * configure.in (_AC_PROG_CC_C89): New definition.
39291         * configure: Regenerate.
39293         * configure.in (AC_PROG_CPP): New definition.
39294         * configure: Regenerate.
39296 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39298         * debug/tst-backtrace.h: New file.
39299         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39300         (ret): Remove variable.
39301         (x): Likewise.
39302         (FAIL): Remove macro.
39303         (NO_INLINE): Likewise.
39304         (fn1): Use match function instead of strstr.
39305         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39306         (ret): Remove variable.
39307         (x): Likewise.
39308         (FAIL): Remove macro.
39309         (NO_INLINE): Likewise.
39310         (fn): Use match function instead of strstr.
39311         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39312         (ret): Remove variable.
39313         (x): Likewise.
39314         (FAIL): Remove macro.
39315         (NO_INLINE): Likewise.
39316         (handle_signal): Use match function instead of strstr.
39317         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39318         (ret): Remove variable.
39319         (x): Likewise.
39320         (FAIL): Remove macro.
39321         (NO_INLINE): Likewise.
39322         (handle_signal): Use match function instead of strstr.
39324 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39326         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39328 2013-01-23  David S. Miller  <davem@davemloft.net>
39330         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39331         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39332         argument of CAS if possible.
39333         * sysdeps/sparc/sparc64/bits/atomic.h
39334         (__arch_compare_and_exchange_val_32_acq): Likewise.
39335         (__arch_compare_and_exchange_val_64_acq): Likewise.
39337 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39339         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39340         * sysdeps/posix/ulimit.c: ... this.
39341         Include <limits.h>.
39342         * sysdeps/unix/bsd/ulimit.c: Remove file.
39344 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39346         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39347         (LDFLAGS-tst-array5): Likewise.
39349 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39351         [BZ #15036]
39352         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39353         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39354         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39355         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39357 2013-01-21  David S. Miller  <davem@davemloft.net>
39359         * sysdeps/sparc/backtrace.c: New file.
39360         * sysdeps/sparc/sparc32/backtrace.h: New file.
39361         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39362         * sysdeps/sparc/sparc64/backtrace.h: New file.
39363         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39364         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39365         -funwind-tables.
39367 2013-01-21  Andreas Schwab  <schwab@suse.de>
39369         [BZ #15020]
39370         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39371         closed its stdout.
39373 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39376         "mpa2.h".
39377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39379 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39380             Mark Mitchell  <mark@codesourcery.com>
39381             Tom de Vries  <tom@codesourcery.com>
39382             Paul Pluzhnikov  <ppluzhnikov@google.com>
39384         * debug/tst-backtrace2.c: New file.
39385         * debug/tst-backtrace3.c: Likewise.
39386         * debug/tst-backtrace4.c: Likewise.
39387         * debug/tst-backtrace5.c: Likewise.
39388         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39389         (CFLAGS-tst-backtrace3.c): Likewise.
39390         (CFLAGS-tst-backtrace4.c): Likewise.
39391         (CFLAGS-tst-backtrace5.c): Likewise.
39392         (LDFLAGS-tst-backtrace2): Likewise.
39393         (LDFLAGS-tst-backtrace3): Likewise.
39394         (LDFLAGS-tst-backtrace4): Likewise.
39395         (LDFLAGS-tst-backtrace5): Likewise.
39396         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39397         tst-backtrace4 and tst-backtrace5.
39399 2013-01-18  Anton Blanchard  <anton@samba.org>
39400             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39402         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39403         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39404         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39405         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39407         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39408         "+r" and remove output regs list as redundant.  Add explicit inline
39409         asm to specify register of return val to work around compiler codegen
39410         bug.  Remove (int) cast on return value.  Add return type parameter to
39411         use in macro so that this macro does not truncate return value for
39412         64-bit values.
39413         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39414         pass to INTERNAL_VSYSCALL_NCS.
39415         (INLINE_VSYSCALL): Add 'long int' as return type to
39416         INTERNAL_VSYSCALL_NCS macro invocation.
39417         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39418         INTERNAL_VSYSCALL_NCS macro invocation.
39419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39421 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39423         [BZ #14496]
39424         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39425         Fix application of SIMD FP exception mask.
39427         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39428         mp_no from a power of two.
39429         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39430         __mpexp_twomm1.  Use __pow_mp.
39432         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39433         multiplication.
39435 2013-01-17  David S. Miller  <davem@davemloft.net>
39437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39439 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39441         [BZ #15023]
39442         * include/complex.h: Condition contents on [!_COMPLEX_H].
39443         (__kernel_casinhf): New prototype.
39444         (__kernel_casinh): Likewise.
39445         (__kernel_casinhl): Likewise.
39446         * math/Makefile (libm_calls): Add k_casinh.
39447         * math/k_casinh.c: New file.
39448         * math/k_casinhf.c: Likewise.
39449         * math/k_casinhl.c: Likewise.
39450         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39451         finite nonzero arguments.
39452         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39453         finite nonzero arguments.
39454         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39455         finite nonzero arguments.
39456         * math/s_casinh.c: Do not include <float.h>.
39457         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39458         * math/s_casinhf.c: Do not include <float.h>.
39459         (__casinhf): Move code for finite nonzero arguments to
39460         k_casinhf.c.
39461         * math/s_casinhl.c: Do not include <float.h>.
39462         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39463         redefine.
39464         (__casinhl): Move code for finite nonzero arguments to
39465         k_casinhl.c.
39466         * math/libm-test.inc (cacos_test): Add more tests.
39467         * sysdeps/i386/fpu/libm-test-ulps: Update.
39468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39470 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39472         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39473         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39474         [!HAVE_MREMAP]: Remove [defined linux] case.
39475         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39477 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39479         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39481 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39483         * elf/elf.h (R_386_SIZE32): New relocation.
39484         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39485         R_386_SIZE32.
39486         (elf_machine_rela): Likewise.
39487         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39488         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39490 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39492         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39493         (FP_FAST_FMA): Do not define.
39494         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39495         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39496         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39497         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39498         !_SOFT_FLOAT]: Likewise.
39499         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39500         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39501         value.
39502         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39503         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39504         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39505         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39506         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39507         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39508         file.
39510 2013-01-16  Andreas Schwab  <schwab@suse.de>
39512         [BZ #14327]
39513         * include/stdlib.h (__mktemp): Add declaration.
39514         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39515         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39517 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39519         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39520         definitions.
39521         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39522         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39523         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39524         definitions here.
39525         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39526         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39527         definitions.
39528         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39529         and ONE.
39530         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39531         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39532         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39533         definitions.
39534         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39535         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39536         definitions.
39537         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39539         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39541 2013-01-15  David S. Miller  <davem@davemloft.net>
39543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39544         trunc{,f} to libm-sysdep_routes.
39545         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39547         file.
39548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39550         file.
39551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39552         file.
39553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39555         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39556         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39557         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39558         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39559         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39560         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39563         nearbyint{,f} to libm-sysdep_routes.
39564         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39566         New file.
39567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39568         file.
39569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39570         New file.
39571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39572         file.
39573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39575         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39576         file.
39577         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39578         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39579         file.
39580         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39581         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39582         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39584         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39585         libc_feholdexcept and libc_fesetenv.
39587 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39589         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39591 2013-01-14  David S. Miller  <davem@davemloft.net>
39593         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39594         (SPARC_ASM_VIS2_IFUNC): Likewise.
39595         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39597         use of 'siam' instruction.
39598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39599         Likewise.
39600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39601         Likewise.
39602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39603         Likewise.
39604         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39605         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39606         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39609         file.
39610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39611         file.
39612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39613         file.
39614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39615         file.
39616         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39617         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39618         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39619         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39621         new VIS2 routines.
39622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39625         Likewise.
39626         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39627         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39628         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39629         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39631         routines to libm-sysdep_routines.
39632         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39635         fdim/fdimf to libm-sysdep_routines.
39636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39637         file.
39638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39640         file.
39641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39644         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39645         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39646         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39647         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39649 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39651         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39652         to optimize copies.
39654         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39656         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39659         local variable MPTWO.
39660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39661         Likewise.
39663 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39665         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39666         GLOB_NOESCAPE.
39668 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39670         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39672 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39674         * manual/pattern.texi (glob_t): Document gl_flags.
39675         (glob64_t): Likewise.
39677 2013-01-11  David S. Miller  <davem@davemloft.net>
39679         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39680         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39681         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39682         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39683         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39684         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39685         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39686         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39687         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39688         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39689         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39690         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39691         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39693         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39694         sparc V9 rather than using V8 code.
39695         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39696         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39698         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39699         Move to...
39700         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39701         Here.
39703 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39705         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39706         not in the main loop.
39707         * configure: Regenerated.
39709 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39711         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39712         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39713         to just #else.
39714         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39715         [!__GLIBC_HAVE_LONG_LONG] case.
39716         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39717         condition to just #else.
39718         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39719         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39720         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39721         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39722         unconditional.
39723         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39724         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39725         #elif condition to just #else.
39726         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39727         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39728         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39729         #elif condition to just #else.
39731 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39733         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39734         (EF_MIPS_ARCH_64): Fix value.
39735         (EF_MIPS_ARCH_32R2): New.
39736         (EF_MIPS_ARCH_64R2): New.
39738 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39740         * Makeconfig (+link-pie-before-libc): New.
39741         (+link-pie-after-libc): Likewise.
39742         (+link-pie-tests): Likewise.
39743         (+link-pie): Rewritten.
39744         (link-before-libc): Remove $(config-LDFLAGS).
39745         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39746         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39747         (config-LDFLAGS): Renamed to ...
39748         (rtld-LDFLAGS): This.
39749         (rtld-tests-LDFLAGS): New macro.
39750         (link-libc-rpath-link): Likewise.
39751         (link-libc-tests-rpath-link): Likewise.
39752         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39753         (link-libc): Prepand $(link-libc-rpath-link).
39754         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39755         (test-program-prefix): New macro.
39756         (test-via-rtld-prefix): Likewise.
39757         (test-program-cmd): Likewise.
39758         (host-test-program-cmd): Likewise.
39759         * Makefile ($(common-objpfx)testrun.sh): Replace
39760         $(run-program-prefix) with $(test-program-prefix).
39761         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39762         $(rtld-LDFLAGS).
39763         ($(common-objpfx)shlib.lds): Likewise.
39764         (build-module-helper): Likewise.
39765         ($(common-objpfx)format.lds): Likewise.
39766         * Rules (binaries-pie-tests): New.
39767         (binaries-pie-notests): Likewise.
39768         (binaries-pie): Rewritten.
39769         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39770         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39771         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39772         (make-test-out): Replace $(host-built-program-cmd) with
39773         $(host-test-program-cmd).
39774         * config.make.in (build-hardcoded-path-in-tests): New variable.
39775         * configure.in (--enable-hardcoded-path-in-tests): New configure
39776         option.
39777         (hardcoded_path_in_tests): New AC_SUBST.
39778         * configure: Regenerated.
39779         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39780         $(built-program-cmd) with $(test-program-cmd).
39781         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39782         (test_program_cmd): This.
39783         * elf/Makefile ($(objpfx)order.out): Run test with
39784         $(test-program-prefix).
39785         ($(objpfx)order2.out): Likewise.
39786         ($(objpfx)tst-initorder.out): Likewise.
39787         ($(objpfx)tst-initorder2.out): Likewise.
39788         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39789         $(test-program-cmd).
39790         ($(objpfx)tst-array1-static.out): Likewise.
39791         ($(objpfx)tst-array2.out): Likewise.
39792         ($(objpfx)tst-array3.out): Likewise.
39793         ($(objpfx)tst-array4.out): Likewise.
39794         ($(objpfx)tst-array5.out): Likewise.
39795         ($(objpfx)tst-array5-static.out): Likewise.
39796         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39797         $(test-program-cmd).
39798         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39799         $(run-program-prefix) with $(test-program-prefix).
39800         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39801         (test_program_prefix): This.
39802         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39803         $(run-program-prefix) with $(test-program-prefix).
39804         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39805         (test_program_prefix): This.
39806         * iconvdata/tst-tables.sh: Likewise.
39807         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39808         $(run-program-prefix) with $(test-program-prefix).
39809         ($(objpfx)tst-translit.out): Likewise.
39810         ($(objpfx)tst-gettext2.out): Likewise.
39811         ($(objpfx)tst-gettext4.out): Likewise.
39812         ($(objpfx)tst-gettext6.out): Likewise.
39813         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39814         (test_program_prefix): This.
39815         * intl/tst-gettext2.sh: Likewise.
39816         * intl/tst-gettext4.sh  Likewise.
39817         * intl/tst-gettext6.sh: Likewise.
39818         * intl/tst-translit.sh: Likewise.
39819         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39820         with $(test-program-cmd).
39821         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39822         $(run-program-prefix) with $(test-program-prefix).
39823         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39824         (test_program_prefix): This.
39825         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39826         $(run-program-prefix) with $(test-program-prefix).
39827         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39828         (test_program_prefix): This.
39829         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39830         * posix/Makefile ($(objpfx)globtest.out): Replace
39831         $(run-via-rtld-prefix) and $(test-wrapper) with
39832         $(test-program-prefix) and $(test-via-rtld-prefix).
39833         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39834         $(test-program-prefix).
39835         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39836         $(host-test-program-cmd).
39837         (tst-spawn-ARGS): Likewise.
39838         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39839         $(test-program-prefix).
39840         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39841         (test_via_rtld_prefix): This.
39842         (test_wrapper): Renamed to ...
39843         (test_program_prefix): This.
39844         (run_program_prefix): Replaced by test_program_prefix.
39845         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39846         (test_program_prefix): This.
39847         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39848         with $(host-test-program-cmd).
39849         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39850         $(run-program-prefix) with $(test-program-prefix).
39851         ($(objpfx)tst-printf.out): Likewise.
39852         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39853         $(test-program-cmd).
39854         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39855         (test_program_prefix): This.
39856         * stdio-common/tst-unbputc.sh: Likewise.
39857         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39858         $(run-program-prefix) with $(test-program-prefix).
39859         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39860         (test_program_prefix): This.
39861         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39862         $(built-program-cmd) with $(test-program-cmd).
39864 2013-01-11  Andreas Jaeger  <aj@suse.de>
39866         [BZ #15003]
39867         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39868         value. Sync with Linux 3.7.
39870 2013-01-10  David S. Miller  <davem@davemloft.net>
39872         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39873         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39874         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39876 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39878         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39879         never set.
39880         * configure: Regenerated.
39882 2013-01-10  David S. Miller  <davem@davemloft.net>
39884         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39885         sparc V9 rather than using V8 code.
39886         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39887         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39889 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39891         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39892         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39893         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39894         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39895         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39896         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39897         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39898         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39899         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39900         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39901         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39902         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39903         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39904         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39905         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39906         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39907         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39908         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39909         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39910         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39911         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39912         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39913         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39914         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39915         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39916         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39917         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39919 2013-01-10  David S. Miller  <davem@davemloft.net>
39921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39923 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39925         * posix/Makefile (tests-static): New variable.
39926         (tests): Add $(tests-static).
39927         (tst-exec-static-ARGS): New variable.
39928         (tst-spawn-static-ARGS): Likewise.
39929         * posix/tst-exec-static.c: New file.
39930         * posix/tst-spawn-static.c: Likewise.
39931         * posix/tst-exec.c: Support run directly.
39932         * posix/tst-spawn.c: Likewise.
39934 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39936         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39937         long.
39938         * math/bits/mathcalls.h (llrint): Likewise.
39939         (llround): Likewise.
39940         * stdlib/stdlib.h (struct drand48_data): Likewise.
39941         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39942         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39943         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39944         Likewise.
39945         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39946         Likewise.
39947         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39948         (elf_greg_t): Likewise.
39949         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39950         (__jmp_buf): Likewise.
39951         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39952         definitions.
39953         (llrint): Likewise, for all definitions.
39954         (llrintl): Likewise.
39956         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39957         Remove [__GNUC__] condition.
39958         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39959         condition to just [__USE_ISOC99].
39960         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39962 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39964         [BZ #14200]
39965         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39966         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39967         defined.
39968         (_POSIX_V6_ILP32_OFF32): Likewise.
39969         (_XBS5_ILP32_OFF32): Likewise.
39970         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39971         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39973 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39975         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39978         doubles __mpexp_twomm1.  Adjust usage.
39979         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39980         Remove.
39982 2013-01-10  Andreas Schwab  <schwab@suse.de>
39984         [BZ #14964]
39985         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39986         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39988 2013-01-09  David S. Miller  <davem@davemloft.net>
39990         [BZ #15003]
39991         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39992         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39993         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39994         (TCP_FASTOPEN): Define.
39995         (tcp_repair_opt): New structure.
39996         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39997         enum values.
39998         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39999         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40000         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40001         (tcp_cookie_transactions): New structure.
40003 2013-01-09  Anton Blanchard  <anton@samba.org>
40005         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40006         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40007         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40008         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40010 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40012         * include/features.h (__USE_ANSI): Remove.
40014 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40016         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40018         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40020 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40022         * sysdeps/s390/fpu/libm-test-ulps: Update.
40024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40026         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40027         (__acr): Likewise.
40028         (__cpy): Likewise.
40029         (norm): Likewise.
40030         (denorm): Likewise.
40031         (__mp_dbl): Likewise.
40032         (__dbl_mp): Likewise.
40033         (add_magnitudes): Likewise.
40034         (sub_magnitudes): Likewise.
40035         (__add): Likewise.
40036         (__sub): Likewise.
40037         (__mul): Likewise.
40038         (__inv): Likewise.
40039         (__dvd): Likewise.
40040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40041         (__acr): Likewise.
40042         (__cpy): Likewise.
40043         (norm): Likewise.
40044         (denorm): Likewise.
40045         (__mp_dbl): Likewise.
40046         (__dbl_mp): Likewise.
40047         (add_magnitudes): Likewise.
40048         (sub_magnitudes): Likewise.
40049         (__add): Likewise.
40050         (__sub): Likewise.
40051         (__mul): Likewise.
40052         (__inv): Likewise.
40053         (__dvd): Likewise.
40054         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40055         (__acr): Likewise.
40056         (__cpy): Likewise.
40057         (norm): Likewise.
40058         (denorm): Likewise.
40059         (__mp_dbl): Likewise.
40060         (__dbl_mp): Likewise.
40061         (add_magnitudes): Likewise.
40062         (sub_magnitudes): Likewise.
40063         (__add): Likewise.
40064         (__sub): Likewise.
40065         (__mul): Likewise.
40066         (__inv): Likewise.
40067         (__dvd): Likewise.
40069 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40071         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40072         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40073         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40074         2 && __USE_EXTERN_INLINES]: Likewise.
40076 2013-01-08  Andreas Jaeger  <aj@suse.de>
40078         [BZ# 14985]
40079         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40080         Remove.
40081         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40082         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40084 2013-01-07  Anton Blanchard  <anton@samba.org>
40086         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40087         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40088         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40089         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40090         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40091         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40092         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40093         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40094         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40095         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40096         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40097         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40098         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40099         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40100         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40101         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40102         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40103         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40104         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40105         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40106         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40107         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40108         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40109         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40110         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40111         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40112         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40113         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40114         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40115         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40116         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40117         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40118         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40119         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40120         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40121         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40122         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40123         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40124         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40125         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40126         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40127         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40128         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40130 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40132         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40133         (__MALLOC_PMT): Likewise.
40134         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40135         [__GNUC__], only on [_LIBC].
40136         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40137         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40138         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40139         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40140         forward declaration.
40141         (realloc_hook_ini): Likewise.
40142         (memalign_hook_ini): Likewise.
40143         (__libc_memalign): Do not use __MALLOC_PMT in variable
40144         declaration.
40145         (__libc_valloc): Likewise.
40146         (__libc_pvalloc): Likewise.
40147         (__libc_calloc): Likewise.
40148         (__posix_memalign): Likewise.
40150         [BZ #14996]
40151         * math/s_casinh.c: Include <float.h>.
40152         (__casinh): Do not do computation with squaring and square root
40153         for large arguments.
40154         * math/s_casinhf.c: Include <float.h>.
40155         (__casinhf): Do not do computation with squaring and square root
40156         for large arguments.
40157         * math/s_casinhl.c: Include <float.h>.
40158         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40159         (__casinhl): Do not do computation with squaring and square root
40160         for large arguments.
40161         * math/libm-test.inc (casin_test): Add more tests.
40162         (casinh_test): Likewise.
40163         * sysdeps/i386/fpu/libm-test-ulps: Update.
40164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40166 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40168         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40169         (__x86_64_raw_data_cache_size): Likewise.
40170         (__x86_64_data_cache_size_half): Likewise.
40171         (__x86_64_raw_data_cache_size_half): Likewise.
40172         (__x86_64_shared_cache_size): Likewise.
40173         (__x86_64_raw_shared_cache_size): Likewise.
40174         (__x86_64_shared_cache_size_half): Likewise.
40175         (__x86_64_raw_shared_cache_size_half): Likewise.
40176         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40177         to ...
40178         (__x86_data_cache_size): This.
40179         (__x86_64_raw_data_cache_size): Renamed to ...
40180         (__x86_raw_data_cache_size): This.
40181         (__x86_64_data_cache_size_half): Renamed to ...
40182         (__x86_data_cache_size_half): This.
40183         (__x86_64_raw_data_cache_size_half): Renamed to ...
40184         (__x86_raw_data_cache_size_half): This.
40185         (__x86_64_shared_cache_size): Renamed to ...
40186         (__x86_shared_cache_size): This.
40187         (__x86_64_raw_shared_cache_size): Renamed to ...
40188         (__x86_raw_shared_cache_size): This.
40189         (__x86_64_shared_cache_size_half): Renamed to ...
40190         (__x86_shared_cache_size_half): This.
40191         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40192         (__x86_raw_shared_cache_size_half): This.
40193         * sysdeps/x86_64/memcpy.S: Updated.
40194         * sysdeps/x86_64/memset.S: Likewise.
40195         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40196         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40197         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40199 2013-01-04  David S. Miller  <davem@davemloft.net>
40201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40203 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40205         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40206         1 to avoid redefinition warning.
40207         (__USE_GNU): Don't define.
40208         (init_signaling_nan): Protoize.
40210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40212 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40214         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40215         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40216         (__cpymn): Likewise.
40217         (norm): Remove commented code.
40218         (denorm): Likewise.
40219         (__mp_dbl): Likewise.
40220         (__inv): Likewise.
40221         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40222         (__cpymn): Likewise.
40223         (norm): Remove commented code.
40224         (denorm): Likewise.
40225         (__mp_dbl): Likewise.
40226         (__inv): Likewise.
40228         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40229         mp_no value for 1.0 and 2.0.
40230         (norm): Use RADIXI instead of radixi.d.
40231         (denorm): Likewise.
40232         (__mul): Use 0.0 instead of zero.d.
40233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40234         mp_no value for 1.0 and 2.0.
40235         (norm): Use RADIXI instead of radixi.d.
40236         (denorm): Likewise.
40237         (__mul): Use 0.0 instead of zero.d.
40239 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40241         [BZ #14994]
40242         * math/s_casinh.c (__casinh): Reduce finite argument to first
40243         quadrant then set signs of results at the end.
40244         * math/s_casinhf.c (__casinhf): Likewise.
40245         * math/s_casinhl.c (__casinhl): Likewise.
40246         * math/libm-test.inc (casin_test): Add more tests.
40247         (casinh_test): Likewise.
40248         * sysdeps/i386/fpu/libm-test-ulps: Update.
40249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40251 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40253         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40255         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40257         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40258         declarations.
40259         (denorm): Likewise.
40260         (__mp_dbl): Likewise.
40261         (__inv): Likewise.
40263         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40264         and adjust the header comment.
40266         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40267         variable name from declaration.
40269 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40272         Initialize COMMON_CPUID_INDEX_7 element.
40273         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40274         (CPUID_RTM): Likewise.
40275         (HAS_RTM): Likewise.
40276         (COMMON_CPUID_INDEX_7): New enum.
40278 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40280         [BZ #14981]
40281         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40282         size is zero, record memory as freed.
40284 2013-01-03  Andreas Jaeger  <aj@suse.de>
40286         * po/ia.po: Add new Interlingua translation.
40288 2012-01-03  Allan McRae  <allan@archlinux.org>
40290         * locale/programs/localedef.c: Fix description of '--posix' flag.
40292 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40294         * NEWS: Update dates in second copyright notice.
40295         * README: Update copyright dates in example.
40296         * manual/libc.texinfo: Update copyright dates.
40297         * scripts/test-installation.pl: Update copyright date in --version
40298         output.
40300         * hurd/ctty-input.c: Fix copyright notice formatting.
40301         * hurd/ctty-output.c: Likewise.
40302         * hurd/dtable.c: Likewise.
40303         * hurd/hurd-raise.c: Likewise.
40304         * hurd/hurdprio.c: Likewise.
40305         * hurd/msgportdemux.c: Likewise.
40306         * misc/sys/file.h: Likewise.
40307         * misc/sys/ioctl.h: Likewise.
40308         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40309         * sysdeps/mach/hurd/chdir.c: Likewise.
40310         * sysdeps/mach/hurd/fchdir.c: Likewise.
40311         * sysdeps/mach/hurd/rename.c: Likewise.
40312         * sysdeps/mach/hurd/rmdir.c: Likewise.
40313         * sysdeps/mach/hurd/seekdir.c: Likewise.
40314         * sysdeps/mach/hurd/setsid.c: Likewise.
40315         * sysdeps/posix/wait3.c: Likewise.
40317         * All files with FSF copyright notices: Update copyright dates
40318         using scripts/update-copyrights.
40319         * intl/plural.c: Regenerated.
40320         * locale/programs/charmap-kw.h: Likewise.
40321         * locale/programs/locfile-kw.h: Likewise.
40323 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40325         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40326         four values.
40328         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40329         calculation loop and add branch prediction.
40331         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40332         check access beyond bounds of m1np.
40334         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40335         MPTWO.
40336         (__inv): Remove local variable MPTWO to use the global
40337         constant.
40338         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40339         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40340         variable MPTWO.
40341         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40342         MP3HALFS static const.
40344 2013-01-01  David S. Miller  <davem@davemloft.net>
40346         * po/ca.po: Update from translation team.
40348 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40350         * scripts/update-copyrights: New file.
40351         * Makeconfig: Reformat copyright notice.
40352         * ctype/ctype.h: Likewise.
40353         * debug/swprintf_chk.c: Likewise.
40354         * elf/dl-cache.c: Likewise.
40355         * elf/dl-debug.c: Likewise.
40356         * elf/dl-object.c: Likewise.
40357         * grp/initgroups.c: Likewise.
40358         * hurd/Makefile: Likewise.
40359         * hurd/hurd/signal.h: Likewise.
40360         * hurd/hurdfault.c: Likewise.
40361         * hurd/hurdioctl.c: Likewise.
40362         * hurd/hurdlookup.c: Likewise.
40363         * hurd/intr-msg.c: Likewise.
40364         * iconv/gconv_open.c: Likewise.
40365         * libio/swprintf.c: Likewise.
40366         * locale/lc-ctype.c: Likewise.
40367         * locale/nl_langinfo.c: Likewise.
40368         * mach/Machrules: Likewise.
40369         * mach/Makefile: Likewise.
40370         * malloc/obstack.h: Likewise.
40371         * manual/Makefile: Likewise.
40372         * manual/tsort.awk: Likewise.
40373         * misc/bits/stab.def: Likewise.
40374         * nis/nis_print_group_entry.c: Likewise.
40375         * nis/nis_table.c: Likewise.
40376         * nis/nss_compat/compat-pwd.c: Likewise.
40377         * nis/nss_compat/compat-spwd.c: Likewise.
40378         * po/Makefile: Likewise.
40379         * posix/fnmatch.c: Likewise.
40380         * posix/regex.h: Likewise.
40381         * resolv/Makefile: Likewise.
40382         * resolv/nss_dns/dns-network.c: Likewise.
40383         * resolv/res_hconf.c: Likewise.
40384         * scripts/gen-sorted.awk: Likewise.
40385         * soft-fp/soft-fp.h: Likewise.
40386         * stdio-common/printf.h: Likewise.
40387         * stdlib/monetary.h: Likewise.
40388         * stdlib/random.c: Likewise.
40389         * stdlib/random_r.c: Likewise.
40390         * sysdeps/generic/Makefile: Likewise.
40391         * sysdeps/gnu/Makefile: Likewise.
40392         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40393         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40394         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40395         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40396         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40397         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40398         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40399         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40400         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40401         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40402         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40403         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40404         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40405         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40406         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40407         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40408         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40409         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40410         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40411         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40412         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40413         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40414         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40415         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40416         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40417         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40418         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40419         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40420         * sysdeps/mach/hurd/errnos.awk: Likewise.
40421         * sysdeps/mach/hurd/fork.c: Likewise.
40422         * sysdeps/mach/hurd/getcwd.c: Likewise.
40423         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40424         * sysdeps/mach/hurd/mmap.c: Likewise.
40425         * sysdeps/mach/hurd/utimes.c: Likewise.
40426         * sysdeps/mach/hurd/xmknod.c: Likewise.
40427         * sysdeps/posix/profil.c: Likewise.
40428         * sysdeps/posix/readdir_r.c: Likewise.
40429         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40430         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40431         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40432         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40434         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40435         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40436         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40437         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40438         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40439         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40440         * sysdeps/pthread/lio_listio.c: Likewise.
40441         * sysdeps/sparc/dl-procinfo.h: Likewise.
40442         * sysdeps/unix/i386/sysdep.S: Likewise.
40443         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40444         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40445         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40446         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40448         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40449         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40450         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40451         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40452         * sysdeps/wordsize-32/divdi3.c: Likewise.
40453         * time/sys/time.h: Likewise.
40454         * wcsmbs/Makefile: Likewise.
40456 2013-01-01  David S. Miller  <davem@davemloft.net>
40458         * po/fr.po: Update from translation team.
40460         * catgets/gencat.c: Update copyright year.
40461         * csu/version.c: Likewise.
40462         * debug/catchsegv.sh: Likewise.
40463         * debug/pcprofiledump.c: Likewise.
40464         * debug/xtrace.sh: Likewise.
40465         * elf/ldconfig.c: Likewise.
40466         * elf/ldd.bash.in: Likewise.
40467         * elf/pldd.c: Likewise.
40468         * elf/sotruss.ksh: Likewise.
40469         * elf/sprof.c: Likewise.
40470         * iconv/iconv_prog.c: Likewise.
40471         * iconv/iconvconfig.c: Likewise.
40472         * locale/programs/locale.c: Likewise.
40473         * locale/programs/localedef.c: Likewise.
40474         * login/programs/pt_chown.c: Likewise.
40475         * malloc/memusage.sh: Likewise.
40476         * malloc/memusagestat.c: Likewise.
40477         * malloc/mtrace.pl: Likewise.
40478         * nscd/nscd.c: Likewise.
40479         * nss/getent.c: Likewise.
40480         * nss/makedb.c: Likewise.
40481         * posix/getconf.c: Likewise.
40483 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40485         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40486         numbers.
40488 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40490         * math/bits/mathcalls.h (modf): Use __nonnull.
40492 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40494         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40495         (split): Use macro CN instead of the bare value.
40496         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40497         could be used.
40498         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40499         instead of the bare value.
40500         (power1): Likewise.
40502 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40504         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40505         __ATAN_TWOM.
40506         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40508         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40509         their values.
40510         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40511         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40512         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40513         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40515 2012-12-28  Andreas Jaeger  <aj@suse.de>
40517         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40518         values are from Linux 3.7.
40520         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40521         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40523 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40525         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40526         TRUE case.
40528         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40529         (norm): Likewise.
40530         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40531         variables with preprocessor constants.
40532         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40533         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40534         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40536 2012-12-27  Bruno Haible  <bruno@clisp.org>
40538         [BZ #14317]
40539         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40540         only if needed.
40542 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40545         and use variable directly.
40546         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40548         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40549         MPONE.
40550         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40551         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40552         variable MPONE.
40553         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40555         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40556         include directive.  Remove local variable MPONE.
40557         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40558         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40559         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40561 2012-12-25  David S. Miller  <davem@davemloft.net>
40563         * version.h (RELEASE): Set to "development".
40564         (VERSION): Set to "2.17.90".
40565         * NEWS: Add 2.18 section.
40567 2012-12-21  David S. Miller  <davem@davemloft.net>
40569         * po/hr.po: Update from translation team.
40571 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40573         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40575 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40577         * NEWS:  Mention new memcpy for MIPS.
40579 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40581         * manual/contrib.texi (Contributors): Spelling correction.
40583 2012-12-15  David S. Miller  <davem@davemloft.net>
40585         * po/ru.po: Update from translation team.
40587 2012-12-13  David S. Miller  <davem@davemloft.net>
40589         * NEWS: Mention IFUNC testsuite enhancements.
40591         * po/pl.po: Update from translation team.
40592         * po/bg.po: Likewise.
40594         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40595         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40597 2012-12-11  David S. Miller  <davem@davemloft.net>
40599         * po/sv.po: Update from translation team.
40601         * po/vi.po: Update from translation team.
40603         * po/cs.po: Update from translation team.
40605         * po/de.po: Update from translation team.
40606         * po/eo.po: Likewise.
40607         * po/nl.po: Likewise.
40609 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40611         [BZ #14246]
40612         * manual/argp.texi (Argp Helper Functions): Move node to follow
40613         Argp Parsing State.
40615         [BZ #14872]
40616         * manual/conf.texi (Limits on File System Capacity): Mention if
40617         terminating null is included in the max size.
40619 2012-12-10  Andreas Jaeger  <aj@suse.de>
40621         * po/cs.po: Update from translation team.
40623 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40625         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40626         void pointer and cast to uintptr_t.
40627         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40628         path.
40629         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40630         * sysdeps/s390/s390-64/memset.S: Likewise.
40632 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40634         [BZ #14833]
40635         * menual/message.texi (Message Translation): Fix typos.
40636         (Helper programs for gettext): Likewise.
40638 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40640         [BZ #14898]
40641         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40642         Change to -1.
40644 2012-12-07  David S. Miller  <davem@davemloft.net>
40646         * po/libc.pot: Update.
40648 2012-12-07  Richard Henderson  <rth@redhat.com>
40650         [BZ #10114]
40651         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40652         normal/normal case to before the switch.
40653         (_FP_DIV): Likewise.
40655 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40656             Mike Frysinger  <vapier@gentoo.org>
40658         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40659         check for __NR_fadvise64_64.
40661 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40663         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40664         0, not just to plain "0" as a statement.
40665         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40666         with cw.
40668 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40670         * NEWS: Use sourceware.org in Bugzilla URL.
40672 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40675         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40677         * stdio-common/tst-put-error.c (do_test): Add newline to the
40678         padded test to ensure flush.
40680 2012-12-05  Jeff Law  <law@redhat.com>
40682         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40684 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40686         * README: Don't refer to ports add-on as distributed separately.
40687         Mention AArch64 in list of systems supported in the ports add-on.
40689         * LICENSES: Add more non-FSF copyright and license notices.
40691         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40692         ((unused)).
40694         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40696         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40697         10000 as width of padded output.
40699 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40701         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40703         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40704         variable LX with __attribute__ ((unused)).
40705         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40706         Likewise.
40707         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40708         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40709         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40710         with __attribute__ ((unused)).
40712 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40714         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40716 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40718         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40719         (CFLAGS-nldbl-acos.c): New variable.
40720         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40721         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40722         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40723         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40724         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40725         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40726         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40727         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40728         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40729         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40730         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40731         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40732         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40733         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40734         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40735         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40736         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40737         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40738         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40739         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40740         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40741         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40742         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40743         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40744         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40745         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40746         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40747         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40748         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40749         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40750         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40751         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40752         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40753         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40754         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40755         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40756         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40757         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40758         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40759         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40760         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40761         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40762         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40763         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40764         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40765         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40766         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40767         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40768         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40769         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40770         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40771         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40772         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40773         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40774         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40775         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40776         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40777         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40778         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40779         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40780         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40781         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40782         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40783         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40784         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40785         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40786         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40787         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40788         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40789         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40790         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40791         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40792         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40793         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40794         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40795         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40796         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40797         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40798         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40799         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40800         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40801         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40802         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40803         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40804         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40805         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40806         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40807         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40808         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40809         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40810         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40811         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40812         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40813         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40814         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40815         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40816         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40819         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40821         [BZ #14914]
40822         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40823         whole low double instead of just low 47 bits when splitting values
40824         into two parts.
40826 2012-12-03  Allan McRae  <allan@archlinux.org>
40828         * manual/stdio.texi (Predefined Printf Handlers): Remove
40829         @hsep and @vsep usage.
40831 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40833         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40834         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40836 2012-12-03  Jeff Law  <law@redhat.com>
40838         * time/sys/time.h (settimeofday): Do not mark TV argument
40839         as __nonnull.
40841 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40843         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40844         when currently writing and seek to current position when not.
40845         * libio/Makefile (tests): Remove bug-fclose1.
40846         * libio/bug-fclose1.c: Delete.
40848 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40850         * manual/arith.texi (feenableexcept): Fix typo.
40851         (fedisableexcept): Likewise.
40853 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40855         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40856         second, differently-typed declaration, rather than a cast.
40858 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40860         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40861         * include/rpc/svc.h: ... here.
40863 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40865         [BZ #13013]
40866         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40867         depending n and resplen2 to catch cases where answer
40868         equals answerp2.
40870 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40872         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40873         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40875 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40877         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40879 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40881         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40883 2012-11-28  Jeff Law  <law@redhat.com>
40885         [BZ #13761]
40886         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40887         dataset_temporary.  Track alloca usage into alloca_used.
40888         If dataset is large allocate and release it via malloc/free.
40890 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40892         [BZ #14197]
40893         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40895 2012-11-28  David S. Miller  <davem@davemloft.net>
40897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40899 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40901         [BZ #14803]
40902         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40903         of pi/2 rounded to nearest to 64 bits.
40904         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40905         nearest to 64 bits.
40906         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40907         bits.
40909 2012-11-28  Jeff Law <law@redhat.com>
40910             Martin Osvald <mosvald@redhat.com>
40912         [BZ #14889]
40913         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40914         * sunrpc/svc.c: Include time.h.
40915         (__svc_accept_failed): New function.
40916         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40917         any reason other than EINTR, call __svc_accept_failed.
40918         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40919         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40921 2012-11-28  Andreas Schwab  <schwab@suse.de>
40923         * scripts/abilist.awk: Also handle indirect functions in .opd
40924         section.
40926 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40928         [BZ #13881]
40929         * sysdeps/x86/fpu/powl_helper.c: New file.
40930         * sysdeps/x86/fpu/Makefile: Likewise.
40931         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40932         (p3): New object.
40933         (__ieee754_powl): Use __powl_helper for finite arguments except
40934         integer exponents below 8.
40935         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40936         (p3): New object.
40937         (__ieee754_powl): Use __powl_helper for finite arguments except
40938         integer exponents below 8.
40939         * math/libm-test.inc (pow_test): Add more tests and enable some
40940         previously disabled tests.
40941         * sysdeps/i386/fpu/libm-test-ulps: Update.
40942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40944 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40945             Carlos O'Donell  <carlos_odonell@mentor.com>
40947         * nss/makedb.c (is_prime): Assert that input is odd and greater
40948         than 4.  Note that fact in a comment too.
40949         (next_prime): Add 4 to input.
40951 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40953         [BZ #11741]
40954         * libio/Makefile (tests): Add test case tst-fwrite-error.
40955         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40956         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40957         * libio/tst-fwrite-error.c: New test case.
40959 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40961         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40962         before casting to void *.
40963         * include/libc-internal.h (__pointer_type): New macro.
40964         (__integer_if_pointer_type_sub): Likewise.
40965         (__integer_if_pointer_type): Likewise.
40966         (cast_to_integer): Likewise.
40967         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40968         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40969         before casting to atomic64_t.
40970         (atomic_exchange_acq): Likewise.
40971         (__arch_exchange_and_add_body): Likewise.
40972         (__arch_add_body): Likewise.
40973         (atomic_add_negative): Likewise.
40974         (atomic_add_zero): Likewise.
40976 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40978         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40979         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40980         (add_fdes): Likewise.
40981         (linear_search_fdes): Likewise.
40982         (binary_search_unencoded_fdes): Likewise.
40984 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40986         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40988 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40990         * configure.in: Autodetect C++ header directories.
40991         * configure: Regenerated.
40993 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40995         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40997 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41001 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41003         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41004         LDBL_MANT_DIG == 106]: Disable some tests.
41005         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41006         Likewise.
41007         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41008         Likewise.
41010         [BZ #14871]
41011         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41012         input for small inputs.  Return +/- pi/2 for large inputs.
41013         * math/libm-test.inc (atan_test): Add more tests.
41015         * sysdeps/generic/unwind-dw2-fde-glibc.c
41016         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41017         __attribute__ ((unused)).
41019         [BZ #14645]
41020         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41021         x * y if x and y are nonzero and z is zero.
41023         [BZ #14811]
41024         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41025         nonzero exponents with absolute value below 0x1p-117 to +/-
41026         0x1p-117.
41028         [BZ #14869]
41029         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41030         up arguments below 2**-450, not just those below 2**-500.
41031         * math/libm-test.inc (hypot_test): Add another test.
41033         [BZ #14868]
41034         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41035         Return a+b for ratio over 2**120, not 2**60.
41036         * math/libm-test.inc (hypot_test): Add another test.
41038         * math/libm-test.inc (clog_test): Use
41039         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41040         (clog10_test): Likewise.
41042         [BZ #6778]
41043         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41045 2012-11-22  Andreas Schwab  <schwab@suse.de>
41047         * sysdeps/i386/fpu/libm-test-ulps: Update.
41049 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41051         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41052         printf output with newline.
41054 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41056         [BZ #14865]
41057         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41058         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41059         -z nodlopen, -z initfirst and -z execstack support.
41060         * configure: Regenerated.
41062         * elf/elf.h (DF_1_NODIRECT): New macro.
41063         (DF_1_IGNMULDEF): Likewise.
41064         (DF_1_NOKSYMS): Likewise.
41065         (DF_1_NOHDR): Likewise.
41066         (DF_1_EDITED): Likewise.
41067         (DF_1_NORELOC): Likewise.
41068         (DF_1_SYMINTPOSE): Likewise.
41069         (DF_1_GLOBAUDIT): Likewise.
41070         (DF_1_SINGLETON): Likewise.
41071         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41072         DT_1_SUPPORTED_MASK bits.
41073         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41075 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41077         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41079 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41081         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41082         macro.
41084         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41085         (sendmmsg): Move declarations...
41086         * socket/sys/socket.h: ... here.
41087         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41088         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41089         include it from...
41090         * socket/recvmmsg.c: ... this new file.
41091         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41092         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41093         definition of __sendmmsg hidden.
41094         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41095         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41096         Move ENOSYS stub into and include it from...
41097         * socket/sendmmsg.c: ... this new file.
41098         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41099         (sysdep_routines): Move recvmmsg and sendmmsg...
41100         * socket/Makefile (routines): ... here.
41101         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41102         (GLIBC_PRIVATE): Add __sendmmsg.
41103         * include/sys/socket.h (__sendmmsg): Add declarations.
41104         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41105         sendmmsg.
41107 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41109         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41110         variable I1 with __attribute__ ((unused)).
41111         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41113 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41115         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41116         DUMMY variables with __attribute__ ((unused)).
41118         * bits/byteswap.h: Include <bits/types.h>.
41119         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41121 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41123         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41124         string_t.  Do not manually set errno.
41125         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41126         length with __strnlen.  Make sure to both set errno and return it on
41127         failure.
41129 2012-11-19  David S. Miller  <davem@davemloft.net>
41131         With help from Joseph Myers.
41132         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41133         very large arguments properly.
41134         * math/libm-test.inc (atan_test): New tests.
41135         (atan2_test): New tests.
41136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41139 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41141         [BZ #14856]
41142         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41143         Define to 3.
41145         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41146         [POSIX] (EADDRNOTAVAIL): Likewise.
41147         [POSIX] (EAFNOSUPPORT): Likewise.
41148         [POSIX] (EALREADY): Likewise.
41149         [POSIX] (ECONNABORTED): Likewise.
41150         [POSIX] (ECONNREFUSED): Likewise.
41151         [POSIX] (ECONNRESET): Likewise.
41152         [POSIX] (EDESTADDRREQ): Likewise.
41153         [POSIX] (EDQUOT): Likewise.
41154         [POSIX] (EHOSTUNREACH): Likewise.
41155         [POSIX] (EIDRM): Likewise.
41156         [POSIX] (EISCONN): Likewise.
41157         [POSIX] (ELOOP): Likewise.
41158         [POSIX] (EMULTIHOP): Likewise.
41159         [POSIX] (ENETDOWN): Likewise.
41160         [POSIX] (ENETUNREACH): Likewise.
41161         [POSIX] (ENOBUFS): Likewise.
41162         [POSIX] (ENODATA): Likewise.
41163         [POSIX] (ENOLINK): Likewise.
41164         [POSIX] (ENOMSG): Likewise.
41165         [POSIX] (ENOPROTOOPT): Likewise.
41166         [POSIX] (ENOSR): Likewise.
41167         [POSIX] (ENOSTR): Likewise.
41168         [POSIX] (ENOTCONN): Likewise.
41169         [POSIX] (ENOTSOCK): Likewise.
41170         [POSIX] (EOPNOTSUPP): Likewise.
41171         [POSIX] (EOVERFLOW): Likewise.
41172         [POSIX] (EPROTO): Likewise.
41173         [POSIX] (EPROTONOSUPPORT): Likewise.
41174         [POSIX] (EPROTOTYPE): Likewise.
41175         [POSIX] (ESTALE): Likewise.
41176         [POSIX] (ETIME): Likewise.
41177         [POSIX] (ETXTBSY): Likewise.
41178         [POSIX] (EWOULDBLOCK): Likewise.
41179         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41180         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41181         [POSIX] (SEEK_CUR): Likewise.
41182         [POSIX] (SEEK_END): Likewise.
41183         [POSIX || UNIX98] (mode_t): Do not require.
41184         [POSIX] (off_t): Likewise.
41185         [POSIX] (pid_t): Likewise.
41186         [POSIX] (sys/stat.h): Do not allow header.
41187         [POSIX] (unistd.h): Likewise.
41188         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41189         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41190         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41191         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41192         require.
41193         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41194         sigevent): Specify elements.
41195         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41196         entry.
41197         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41198         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41200         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41201         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41202         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41203         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41204         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41205         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41206         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41207         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41208         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41209         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41210         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41211         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41212         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41213         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41214         Likewise.
41215         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41216         Likewise.
41217         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41218         Likewise.
41219         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41220         Likewise.
41221         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41222         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41223         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41224         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41225         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41226         Specify lower bound on value.
41227         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41228         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41229         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41230         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41231         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41232         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41233         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41234         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41235         value.
41236         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41237         as optional.
41238         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41239         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41240         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41241         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41242         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41243         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41244         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41245         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41246         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41247         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41248         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41249         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41250         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41251         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41252         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41253         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41254         entry.
41255         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41256         optional.
41257         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41258         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41259         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41260         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41261         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41262         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41263         Likewise.
41264         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41265         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41266         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41267         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41268         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41269         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41270         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41271         as optional.
41272         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41273         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41274         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41275         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41276         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41277         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41278         specify as optional.
41279         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41280         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41281         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41282         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41283         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41284         [XPG3] (NL_LANGMAX): Likewise.
41285         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41286         [POSIX || XPG3] (NL_NMAX): Likewise.
41287         [POSIX || XPG3] (NL_SETMAX): Likewise.
41288         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41289         [XPG3] (NZERO): Likewise.
41290         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41291         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41292         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41293         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41294         (REG_ERANGE): Expect.
41295         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41296         optional-constant.
41297         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41298         Use (void) in prototype.
41299         [POSIX] (*_t): Allow.
41300         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41301         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41302         (WRDE_BADVAL): Expect.
41304         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41305         expect.
41306         [XPG3 || XPG4] (O_RSYNC): Likewise.
41307         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41308         Likewise.
41309         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41310         [XPG3 || XPG4] (sigqueue): Likewise.
41311         [XPG3 || XPG4] (sigtimedwait): Likewise.
41312         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41313         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41314         [XPG3 || XPG4] (vsnprintf): Likewise.
41315         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41316         Likewise.
41317         [XPG3 || XPG4] (blksize_t): Likewise.
41318         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41319         Likewise.
41320         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41321         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41322         [XPG3 || XPG4] (struct itimerspec): Likewise.
41323         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41324         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41325         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41326         [XPG3 || XPG4] (clockid_t): Likewise.
41327         [XPG3 || XPG4] (timer_t): Likewise.
41328         [XPG3 || XPG4] (clock_getres): Likewise.
41329         [XPG3 || XPG4] (clock_gettime): Likewise.
41330         [XPG3 || XPG4] (clock_settime): Likewise.
41331         [XPG3 || XPG4] (nanosleep): Likewise.
41332         [XPG3 || XPG4] (timer_create): Likewise.
41333         [XPG3 || XPG4] (timer_delete): Likewise.
41334         [XPG3 || XPG4] (timer_gettime): Likewise.
41335         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41336         [XPG3 || XPG4] (timer_settime): Likewise.
41337         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41338         [XPG3 || XPG4] (getlogin_r): Likewise.
41339         [XPG3 || XPG4] (pread): Likewise.
41340         [XPG3 || XPG4] (pthread_atfork): Likewise.
41341         [XPG3 || XPG4] (pwrite): Likewise.
41343         [BZ #14835]
41344         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41345         <bits/siginfo.h>.
41347 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41349         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41350         finalizing MALLSTREAM.
41352         * sysdeps/mach/hurd/syncfs.c: New file.
41354 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41356         [BZ #14719]
41357         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41358         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41359         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41360         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41361         (_nss_dns_gethostbyname4_r): Likewise.
41362         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41363         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41365 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41367         [BZ #13763]
41368         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41370 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41372         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41373         * elf/cache.c (print_entry): Print ",AArch64" for
41374         FLAG_AARCH64_LIB64
41376         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41377         * elf/cache.c (print_entry): Print ",hard-float" for
41378         FLAG_ARM_LIBHF.
41380 2012-11-18  David S. Miller  <davem@davemloft.net>
41382         With help from Joseph Myers.
41383         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41384         cutoff to 2**-13.
41385         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41386         cutoff to 2**-25.
41387         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41388         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41389         small.
41390         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41391         * math/libm-test.inc (y0_test): New tests.
41392         (y1_test): New tests.
41393         * sysdeps/i386/fpu/libm-test-ulps: Update.
41394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41397 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41399         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41400         64-bit targets.
41401         * configure: Regenerated.
41403 2012-11-17  David S. Miller  <davem@davemloft.net>
41405         [BZ #14811]
41406         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41407         nonzero exponents with absolute value below 0x1p-128 to +/-
41408         0x1p-128.
41410 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41412         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41414         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41416         * posix/getconf-speclist.c: New file.
41417         * posix/posix-envs.def: Likewise.
41418         * posix/confstr.c (START_ENV_GROUP): New macro.
41419         (END_ENV_GROUP): Likewise.
41420         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41421         (KNOWN_PRESENT_ENV_STRING): Likewise.
41422         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41423         (UNKNOWN_ENVIRONMENT): Likewise.
41424         (confstr): Include posix-envs.def instead of handling
41425         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41426         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41427         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41428         (END_ENV_GROUP): Likewise.
41429         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41430         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41431         (UNKNOWN_ENVIRONMENT): Likewise.
41432         (__sysconf): Include posix-envs.def instead of handling associated
41433         cases directly here.
41434         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41435         preprocessing getconf-speclist.c rather than running getconf or
41436         generating empty file.
41438 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41440         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41442 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41444         [BZ #14672]
41445         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41447 2012-11-16  David S. Miller  <davem@davemloft.net>
41449         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41450         smaller than LDBL_EPSILON/2.0L, just return xm1.
41452 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41454         * elf/tst-array1.c (init): Set constructor priority to 1000.
41455         (fini): Set destructor priority to 1000.
41456         * elf/tst-array2dep.c: Likewise.
41458 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41460         [BZ #11741]
41461         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41462         (_IO_new_file_xsputn): Also return EOF if none of the input
41463         data was written when overflow failed.
41464         * libio/iopadn.c (_IO_padn): Likewise.
41465         * libio/iowpadn.c (_IO_wpadn): Likewise.
41466         * stdio-common/tst-put-error.c: Add copyright notice.
41467         (do_test): Add case for printing padded string.
41468         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41469         _IO_padn returned error.
41470         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41471         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41472         return EOF.
41474 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41476         * libio/libioP.h: Add comment note that the references to C++
41477         bits are now obsolete.
41479 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41481         * math/libm-test.inc (check_complex): Use asprintf.
41483 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41485         * debug/pcprofiledump.c (print_version): Update copyright year.
41486         * malloc/memusagestat.c (print_version): Likewise.
41488 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41490         [BZ #14831]
41491         * elf/Makefile (tests): Add tst-audit8.
41492         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41493         ($(objpfx)tst-audit8.out): New target.
41494         (tst-audit8-ENV): New variable.
41495         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41496         audit if l_reloc_result is NULL.
41497         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41498         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41499         * elf/tst-audit8.c: New file.
41501 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41503         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41504         * misc/Makefile (CFLAGS-select.c): Define.
41505         * posix/Makefile (CFLAGS-pause.c): Define.
41507 2012-11-13  David S. Miller  <davem@davemloft.net>
41509         * crypt/Makefile: Move test targets after toplevel Rules
41510         inclusion.  Grab any necessary sysdep routines when linking.
41511         * crypt/md5.c (md5_process_block): Remove define, we will always
41512         name it __md5_process_block.
41513         (md5_finish_ctx): Update md5_process_block call.
41514         (md5_stream): Likewise.
41515         (md5_process_bytes): Likewise.
41516         (md5_process_block): Rename to __md5_process_block and move to ...
41517         * crypt/md5-block.c: ... here.
41518         * crypt/sha256.c (sha256_process_block): Move to ...
41519         * crypt/sha256-block.c: ... here.
41520         * crypt/sha512.c (sha512_process_block): Move to ...
41521         * crypt/sha512-block.c: ... here.
41522         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41523         path.
41524         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41525         * sysdeps/sparc/sparc64/multiarch/Makefile
41526         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41527         crypt subdir.
41528         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41529         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41530         multiarch changes.
41531         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41532         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41533         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41534         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41535         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41536         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41537         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41538         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41539         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41540         file.
41541         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41542         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41543         file.
41544         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41546 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41548         * timezone/tzselect.ksh: Update from tzcode git revision
41549         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41550         * timezone/zdump.c: Likewise.
41551         * timezone/zic.c: Likewise.
41552         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41553         in TZVERSION setting, not $(PKGVERSION).
41554         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41555         REPORT_BUGS_TO settings.
41557         [BZ #14838]
41558         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41559         macro.
41561 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41563         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41564         detection to immediately after _FP_ROUND().
41565         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41566         bits are 0.
41568 2012-11-11  David S. Miller  <davem@davemloft.net>
41570         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41571         inttypes.h
41572         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41573         __close rather than their public counterparts.
41575 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41577         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41578         file.
41579         [UNIX98] (sem_timedwait): Do not expect.
41580         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41581         [XPG4 || UNIX98] (sockatmark): Do not expect.
41582         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41583         (clock_getcpuclockid): Do not expect.
41584         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41585         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41586         Do not expect.
41587         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41588         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41589         [UNIX98] (vwscanf): Likewise.
41590         [UNIX98] (vswscanf): Likewise.
41592 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41594         * timezone/version.h: Remove file.
41595         * timezone/README: Do not refer to version.h.
41596         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41597         $(objpfx)version.h.
41598         ($(objpfx)zdump.o): Likewise.
41599         ($(objpfx)version.h): New target.
41601         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41602         2012i.
41603         * timezone/README: Don't mention modification to tzselect.ksh.
41604         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41605         work on unmodified tzselect.ksh.  Substitute version numbers in
41606         tzselect.ksh.
41608         * Makefile (format-me): Remove.
41609         (INSTALL): Adjust indentation.  Use commands directly instead of
41610         using $(format-me).
41612         * aclocal.m4 (ACX_PKGVERSION): New macro.
41613         (ACX_BUGURL): Likewise.
41614         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41615         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41616         (REPORT_BUGS_TO): Likewise.
41617         * configure: Regenerated.
41618         * config.h.in (PKGVERSION): New macro.
41619         (REPORT_BUGS_TO): Likewise.
41620         * config.make.in (PKGVERSION): New variable.
41621         (PKGVERSION_TEXI): Likewise.
41622         (REPORT_BUGS_TO): Likewise.
41623         (REPORT_BUGS_TEXI): Likewise.
41624         * Makefile (format-me): Use -I$(common-objpfx)manual.
41625         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41626         ($(common-objpfx)manual/%): New target.
41627         (manual/%): Remove target.
41628         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41629         (print_version): Use PKGVERSION.
41630         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41631         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41632         and REPORT_BUGS_TO.
41633         ($(objpfx)xtrace): Likewise.
41634         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41635         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41636         (print_version): Use PKGVERSION.
41637         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41638         (do_version): Use PKGVERSION.
41639         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41640         REPORT_BUGS_TO.
41641         (common-ldd-rewrite): Likewise.
41642         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41643         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41644         (print_version): Use PKGVERSION.
41645         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41646         * elf/pldd.c (argp_program_bug_address): Remove variable.
41647         (more_help): New function.
41648         (argp): Use more_help.
41649         (print_version): Use PKGVERSION.
41650         * elf/sln.c (main): Use PKGVERSION.
41651         (usage): Use REPORT_BUGS_TO.
41652         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41653         (top level): Use PKGVERSION.
41654         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41655         (print_version): Use PKGVERSION.
41656         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41657         (print_version): Use PKGVERSION.
41658         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41659         (print_version): Use PKGVERSION.
41660         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41661         (print_version): Use PKGVERSION.
41662         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41663         (print_version): Use PKGVERSION.
41664         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41665         (print_version): Use PKGVERSION.
41666         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41667         and BUGURL.
41668         ($(objpfx)memusage): Likewise.
41669         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41670         (do_version): Use PKGVERSION.
41671         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41672         (print_version): Use PKGVERSION.
41673         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41674         ($PKGVERSION): New variable.
41675         ($REPORT_BUGS_TO): Likewise.
41676         (usage): Use $REPORT_BUGS_TO.
41677         (top level): Use $PKGVERSION.
41678         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41679         ($(objpfx)pkgvers.texi): New rule.
41680         ($(objpfx)stamp-pkgvers): Likewise.
41681         * manual/install.texi: Include pkgvers.texi.
41682         (--with-pkgversion): Document new configure option.
41683         (--with-bugurl): Likewise.
41684         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41685         than necessarily for this particular distribution.  Use
41686         REPORT_BUGS_TO for where to report bugs.
41687         * INSTALL: Regenerated.
41688         * manual/libc.texinfo: Include pkgvers.texi.
41689         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41690         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41691         (print_version): Use PKGVERSION.
41692         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41693         (print_version): Use PKGVERSION.
41694         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41695         (print_version): Use PKGVERSION.
41696         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41697         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41698         macro.
41699         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41700         (print_version): Use PKGVERSION.
41701         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41702         (print_version): Use PKGVERSION.
41703         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41704         and PKGVERSION.
41706         * timezone/checktab.awk: Update from tzcode 2012i.
41707         * timezone/ialloc.c: Likewise.
41708         * timezone/private.h: Likewise.
41709         * timezone/scheck.c: Likewise.
41710         * timezone/tzfile.h: Likewise.
41711         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41712         (TZVERSION): Hardcode tzcode version number.
41713         * timezone/zdump.c: Update from tzcode 2012i.
41714         * timezone/zic.c: Likewise.
41715         * timezone/version.h: New file.
41716         * timezone/README: Describe version.h.  Update upstream location.
41718         [BZ #14824]
41719         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41720         (mktemp): Enable declaration.
41721         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41722         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41723         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41724         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41725         Likewise.
41726         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41727         Likewise.
41728         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41729         Likewise.
41730         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41731         Likewise.
41732         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41733         Likewise.
41734         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41735         Likewise.
41737         [BZ #14821]
41738         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41739         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41740         for copies of such integer values.
41741         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41742         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41744 2012-11-09  Andreas Jaeger  <aj@suse.de>
41746         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41747         definitions and declarations that are provided by
41748         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41750 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41752         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41753         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41754         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41755         definition.
41757 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41759         * elf/elf.h: Update comment before AArch64 relocations.
41761 2012-11-07  David S. Miller  <davem@davemloft.net>
41763         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41764         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41765         (__start_context): Declare.
41766         (__makecontext_ret): Delete.
41767         (__makecontext): Hook up __start_context instead of
41768         __makecontext_ret.
41769         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41770         (sysdep_routines): Add __start_context when in stdlib.
41772 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41774         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41775         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41776         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41777         hardcoded "nm".
41778         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41779         (READELF): New variable.  Use it instead of hardcoded "readelf".
41781 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41783         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41784         * sysdeps/x86/Makefile: Here.
41785         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41786         * sysdeps/x86/tst-xmmymm.sh: This.
41788 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41790         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41791         expectations.
41792         [UNIX98] (pthread_barrier_t): Do not expect.
41793         [UNIX98] (pthread_barrierattr_t): Likewise.
41794         [UNIX98] (pthread_spinlock_t): Likewise.
41795         [UNIX98] (pthread_barrier_destroy): Likewise.
41796         [UNIX98] (pthread_barrier_init): Likewise.
41797         [UNIX98] (pthread_barrier_wait): Likewise.
41798         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41799         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41800         [UNIX98] (pthread_barrierattr_init): Likewise.
41801         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41802         [UNIX98] (pthread_getcpuclockid): Likewise.
41803         [UNIX98] (pthread_mutex_timedlock): Likewise.
41804         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41805         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41806         [UNIX98] (pthread_sigmask): Likewise.
41807         [UNIX98] (pthread_spin_destroy): Likewise.
41808         [UNIX98] (pthread_spin_init): Likewise.
41809         [UNIX98] (pthread_spin_lock): Likewise.
41810         [UNIX98] (pthread_spin_trylock): Likewise.
41811         [UNIX98] (pthread_spin_unlock): Likewise.
41812         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41813         Do not expect.
41814         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41815         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41816         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41817         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41818         [XPG3 || XPG4] (pthread_key_t): Likewise.
41819         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41820         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41821         [XPG3 || XPG4] (pthread_once_t): Likewise.
41822         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41823         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41824         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41825         [XPG3 || XPG4] (pthread_t): Likewise.
41827         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41828         not expect.
41829         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41831         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41832         Change function return type to int.
41834         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41835         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41836         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41837         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41838         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41839         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41840         [!POSIX] (posix_madvise): Likewise.
41841         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41842         && !UNIX98].
41843         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41844         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41845         (mode_t): Likewise.
41846         (posix_mem_offset): Likewise.
41847         (posix_typed_mem_get_info): Likewise.
41848         (posix_typed_mem_open): Likewise.
41850         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41851         Change condition to [XOPEN2K8].
41853         * conform/conformtest.pl: Preprocess allow-header data with -x c
41854         instead of from stdin.
41855         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41856         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41857         [C99-based standards] (cerfc): Likewise.
41858         [C99-based standards] (cexp2): Likewise.
41859         [C99-based standards] (cexpm1): Likewise.
41860         [C99-based standards] (clog10): Likewise.
41861         [C99-based standards] (clog1p): Likewise.
41862         [C99-based standards] (clog2): Likewise.
41863         [C99-based standards] (clgamma): Likewise.
41864         [C99-based standards] (ctgamma): Likewise.
41865         [C99-based standards] (cerff): Likewise.
41866         [C99-based standards] (cerfcf): Likewise.
41867         [C99-based standards] (cexp2f): Likewise.
41868         [C99-based standards] (cexpm1f): Likewise.
41869         [C99-based standards] (clog10f): Likewise.
41870         [C99-based standards] (clog1pf): Likewise.
41871         [C99-based standards] (clog2f): Likewise.
41872         [C99-based standards] (clgammaf): Likewise.
41873         [C99-based standards] (ctgammaf): Likewise.
41874         [C99-based standards] (cerfl): Likewise.
41875         [C99-based standards] (cerfcl): Likewise.
41876         [C99-based standards] (cexp2l): Likewise.
41877         [C99-based standards] (cexpm1l): Likewise.
41878         [C99-based standards] (clog10l): Likewise.
41879         [C99-based standards] (clog1pl): Likewise.
41880         [C99-based standards] (clog2l): Likewise.
41881         [C99-based standards] (clgammal): Likewise.
41882         [C99-based standards] (ctgammal): Likewise.
41883         * conform/data/inttypes.h-data [C99-based standards]: Include
41884         stdint.h-data.  Remove all expectations for stdint.h contents.
41885         [C99-based standards] (PRI*): Do not allow.
41886         [C99-based standards] (SCN*): Likewise.
41887         [C99-based standards] (*_t): Likewise.
41888         [C99-based-standards] (PRId8): Expect macro.
41889         [C99-based-standards] (PRIi8): Likewise.
41890         [C99-based-standards] (PRIo8): Likewise.
41891         [C99-based-standards] (PRIu8): Likewise.
41892         [C99-based-standards] (PRIx8): Likewise.
41893         [C99-based-standards] (PRIX8): Likewise.
41894         [C99-based-standards] (SCNd8): Likewise.
41895         [C99-based-standards] (SCNi8): Likewise.
41896         [C99-based-standards] (SCNo8): Likewise.
41897         [C99-based-standards] (SCNu8): Likewise.
41898         [C99-based-standards] (SCNx8): Likewise.
41899         [C99-based-standards] (PRIdLEAST8): Likewise.
41900         [C99-based-standards] (PRIiLEAST8): Likewise.
41901         [C99-based-standards] (PRIoLEAST8): Likewise.
41902         [C99-based-standards] (PRIuLEAST8): Likewise.
41903         [C99-based-standards] (PRIxLEAST8): Likewise.
41904         [C99-based-standards] (PRIXLEAST8): Likewise.
41905         [C99-based-standards] (SCNdLEAST8): Likewise.
41906         [C99-based-standards] (SCNiLEAST8): Likewise.
41907         [C99-based-standards] (SCNoLEAST8): Likewise.
41908         [C99-based-standards] (SCNuLEAST8): Likewise.
41909         [C99-based-standards] (SCNxLEAST8): Likewise.
41910         [C99-based-standards] (PRIdFAST8): Likewise.
41911         [C99-based-standards] (PRIiFAST8): Likewise.
41912         [C99-based-standards] (PRIoFAST8): Likewise.
41913         [C99-based-standards] (PRIuFAST8): Likewise.
41914         [C99-based-standards] (PRIxFAST8): Likewise.
41915         [C99-based-standards] (PRIXFAST8): Likewise.
41916         [C99-based-standards] (SCNdFAST8): Likewise.
41917         [C99-based-standards] (SCNiFAST8): Likewise.
41918         [C99-based-standards] (SCNoFAST8): Likewise.
41919         [C99-based-standards] (SCNuFAST8): Likewise.
41920         [C99-based-standards] (SCNxFAST8): Likewise.
41921         [C99-based-standards] (PRId16): Likewise.
41922         [C99-based-standards] (PRIi16): Likewise.
41923         [C99-based-standards] (PRIo16): Likewise.
41924         [C99-based-standards] (PRIu16): Likewise.
41925         [C99-based-standards] (PRIx16): Likewise.
41926         [C99-based-standards] (PRIX16): Likewise.
41927         [C99-based-standards] (SCNd16): Likewise.
41928         [C99-based-standards] (SCNi16): Likewise.
41929         [C99-based-standards] (SCNo16): Likewise.
41930         [C99-based-standards] (SCNu16): Likewise.
41931         [C99-based-standards] (SCNx16): Likewise.
41932         [C99-based-standards] (PRIdLEAST16): Likewise.
41933         [C99-based-standards] (PRIiLEAST16): Likewise.
41934         [C99-based-standards] (PRIoLEAST16): Likewise.
41935         [C99-based-standards] (PRIuLEAST16): Likewise.
41936         [C99-based-standards] (PRIxLEAST16): Likewise.
41937         [C99-based-standards] (PRIXLEAST16): Likewise.
41938         [C99-based-standards] (SCNdLEAST16): Likewise.
41939         [C99-based-standards] (SCNiLEAST16): Likewise.
41940         [C99-based-standards] (SCNoLEAST16): Likewise.
41941         [C99-based-standards] (SCNuLEAST16): Likewise.
41942         [C99-based-standards] (SCNxLEAST16): Likewise.
41943         [C99-based-standards] (PRIdFAST16): Likewise.
41944         [C99-based-standards] (PRIiFAST16): Likewise.
41945         [C99-based-standards] (PRIoFAST16): Likewise.
41946         [C99-based-standards] (PRIuFAST16): Likewise.
41947         [C99-based-standards] (PRIxFAST16): Likewise.
41948         [C99-based-standards] (PRIXFAST16): Likewise.
41949         [C99-based-standards] (SCNdFAST16): Likewise.
41950         [C99-based-standards] (SCNiFAST16): Likewise.
41951         [C99-based-standards] (SCNoFAST16): Likewise.
41952         [C99-based-standards] (SCNuFAST16): Likewise.
41953         [C99-based-standards] (SCNxFAST16): Likewise.
41954         [C99-based-standards] (PRId32): Likewise.
41955         [C99-based-standards] (PRIi32): Likewise.
41956         [C99-based-standards] (PRIo32): Likewise.
41957         [C99-based-standards] (PRIu32): Likewise.
41958         [C99-based-standards] (PRIx32): Likewise.
41959         [C99-based-standards] (PRIX32): Likewise.
41960         [C99-based-standards] (SCNd32): Likewise.
41961         [C99-based-standards] (SCNi32): Likewise.
41962         [C99-based-standards] (SCNo32): Likewise.
41963         [C99-based-standards] (SCNu32): Likewise.
41964         [C99-based-standards] (SCNx32): Likewise.
41965         [C99-based-standards] (PRIdLEAST32): Likewise.
41966         [C99-based-standards] (PRIiLEAST32): Likewise.
41967         [C99-based-standards] (PRIoLEAST32): Likewise.
41968         [C99-based-standards] (PRIuLEAST32): Likewise.
41969         [C99-based-standards] (PRIxLEAST32): Likewise.
41970         [C99-based-standards] (PRIXLEAST32): Likewise.
41971         [C99-based-standards] (SCNdLEAST32): Likewise.
41972         [C99-based-standards] (SCNiLEAST32): Likewise.
41973         [C99-based-standards] (SCNoLEAST32): Likewise.
41974         [C99-based-standards] (SCNuLEAST32): Likewise.
41975         [C99-based-standards] (SCNxLEAST32): Likewise.
41976         [C99-based-standards] (PRIdFAST32): Likewise.
41977         [C99-based-standards] (PRIiFAST32): Likewise.
41978         [C99-based-standards] (PRIoFAST32): Likewise.
41979         [C99-based-standards] (PRIuFAST32): Likewise.
41980         [C99-based-standards] (PRIxFAST32): Likewise.
41981         [C99-based-standards] (PRIXFAST32): Likewise.
41982         [C99-based-standards] (SCNdFAST32): Likewise.
41983         [C99-based-standards] (SCNiFAST32): Likewise.
41984         [C99-based-standards] (SCNoFAST32): Likewise.
41985         [C99-based-standards] (SCNuFAST32): Likewise.
41986         [C99-based-standards] (SCNxFAST32): Likewise.
41987         [C99-based-standards] (PRId64): Likewise.
41988         [C99-based-standards] (PRIi64): Likewise.
41989         [C99-based-standards] (PRIo64): Likewise.
41990         [C99-based-standards] (PRIu64): Likewise.
41991         [C99-based-standards] (PRIx64): Likewise.
41992         [C99-based-standards] (PRIX64): Likewise.
41993         [C99-based-standards] (SCNd64): Likewise.
41994         [C99-based-standards] (SCNi64): Likewise.
41995         [C99-based-standards] (SCNo64): Likewise.
41996         [C99-based-standards] (SCNu64): Likewise.
41997         [C99-based-standards] (SCNx64): Likewise.
41998         [C99-based-standards] (PRIdLEAST64): Likewise.
41999         [C99-based-standards] (PRIiLEAST64): Likewise.
42000         [C99-based-standards] (PRIoLEAST64): Likewise.
42001         [C99-based-standards] (PRIuLEAST64): Likewise.
42002         [C99-based-standards] (PRIxLEAST64): Likewise.
42003         [C99-based-standards] (PRIXLEAST64): Likewise.
42004         [C99-based-standards] (SCNdLEAST64): Likewise.
42005         [C99-based-standards] (SCNiLEAST64): Likewise.
42006         [C99-based-standards] (SCNoLEAST64): Likewise.
42007         [C99-based-standards] (SCNuLEAST64): Likewise.
42008         [C99-based-standards] (SCNxLEAST64): Likewise.
42009         [C99-based-standards] (PRIdFAST64): Likewise.
42010         [C99-based-standards] (PRIiFAST64): Likewise.
42011         [C99-based-standards] (PRIoFAST64): Likewise.
42012         [C99-based-standards] (PRIuFAST64): Likewise.
42013         [C99-based-standards] (PRIxFAST64): Likewise.
42014         [C99-based-standards] (PRIXFAST64): Likewise.
42015         [C99-based-standards] (SCNdFAST64): Likewise.
42016         [C99-based-standards] (SCNiFAST64): Likewise.
42017         [C99-based-standards] (SCNoFAST64): Likewise.
42018         [C99-based-standards] (SCNuFAST64): Likewise.
42019         [C99-based-standards] (SCNxFAST64): Likewise.
42020         [C99-based-standards] (PRIdMAX): Likewise.
42021         [C99-based-standards] (PRIiMAX): Likewise.
42022         [C99-based-standards] (PRIoMAX): Likewise.
42023         [C99-based-standards] (PRIuMAX): Likewise.
42024         [C99-based-standards] (PRIxMAX): Likewise.
42025         [C99-based-standards] (PRIXMAX): Likewise.
42026         [C99-based-standards] (SCNdMAX): Likewise.
42027         [C99-based-standards] (SCNiMAX): Likewise.
42028         [C99-based-standards] (SCNoMAX): Likewise.
42029         [C99-based-standards] (SCNuMAX): Likewise.
42030         [C99-based-standards] (SCNxMAX): Likewise.
42031         [C99-based-standards] (PRIdPTR): Likewise.
42032         [C99-based-standards] (PRIiPTR): Likewise.
42033         [C99-based-standards] (PRIoPTR): Likewise.
42034         [C99-based-standards] (PRIuPTR): Likewise.
42035         [C99-based-standards] (PRIxPTR): Likewise.
42036         [C99-based-standards] (PRIXPTR): Likewise.
42037         [C99-based-standards] (SCNdPTR): Likewise.
42038         [C99-based-standards] (SCNiPTR): Likewise.
42039         [C99-based-standards] (SCNoPTR): Likewise.
42040         [C99-based-standards] (SCNuPTR): Likewise.
42041         [C99-based-standards] (SCNxPTR): Likewise.
42042         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42043         allow.
42044         * conform/data/stdint.h-data: Update comments to clarify
42045         requirements.
42046         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42047         type.
42048         [C99-based standards] (INT8_MAX): Likewise.
42049         [C99-based standards] (INT16_MIN): Likewise.
42050         [C99-based standards] (INT16_MAX): Likewise.
42051         [C99-based standards] (INT32_MIN): Likewise.
42052         [C99-based standards] (INT32_MAX): Likewise.
42053         [C99-based standards] (INT64_MIN): Likewise.
42054         [C99-based standards] (INT64_MAX): Likewise.
42055         [C99-based standards] (UINT8_MAX): Likewise.
42056         [C99-based standards] (UINT16_MAX): Likewise.
42057         [C99-based standards] (UINT32_MAX): Likewise.
42058         [C99-based standards] (UINT64_MAX): Likewise.
42059         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42060         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42061         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42062         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42063         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42064         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42065         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42066         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42067         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42068         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42069         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42070         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42071         [C99-based standards] (INT_FAST8_MIN): Likewise.
42072         [C99-based standards] (INT_FAST8_MAX): Likewise.
42073         [C99-based standards] (INT_FAST16_MIN): Likewise.
42074         [C99-based standards] (INT_FAST16_MAX): Likewise.
42075         [C99-based standards] (INT_FAST32_MIN): Likewise.
42076         [C99-based standards] (INT_FAST32_MAX): Likewise.
42077         [C99-based standards] (INT_FAST64_MIN): Likewise.
42078         [C99-based standards] (INT_FAST64_MAX): Likewise.
42079         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42080         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42081         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42082         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42083         [C99-based standards] (INTPTR_MIN): Likewise.
42084         [C99-based standards] (INTPTR_MAX): Likewise.
42085         [C99-based standards] (UINTPTR_MAX): Likewise.
42086         [C99-based standards] (INTMAX_MIN): Likewise.
42087         [C99-based standards] (INTMAX_MAX): Likewise.
42088         [C99-based standards] (UINTMAX_MAX): Likewise.
42089         [C99-based standards] (PTRDIFF_MIN): Likewise.
42090         [C99-based standards] (PTRDIFF_MAX): Likewise.
42091         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42092         [C99-based standards] (SIZE_MAX): Likewise.
42093         [C99-based standards] (WCHAR_MAX): Likewise.
42094         [C99-based standards] (WINT_MAX): Likewise.
42095         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42096         constraint on value.
42097         [C99-based standards] (WCHAR_MIN): Likewise.
42098         [C99-based standards] (WINT_MIN): Likewise.
42099         [C99-based standards] (*_t): Allow.
42100         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42101         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42102         Include math.h-data and complex.h-data.  Remove all expectations
42103         of math.h and complex.h contents.
42104         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42105         at end of line.
42106         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42107         (struct tm): Expect tag.
42108         [C99-based-standards] (wcstof): Expect function.
42109         [C99-based-standards] (wcstold): Likewise.
42110         [C99-based-standards] (wcstoll): Likewise.
42111         [C99-based-standards] (wcstoull): Likewise.
42112         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42113         macro-int-constant.  Specify type.
42114         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42115         constraint on value.
42116         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42117         Specify type.
42118         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42119         Specify value.
42120         [ISO C standards]: Do not allow headers.
42121         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42122         wcs[abcdefghijklmnopqrstuvwxyz]*.
42123         [ISO C standards] (*_t): Do not allow.
42124         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42125         Expect function.
42126         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42127         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42128         Specify type.
42129         [ISO C standards]: Do not allow headers.
42130         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42131         is[abcdefghijklmnopqrstuvwxyz]*.
42132         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42133         to[abcdefghijklmnopqrstuvwxyz]*.
42134         [ISO C standards] (*_t): Do not allow.
42135         * conform/data/stdalign.h-data: New file.
42136         * conform/data/stdbool.h-data: Likewise.
42137         * conform/data/stdnoreturn.h-data: Likewise.
42139 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42141         [BZ #14815]
42142         * manual/filesys.texi (Directory Entries): Typo fix.
42143         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42145 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42147         * elf/elf.h (EM_AARCH64): New macro.
42148         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42149         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42150         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42151         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42152         (R_AARCH64_TLSDESC): Likewise.
42153         (NT_ARM_TLS): Likewise.
42154         (NT_ARM_HW_BREAK): Likewise.
42155         (NT_ARM_HW_WATCH): Likewise.
42157 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42159         [BZ #14811]
42160         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42161         (__ieee754_powl): Saturate nonzero exponents with absolute value
42162         below 0x1p-79 to +/- 0x1p-79.
42163         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42164         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42165         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42166         nonzero exponents with absolute value below 0x1p-32 to +/-
42167         0x1p-32.
42168         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42169         (__ieee754_powl): Saturate nonzero exponents with absolute value
42170         below 0x1p-79 to +/- 0x1p-79.
42171         * math/libm-test.inc (pow_test): Add more tests.
42173 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42175         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42176         _dl_s390_cap_flags with kernel. Increase string length.
42177         (_dl_s390_platforms): Add z196 and zEC12.
42179 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42181         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42182         Change XOPEN21K to XOPEN2K.
42184 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42186         * string/memmove.c: Use memcpy when possible.
42188 2012-11-06  Andreas Jaeger  <aj@suse.de>
42190         * po/eo.po: Update from translation team.
42192 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42194         [BZ #14793]
42195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42196         exponent and small x and y exponents, scale x or y up.  Increase
42197         by 2 the exponent used in scaling up.
42198         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42199         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42200         * math/libm-test.inc (fma_test): Add more tests.
42201         (fma_test_towardzero): Likewise.
42202         (fma_test_downward): Likewise.
42203         (fma_test_upward): Likewise.
42205 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42207         [BZ #14805]
42208         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42209         fenv_t *.
42211         [BZ #14801]
42212         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42213         namespace for names of struct fields.
42214         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42215         fenv_t fields.
42216         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42217         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42219 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42221         [BZ #3665]
42222         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42224 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42226         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42227         PTR_DEMANGLE.
42229         [BZ #5246]
42230         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42231         PTR_DEMANGLE.
42233 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42235         [BZ #14797]
42236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42237         definitely overflow as x * y not x * y + z.
42238         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42239         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42240         * math/libm-test.inc (fma_test): Add more tests.
42241         (fma_test_towardzero): Likewise.
42242         (fma_test_downward): Likewise.
42243         (fma_test_upward): Likewise.
42245 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42247         [BZ #157]
42249         * include/stub-tag.h: Remove file.
42250         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42251         '#include' of it.
42252         * manual/maint.texi (Porting): Don't reference it.
42253         * Makerules ($(objpfx)stubs): Likewise.
42254         * dirent/closedir.c: Don't include <stub-tag.h>.
42255         * dirent/dirfd.c: Likewise.
42256         * dirent/fdopendir.c: Likewise.
42257         * dirent/getdents.c: Likewise.
42258         * dirent/getdents64.c: Likewise.
42259         * dirent/opendir.c: Likewise.
42260         * dirent/readdir.c: Likewise.
42261         * dirent/readdir64.c: Likewise.
42262         * dirent/readdir64_r.c: Likewise.
42263         * dirent/readdir_r.c: Likewise.
42264         * dirent/rewinddir.c: Likewise.
42265         * dirent/seekdir.c: Likewise.
42266         * dirent/telldir.c: Likewise.
42267         * gmon/profil.c: Likewise.
42268         * grp/setgroups.c: Likewise.
42269         * inet/if_index.c: Likewise.
42270         * io/access.c: Likewise.
42271         * io/chdir.c: Likewise.
42272         * io/chmod.c: Likewise.
42273         * io/chown.c: Likewise.
42274         * io/close.c: Likewise.
42275         * io/dup.c: Likewise.
42276         * io/dup2.c: Likewise.
42277         * io/dup3.c: Likewise.
42278         * io/euidaccess.c: Likewise.
42279         * io/faccessat.c: Likewise.
42280         * io/fchdir.c: Likewise.
42281         * io/fchmod.c: Likewise.
42282         * io/fchmodat.c: Likewise.
42283         * io/fchown.c: Likewise.
42284         * io/fchownat.c: Likewise.
42285         * io/fcntl.c: Likewise.
42286         * io/flock.c: Likewise.
42287         * io/fstatfs.c: Likewise.
42288         * io/fstatfs64.c: Likewise.
42289         * io/fstatvfs.c: Likewise.
42290         * io/fstatvfs64.c: Likewise.
42291         * io/futimens.c: Likewise.
42292         * io/fxstat.c: Likewise.
42293         * io/fxstat64.c: Likewise.
42294         * io/fxstatat.c: Likewise.
42295         * io/fxstatat64.c: Likewise.
42296         * io/getcwd.c: Likewise.
42297         * io/isatty.c: Likewise.
42298         * io/lchmod.c: Likewise.
42299         * io/lchown.c: Likewise.
42300         * io/link.c: Likewise.
42301         * io/linkat.c: Likewise.
42302         * io/lseek.c: Likewise.
42303         * io/lseek64.c: Likewise.
42304         * io/lxstat64.c: Likewise.
42305         * io/mkdir.c: Likewise.
42306         * io/mkdirat.c: Likewise.
42307         * io/mkfifo.c: Likewise.
42308         * io/mkfifoat.c: Likewise.
42309         * io/open.c: Likewise.
42310         * io/open64.c: Likewise.
42311         * io/openat.c: Likewise.
42312         * io/openat64.c: Likewise.
42313         * io/pipe.c: Likewise.
42314         * io/pipe2.c: Likewise.
42315         * io/poll.c: Likewise.
42316         * io/posix_fadvise.c: Likewise.
42317         * io/posix_fadvise64.c: Likewise.
42318         * io/posix_fallocate.c: Likewise.
42319         * io/posix_fallocate64.c: Likewise.
42320         * io/read.c: Likewise.
42321         * io/readlink.c: Likewise.
42322         * io/readlinkat.c: Likewise.
42323         * io/rmdir.c: Likewise.
42324         * io/sendfile.c: Likewise.
42325         * io/sendfile64.c: Likewise.
42326         * io/statfs.c: Likewise.
42327         * io/statfs64.c: Likewise.
42328         * io/statvfs.c: Likewise.
42329         * io/statvfs64.c: Likewise.
42330         * io/symlink.c: Likewise.
42331         * io/symlinkat.c: Likewise.
42332         * io/ttyname.c: Likewise.
42333         * io/ttyname_r.c: Likewise.
42334         * io/umask.c: Likewise.
42335         * io/unlink.c: Likewise.
42336         * io/unlinkat.c: Likewise.
42337         * io/utime.c: Likewise.
42338         * io/utimensat.c: Likewise.
42339         * io/write.c: Likewise.
42340         * io/xmknod.c: Likewise.
42341         * io/xmknodat.c: Likewise.
42342         * io/xstat.c: Likewise.
42343         * io/xstat64.c: Likewise.
42344         * login/getpt.c: Likewise.
42345         * login/grantpt.c: Likewise.
42346         * login/unlockpt.c: Likewise.
42347         * math/e_acoshl.c: Likewise.
42348         * math/e_acosl.c: Likewise.
42349         * math/e_asinl.c: Likewise.
42350         * math/e_atan2l.c: Likewise.
42351         * math/e_atanhl.c: Likewise.
42352         * math/e_coshl.c: Likewise.
42353         * math/e_expl.c: Likewise.
42354         * math/e_fmodl.c: Likewise.
42355         * math/e_gammal_r.c: Likewise.
42356         * math/e_hypotl.c: Likewise.
42357         * math/e_j0l.c: Likewise.
42358         * math/e_j1l.c: Likewise.
42359         * math/e_jnl.c: Likewise.
42360         * math/e_lgammal_r.c: Likewise.
42361         * math/e_log10l.c: Likewise.
42362         * math/e_log2l.c: Likewise.
42363         * math/e_logl.c: Likewise.
42364         * math/e_powl.c: Likewise.
42365         * math/e_rem_pio2l.c: Likewise.
42366         * math/e_sinhl.c: Likewise.
42367         * math/e_sqrtl.c: Likewise.
42368         * math/fclrexcpt.c: Likewise.
42369         * math/fedisblxcpt.c: Likewise.
42370         * math/feenablxcpt.c: Likewise.
42371         * math/fegetenv.c: Likewise.
42372         * math/fegetexcept.c: Likewise.
42373         * math/fegetround.c: Likewise.
42374         * math/feholdexcpt.c: Likewise.
42375         * math/fesetenv.c: Likewise.
42376         * math/fesetround.c: Likewise.
42377         * math/feupdateenv.c: Likewise.
42378         * math/fgetexcptflg.c: Likewise.
42379         * math/fraiseexcpt.c: Likewise.
42380         * math/fsetexcptflg.c: Likewise.
42381         * math/ftestexcept.c: Likewise.
42382         * math/k_cosl.c: Likewise.
42383         * math/k_rem_pio2l.c: Likewise.
42384         * math/k_sinl.c: Likewise.
42385         * math/k_tanl.c: Likewise.
42386         * math/s_asinhl.c: Likewise.
42387         * math/s_atanl.c: Likewise.
42388         * math/s_cbrtl.c: Likewise.
42389         * math/s_erfl.c: Likewise.
42390         * math/s_expm1l.c: Likewise.
42391         * math/s_log1pl.c: Likewise.
42392         * math/s_tanhl.c: Likewise.
42393         * misc/acct.c: Likewise.
42394         * misc/brk.c: Likewise.
42395         * misc/chflags.c: Likewise.
42396         * misc/chroot.c: Likewise.
42397         * misc/fchflags.c: Likewise.
42398         * misc/fgetxattr.c: Likewise.
42399         * misc/flistxattr.c: Likewise.
42400         * misc/fremovexattr.c: Likewise.
42401         * misc/fsetxattr.c: Likewise.
42402         * misc/fsync.c: Likewise.
42403         * misc/ftruncate.c: Likewise.
42404         * misc/futimes.c: Likewise.
42405         * misc/futimesat.c: Likewise.
42406         * misc/getdomain.c: Likewise.
42407         * misc/getdtsz.c: Likewise.
42408         * misc/gethostid.c: Likewise.
42409         * misc/gethostname.c: Likewise.
42410         * misc/getloadavg.c: Likewise.
42411         * misc/getpagesize.c: Likewise.
42412         * misc/getsysstats.c: Likewise.
42413         * misc/getxattr.c: Likewise.
42414         * misc/gtty.c: Likewise.
42415         * misc/ioctl.c: Likewise.
42416         * misc/lgetxattr.c: Likewise.
42417         * misc/listxattr.c: Likewise.
42418         * misc/llistxattr.c: Likewise.
42419         * misc/lremovexattr.c: Likewise.
42420         * misc/lsetxattr.c: Likewise.
42421         * misc/lutimes.c: Likewise.
42422         * misc/madvise.c: Likewise.
42423         * misc/mincore.c: Likewise.
42424         * misc/mlock.c: Likewise.
42425         * misc/mlockall.c: Likewise.
42426         * misc/mmap.c: Likewise.
42427         * misc/mprotect.c: Likewise.
42428         * misc/msync.c: Likewise.
42429         * misc/munlock.c: Likewise.
42430         * misc/munlockall.c: Likewise.
42431         * misc/munmap.c: Likewise.
42432         * misc/preadv.c: Likewise.
42433         * misc/preadv64.c: Likewise.
42434         * misc/ptrace.c: Likewise.
42435         * misc/pwritev.c: Likewise.
42436         * misc/pwritev64.c: Likewise.
42437         * misc/readv.c: Likewise.
42438         * misc/reboot.c: Likewise.
42439         * misc/remap_file_pages.c: Likewise.
42440         * misc/removexattr.c: Likewise.
42441         * misc/revoke.c: Likewise.
42442         * misc/select.c: Likewise.
42443         * misc/setdomain.c: Likewise.
42444         * misc/setegid.c: Likewise.
42445         * misc/seteuid.c: Likewise.
42446         * misc/sethostid.c: Likewise.
42447         * misc/sethostname.c: Likewise.
42448         * misc/setregid.c: Likewise.
42449         * misc/setreuid.c: Likewise.
42450         * misc/setxattr.c: Likewise.
42451         * misc/sstk.c: Likewise.
42452         * misc/stty.c: Likewise.
42453         * misc/swapoff.c: Likewise.
42454         * misc/swapon.c: Likewise.
42455         * misc/sync.c: Likewise.
42456         * misc/syncfs.c: Likewise.
42457         * misc/syscall.c: Likewise.
42458         * misc/truncate.c: Likewise.
42459         * misc/ualarm.c: Likewise.
42460         * misc/usleep.c: Likewise.
42461         * misc/ustat.c: Likewise.
42462         * misc/utimes.c: Likewise.
42463         * misc/vhangup.c: Likewise.
42464         * misc/writev.c: Likewise.
42465         * posix/_exit.c: Likewise.
42466         * posix/alarm.c: Likewise.
42467         * posix/execve.c: Likewise.
42468         * posix/fexecve.c: Likewise.
42469         * posix/fork.c: Likewise.
42470         * posix/fpathconf.c: Likewise.
42471         * posix/getaddrinfo.c: Likewise.
42472         * posix/getegid.c: Likewise.
42473         * posix/geteuid.c: Likewise.
42474         * posix/getgid.c: Likewise.
42475         * posix/getgroups.c: Likewise.
42476         * posix/getlogin.c: Likewise.
42477         * posix/getlogin_r.c: Likewise.
42478         * posix/getpgid.c: Likewise.
42479         * posix/getpid.c: Likewise.
42480         * posix/getppid.c: Likewise.
42481         * posix/getresgid.c: Likewise.
42482         * posix/getresuid.c: Likewise.
42483         * posix/getsid.c: Likewise.
42484         * posix/getuid.c: Likewise.
42485         * posix/glob64.c: Likewise.
42486         * posix/nanosleep.c: Likewise.
42487         * posix/pathconf.c: Likewise.
42488         * posix/pause.c: Likewise.
42489         * posix/posix_madvise.c: Likewise.
42490         * posix/pread.c: Likewise.
42491         * posix/pread64.c: Likewise.
42492         * posix/pwrite.c: Likewise.
42493         * posix/pwrite64.c: Likewise.
42494         * posix/sched_getaffinity.c: Likewise.
42495         * posix/sched_getp.c: Likewise.
42496         * posix/sched_gets.c: Likewise.
42497         * posix/sched_primax.c: Likewise.
42498         * posix/sched_primin.c: Likewise.
42499         * posix/sched_rr_gi.c: Likewise.
42500         * posix/sched_setaffinity.c: Likewise.
42501         * posix/sched_setp.c: Likewise.
42502         * posix/sched_sets.c: Likewise.
42503         * posix/sched_yield.c: Likewise.
42504         * posix/setgid.c: Likewise.
42505         * posix/setlogin.c: Likewise.
42506         * posix/setpgid.c: Likewise.
42507         * posix/setresgid.c: Likewise.
42508         * posix/setresuid.c: Likewise.
42509         * posix/setsid.c: Likewise.
42510         * posix/setuid.c: Likewise.
42511         * posix/sleep.c: Likewise.
42512         * posix/spawni.c: Likewise.
42513         * posix/sysconf.c: Likewise.
42514         * posix/times.c: Likewise.
42515         * posix/wait.c: Likewise.
42516         * posix/wait3.c: Likewise.
42517         * posix/wait4.c: Likewise.
42518         * posix/waitpid.c: Likewise.
42519         * resolv/gai_sigqueue.c: Likewise.
42520         * resource/getpriority.c: Likewise.
42521         * resource/getrlimit.c: Likewise.
42522         * resource/getrusage.c: Likewise.
42523         * resource/nice.c: Likewise.
42524         * resource/setpriority.c: Likewise.
42525         * resource/setrlimit.c: Likewise.
42526         * resource/ulimit.c: Likewise.
42527         * rt/aio_cancel.c: Likewise.
42528         * rt/aio_fsync.c: Likewise.
42529         * rt/aio_read.c: Likewise.
42530         * rt/aio_sigqueue.c: Likewise.
42531         * rt/aio_suspend.c: Likewise.
42532         * rt/aio_write.c: Likewise.
42533         * rt/clock_getres.c: Likewise.
42534         * rt/clock_gettime.c: Likewise.
42535         * rt/clock_nanosleep.c: Likewise.
42536         * rt/clock_settime.c: Likewise.
42537         * rt/lio_listio.c: Likewise.
42538         * rt/mq_close.c: Likewise.
42539         * rt/mq_getattr.c: Likewise.
42540         * rt/mq_notify.c: Likewise.
42541         * rt/mq_open.c: Likewise.
42542         * rt/mq_receive.c: Likewise.
42543         * rt/mq_send.c: Likewise.
42544         * rt/mq_setattr.c: Likewise.
42545         * rt/mq_timedreceive.c: Likewise.
42546         * rt/mq_timedsend.c: Likewise.
42547         * rt/mq_unlink.c: Likewise.
42548         * rt/shm_open.c: Likewise.
42549         * rt/shm_unlink.c: Likewise.
42550         * rt/timer_create.c: Likewise.
42551         * rt/timer_delete.c: Likewise.
42552         * rt/timer_getoverr.c: Likewise.
42553         * rt/timer_gettime.c: Likewise.
42554         * rt/timer_settime.c: Likewise.
42555         * setjmp/__longjmp.c: Likewise.
42556         * setjmp/setjmp.c: Likewise.
42557         * signal/kill.c: Likewise.
42558         * signal/killpg.c: Likewise.
42559         * signal/raise.c: Likewise.
42560         * signal/sigaction.c: Likewise.
42561         * signal/sigaltstack.c: Likewise.
42562         * signal/sigblock.c: Likewise.
42563         * signal/sigignore.c: Likewise.
42564         * signal/sigintr.c: Likewise.
42565         * signal/signal.c: Likewise.
42566         * signal/sigpause.c: Likewise.
42567         * signal/sigpending.c: Likewise.
42568         * signal/sigqueue.c: Likewise.
42569         * signal/sigreturn.c: Likewise.
42570         * signal/sigset.c: Likewise.
42571         * signal/sigsetmask.c: Likewise.
42572         * signal/sigstack.c: Likewise.
42573         * signal/sigsuspend.c: Likewise.
42574         * signal/sigtimedwait.c: Likewise.
42575         * signal/sigvec.c: Likewise.
42576         * signal/sigwait.c: Likewise.
42577         * signal/sigwaitinfo.c: Likewise.
42578         * signal/sysv_signal.c: Likewise.
42579         * socket/accept.c: Likewise.
42580         * socket/accept4.c: Likewise.
42581         * socket/bind.c: Likewise.
42582         * socket/connect.c: Likewise.
42583         * socket/getpeername.c: Likewise.
42584         * socket/getsockname.c: Likewise.
42585         * socket/getsockopt.c: Likewise.
42586         * socket/isfdtype.c: Likewise.
42587         * socket/listen.c: Likewise.
42588         * socket/recv.c: Likewise.
42589         * socket/recvfrom.c: Likewise.
42590         * socket/recvmsg.c: Likewise.
42591         * socket/send.c: Likewise.
42592         * socket/sendmsg.c: Likewise.
42593         * socket/sendto.c: Likewise.
42594         * socket/setsockopt.c: Likewise.
42595         * socket/shutdown.c: Likewise.
42596         * socket/sockatmark.c: Likewise.
42597         * socket/socket.c: Likewise.
42598         * socket/socketpair.c: Likewise.
42599         * stdio-common/ctermid.c: Likewise.
42600         * stdio-common/cuserid.c: Likewise.
42601         * stdio-common/remove.c: Likewise.
42602         * stdio-common/rename.c: Likewise.
42603         * stdio-common/renameat.c: Likewise.
42604         * stdio-common/tempname.c: Likewise.
42605         * stdlib/getcontext.c: Likewise.
42606         * stdlib/makecontext.c: Likewise.
42607         * stdlib/setcontext.c: Likewise.
42608         * stdlib/swapcontext.c: Likewise.
42609         * stdlib/system.c: Likewise.
42610         * streams/fattach.c: Likewise.
42611         * streams/fdetach.c: Likewise.
42612         * streams/getmsg.c: Likewise.
42613         * streams/getpmsg.c: Likewise.
42614         * streams/putmsg.c: Likewise.
42615         * streams/putpmsg.c: Likewise.
42616         * sysdeps/unix/bsd/getpt.c: Likewise.
42617         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42618         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42619         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42621         Likewise.
42622         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42623         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42624         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42625         * sysvipc/msgctl.c: Likewise.
42626         * sysvipc/msgget.c: Likewise.
42627         * sysvipc/msgrcv.c: Likewise.
42628         * sysvipc/msgsnd.c: Likewise.
42629         * sysvipc/semctl.c: Likewise.
42630         * sysvipc/semget.c: Likewise.
42631         * sysvipc/semop.c: Likewise.
42632         * sysvipc/semtimedop.c: Likewise.
42633         * sysvipc/shmat.c: Likewise.
42634         * sysvipc/shmctl.c: Likewise.
42635         * sysvipc/shmdt.c: Likewise.
42636         * sysvipc/shmget.c: Likewise.
42637         * termios/tcdrain.c: Likewise.
42638         * termios/tcflow.c: Likewise.
42639         * termios/tcflush.c: Likewise.
42640         * termios/tcgetattr.c: Likewise.
42641         * termios/tcgetpgrp.c: Likewise.
42642         * termios/tcsendbrk.c: Likewise.
42643         * termios/tcsetattr.c: Likewise.
42644         * termios/tcsetpgrp.c: Likewise.
42645         * time/adjtime.c: Likewise.
42646         * time/clock.c: Likewise.
42647         * time/getitimer.c: Likewise.
42648         * time/gettimeofday.c: Likewise.
42649         * time/setitimer.c: Likewise.
42650         * time/settimeofday.c: Likewise.
42651         * time/stime.c: Likewise.
42652         * time/time.c: Likewise.
42654 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42656         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42657         /usr/old/bin.
42659         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42660         instead of spaces.
42661         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42663 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42665         [BZ #14796]
42666         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42667         FE_TONEAREST before applying Dekker multiplication and Knuth
42668         addition.  Clear inexact exceptions and check for exact zero
42669         results afterwards.
42670         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42671         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42672         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42673         * math/libm-test.inc (fma_test): Add more tests.
42674         (fma_test_towardzero): Likewise.
42675         (fma_test_downward): Likewise.
42676         (fma_test_upward): Likewise.
42677         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42678         function.
42679         (libc_fesetround): New macro.
42680         (libc_fesetroundf): Likewise.
42681         (libc_fesetroundl): Likewise.
42682         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42683         function.
42684         (libc_fesetround_387): Likewise.
42685         (libc_fesetroundf): New macro.
42686         (libc_fesetround): Likewise.
42687         (libc_fesetroundl): Likewise.
42688         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42689         function.
42690         (libc_fesetroundf): New macro.
42691         (libc_fesetround): Likewise.
42692         (libc_fesetroundl): Likewise.
42693         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42694         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42695         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42696         libm_hidden_ver.
42697         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42698         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42699         libm_hidden_def.
42700         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42701         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42702         libm_hidden_ver.
42703         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42704         libm_hidden_def.
42706         [BZ #3439]
42707         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42708         integer constant usable in #if and use that to give value to enum
42709         constant.
42710         (FE_DIVBYZERO): Likewise.
42711         (FE_UNDERFLOW): Likewise.
42712         (FE_OVERFLOW): Likewise.
42713         (FE_INVALID): Likewise.
42714         (FE_INVALID_SNAN): Likewise.
42715         (FE_INVALID_ISI): Likewise.
42716         (FE_INVALID_IDI): Likewise.
42717         (FE_INVALID_ZDZ): Likewise.
42718         (FE_INVALID_IMZ): Likewise.
42719         (FE_INVALID_COMPARE): Likewise.
42720         (FE_INVALID_SOFTWARE): Likewise.
42721         (FE_INVALID_SQRT): Likewise.
42722         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42723         (FE_TONEAREST): Likewise.
42724         (FE_TOWARDZERO): Likewise.
42725         (FE_UPWARD): Likewise.
42726         (FE_DOWNWARD): Likewise.
42727         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42728         (FE_DIVBYZERO): Likewise.
42729         (FE_OVERFLOW): Likewise.
42730         (FE_UNDERFLOW): Likewise.
42731         (FE_INEXACT): Likewise.
42732         (FE_TONEAREST): Likewise.
42733         (FE_DOWNWARD): Likewise.
42734         (FE_UPWARD): Likewise.
42735         (FE_TOWARDZERO): Likewise.
42736         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42737         (FE_UNDERFLOW): Likewise.
42738         (FE_OVERFLOW): Likewise.
42739         (FE_DIVBYZERO): Likewise.
42740         (FE_INVALID): Likewise.
42741         (FE_TONEAREST): Likewise.
42742         (FE_TOWARDZERO): Likewise.
42743         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42744         (FE_OVERFLOW): Likewise.
42745         (FE_UNDERFLOW): Likewise.
42746         (FE_DIVBYZERO): Likewise.
42747         (FE_INEXACT): Likewise.
42748         (FE_TONEAREST): Likewise.
42749         (FE_TOWARDZERO): Likewise.
42750         (FE_UPWARD): Likewise.
42751         (FE_DOWNWARD): Likewise.
42752         * sysdeps/x86/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.
42762 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42764         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42766 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42768         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42769         commands.  Quote $PWD.
42770         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42771         -x" by "export".
42772         (remove_newlines): Remove.
42774 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42776         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42777         * stdlib/stdlib.h (atof): Moved to ...
42778         * include/bits/stdlib-float.h: Here.  New file.
42779         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42780         * stdlib/bits/stdlib-float.h: New file.
42781         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42782         -mno-sse -mno-mmx.
42783         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42784         <xmmintrin.h>.
42786 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42788         * conform/conformtest.pl (@headers): Add fenv.h.
42789         * conform/data/fenv.h-data: New file.
42790         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42791         include of <math/fenv.h>.
42793         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42794         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42795         && !UNIX98].  Enables tests for XOPEN2K8.
42796         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42797         POSIX2008]: Likewise.
42799         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42800         (struct rusage): Do not expect type or its members.
42802         [BZ #3439]
42803         * math/math.h (FP_NAN): Define macro to integer constant usable in
42804         #if and use that to give value to enum constant.
42805         (FP_INFINITE): Likewise.
42806         (FP_ZERO): Likewise.
42807         (FP_SUBNORMAL): Likewise.
42808         (FP_NORMAL): Likewise.
42810 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42812         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42813         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42814         arguments.
42816 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42818         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42819         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42820         autoconf-time if not.
42821         * configure.in: Remove AC_PREREQ.
42823 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42825         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42826         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42827         of the internal implementation.
42829 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42831         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42832         except include of <misc/sys/syslog.h>.
42834 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42837         function returns with a NULL context exit with zero.
42839 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42841         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42843 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42845         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42846         (run_program_cmd): This.
42847         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42848         (tst_langinfo): New variable.  Use it.
42850 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42852         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42853         floating point opcodes.
42855 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42857         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42858         variable.
42860         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42862         * sysdeps/mach/hurd/powerpc: Remove directory.
42863         * sysdeps/mach/powerpc: Likewise.
42865 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42867         * scripts/check-local-headers.sh: Ignore c++ headers.
42869 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42871         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42872         __libc_cleanup_region_start argument.
42874 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42876         [BZ #14784]
42877         [BZ #14785]
42878         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42879         x * y using scaling, not as x * y + z.
42880         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42881         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42882         * math/libm-test.inc (fma_test): Add more tests.
42883         (fma_test_towardzero): Likewise.
42884         (fma_test_downward): Likewise.
42885         (fma_test_upward): Likewise.
42887 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42889         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42891 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42893         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42894         New variable.
42896 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42898         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42900 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42903         Fix sort order.
42904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42905         Likewise.
42907 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42910         Fix the order of the list for glibc 2.17.
42911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42912         Likewise.
42914 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42918 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42920         [BZ #14610]
42921         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42922         for low part of x being zero before using __atanl (y).
42923         * math/libm-test.inc (atan2_test): Add another test.
42925         * manual/install.texi (Configuring and compiling): Document
42926         general use of test-wrapper and test-wrapper-env.
42927         * INSTALL: Regenerated.
42929         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42930         (__fma): Do not extract and scale down low bits on after-rounding
42931         systems when result rounded to normal precision would have normal
42932         exponent.
42933         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42934         (__fmal): Do not extract and scale down low bits on after-rounding
42935         systems when result rounded to normal precision would have normal
42936         exponent.
42937         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42938         (__fmal): Do not extract and scale down low bits on after-rounding
42939         systems when result rounded to normal precision would have normal
42940         exponent.
42941         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42942         macro.
42943         (fma_test): Add more tests.
42944         (fma_test_towardzero): Likewise.
42945         (fma_test_downward): Likewise.
42946         (fma_test_upward): Likewise.
42948 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42950         * sysdeps/i386/tininess.h: Renamed to ...
42951         * sysdeps/x86/tininess.h: This.
42952         * sysdeps/x86_64/tininess.h: Removed.
42954 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42956         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42957         input.  Use $(build-program-cmd).
42958         ($(objpfx)tst-array1-static.out): Likewise.
42959         ($(objpfx)tst-array2.out): Likewise.
42960         ($(objpfx)tst-array3.out): Likewise.
42961         ($(objpfx)tst-array4.out): Likewise.
42962         ($(objpfx)tst-array5.out): Likewise.
42963         ($(objpfx)tst-array5-static.out): Likewise.
42965 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42967         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42968         if defined.
42970         * nss/nsswitch.h (nss_interface_function): Provide new
42971         macro for use with NSS functions.
42972         * grp/initgroups.c: Use new macro.
42973         * nss/getXXbyYY.c: Likewise.
42974         * nss/getXXbyYY_r.c: Likewise.
42975         * nss/getXXent.c: Likewise.
42976         * nss/getXXent_r.c: Likewise.
42977         * sysdeps/posix/getaddrinfo.c: Likewise.
42979 2012-10-30  Andreas Jaeger  <aj@suse.de>
42981         * po/ru.po: Update Russion translation from translation project.
42983 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42985         [BZ #14152]
42986         [BZ #14783]
42987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42988         result and shift together with sticky bit instead of replicating
42989         round-to-nearest rounding.
42990         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42991         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42992         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42993         missing underflow exceptions.
42994         (fma_test_towardzero): Add more tests.
42995         (fma_test_downward): Likewise.
42996         (fma_test_upward): Likewise.
42998         [BZ #14047]
42999         * sysdeps/generic/tininess.h: New file.
43000         * sysdeps/i386/tininess.h: Likewise.
43001         * sysdeps/sh/tininess.h: Likewise.
43002         * sysdeps/x86_64/tininess.h: Likewise.
43003         * stdlib/tst-strtod-underflow.c: Likewise.
43004         * stdlib/tst-tininess.c: Likewise.
43005         * stdlib/strtod_l.c: Include <tininess.h>.
43006         (round_and_return): Do not set errno for exact underflow cases.
43007         Force an underflow exception when setting errno for underflow.
43008         Determine underflow based on rounding to normal precision if
43009         TININESS_AFTER_ROUNDING.
43010         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43011         ERANGE for exact underflow cases.
43012         * stdlib/Makefile (tests): Add tst-tininess and
43013         tst-strtod-underflow.
43014         ($(objpfx)tst-tininess): Use $(link-libm).
43015         ($(objpfx)tst-strtod-underflow): Likewise.
43017 2012-10-30  Andreas Jaeger  <aj@suse.de>
43019         [BZ#14767]
43020         * elf/Makefile (tests): Remove conditional for have-initfini-array
43021         since this is now always required and the variable does not exist
43022         anymore.
43023         (tests-static): Likewise.
43024         (modules-names): Likewise.
43026         * po/eo.po: Add Esperanto translation from translation project.
43028         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43029         merged with constructor/destructor.
43030         (init_array): Likewise.
43031         * elf/tst-array2dep.c (fini_array): Likewise.
43032         (init_array): Likewise.
43034 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43036         * manual/message.texi: Delete @cartouche tags.
43038 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43040         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43041         EOPNOTSUPP.
43042         * sysdeps/mach/hurd/fsync.c: Likewise.
43044         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43045         [_POSIX_REALTIME_SIGNALS]: Change condition to
43046         [_POSIX_REALTIME_SIGNALS > 0].
43048 2012-10-27  Andreas Jaeger  <aj@suse.de>
43050         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43051         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43052         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43053         [__WORDSIZE != 64]: Likewise.
43055 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43057         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43058         *  iconvdata/tst-tables.sh: Likewise.
43060 2012-10-25  David S. Miller  <davem@davemloft.net>
43062         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43063         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43064         of strtoull.
43066         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43067         ifunc-impl-list.c
43068         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43069         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43070         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43071         file.
43073 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43075         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43076         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43077         __getdirentries.
43079 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43080             Jim Blandy  <jimb@codesourcery.com>
43082         * scripts/cross-test-ssh.sh: New file.
43083         * manual/install.texi (Configuring and compiling): Document use of
43084         cross-test-ssh.sh.
43085         * INSTALL: Regenerated.
43087 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43089         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43090         EOPNOTSUPP.
43092 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43094         * Makeconfig (run-program-prefix): Fix comment.
43096 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43097             Jim Blandy  <jimb@codesourcery.com>
43099         * Makeconfig (test-wrapper): New variable,
43100         (test-wrapper-env): Likewise.
43101         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43102         (run-built-tests): Define to yes.
43103         (run-program-prefix): Use $(test-wrapper).
43104         (built-program-cmd): Likewise.
43105         * Rules (make-test-out): Use $(test-wrapper-env) and
43106         $(host-built-program-cmd).
43107         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43108         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43109         tst-pathopt.sh.
43110         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43111         $(test-wrapper-env) to tst-rtld-load-self.sh.
43112         ($(objpfx)order2.out): Use $(test-wrapper).
43113         ($(objpfx)tst-initorder.out): Likewise.
43114         ($(objpfx)tst-initorder2.out): Likewise.
43115         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43116         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43117         (test_wrapper_env): New variable.  Use it to run ld.so.
43118         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43119         Use it to run ld.so.
43120         (test_wrapper_env): Likewise.
43121         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43122         $(test-wrapper) to run-iconv-test.sh.
43123         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43124         (ICONV): Use $test_wrapper.
43125         * posix/Makefile ($(objpfx)globtest.out): Pass
43126         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43127         globtest.sh, not $(run-program-prefix).
43128         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43129         (test_wrapper): Likewise.
43130         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43131         set together with run_via_rtld_prefix.
43132         (run_program_prefix): Define in terms of test_wrapper and
43133         run_via_rtld_prefix.
43135 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43137         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43138         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43139         Targets removed.
43141         [BZ #14743]
43142         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43143         Declare __clock_getres, __clock_gettime, __clock_settime,
43144         __clock_nanosleep, and __clock_getcpuclockid.
43145         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43146         Remove librt_hidden_def (clock_gettime).
43147         * sysdeps/unix/clock_gettime.c: Likewise.
43148         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43149         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43150         * rt/clock_getres.c: Define __clock_getres as an alias.
43151         * sysdeps/posix/clock_getres.c: Likewise.
43152         * rt/clock_settime.c: Define __clock_settime as an alias.
43153         * sysdeps/unix/clock_settime.c: Likewise.
43154         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43155         * sysdeps/unix/clock_nanosleep.c: Likewise.
43156         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43157         * rt/clock-compat.c: New file.
43158         * rt/Makefile (librt-routines): Add clock-compat and move
43159         $(clock-routines) to ...
43160         (routines): ... here, new variable.
43161         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43162         Don't add get_clockfreq here.
43163         * rt/Versions (libc: GLIBC_2.17): New version set.
43164         Add clock_* symbols here.
43165         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43166         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43167         (GLIBC_2.17): Add clock_* symbols.
43168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43170         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43172         Likewise.
43173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43174         Likewise.
43175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43179         * NEWS: Mention the move.
43181         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43182         Use __open, __read, __close rather than their public counterparts.
43183         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43184         (__get_clockfreq_via_cpuinfo): Likewise.
43185         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43186         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43188         * config.h.in (HAVE_IFUNC): New #undef.
43189         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43190         was successful.
43191         * configure: Regenerated.
43193 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43195         * configure.in: Move READELF check to start of file.
43196         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43197         libc_cv_asm_gnu_indirect_function in the process.
43198         * configure: Regenerated.
43200 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43202         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43203         send the output to /dev/null.
43204         (libc_cv_cc_with_libunwind): Likewise.
43205         (libc_cv_as_noexecstack): Likewise.
43206         * configure: Regenerate.
43208 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43210         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43212         * posix/globtest.sh (TMPDIR): Do not set.
43213         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43214         (testout): Likewise.
43216 2012-10-24  Andreas Jaeger  <aj@suse.de>
43218         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43219         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43220         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43221         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43222         posix_fadvise64, posix_fallocate64.
43224         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43225         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43226         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43227         Likewise.
43228         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43229         Likewise.
43230         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43232         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43233         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43234         <bits/fcntl-linux.h>.
43235         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43237         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43238         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43239         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43240         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43241         [__WORDSIZE != 64]: Likewise.
43243 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43245         * Makeconfig (run-built-tests): New variable.
43246         * Rules [$(cross-compiling) = yes]: Change condition to
43247         [$(run-built-tests) = no].
43248         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43249         to [$(run-built-tests) = yes].
43250         * elf/Makefile [$(cross-compiling) = no]: Likewise
43251         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43252         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43253         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43254         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43255         * io/Makefile [$(cross-compiling) = no]: Likewise.
43256         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43257         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43258         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43259         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43260         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43261         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43262         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43263         * string/Makefile [$(cross-compiling) = no]: Likewise.
43265         * posix/Makefile ($(objpfx)globtest.out): Pass
43266         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43267         $(rtld-installed-name).
43268         * posix/globtest.sh (elf_objpfx): Remove variable.
43269         (rtld_installed_name): Likewise.
43270         (library_path): Likewise.
43271         (run_program_prefix): New variable.  Use for running globtest
43272         binary.
43274 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43275             Joseph Myers  <joseph@codesourcery.com>
43277         * Makeconfig (host-built-program-cmd): New variable.
43278         * elf/Makefile (tst-stackguard1-ARGS): Use
43279         $(host-built-program-cmd).
43280         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43281         (tst-spawn-ARGS): Likewise.
43282         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43284 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43285             Jim Blandy  <jimb@codesourcery.com>
43287         * Makeconfig (run-via-rtld-prefix): New variable.
43288         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43289         (built-program-cmd): Likewise.
43291 2012-10-22  Andreas Jaeger  <aj@suse.de>
43293         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43294         __O_RSYNC if it exists, otherwise to O_SYNC.
43296 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43297             Joseph Myers  <joseph@codesourcery.com>
43299         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43300         /dev/null.
43301         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43302         from /dev/null
43303         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43304         /dev/null.
43306 2012-10-22  Andreas Jaeger  <aj@suse.de>
43308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43309         Define always.
43310         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43312         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43313         bits/fcntl-linux.h.
43315         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43316         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43318         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43319         to __O_LARGEFILE.
43320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43321         to __O_LARGEFILE.
43323 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43324             Joseph Myers  <joseph@codesourcery.com>
43326         * config.make.in (NM): New variable.
43328 2012-10-21  Andreas Jaeger  <aj@suse.de>
43330         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43331         definitions and declarations that are provided by
43332         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43334 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43336         [BZ #14683]
43337         * elf/Makefile (tests-static): Add tst-leaks1-static.
43338         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43339         ($(objpfx)tst-leaks1-static): New rule.
43340         ($(objpfx)tst-leaks1-static-mem): Likewise.
43341         (tst-leaks1-static-ENV): New macro.
43342         * elf/dl-open.c (dl_open_worker): Check the main application
43343         only if SHARED is defined.
43344         * elf/tst-leaks1-static.c: New file.
43346 2012-10-20  Andreas Jaeger  <aj@suse.de>
43348         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43349         generic values for Linux.
43350         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43351         and declarations that are provided by <bits/fcntl-linux.h> and
43352         include <bits/fcntl-linux.h>.
43353         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43354         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43356 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43358         * io/fcntl.h: Move include of <bits/types.h> to the top and
43359         include it unconditionally.
43361 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43363         * wcsmbs/Makefile (tests-ifunc): New variable.
43364         (tests): Add $(tests-ifunc).
43365         * wcsmbs/test-wcschr-ifunc.c: New file.
43366         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43367         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43368         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43369         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43370         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43372         * string/Makefile (tests-ifunc): New variable.
43373         (tests): Add $(tests-ifunc).
43374         * string/test-memccpy.c (TEST_NAME): New macro.
43375         * string/test-memchr.c (TEST_NAME): Likewise.
43376         * string/test-memcmp.c (TEST_NAME): Likewise.
43377         * string/test-memcpy.c (TEST_NAME): Likewise.
43378         * string/test-memmem.c (TEST_NAME): Likewise.
43379         * string/test-memmove.c (TEST_NAME): Likewise.
43380         * string/test-memset.c (TEST_NAME): Likewise.
43381         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43382         * string/test-stpcpy.c (TEST_NAME): Likewise.
43383         * string/test-stpncpy.c (TEST_NAME): Likewise.
43384         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43385         * string/test-strcasestr.c (TEST_NAME): Likewise.
43386         * string/test-strcat.c (TEST_NAME): Likewise.
43387         * string/test-strchr.c (TEST_NAME): Likewise.
43388         * string/test-strcmp.c(TEST_NAME): Likewise.
43389         * string/test-strcpy.c (TEST_NAME): Likewise.
43390         * string/test-strcspn.c (TEST_NAME): Likewise.
43391         * string/test-strlen.c (TEST_NAME): Likewise.
43392         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43393         * string/test-strncmp.c (TEST_NAME): Likewise.
43394         * string/test-strncpy.c (TEST_NAME): Likewise.
43395         * string/test-strnlen.c (TEST_NAME): Likewise.
43396         * string/test-strpbrk.c (TEST_NAME): Likewise.
43397         * string/test-strrchr.c (TEST_NAME): Likewise.
43398         * string/test-strspn.c (TEST_NAME): Likewise.
43399         * string/test-strstr.c (TEST_NAME): Likewise.
43400         * string/test-bcopy-ifunc.c: New file.
43401         * string/test-bzero-ifunc.c: Likewise.
43402         * string/test-memccpy-ifunc.c: Likewise.
43403         * string/test-memchr-ifunc.c: Likewise.
43404         * string/test-memcmp-ifunc.c: Likewise.
43405         * string/test-memcpy-ifunc.c: Likewise.
43406         * string/test-memmem-ifunc.c: Likewise.
43407         * string/test-memmove-ifunc.c: Likewise.
43408         * string/test-mempcpy-ifunc.c: Likewise.
43409         * string/test-memset-ifunc.c: Likewise.
43410         * string/test-rawmemchr-ifunc.c: Likewise.
43411         * string/test-stpcpy-ifunc.c: Likewise.
43412         * string/test-stpncpy-ifunc.c: Likewise.
43413         * string/test-strcasecmp-ifunc.c: Likewise.
43414         * string/test-strcasestr-ifunc.c: Likewise.
43415         * string/test-strcat-ifunc.c: Likewise.
43416         * string/test-strchr-ifunc.c: Likewise.
43417         * string/test-strchrnul-ifunc.c: Likewise.
43418         * string/test-strcmp-ifunc.c: Likewise.
43419         * string/test-strcpy-ifunc.c: Likewise.
43420         * string/test-strcspn-ifunc.c: Likewise.
43421         * string/test-strlen-ifunc.c: Likewise.
43422         * string/test-strncasecmp-ifunc.c: Likewise.
43423         * string/test-strncat-ifunc.c: Likewise.
43424         * string/test-strncmp-ifunc.c: Likewise.
43425         * string/test-strncpy-ifunc.c: Likewise.
43426         * string/test-strnlen-ifunc.c: Likewise.
43427         * string/test-strpbrk-ifunc.c: Likewise.
43428         * string/test-strrchr-ifunc.c: Likewise.
43429         * string/test-strspn-ifunc.c: Likewise.
43430         * string/test-strstr-ifunc.c: Likewise.
43432         * debug/Makefile (tests-ifunc): New variable.
43433         (tests): Add $(tests-ifunc).
43434         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43435         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43436         * debug/test-stpcpy_chk-ifunc.c: New file.
43437         * debug/test-strcpy_chk-ifunc.c: Likewise.
43439 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43441         [BZ #13601]
43442         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43443         header is not read in.
43445 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43447         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43448         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43449         directly.  Pass built executable to script as
43450         $(built-program-cmd).
43451         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43452         $testprogram without using LD_LIBRARY_PATH and $ldso.
43454         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43455         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43456         $(rtld-installed-name).
43457         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43458         (rtld_installed_name): Likewise.
43459         (library_path): Likewise.
43460         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43461         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43462         $(run-program-prefix) to tst-tables.sh.
43463         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43464         it to run tst-table-from and tst-table-to.
43465         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43466         Pass it to tst-table.sh.
43467         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43468         $(run-program-prefix) to tst-gettext.sh.
43469         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43470         tst-translit.sh.
43471         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43472         tst-gettext2.sh.
43473         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43474         to run tst-gettext.
43475         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43476         to run tst-gettext2.
43477         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43478         to run tst-translit.
43479         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43480         $(run-program-prefix) to tst-mtrace.sh.
43481         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43482         to run tst-mtrace.
43483         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43484         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43485         $(rtld-installed-name).
43486         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43487         (rtld_installed_name): Likewise.
43488         (run_program_prefix): New variable.  Use it to run wordexp-test.
43490         * Makeconfig (ARCH): Remove all definitions.
43491         (machine): Likewise.
43492         [ARCH]: Remove conditional code.
43493         [!objdir]: Give error.
43494         [!objdir] (objpfx): Remove.
43495         [!objdir] (common-objpfx): Likewise.
43496         [!objdir] (common-objdir): Likewise.
43497         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43498         AC_CONFIG_FILES call.
43499         * configure: Regenerated.
43501         [BZ #13888]
43502         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43503         or TMPDIR.
43504         (testout): Likewise.
43506         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43507         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43508         $(rtld-installed-name).
43509         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43510         (rtld_installed_name): Likwise.
43511         (runit): Remove function.
43512         (run_getconf): New variable,  Use it for running getconf binary.
43514 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43516         [BZ #14716]
43517         * string/test-memmem.c (check_result): New function.
43518         (do_one_test): Use it.
43519         (check1): New function.
43520         (test_main): Use it.
43522 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43524         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43526 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43528         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43529         (_G_LSEEK64): Likewise.
43530         (_G_MMAP64): Likewise.
43531         (_G_FSTAT64): Likewise.
43532         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43533         (_G_LSEEK64): Likewise.
43534         (_G_MMAP64): Likewise.
43535         (_G_FSTAT64): Likewise.
43536         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43537         unconditional.  Call __mmap64 directly.
43538         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43539         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43540         __lseek64 directly.
43541         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43542         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43543         __mmap64 directly.
43544         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43545         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43546         __lseek64 directly.
43547         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43548         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43549         __lseek64 directly.
43550         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43551         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43552         __lseek64 directly.
43553         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43554         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43555         __fxstat64 directly.
43556         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43557         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43558         unconditional.
43559         (freopen64) [!_G_OPEN64]: Remove conditional code.
43560         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43561         unconditional.
43562         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43563         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43564         unconditional.
43565         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43566         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43567         unconditional.
43568         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43569         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43570         unconditional.
43571         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43572         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43573         unconditional.
43574         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43575         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43576         unconditional.
43577         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43578         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43579         unconditional.
43580         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43582 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43584         [BZ #12140]
43585         * manual/memory.texi (Malloc Tunable Parameters): Add note
43586         about free list pointers overwriting some perturb bytes.
43587         Wording suggested by Roland McGrath.
43589 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43591         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43592         (lgamma_test): Likewise.
43593         (tgamma_test): Likewise.
43595 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43597         [BZ #14700]
43598         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43599         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43601 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43603         * NEWS: Mention BZ #14716.
43604         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43605         when removing AVAILABLE1_USES_J macro.
43607 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43609         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43610         (__bswap_64): __uint64_t for unsigned 64-bit int.
43612 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43614         * include/string.h (memmem): Declare libc hidden alias.
43615         * string/memmem.c (memmem): Define libc hidden alias.
43616         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43617         __read, __close instead of open, read, close.
43619 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43621         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43622         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43623         global and hidden.
43624         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43625         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43626         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43627         Likewise.
43628         (__rawmemchr_sse2): Likewise.
43629         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43630         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43631         (__strchr_sse2): Likewise.
43632         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43633         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43634         (__strcasecmp_sse2): Likewise.
43635         (__strncasecmp_sse2): Likewise.
43636         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43637         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43638         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43639         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43640         (__strrchr_sse2): Likewise.
43641         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43642         ifunc-impl-list.c.
43643         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43644         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43645         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43646         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43647         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43648         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43649         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43650         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43651         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43652         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43653         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43654         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43655         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43656         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43657         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43658         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43659         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43660         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43661         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43662         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43663         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43664         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43665         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43666         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43667         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43668         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43669         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43670         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43671         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43672         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43674         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43675         global and hidden.
43676         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43677         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43678         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43679         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43680         Likewise.
43681         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43682         Likewise.
43683         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43684         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43685         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43686         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43687         ifunc-impl-list.c.
43688         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43689         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43690         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43691         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43692         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43693         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43694         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43695         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43696         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43697         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43698         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43699         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43700         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43701         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43702         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43703         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43704         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43705         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43706         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43707         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43708         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43709         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43710         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43711         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43712         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43713         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43714         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43715         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43716         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43717         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43718         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43719         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43720         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43721         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43722         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43723         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43724         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43725         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43726         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43727         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43728         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43730         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43731         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43732         * include/ifunc-impl-list.h: New file.
43733         * misc/ifunc-impl-list.c: Likewise.
43734         * misc/Makefile (routines): Add ifunc-impl-list.
43735         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43736         * string/test-string.h: Include <ifunc-impl-list.h>.
43737         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43738         TEST_NAME]: New variables.
43739         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43740         are defined.
43741         (test_init): Call __libc_ifunc_impl_list to initialize
43742         func_list if TEST_IFUNC and TEST_NAME are defined.
43744         * string/Makefile (strop-tests): Add bcopy and bzero.
43745         * string/test-bcopy.c: New file.
43746         * string/test-bzero.c: Likewise.
43747         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43748         defined.
43749         * string/test-memset.c: Support bzero test if TEST_BZERO is
43750         defined.
43751         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43752         __libc_memmove.
43753         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43754         __libc_memset.
43755         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43756         of memset.
43758 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43760         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43761         * configure: Regenerated.
43763         * Makeconfig (+link-static-before-libc): Don't include
43764         $(link-static-libc).
43766         * libio/libio.h (_IO_pos_t): Remove.
43768 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43770         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43771         McGrath.
43773 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43775         * crypt/crypt-entry.c: Include fips-private.h.
43776         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43777         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43778         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43779         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43781 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43783         * crypt/crypt-private.h: Include stdbool.h.
43784         (_ufc_setup_salt_r): Return bool.
43785         * crypt/crypt-entry.c: Include errno.h.
43786         (__crypt_r): Return NULL with EINVAL for bad salt.
43787         * crypt/crypt_util.c (bad_for_salt): New.
43788         (_ufc_setup_salt_r): Check that salt is long enough and within
43789         the specified alphabet.
43790         * crypt/badsalttest.c: New file.
43791         * crypt/Makefile (tests): Add it.
43792         ($(objpfx)badsalttest): New.
43794 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43796         * NEWS: Add entry for BZ #14602.
43798 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43800         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43801         type-generic.
43802         * math/libm-test.inc: Update comment listing what functions and
43803         macros are tested.
43804         (isgreater_test): New function.
43805         (isgreaterequal_test): Likewise.
43806         (isless_test): Likewise.
43807         (islessequal_test): Likewise.
43808         (islessgreater_test): Likewise.
43809         (isunordered_test): Likewise.
43810         (main): Call the new functions.
43812 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43814         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43815         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43816         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43817         * sysdeps/i386/configure: Regenerated.
43818         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43819         * sysdeps/mach/configure: Regenerated.
43820         * sysdeps/mach/hurd/configure: Regenerated.
43821         * sysdeps/powerpc/configure: Regenerated.
43822         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43823         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43824         * sysdeps/s390/s390-32/configure: Regenerated.
43825         * sysdeps/s390/s390-64/configure: Regenerated.
43826         * sysdeps/sh/configure: Regenerated.
43827         * sysdeps/sparc/configure: Regenerated.
43828         * sysdeps/unix/sysv/linux/configure: Regenerated.
43829         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43830         * sysdeps/x86_64/configure: Regenerated.
43832         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43833         defined.  Don't check if MAP is NULL.
43835 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43837         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43838         (_G_stat64): Likewise.
43839         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43840         (_G_stat64): Likewise.
43841         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43842         instead of struct _G_stat64.
43843         * libio/fileops.c (mmap_remap_check): Likewise.
43844         (decide_maybe_mmap): Likewise.
43845         (_IO_new_file_seekoff): Likewise.
43846         (_IO_file_stat): Likewise.
43847         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43848         _G_off64_t.
43849         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43850         instead of struct _G_stat64.
43851         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43853 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43855         [BZ #14602]
43856         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43857         Replace with ...
43858         (CHECK_EOL): New macro.
43859         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43860         CHECK_EOL.
43861         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43862         Replace with CHECK_EOL.
43863         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43864         Replace with CHECK_EOL.
43866 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43868         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43869         type-generic.
43870         * math/libm-test.inc: Update comment listing what functions and
43871         macros are tested.
43872         (finite_test): New function.
43873         (isinf_test): Likewise.
43874         (isnan_test): Likewise.
43875         (fpclassify_test): Test subnormal input.
43876         (isfinite_test): Likewise.
43877         (isnormal_test): Likewise.
43878         (main): Call the new functions.
43880 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43882         [BZ #14660]
43883         * Makerules (%.dynsym): Force C locale when running
43884         $(OBJDUMP) --dynamic-syms.
43886 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43888         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43889         <stdint.h>.
43891 2012-10-06  David S. Miller  <davem@davemloft.net>
43893         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43894         upper 32-bits of the length value in %o2 since we use branch-on-register
43895         tests which consider the entire 64-bit register.
43897 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43899         * string/test-strstr.c (check2): Add a test for page boundary.
43901 2012-10-05  David S. Miller  <davem@davemloft.net>
43903         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43904         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43905         file.
43906         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43907         sysdep_routines.
43908         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43909         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43910         and bzero when HWCAP_SPARC_CRYPTO is present.
43912 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43914         [BZ #14602]
43915         * string/test-strstr.c (check2): New function.
43916         (test_main): Call check2.
43918         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43919         and bug-strchr1.
43920         * string/bug-strcasestr1.c (do_test): Moved to ...
43921         * string/test-strcasestr.c (check1): Here.  New function.
43922         (do_one_test): Break out result checking code into ...
43923         (check_result): This.  New function.
43924         (do_one_test): Call check_result.
43925         (test_main): Call check1.
43926         * string/bug-strchr1.c (do_test): Moved to ...
43927         * string/test-strchr.c (check1): Here.  New function.
43928         (do_one_test): Break out result checking code into ...
43929         (check_result): This.  New function.
43930         (do_one_test): Call check_result.
43931         (test_main): Call check1.
43932         * string/bug-strstr1.c (main): Moved to ...
43933         * string/test-strstr.c (check1): Here.  New function.
43934         (do_one_test): Break out result checking code into ...
43935         (check_result): This.  New function.
43936         (do_one_test): Call check_result.
43937         (test_main): Call check1.
43938         * string/bug-strcasestr1.c: Removed.
43939         * string/bug-strchr1.c: Likewise.
43940         * string/bug-strstr1.c: Likewise.
43942         * elf/Makefile (dl-routines): Add hwcaps.
43943         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43944         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43945         (_dl_important_hwcaps): Moved to ...
43946         * elf/dl-hwcaps.c: Here.  New file.
43947         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43949         [BZ #14557]
43950         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43951         if IS_IN_rtld isn't defined.
43953         * elf/dl-support.c (_dl_sysinfo_map): New.
43954         Include "get-dynamic-info.h" and "setup-vdso.h".
43955         (_dl_non_dynamic_init): Call setup_vdso.
43956         * elf/dynamic-link.h: Don't include <assert.h>.
43957         (elf_get_dynamic_info): Moved to ...
43958         * elf/get-dynamic-info.h: Here.  New file.
43959         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43960         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43961         * elf/setup-vdso.h: Here.  New file.
43962         * elf/rtld.c: Include "setup-vdso.h".
43963         (dl_main): Call setup_vdso.
43965 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43967         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43968         creal in comment listing functions tested.  List finite, isinf,
43969         isnan, isless, islessequal, isgreater, isgreaterequal,
43970         islessgreater, isunordered, lgamma_r and pow10 as functions and
43971         macros not tested.  Mention which functions not tested are aliases
43972         for other functions.  Fix typo.  Note that signs of NaNs are not
43973         tested.
43975         * scripts/config.guess: Update from config.git.
43976         * scripts/config.sub: Likewise.
43978 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43980         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43981         * misc/madvise.c (madvise): Renamed to __madvise.
43982         Make madvise a weak alias.
43983         * include/sys/mman.h: Declare __madvise.
43984         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43985         * sysdeps/unix/syscalls.list
43986         (madvise): Make __madvise the strong name, and madvise a weak alias.
43987         * sysdeps/unix/sysv/linux/syscalls.list
43988         (madvise, mmap): Remove redundant entries.
43989         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43990         * malloc/malloc.c (mtrim): Likewise.
43991         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43993 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43995         * sysdeps/mach/hurd/dl-cache.c: File removed.
43996         * config.h.in (USE_LDCONFIG): New #undef.
43997         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43998         * configure: Regenerated.
43999         * elf/Makefile (dl-routines): Add dl-cache only under
44000         [$(use-ldconfig) = yes].
44001         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44002         cache on [USE_LDCONFIG].
44003         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44004         [USE_LDCONFIG].
44005         * elf/rtld.c (dl_main): Likewise.
44007 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44009         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44010         _SC_LEVEL4_CACHE_LINESIZE.
44012 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44014         * sysdeps/unix/bsd/confstr.h: File removed.
44016 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44018         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44019         sys/sdt-config.h.
44021 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44023         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44024         Make 'mapoff' field ElfW(Off) rather than off_t.
44026 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44028         * nscd/Makefile: Remove nscd-cflags and all its users.
44029         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44030         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44032         [BZ #10631]
44033         * malloc.c (malloc_printerr): Clarify error message.
44035 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44037         [BZ #14648]
44038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44039         Set bit_FMA_Usable if FMA is supported.
44040         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44041         macro.
44042         (bit_FMA4_Usable): Updated.
44043         (index_FMA_Usable): New macro.
44044         (CPUID_FMA): Likewise
44045         (HAS_FMA): Defined with bit_FMA_Usable.
44047 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44049         * bits/types.h (__swblk_t): Type removed.
44050         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44051         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44052         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44053         (__SWBLK_T_TYPE): Likewise.
44054         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44055         (__SWBLK_T_TYPE): Likewise.
44056         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44057         (__SWBLK_T_TYPE): Likewise.
44058         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44059         (__SWBLK_T_TYPE): Likewise.
44061 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44062             Honza Horak <hhorak@redhat.com>
44064         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44065         (xdr_mapname): Use YPMAXMAP as maxsize.
44066         (xdr_peername): Use YPMAXPEER as maxsize.
44067         (xdr_keydat): Use YPAXRECORD as maxsize.
44068         (xdr_valdat): Use YPMAXRECORD as maxsize.
44070 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44072         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44074         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44075         * csu/init-first.c: ... here.
44076         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44077         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44078         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44079         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44080         * sysdeps/i386/init-first.c: File removed.
44081         * sysdeps/sh/init-first.c: File removed.
44083 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44085         [BZ #14645]
44086         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44087         if x * y might underflow to zero and z is zero.
44088         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44089         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44090         * math/libm-test.inc (min_subnorm_value): New variable.
44091         (fma_test): Add more tests.
44092         (fma_test_towardzero): Likewise.
44093         (fma_test_downward): Likewise
44094         (fma_test_upward): Likewise.
44095         (initialize): Set min_subnorm_value.
44097 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44099         [BZ #14638]
44100         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44101         0 + 0.
44102         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44103         mode for addition resulting in exact zero.
44104         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44105         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44106         exact 0 + 0.
44107         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44108         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44109         * math/libm-test.inc (fma_test): Add more tests.
44110         (fma_test_towardzero): New function.
44111         (fma_test_downward): Likewise.
44112         (fma_test_upward): Likewise.
44113         (main): Call the new functions.
44115 2012-09-28  David S. Miller  <davem@davemloft.net>
44117         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44119 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44121         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44122         instead of SIGALRM.
44124         * sysdeps/gnu/_G_config.h: Moved to ...
44125         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44126         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44127         * sysdeps/generic/_G_config.h: ... here.
44129         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44131         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44133         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44134         Conditionalize target on [libnss_test1.so-version].
44136         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44138         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44139         (elfobjdir): Move out of conditionals.
44141         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44142         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44143         (__nss_lookup_function): Conditionalize label remove_from_tree on
44144         [!DO_STATIC_NSS || SHARED], matching its only use.
44146 2012-09-28  David S. Miller  <davem@davemloft.net>
44148         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44149         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44150         file.
44151         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44152         sysdep_routines.
44153         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44154         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44155         when HWCAP_SPARC_CRYPTO is present.
44157 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44159         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44161 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44163         [BZ #6530]
44164         * stdio-common/vfprintf.c (process_string_arg): Revert
44165         2000-07-22 change.
44167 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44169         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44170         for testcase.
44171         * stdio-common/tst-sprintf.c: Include <locale.h>
44172         (main): Test sprintf's handling of incomplete multibyte
44173         characters.
44175 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44177         * elf/dl-runtime.c (VERSYMIDX): Removed.
44178         * elf/dl-version.c (VERSYMIDX): Likewise.
44179         * elf/do-rel.h (VERSYMIDX): Likewise.
44180         (VALIDX): Likewise.
44181         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44182         * elf/rtld.c (VALIDX): Likewise.
44183         (ADDRIDX): Likewise.
44184         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44185         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44186         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44187         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44188         (VALIDX): Likewise.
44189         (ADDRIDX): Likewise.
44191 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44193         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44195 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44197         [BZ #11438]
44198         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44199         to global scope.
44200         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44201         addresses are in the same scope as 192.0.2/24.
44202         * posix/gai.conf: Document new scope table defaults.
44204 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44206         [BZ #5298]
44207         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44208         for ftell.  Compute offsets from write pointers instead.
44209         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44211 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44213         [BZ #14543]
44214         * libio/Makefile (tests): New test case tst-fseek.
44215         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44216         combination works in wide mode.
44217         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44218         state when the external buffer state changes.
44220 2012-09-27  David S. Miller  <davem@davemloft.net>
44222         [BZ #14376]
44223         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44224         pass reloc->r_addend in as the 'high' argument to
44225         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44229 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44231         * rt/tst-aio2.c: Include <pthread.h>.
44232         * rt/tst-aio3.c: Likewise.
44234 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44236         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44238 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44240         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44241         contents on [SHARED].
44243 2012-09-26  Marek Polacek  <polacek@redhat.com>
44245         [BZ #14530]
44246         [BZ #13741]
44247         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44248         for C++ and GCC <4.3 as well as for non GCC compilers.
44250 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44254 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44256         * Makefile.in (all, install): Declare with .PHONY.
44257         Reported by Michael Hope <michael.hope@linaro.org>.
44259 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44261         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44262         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44263         system header.
44264         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44265         Likewise.
44266         (sydep_routines): Add the new and the internal functions.
44267         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44268         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44270         (GLIBC_2.17): Add the new function.
44271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44272         (GLIBC_2.17): Likewise.
44273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44274         (GLIBC_2.17): Likewise.
44275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44276         (GLIBC_2.17): Likewise.
44277         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44279 2012-09-25  Alan Modra  <amodra@gmail.com>
44281         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44282         Add release barrier before setting once_control to say
44283         initialisation is done.  Add hints on lwarx.  Use macro in
44284         place of isync.
44285         (clear_once_control): Add release barrier.
44287 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44289         [BZ #13629]
44290         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44291         specially.
44292         * math/s_clog10.c (__clog10): Likewise.
44293         * math/s_clog10f.c (__clog10f): Likewise.
44294         * math/s_clog10l.c (__clog10l): Likewise.
44295         * math/s_clogf.c (__clogf): Likewise.
44296         * math/s_clogl.c (__clogl): Likewise.
44297         * math/Makefile (libm-calls): Add x2y2m1.
44298         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44299         (__x2y2m1): Likewise.
44300         (__x2y2m1l): Likewise.
44301         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44302         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44303         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44304         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44305         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44306         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44307         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44308         * sysdeps/i386/fpu/libm-test-ulps: Update.
44309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44311         [BZ #14621]
44312         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44313         int as type of variable DEPTH.
44314         (glob): Use size_t instead of int as type of variables NEWCOUNT
44315         and OLD_PATHC.
44317 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44319         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44320         Add s_sincosf-sse2.
44321         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44322         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44323         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44324         macros for using routine as __sincosf_ia32.
44325         Use macro for function declaration and weak_alias.
44326         * sysdeps/i386/fpu/libm-test-ulps: Update.
44328         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44331         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44332         subnormal argument.
44333         * math/s_cexpf.c (__cexpf): Likewise.
44334         * math/s_csinf.c (__csinf): Likewise.
44335         * math/s_csinhf.c (__csinhf): Likewise.
44336         * math/s_ctanf.c (__ctanf): Likewise.
44337         * math/s_ctanhf.c (__ctanhf): Likewise.
44338         * math/s_ccosh.c (__ccoshf): Likewise.
44339         * math/s_cexp.c (__cexpl): Likewise.
44340         * math/s_csin.c (__csin): Likewise.
44341         * math/s_csinh.c (__csinh): Likewise.
44342         * math/s_ctan.c (__ctan): Likewise.
44343         * math/s_ctanh.c (ctanh): Likewise.
44344         * math/s_ccoshl.c (__ccoshl): Likewise.
44345         * math/s_cexpl.c (__cexpl): Likewise.
44346         * math/s_csinl.c (__csinl): Likewise.
44347         * math/s_csinhl.c (__csinhl): Likewise.
44348         * math/s_ctanl.c (__ctanl): Likewise.
44349         * math/s_ctanhl.c (__ctanhl): Likewise.
44351 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44353         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44354         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44355         (_IO_off_t): Define to __off_t, not _G_off_t.
44356         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44357         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44358         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44359         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44360         type of __dummy and __dummy2 fields.
44361         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44362         (_G_ssize_t): Likewise.
44363         (_G_off_t): Likewise.
44364         (_G_pid_t): Likewise.
44365         (_G_uid_t): Likewise.
44366         (_G_wchar_t): Likewise.
44367         (_G_wint_t): Likewise.
44368         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44369         (_G_ssize_t): Likewise.
44370         (_G_off_t): Likewise.
44371         (_G_pid_t): Likewise.
44372         (_G_uid_t): Likewise.
44373         (_G_wchar_t): Likewise.
44374         (_G_wint_t): Likewise.
44375         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44376         (_G_ssize_t): Likewise.
44377         (_G_off_t): Likewise.
44378         (_G_pid_t): Likewise.
44379         (_G_uid_t): Likewise.
44380         (_G_wchar_t): Likewise.
44381         (_G_wint_t): Likewise.
44383 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44385         * malloc/arena.c: Include malloc-sysdep.h.
44386         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44387         is sufficient to shrink the heap or an unmap is needed.
44388         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44389         new function check_may_shrink_heap.
44390         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44391         new function check_may_shrink_heap.
44393 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44395         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44396         comments.
44398 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44400         * catgets/test-gencat.sh: Add "set -e".
44401         * elf/tst-pathopt.sh: Likewise.
44402         * grp/tst_fgetgrent.sh: Likewise.
44403         * iconvdata/run-iconv-test.sh: Likewise.
44404         * intl/tst-gettext.sh: Likewise.
44405         * intl/tst-gettext2.sh: Likewise.
44406         * intl/tst-gettext4.sh: Likewise.
44407         * intl/tst-gettext6.sh: Likewise.
44408         * intl/tst-translit.sh: Likewise.
44409         * io/ftwtest-sh: Likewise.
44410         * libio/test-freopen.sh: Likewise.
44411         * malloc/tst-mtrace.sh: Likewise.
44412         * posix/globtest.sh: Likewise.
44413         * posix/tst-getconf.sh: Likewise.
44414         * posix/wordexp-tst.sh: Likewise.
44415         * stdio-common/tst-printf.sh: Likewise.
44416         * stdio-common/tst-unbputc.sh: Likewise.
44417         * stdlib/tst-fmtmsg.sh: Likewise.
44418         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44419         * catgets/Makefile: Do not specify -e option when running
44420         testsuite shell scripts.
44421         * elf/Makefile: Likewise.
44422         * grp/Makefile: Likewise.
44423         * iconvdata/Makefile: Likewise.
44424         * intl/Makefile: Likewise.
44425         * io/Makefile: Likewise.
44426         * libio/Makefile: Likewise.
44427         * malloc/Makefile: Likewise.
44428         * posix/Makefile: Likewise.
44429         * stdio-common/Makefile: Likewise.
44430         * stdlib/Makefile: Likewise.
44431         * sysdeps/x86_64/Makefile: Likewise.
44433         * io/ftwtest-sh: Add copyright header.
44434         * posix/globtest.sh: Likewise.
44435         * posix/tst-getconf.sh: Likewise.
44436         * posix/wordexp-tst.sh: Likewise.
44437         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44439 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44441         [BZ #13679]
44442         * Makeconfig (+link): Defined as $(+link-static) if
44443         $(build-shared) isn't yes.
44444         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44445         isn't yes.
44446         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44448         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44450         [BZ #14562]
44451         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44452         new chunk size with MALLOC_ALIGN_MASK.
44454 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44456         [BZ #5044]
44457         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44458         <rounding-mode.h>.
44459         (__printf_fphex): Determine rounding using get_rounding_mode and
44460         round_away.
44461         * stdio-common/tst-printf-round.c (struct hex_test): New
44462         structure.
44463         (hex_tests): New variable.
44464         (test_hex_in_one_mode): New function.
44465         (do_test): Also run tests for hex float output.
44467 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44469         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44470         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44471         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44472         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44473         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44474         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44475         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44476         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44478 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44480         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44481         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44482         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44483         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44485 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44487         [BZ #14579]
44488         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44489         mode only.
44490         * elf/tst-rtld-load-self.sh: New test.
44491         * elf/Makefile: Run it.
44493 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44495         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44496         (tst-writev-ENV): Remove.
44497         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44499 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44501         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44503 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44505         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44506         unconditional.
44507         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44508         Likewise.
44509         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44510         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44511         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44512         Likewise.
44514 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44516         [BZ #14587]
44517         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44518         * config.make.in (have-cpp-asm-debuginfo): Removed.
44519         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44520         * configure: Regenerated.
44522 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44524         [BZ #5044]
44525         * stdio-common/printf_fp.c: Include <stdbool.h> and
44526         <rounding-mode.h>.
44527         (___printf_fp): Determine rounding using get_rounding_mode and
44528         round_away.
44529         * stdio-common/tst-printf-round.c: New file.
44530         * stdio-common/Makefile (tests): Add tst-printf-round.
44531         (link-libm): New variable.
44532         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44534 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44536         [BZ #14576]
44537         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44538         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44539         Likewise.
44540         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44541         Likewise.
44543 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44545         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44546         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44547         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44548         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44550 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44552         [BZ #14518]
44553         * include/rounding-mode.h: New file.
44554         * sysdeps/generic/get-rounding-mode.h: Likewise.
44555         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44556         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44557         (MAX_VALUE): New macro.
44558         (MIN_VALUE): Likewise.
44559         (overflow_value): New function.
44560         (underflow_value): Likewise.
44561         (round_and_return): Use overflow_value and underflow_value to
44562         determine return values in overflow and underflow cases.  Use
44563         round_away to determine rounding depending on rounding mode.
44564         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44565         determine return values in overflow and underflow cases.
44566         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44567         (struct test_results): New structure.
44568         (struct test): Use struct test_results to store expected results
44569         for all rounding modes.
44570         (TEST): Include expected results for all rounding modes.
44571         (test_in_one_mode): New function.
44572         (do_test): Use test_in_one_mode to compute and check results.
44573         Check results for all rounding modes.
44574         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44575         $(link-libm).
44577 2012-12-09  Allan McRae  <allan@archlinux.org>
44579         * sysdeps/i386/fpu/libm-test-ulps: Update
44581 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44583         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44584         (_G_int32_t): Likewise.
44585         (_G_uint16_t): Likewise.
44586         (_G_uint32_t): Likewise.
44587         (_G_HAVE_BOOL): Likewise.
44588         (_G_HAVE_ATEXIT): Likewise.
44589         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44590         (_G_HAVE_IO_FILE_OPEN): Likewise.
44591         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44592         (_G_int32_t): Likewise.
44593         (_G_uint16_t): Likewise.
44594         (_G_uint32_t): Likewise.
44595         (_G_HAVE_BOOL): Likewise.
44596         (_G_HAVE_ATEXIT): Likewise.
44597         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44598         (_G_HAVE_IO_FILE_OPEN): Likewise.
44599         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44600         (_G_int32_t): Likewise.
44601         (_G_uint16_t): Likewise.
44602         (_G_uint32_t): Likewise.
44603         (_G_HAVE_BOOL): Likewise.
44604         (_G_HAVE_ATEXIT): Likewise.
44605         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44606         (_G_HAVE_IO_FILE_OPEN): Likewise.
44608 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44610         * csu/libc-tls.c: Update copyright years.
44612 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44614         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44615         [!_G_USING_THUNKS]: Remove conditional code.
44616         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44617         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44619         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44620         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44621         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44622         (_G_VTABLE_LABEL_PREFIX): Likewise.
44623         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44624         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44625         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44626         (_G_VTABLE_LABEL_PREFIX): Likewise.
44627         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44628         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44629         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44630         (_G_VTABLE_LABEL_PREFIX): Likewise.
44631         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44633 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44635         * libio/Makefile: Include ../Makeconfig before tests.
44636         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44637         only if $(build-shared) is yes.
44639         * iconv/gconv_db.c: Update copyright years.
44641 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44643         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44644         unwind info if defined PIC. Fix special cases description.
44645         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44647         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44648         DP_HI_MASK entry.
44649         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44651 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44653         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44655         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44656         is NULL.
44658         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44659         (LDLIBS-tst-chk4): This.
44660         (LDFLAGS-tst-chk5): Renamed to ...
44661         (LDLIBS-tst-chk5): This.
44662         (LDFLAGS-tst-chk6): Renamed to ...
44663         (LDLIBS-tst-chk6): This.
44664         (LDFLAGS-tst-lfschk4): Renamed to ...
44665         (LDLIBS-tst-lfschk4): This.
44666         (LDFLAGS-tst-lfschk5): Renamed to ...
44667         (LDLIBS-tst-lfschk5): This.
44668         (LDFLAGS-tst-lfschk6): Renamed to ...
44669         (LDLIBS-tst-lfschk6): This.
44671         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44672         on $(common-objpfx)soversions.mk.
44674 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44676         [BZ #10014]
44677         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44678         example host name.
44680 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44682         * malloc/arena.c (arena_get_retry): New function that gets
44683         another arena for the caller to try its request on.
44684         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44685         current arena cannot fulfill the request.
44686         (__libc_memalign): Likewise.
44687         (__libc_memalign): Likewise.
44688         (__libc_pvalloc): Likewise.
44689         (__libc_calloc): Likewise.
44691 2012-09-05  John Tobey  <john.tobey@gmail.com>
44693         [BZ #13542]
44694         * manual/arith.texi (Operations on Complex): Fix description
44695         of carg branch cut.
44697 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44699         [BZ #10014]
44700         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44701         host name.
44703         [BZ #10038]
44704         * manual/memory.texi (Memory): Make order of menu items match
44705         order of sections.
44707 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44709         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44710         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44711         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44713 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44715         * csu/libc-tls.c (static_dtv): Renamed to ...
44716         (_dl_static_dtv): This.  Make it global.
44717         (_dl_initial_dtv): Removed.
44718         (__libc_setup_tls): Updated.
44719         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44720         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44721         DL_INITIAL_DTV.
44723 2012-09-06  Petr Machata  <pmachata@redhat.com>
44725         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44726         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44727         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44728         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44730 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44732         [BZ #14545]
44733         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44734         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44735         freeing dtv[-1].
44737 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44739         [BZ #14544]
44740         * Makeconfig (link-static-before-libc): Replace $(+prector)
44741         with $(+prectorT).
44742         (link-static-after-libc): Replace $(+postctor) with
44743         $(+postctorT).
44744         (link-bounded): Replace $(+prector)/$(+postctor) with
44745         $(+prectorT)/$(+postctorT).
44746         (+prectorT): New macro.
44747         (+postctorT): Likewise.
44749 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44751         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44752         (round_str): Handle values above the maximum for IBM long double
44753         as inexact.
44754         * stdlib/tst-strtod-round.c (tests): Regenerated.
44756 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44758         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44759         assembler flag.
44760         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44761         zarch_nohighgprs around the zarch optimized routines.
44762         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44763         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44764         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44765         for zarch.
44767 2012-09-05  David S. Miller  <davem@davemloft.net>
44769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44771         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44772         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44773         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44774         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44775         entries.
44777 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44779         * malloc/arena.c: Fold copyright years.
44780         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44782 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44784         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44786 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44788         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44790 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44792         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44793         change internal state upon failure.
44795 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44797         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44798         * malloc/memusage.c (mmap): Likewise.
44799         (mmap64, mremap): Likewise.  Adjust name in comment.
44801 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44803         * libio/fileops.c: Fix typos in comments.
44804         * libio/oldfileops.c: Likewise.
44805         * libio/wfileops.c: Likewise.
44807 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44809         [BZ #1349]
44810         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44811         (tst-malloc-usable-ENV): Set environment for test case.
44812         * malloc/hooks.c (malloc_check_get_size): New function to get
44813         requested size.
44814         * malloc/malloc.c (musable): Use malloc_check_get_size.
44815         * malloc/tst-malloc-usable.c: New test case.
44817 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44819         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44821 2012-09-05  Allan McRae  <allan@archlinux.org>
44823         [BZ #13966]
44824         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44825         determine header location.
44826         * configure: Regenerated.
44828 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44830         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44831         float format.
44832         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44833         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44834         format.
44835         (test): Regenerate.
44837 2012-09-04  David S. Miller  <davem@davemloft.net>
44839         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44840         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44841         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44843 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44845         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44846         failures.
44848         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44850 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44852         [BZ #9914]
44853         * libio/iogetdelim.c: Include <limits.h>.
44854         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44855         + len + 1 would overflow.
44857 2012-09-03  Andreas Jaeger  <aj@suse.de>
44859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44860         * sysdeps/i386/fpu/libm-test-ulps: Update.
44862 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44864         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44865         Add s_sinf-sse2, s_conf-sse2.
44867         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44868         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44869         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44870         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44872         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44873         for using routine as __sinf_ia32.
44874         Use macro for function declaration and weak_alias.
44875         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44876         for using routine as __cosf_ia32.
44877         Use macro for function declaration and weak_alias.
44879         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44880         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44882         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44883         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44886         * math/libm-test.inc (cos_test): Add more test cases.
44887         (sin_test): Likewise.
44888         (sincos_test): Likewise.
44890 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44892         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44893         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44894         hidden.
44895         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44897 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44899         [BZ #14538]
44900         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44901         first element of the GOT.
44902         (elf_machine_load_address): Return the difference between
44903         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44905 2012-09-01  Allan McRae  <allan@archlinux.org>
44907         [BZ #13412]
44908         * configure.in (AWK): Require gawk version 3.0 or later.
44909         * configure: Regenerated.
44911 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44913         * sysdeps/unix/sysv/linux/kernel-features.h
44914         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44915         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44916         [__NR_clock_getres]: Make code unconditional.
44917         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44918         (clock_getcpuclockid): Remove code left unreachable by removal of
44919         conditionals.
44920         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44921         code unconditional.
44922         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44923         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44924         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44925         Make code unconditional.
44926         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44927         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44928         * sysdeps/unix/sysv/linux/clock_settime.c
44929         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44930         conditional code.
44931         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44932         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44934 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44936         [BZ #14476]
44937         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44938         scripts/test-installation.pl.
44940         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44941         and $ld_so_version if it is set.
44943 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44945         [BZ #14516]
44946         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44947         failure if reading from procfs failed.
44948         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44950 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44952         * sysdeps/unix/sysv/linux/kernel-features.h
44953         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44954         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44955         Remove conditional code.
44956         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44957         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44958         Remove conditional code.
44959         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44960         * sysdeps/unix/sysv/linux/i386/fxstat.c
44961         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44962         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44963         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44964         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44965         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44966         * sysdeps/unix/sysv/linux/i386/lxstat.c
44967         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44968         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44969         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44970         Remove conditional code.
44971         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44972         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44973         Remove conditional code.
44974         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44975         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44976         <kernel-features.h>.
44977         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44978         Remove.
44979         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44980         Remove conditional code.
44981         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44982         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44983         Remove conditional.
44985 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44987         [BZ #5400]
44988         * NEWS: Add fixed bug number.
44990 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44992         [BZ #14519]
44993         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44994         underflowing exponent in case of negative sign.
44995         * stdlib/tst-strtod-round-data: Add more tests.
44996         * stdlib/tst-strtod-round.c (tests): Regenerated.
44998         [BZ #3479]
44999         * stdlib/strtod_l.c (NDIG): Remove.
45000         (HEXNDIG): Likewise.
45001         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45002         smallest representable value.
45003         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45004         lie within an exact representation of 1/2 ulp of the result.
45005         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45006         unconditionally.
45007         (TENS_P9_IDX): Define unconditionally.
45008         (TENS_P9_SIZE): Likewise.
45009         (TENS_P10_IDX): Likewise.
45010         (TENS_P10_SIZE): Likewise.
45011         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45012         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45013         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45014         entries for 10^2^13 and 10^2^14.
45015         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45016         (TENS_P13_IDX): Define.
45017         (TENS_P13_SIZE): Likewise.
45018         (TENS_P14_IDX): Likewise.
45019         (TENS_P14_SIZE): Likewise.
45020         (_fpioconst_pow10): Change array size to
45021         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45022         unconditional.
45023         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45024         1024]: Add entries for 10^2^13 and 10^2^14.
45025         [LAST_POW10 > _LAST_POW10]: Remove #error.
45026         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45027         (_fpioconst_pow10): Change array size to
45028         FPIOCONST_POW10_ARRAY_SIZE.
45029         * stdlib/gen-fpioconst.c: New file.
45030         * stdlib/gen-tst-strtod-round.c: Likewise.
45031         * stdlib/tst-strtod-round-data: Likewise.
45032         * stdlib/tst-strtod-round.c: Likewise.
45033         * stdlib/Makefile (tests): Add tst-strtod-round.
45035         [BZ #14459]
45036         * stdlib/strtod_l.c: Include <stdint.h>.
45037         (NDEBUG): Do not define.
45038         (round_and_return): Change EXPONENT parameter to type intmax_t.
45039         Rearrange calculations to avoid internal overflow possibilities.
45040         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45041         Rearrange calculations to avoid internal overflow possibilities.
45042         Assert that number fits inside MPNSIZE limbs.
45043         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45044         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45045         calculations and add assertions to avoid internal overflow
45046         possibilities.  Add casts to avoid signed/unsigned operations.
45047         * stdlib/tst-strtod-overflow.c: New file.
45048         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45050 2012-08-25  Marek Polacek  <polacek@redhat.com>
45052         * time/time.h: Fix some typos in comments.
45054 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45056         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45057         * posix/tst-rfc3484-2.c: Likewise.
45058         * posix/tst-rfc3484-3.c: Likewise.
45060 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45062         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45063         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45065 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45067         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45068         #include of fxstatat64.c.
45070 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45072         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45073         * shadow/getspent_r.c: Likewise.
45074         * shadow/getspnam.c: Likewise.
45075         * shadow/getspnam_r.c: Likewise.
45076         * gshadow/getsgent.c: Likewise.
45077         * gshadow/getsgent_r.c: Likewise.
45078         * gshadow/getsgnam.c: Likewise.
45079         * gshadow/getsgnam_r.c: Likewise.
45080         * inet/getnetbyad.c: Likewise.
45081         * inet/getnetbyad_r.c: Likewise.
45082         * inet/getnetbynm.c: Likewise.
45083         * inet/getnetbynm_r.c: Likewise.
45084         * inet/getnetent.c: Likewise.
45085         * inet/getnetent_r.c: Likewise.
45086         * inet/getproto.c: Likewise.
45087         * inet/getproto_r.c: Likewise.
45088         * inet/getprtent.c: Likewise.
45089         * inet/getprtent_r.c: Likewise.
45090         * inet/getprtname.c: Likewise.
45091         * inet/getprtname_r.c: Likewise.
45092         * inet/getrpcbyname.c: Likewise.
45093         * inet/getrpcbyname_r.c: Likewise.
45094         * inet/getrpcbynumber.c: Likewise.
45095         * inet/getrpcbynumber_r.c: Likewise.
45096         * inet/getrpcent.c: Likewise.
45097         * inet/getrpcent_r.c: Likewise.
45098         * inet/getaliasent.c: Likewise.
45099         * inet/getaliasent_r.c: Likewise.
45100         * inet/getaliasname.c: Likewise.
45101         * inet/getaliasname_r.c: Likewise.
45102         * nscd/getgrgid_r.c: Likewise.
45103         * nscd/getgrnam_r.c: Likewise.
45104         * nscd/gethstbyad_r.c: Likewise.
45105         * nscd/gethstbynm3_r.c: Likewise.
45106         * nscd/getpwnam_r.c: Likewise.
45107         * nscd/getpwuid_r.c: Likewise.
45108         * nscd/getsrvbynm_r.c: Likewise.
45109         * nscd/getsrvbypt_r.c: Likewise.
45110         * nscd/gai.c: Likewise.
45112         * configure.in (build_nscd): New substituted variable, set
45113         by --disable-build-nscd and defaults to $use_nscd.
45114         * configure: Regenerated.
45115         * config.make.in (build-nscd): New substituted variable.
45116         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45117         Change conditional to require [$(build-nscd) = yes] as well.
45118         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45120         [BZ# 13696]
45121         * configure.in (use_nscd): New substituted variable, set by
45122         --disable-nscd.  If enabled, define USE_NSCD.
45123         * configure: Regenerated.
45124         * config.h.in: Add USE_NSCD.
45125         * config.make.in (use-nscd): New substituted variable.
45126         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45127         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45128         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45129         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45130         (CFLAGS-getgrnam_r.c): Likewise.
45131         (CFLAGS-initgroups.c): Likewise.
45132         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45133         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45134         Variables removed.
45135         * inet/getnetgrent_r.c
45136         (nscd_setnetgrent): New function, broken out of ...
45137         (setnetgrent): ... here.  Call it.
45138         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45139         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45140         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45141         * nscd/Makefile (routines, aux): Move definitions after include of
45142         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45143         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45144         Conditionalize on [USE_NSCD].
45145         (is_nscd, nscd_init_cb): Likewise.
45146         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45147         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45148         * nss/nss_db/db-init.c: Likewise.
45149         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45150         [USE_NSCD].
45151         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45152         (make_request): Use it.
45153         (cache_valid_p): New function.
45154         (__check_pf): Use it.
45155         * NEWS: Add item for --disable-nscd.
45157 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45159         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45160         to support sed >= 4.2.1-20-ga9bf076.
45161         * configure: Regenerated.
45163 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45165         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45166         Conditionalize whole body on [IREL].
45168 2012-08-22  Jeff Law <law@redhat.com>
45170         [BZ #14505]
45171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45172         if the family is PF_UNSPEC.
45174 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45176         * Makerules (lib-version): Rename from V.
45177         (install-lib-nosubdir): Change V to lib-version.
45179 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45181         [BZ #14252]
45182         * powerpc32/power6/wcschr.c: New file.
45183         * powerpc32/power6/wcscpy.c: New file.
45184         * powerpc32/power6/wcsrchr.c: New file.
45185         * powerpc64/power6/wcschr.c: New file.
45186         * powerpc64/power6/wcscpy.c: New file.
45187         * powerpc64/power6/wcsrchr.c: New file.
45189 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45191         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45192         (two_way_short_needle): Use it.
45193         * string/strstr.c (AVAILABLE1_USES_J): Define.
45194         * string/strcasestr.c: Likewise.
45196         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45197         array references.
45198         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45200         [BZ #11607]
45201         * NEWS: Add an entry.
45202         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45203         define their defaults.
45204         (two_way_short_needle): Detect end-of-string on-the-fly.
45205         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45206         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45207         * string/bug-strcasestr1.c: New test.
45208         * string/Makefile: Run it.
45210 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45212         [BZ #11607]
45213         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45214         the first character.
45216 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45218         * csu/elf-init.c (__libc_csu_irel): Function removed.
45219         * csu/libc-start.c (apply_irel): New function.
45220         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45222 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45224         * sysdeps/unix/sysv/linux/kernel-features.h
45225         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45226         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45227         <kernel-features.h>.
45228         [__NR_fadvise64_64]: Make code unconditional.
45229         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45230         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45231         !__NR_fadvise64_64)]: Likewise.
45232         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45233         !__NR_fadvise64_64))]: Likewise.
45234         [__NR_fadvise64]: Make code unconditional.
45235         [!__NR_fadvise64]: Remove conditional code.
45236         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45237         <kernel-features.h>.
45238         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45239         unconditional.
45240         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45241         conditional code.
45242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45243         not include <kernel-features.h>.
45244         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45245         unconditional.
45246         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45247         conditional code.
45248         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45249         include <kernel-features.h>.
45250         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45251         unconditional.
45252         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45253         conditional code.
45255 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45257         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45258         slight instruction rearrangements per scrollpipe analysis.
45259         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45261 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45263         * manual/syslog.texi (syslog; vsyslog, closelog):
45264         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45265         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45267         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45268         DSOCAPS to match condition on defining it.
45270 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45272         * sysdeps/unix/sysv/linux/kernel-features.h
45273         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45275         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45276         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45278         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45279         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45281         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45282         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45284         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45285         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45287         * sysdeps/unix/sysv/linux/kernel-features.h
45288         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45289         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45290         unconditional.
45291         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45292         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45293         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45294         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45295         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45296         Make code unconditional.
45297         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45298         (__mmap64) [!__NR_mmap2]: Likewise.
45299         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45300         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45301         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45302         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45303         [__NR_mmap2]: Make code unconditional.
45304         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45305         (__mmap64) [!__NR_mmap2]: Likewise.
45307 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45309         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45311 2012-08-18  Andreas Jaeger  <aj@suse.de>
45313         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45315 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45317         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45318         * include/unistd.h (__have_sock_cloexec): Likewise.
45319         (__have_pipe2): Likewise.
45320         (__have_dup3): Likewise.
45322 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45324         [BZ #9685]
45325         * include/unistd.h (__have_pipe2): Change define into an extern int.
45326         (__have_dup3): Likewise.
45327         * socket/have_sock_cloexec.c: Include fcntl.h.
45328         (__have_pipe2): New variable.
45329         (__have_dup3): Likewise.
45331 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45333         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45335 2012-08-17  Marek Polacek  <polacek@redhat.com>
45337         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45338         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45340 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45342         * configure.in: Add AC_SUBST for sysheaders.
45343         * configure: Regenerated.
45344         * config.make.in (sysheaders): New substituted variable.
45346         * sysdeps/unix/mkfifo.c: Moved ...
45347         * sysdeps/posix/mkfifo.c: ... here.
45348         * sysdeps/unix/mkfifoat.c: Moved ...
45349         * sysdeps/posix/mkfifoat.c: ... here.
45351         * sysdeps/unix/utime.c: Moved ...
45352         * sysdeps/posix/utime.c: ... here.
45354         * sysdeps/unix/time.c: Moved ...
45355         * sysdeps/posix/time.c: ... here.
45356         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45357         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45359         * sysdeps/unix/nice.c: Moved ...
45360         * sysdeps/posix/nice.c: ... here.
45362         * sysdeps/unix/alarm.c: Moved ...
45363         * sysdeps/posix/alarm.c: ... here.
45365         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45367 2012-08-17  Jeff Law <law@redhat.com>
45369         * intl/Makefile (codeset_mo): New variable.
45370         ($(codeset_mo)): New target.
45371         (tst-codeset.out): Depend on that.  Remove explicit rule.
45372         (tst-gettext3.out, tst-gettext5.out): Likewise.
45373         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45374         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45375         * intl/tst-codeset.sh: Remove.
45376         * intl/tst-gettext3.sh: Likewise.
45377         * intl/tst-gettext5.sh: Likewise.
45379 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45381         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45382         * sysdeps/unix/syscalls.list: ... here.
45384         * sysdeps/posix/getaddrinfo.c
45385         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45386         (gaiconf_init, gaiconf_reload): Use them.
45387         [!_STATBUF_ST_NSEC]
45388         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45389         Define using time_t rather than struct timespec.
45391         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45392         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45393         Macros removed.
45394         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45395         [!NO_THREADS].
45396         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45397         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45398         Likewise.
45400         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45401         __libc_cleanup_push argument.
45403         * bits/param.h: New file.
45404         * misc/sys/param.h: New file.
45405         * include/sys/param.h: New file.
45406         * misc/Makefile (headers): Add bits/param.h.
45407         * sysdeps/generic/sys/param.h: File removed.
45408         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45409         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45410         * sysdeps/mach/hurd/bits/param.h: New file.
45411         * sysdeps/mach/hurd/sys/param.h: File removed.
45413         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45414         last change.
45416         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45417         [_IO_MTSAFE_IO].
45418         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45419         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45420         New macros.
45422         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45423         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45424         rather than -D_IO_MTSAFE_IO conditionally.
45425         * stdio-common/Makefile (CPPFLAGS): Likewise.
45426         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45427         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45428         Use $(libio-mtsafe).
45429         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45430         of -D_IO_MTSAFE_IO.
45431         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45432         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45433         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45434         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45435         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45436         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45437         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45438         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45439         (CFLAGS-fread_u_chk.c): Likewise.
45440         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45441         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45442         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45443         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45444         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45445         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45446         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45447         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45448         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45450         * libio/Makefile: Test [$(libc-reentrant) = yes]
45451         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45453         * Makeconfig
45454         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45455         * sysdeps/pthread/configure: File removed.
45456         * sysdeps/pthread/Makeconfig: New file.
45457         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45458         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45460 2012-08-16  Gary Benson  <gbenson@redhat.com>
45462         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45463         unmapping the first object in a namespace.
45465 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45467         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45468         (__internal_setnetgrent): ... this.  Add internal_function to
45469         definition.  Add libc_hidden_def.
45470         (setnetgrent): Update caller.
45471         (internal_endnetgrent): Renamed to ...
45472         (__internal_endnetgrent): ... this.  Add internal_function to
45473         definition.  Add libc_hidden_def.
45474         (endnetgrent): Update caller.
45475         (internal_getnetgrent_r): Renamed to ...
45476         (__internal_getnetgrent_r): ... this.  Add internal_function to
45477         definition.  Add libc_hidden_def.
45478         (__getnetgrent_r): Update caller.
45479         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45481 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45483         * stdlib/longlong.h: Update from GCC.
45485 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45487         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45488         on _QL, which is set by umul_ppmm but never used.
45489         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45490         variables, which are set by GMP macros but never used.
45491         * stdio-common/_itowa.c (_itowa): Likewise.
45492         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45493         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45495 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45497         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45498         struct La_sh_regs is not constant.
45499         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45500         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45501         and struct La_sparc64_regs are not constant.
45503 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45505         * sysdeps/unix/sysv/linux/kernel-features.h
45506         (__ASSUME_POSIX_TIMERS): Remove.
45507         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45508         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45509         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45510         Make code unconditional.
45511         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45512         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45513         Make code unconditional.
45514         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45515         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45516         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45517         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45518         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45519         Make code unconditional.
45520         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45521         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45522         (__libc_missing_posix_timers): Remove.
45524 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45526         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45527         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45529         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45531         * elf/dl-sym.c: Include <stdlib.h>.
45533         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45534         constants, which avoids warnings in 32-bit builds.
45536         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45537         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45539         * misc/lseek.c: File moved to ...
45540         * io/lseek.c: ... here.
45542         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45544         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45545         shifting LEN more than 31 bits at once.
45547 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45549         [BZ #14195]
45550         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45551         segmentation fault for a case of two empty input strings.
45552         * string/test-strncasecmp.c (check1): Renamed to...
45553         (bz12205): ...this.
45554         (bz14195): Add new testcase for two empty input strings and N > 0.
45555         (test_main): Call new testcase, adapt for renamed function.
45557 2012-08-15  Andreas Jaeger  <aj@suse.de>
45559         [BZ #14090]
45560         * crypt/md5test2.c: New test, based on test supplied by Serge
45561         Belyshev <belyshev@depni.sinp.msu.ru>.
45562         * crypt/Makefile (xtests): Add md5test-giant..
45563         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45565 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45567         [BZ #14090]
45568         * crypt/md5.c (md5_process_block): Don't assume the buffer
45569         length is less than 2**32.
45570         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45571         length is less than 2**64.
45573 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45575         * string/str-two-way.h: Include <sys/param.h>.
45576         (MAX): Macro removed.
45578         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45579         Move #define and #undef of memmove to just before and after
45580         including <string.h>.
45582         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45583         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45584         and after including <string.h>.  Move declarations of
45585         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45586         to before #include "string/memmove.c".
45588         * include/dirent.h: Declare __getdirentries.
45590         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45591         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45593 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45595         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45596         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45597         * sysdeps/i386/configure: Regenerated.
45598         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45599         STABS_CURRENT_FILE, and STABS_FUN.
45600         (END): Remove call to STABS_FUN_END.
45601         (STABS_CURRENT_FILE1): Delete.
45602         (STABS_CURRENT_FILE): Likewise.
45603         (STABS_FUN): Likewise.
45604         (STABS_FUN_END): Likewise.
45605         (STABS_FUN2): Likewise.
45606         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45607         * sysdeps/x86_64/configure: Regenerated.
45609 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45611         * elf/dl-open.c: Include <atomic.h>.
45612         * elf/dl-lookup.c: Likewise.
45614 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45616         * sysdeps/unix/sysv/linux/kernel-features.h
45617         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45618         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45619         unconditionally.
45620         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45621         unconditionally.
45622         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45623         condition on __ASSUME_CLONE_THREAD_FLAGS.
45625 2012-08-14  Andreas Jaeger  <aj@suse.de>
45627         * sysdeps/i386/fpu/libm-test-ulps: Update.
45629 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45631         * include/atomic.h (atomic_exchange_and_add): Split into ...
45632         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45633         New atomic macros.
45635 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45639 2012-08-13  Jeff Law <law@redhat.com>
45641         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45642         null byte in the output string.
45644 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45646         * sysdeps/unix/sysv/linux/kernel-features.h
45647         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45648         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45649         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45650         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45651         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45652         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45653         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45655 2012-08-09  Jeff Law <law@redhat.com>
45657         [BZ #13939]
45658         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45659         When avoid_arena is set, don't retry in the that arena.  Pick the
45660         next one, whatever it might be.
45661         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45662         (arena_lock): Pass in new parameter to arena_get2.
45663         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45664         arena_get2.
45665         (__libc_malloc): Unify retrying after main arena failure with
45666         __libc_memalign version.
45667         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45669 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45671         [BZ #14166]
45672         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45673         to __redirect_strstr.
45674         (__strstr_sse42): Use typeof __redirect_strstr.
45675         (__strstr_ia32): Likewise.
45676         (__libc_strstr): New prototype.
45677         (strstr): Renamed to ...
45678         (__libc_strstr): This.
45679         (strstr): New strong alias of __libc_strstr.
45680         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45681         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45682         __redirect_time.
45683         Include <time.h>.
45684         (__libc_time): New prototype.
45685         (time_ifunc): Replace time with __libc_time.
45686         (time): New strong alias and hidden definition of __libc_time.
45687         (__GI_time): Remove strong alias.
45688         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45689         Include <stddef.h>.
45690         (memmove): Redefined to __redirect_memmove.
45691         (__memmove_sse2): Use typeof __redirect_memmove.
45692         (__memmove_ssse3): Likewise.
45693         (__memmove_ssse3_back): Likewise.
45694         (__libc_memmove): New prototype.
45695         (memmove): Renamed to ...
45696         (__libc_memmove): This.
45697         (memmove): New strong alias of __libc_memmove.
45699 2012-08-08  Mark Salter  <msalter@redhat.com>
45701         * elf/elf.h
45702         (R_MN10300_TLS_GD): Define.
45703         (R_MN10300_TLS_LD): Likewise.
45704         (R_MN10300_TLS_LDO): Likewise.
45705         (R_MN10300_TLS_GOTIE): Likewise.
45706         (R_MN10300_TLS_IE): Likewise.
45707         (R_MN10300_TLS_LE): Likewise.
45708         (R_MN10300_TLS_DTPMOD): Likewise.
45709         (R_MN10300_TLS_DTPOFF): Likewise.
45710         (R_MN10300_TLS_TPOFF): Likewise.
45711         (R_MN10300_SYM_DIFF): Likewise.
45712         (R_MN10300_ALIGN): Likewise.
45713         (R_MN10300_NUM): Update.
45715 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45717         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45718         Remove.
45720 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45722         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45724         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45725         sysdeps/unix -> sysdeps/posix move.
45726         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45728 2012-08-07      Allan McRae     <allan@archlinux.org>
45730         [BZ #14303]
45731         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45732         (SUNOS_CPP): Likewise.
45733         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45734         not found.
45735         (open_input): Call CPP using execvp.
45737 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45739         * sysdeps/unix/sysv/linux/kernel-features.h
45740         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45741         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45742         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45743         (__ASSUME_WAITID_SYSCALL): Likewise.
45744         * sysdeps/unix/sysv/linux/dl-execstack.c
45745         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45746         code unconditional.
45747         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45748         conditional code.
45749         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45750         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45751         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45752         code.
45753         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45754         unconditional.
45755         [__ASSUME_WAITID_SYSCALL]: Likewise.
45756         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45758 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45760         * sysdeps/unix/closedir.c: Renamed to ...
45761         * sysdeps/posix/closedir.c: ... here.
45762         * sysdeps/unix/dirfd.c: Renamed to ...
45763         * sysdeps/posix/dirfd.c: ... here.
45764         * sysdeps/unix/dirstream.h: Renamed to ...
45765         * sysdeps/posix/dirstream.h: ... here.
45766         * sysdeps/unix/fdopendir.c: Renamed to ...
45767         * sysdeps/posix/fdopendir.c: ... here.
45768         * sysdeps/unix/opendir.c: Renamed to ...
45769         * sysdeps/posix/opendir.c: ... here.
45770         * sysdeps/unix/readdir.c: Renamed to ...
45771         * sysdeps/posix/readdir.c: ... here.
45772         * sysdeps/unix/readdir_r.c: Renamed to ...
45773         * sysdeps/posix/readdir_r.c: ... here.
45774         * sysdeps/unix/rewinddir.c: Renamed to ...
45775         * sysdeps/posix/rewinddir.c: ... here.
45776         * sysdeps/unix/seekdir.c: Renamed to ...
45777         * sysdeps/posix/seekdir.c: ... here.
45778         * sysdeps/unix/telldir.c: Renamed to ...
45779         * sysdeps/posix/telldir.c: ... here.
45780         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45781         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45782         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45783         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45785         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45786         * bits/fcntl.h: ... here.
45788         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45789         not 0.
45790         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45791         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45792         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45793         (struct flock): Move l_start, l_len to the beginning.
45794         Use __pid_t for l_pid.
45795         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45796         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45797         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45798         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45799         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45800         [__USE_LARGEFILE64] (struct flock64): New type.
45801         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45803         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45804         * bits/dirent.h: ... here.
45806         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45807         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45809 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45811         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45812         Change from 2.6.0 to 2.6.16.
45813         * sysdeps/unix/sysv/linux/configure: Regenerated.
45814         * sysdeps/unix/sysv/linux/kernel-features.h
45815         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45816         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45817         version.
45818         (__ASSUME_UTIMES): Likewise.
45819         (__ASSUME_CLONE_STOPPED): Remove.
45820         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45821         architectures, not kernel version.
45822         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45823         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45824         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45825         (__ASSUME_WAITID_SYSCALL): Likewise.
45826         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45827         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45828         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45829         refer to older versions.
45831 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45833         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45834         Define alphasort64 as an alias.
45835         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45836         Define versionsort64 as an alias.
45837         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45838         Define scandir64 as an alias.
45839         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45840         Define scandirat64 as an alias.
45841         * dirent/alphasort64.c (alphasort64):
45842         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45843         * dirent/versionsort64.c: Likewise.
45844         * dirent/scandir64.c: Likewise.
45845         * dirent/scandirat64.c: Likewise.
45846         * sysdeps/wordsize-64/alphasort.c: File removed.
45847         * sysdeps/wordsize-64/alphasort64.c: File removed.
45848         * sysdeps/wordsize-64/scandir.c: File removed.
45849         * sysdeps/wordsize-64/scandir64.c: File removed.
45850         * sysdeps/wordsize-64/scandirat.c: File removed.
45851         * sysdeps/wordsize-64/scandirat64.c: File removed.
45852         * sysdeps/wordsize-64/versionsort.c: File removed.
45853         * sysdeps/wordsize-64/versionsort64.c: File removed.
45854         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45855         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45856         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45857         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45858         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45859         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45860         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45861         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45863         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45865         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45866         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45867         [defined __arch64__ || defined __sparcv9]
45868         (__INO_T_MATCHES_INO64_T): New macro.
45869         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45870         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45871         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45872         * sysdeps/unix/sysv/linux/bits/dirent.h
45873         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45874         (_DIRENT_MATCHES_DIRENT64): New macro.
45876         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45877         Define lockf64 as an alias.
45878         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45879         Define fseeko64 as an alias.
45880         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45881         Define ftello64 as an alias.
45882         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45883         Define _IO_fgetpos64 and fgetpos64 as aliases.
45884         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45885         Define _IO_fsetpos64 and fsetpos64 as aliases.
45886         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45887         Conditionalize body on this.
45888         * libio/fseeko64.c: Likewise.
45889         * libio/ftello64.c: Likewise.
45890         * libio/iofgetpos64.c: Likewise.
45891         * libio/iofsetpos64.c: Likewise.
45892         * sysdeps/wordsize-64/lockf.c: File removed.
45893         * sysdeps/wordsize-64/lockf64.c: File removed.
45894         * sysdeps/wordsize-64/fseeko.c: File removed.
45895         * sysdeps/wordsize-64/fseeko64.c: File removed.
45896         * sysdeps/wordsize-64/ftello.c: File removed.
45897         * sysdeps/wordsize-64/ftello64.c: File removed.
45898         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45899         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45900         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45901         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45902         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45903         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45904         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45905         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45906         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45907         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45908         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45909         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45910         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45911         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45913         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45914         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45915         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45916         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45917         [defined __arch64__ || defined __sparcv9]
45918         (__OFF_T_MATCHES_OFF64_T): New macro.
45919         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45920         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45921         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45922         (__OFF_T_MATCHES_OFF64_T): New macro.
45924 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45926         * stdlib/secure-getenv.c (__secure_getenv): Replace
45927         GLIBC_2_16 with GLIBC_2_17.
45929 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45931         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45932         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45934 2012-08-03  David S. Miller  <davem@davemloft.net>
45936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45938 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45940         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45941         Remove.
45942         (__ASSUME_CORRECT_SI_PID): Likewise.
45943         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45944         (__ASSUME_TMPFS_NAME): Likewise.
45945         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45946         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45947         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45948         (HAVE_AUX_SECURE): Make definition unconditional.
45949         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45950         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45952 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45954         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45955         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45956         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45957         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45958         __eloop_threshold instead of SYMLOOP_MAX.
45960         * sysdeps/generic/eloop-threshold.h: New file.
45961         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45962         of MAXSYMLINKS.
45963         * elf/chroot_canon.c (chroot_canon): Likewise.
45965 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45967         [BZ #13717]
45968         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45969         Change to 2.6.0 everywhere.
45970         * sysdeps/unix/sysv/linux/configure: Regenerated.
45971         * sysdeps/unix/sysv/linux/kernel-features.h
45972         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45973         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45974         kernel versions.
45975         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45976         (__ASSUME_FUTEX_REQUEUE): Remove.
45977         (__ASSUME_STATFS64): Define unconditionally.
45978         (__ASSUME_AT_SECURE): Likewise.
45979         (__ASSUME_CORRECT_SI_PID): Likewise.
45980         (__ASSUME_TGKILL): Define without depending on kernel version for
45981         i386.
45982         (__ASSUME_UTIMES): Likewise.
45983         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45984         kernel version.
45985         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45986         (__ASSUME_TMPFS_NAME): Likewise.
45987         * README: Update reference to Linux kernel versions.
45989 2012-08-02  Marek Polacek  <polacek@redhat.com>
45991         [BZ# 14150]
45992         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45993         libc_cv_asm_type_prefix with %.
45994         * configure: Regenerated.
45995         * include/libc-symbols.h: Remove comment about
45996         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45997         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45998         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45999         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46000         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46001         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46002         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46003         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46004         * elf/tst-unique2mod1.c: Likewise.
46005         * elf/tst-unique1mod2.c: Likewise.
46006         * elf/tst-unique1mod1.c: Likewise.
46007         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46008         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46009         Replace ASM_TYPE_DIRECTIVE with .type.
46010         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46011         * sysdeps/i386/sysdep.h: Likewise.
46012         * sysdeps/x86_64/sysdep.h: Likewise.
46013         * sysdeps/sh/sysdep.h: Likewise.
46014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46015         Do not define ASM_TYPE_DIRECTIVE.
46016         * sysdeps/powerpc/sysdep.h: Likewise.
46017         * sysdeps/powerpc/powerpc32/sysdep.h:
46018         Replace ASM_TYPE_DIRECTIVE with .type.
46019         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46020         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46021         * sysdeps/i386/fpu/e_powf.S: Likewise.
46022         * sysdeps/i386/fpu/e_expl.S: Likewise.
46023         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46024         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46025         * sysdeps/i386/fpu/e_pow.S: Likewise.
46026         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46027         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46028         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46029         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46030         * sysdeps/i386/fpu/e_log2.S: Likewise.
46031         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46032         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46033         * sysdeps/i386/fpu/e_powl.S: Likewise.
46034         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46035         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46036         * sysdeps/i386/fpu/e_logl.S: Likewise.
46037         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46038         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46039         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46040         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46041         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46042         * sysdeps/i386/fpu/e_log.S: Likewise.
46043         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46044         * sysdeps/i386/fpu/e_logf.S: Likewise.
46045         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46046         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46047         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46048         * sysdeps/i386/fpu/e_log10.S: Likewise.
46049         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46050         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46051         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46052         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46053         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46054         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46055         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46056         * sysdeps/i386/i686/strtok.S: Likewise.
46057         * sysdeps/i386/i386-mcount.S: Likewise.
46058         * sysdeps/i386/strtok.S: Likewise.
46059         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46060         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46061         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46062         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46063         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46064         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46065         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46066         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46067         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46068         * sysdeps/x86_64/_mcount.S: Likewise.
46069         * sysdeps/x86_64/strtok.S: Likewise.
46070         * sysdeps/sh/_mcount.S: Likewise.
46072 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46074         * libio/iofopen.c: Include <fcntl.h>.
46075         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46076         (_IO_fopen64, fopen64): Define as aliases.
46077         * libio/iofopen64.c: Include <fcntl.h>.
46078         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46079         Conditionalize body on this.
46080         * sysdeps/wordsize-64/iofopen.c: File removed.
46081         * sysdeps/wordsize-64/iofopen64.c: File removed.
46083 2012-08-01  Marek Polacek  <polacek@redhat.com>
46085         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46086         Use dlfcn directly instead of a variable.
46087         (binfmt-subdir): Do not define.
46088         (dlfcn): Likewise.
46090 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46092         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46093         Remove all definitions.
46094         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46095         <kernel-features.h>.
46096         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46097         (miss_F_GETOWN_EX): Remove all definitions.
46098         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46099         macro definition.
46100         [!__ASSUME_FCNTL64]: Remove conditional code.
46101         [__ASSUME_FCNTL64]: Make code unconditional.
46102         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46103         <kernel-features.h>.
46104         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46105         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46106         (lockf64) [__NR_fcntl64]: Make code unconditional.
46107         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46109         * sysdeps/unix/sysv/linux/kernel-features.h
46110         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46111         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46112         Make code unconditional.
46113         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46114         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46116         [__NR_vfork]: Make code unconditional.
46117         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46118         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46120         [__NR_vfork]: Make code unconditional.
46121         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46122         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46124 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46126         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46127         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46129         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46130         Define mkstemp64 as an alias.
46131         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46132         Define mkstemps64 as an alias.
46133         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46134         Define mkostemp64 as an alias.
46135         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46136         Define mkostemps64 as an alias.
46137         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46138         Conditionalize body on this.
46139         * misc/mkostemp64.c: Likewise.
46140         * misc/mkostemps64.c: Likewise.
46141         * misc/mkstemps64.c: Likewise.
46142         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46143         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46144         * sysdeps/wordsize-64/mkostemp.c: File removed.
46145         * sysdeps/wordsize-64/mkstemp.c: File removed.
46146         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46147         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46148         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46149         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46151         [BZ #14138]
46152         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46153         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46154         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46155         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46157         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46158         compat_symbol macros from <shlib-compat.h> rather than the underlying
46159         default_symbol_version and symbol_version macros, so that DEFAULT
46160         lines in shlib-versions are respected.
46161         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46163 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46165         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46166         Declare with warn_unused_result.
46167         (setgid, setregid, setegid, setresgid): Likewise.
46168         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46169         Likewise.
46170         * WUR-REPORT: Remove set*id functions.
46172 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46174         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46176 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46178         [BZ #10191]
46179         * include/sys/socket.h (__libc_accept, __libc_accept4):
46180         Add attribute_hidden.
46181         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46183         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46184         use of PTR_MANGLE.
46185         * inet/getnetgrent_r.c (setup): Likewise.
46187         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46189 2012-07-31  David S. Miller  <davem@davemloft.net>
46191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46193 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46195         [BZ #13629]
46196         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46197         value between 1.0 and 2.0 and smaller part has absolute value less
46198         than 1.0.
46199         * math/s_clog10.c (__clog10): Likewise.
46200         * math/s_clog10f.c (__clog10f): Likewise.
46201         * math/s_clog10l.c (__clog10l): Likewise.
46202         * math/s_clogf.c (__clogf): Likewise.
46203         * math/s_clogl.c (__clogl): Likewise.
46204         * math/libm-test.inc (clog_test): Add more tests.
46205         (clog10_test): Likewise.
46206         * sysdeps/i386/fpu/libm-test-ulps: Update.
46207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46209 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46211         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46212         Exit with zero in case no suitable GID is found, and write a
46213         message to standard error.
46215 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46217         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46218         rather than to 1.
46219         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46220         (MAXPATHLEN): Removed.
46221         (NOGROUP, NODEV): New macros.
46222         (setbit, clrbit, isset, isclr): New macros.
46223         (howmany, roundup, powerof2): New macros.
46224         (DEV_BSIZE): New macro.
46226         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46227         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46229         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46230         definition on [!__NO_LONG_DOUBLE_MATH].
46232         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46233         PTR_MANGLE and PTR_DEMANGLE.
46235         * socket/accept4.c (accept4): Rename to __libc_accept4.
46236         Define accept4 as a weak alias.
46238         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46239         on [_DIRENT_HAVE_D_TYPE].
46240         * io/ftw.c (ftw_dir): Likewise.
46242         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46244         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46246         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46247         Use the BSD numbers rather than the arbitrary ones we had.
46248         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46249         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46250         (SIGXCPU, SIGXFSZ): New macros.
46251         (_NSIG): Now 32.
46253         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46254         initializer on [_LIBC_REENTRANT].
46256         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46257         definitions inside [_POSIX_MAPPED_FILES].
46259         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46261         * dirent/opendir.c: Include <fcntl.h>.
46263         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46264         (__libc_getspecific): Likewise.
46265         (__libc_key_create): Likewise.
46267         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46268         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46269         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46270         (tmpfile64): Define as alias.
46271         * sysdeps/wordsize-64/tmpfile.c: File removed.
46272         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46273         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46274         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46276         * stdio-common/vfscanf.c: Include <stdbool.h>.
46277         * nss/makedb.c: Likewise.
46278         * stdio-common/_i18n_number.h: Likewise.
46279         * argp/argp-help.c: Likewise.
46280         * posix/wordexp.c: Likewise.
46281         * sysdeps/posix/spawni.c: Likewise.
46282         * nss/nss_files/files-initgroups.c: Likewise.
46283         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46284         * nss/nss_files/files-initgroups.c: Likewise.
46285         * nss/nss_db/db-netgrp.c: Likewise.
46286         * nss/nss_db/db-initgroups.c: Likewise.
46287         * io/fchmodat.c: Include <sys/stat.h>.
46289         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46290         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46292         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46293         [HAVE_MMAP].
46295         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46296         Add multiple inclusion protection.
46298 2012-07-27  David S. Miller  <davem@davemloft.net>
46300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46302 2012-07-27  Gary Benson  <gbenson@redhat.com>
46304         [BZ #14298]
46305         * elf/rtld.c: Include <stap-probe.h>.
46306         (dl_main): Added static probes "init_start" and "init_complete".
46307         * elf/dl-load.c: Include <stap-probe.h>.
46308         (lose): Take new parameter "nsid".
46309         Added static probe "map_failed".
46310         (_dl_map_object_from_fd): Pass namespace id to lose.
46311         Added static probe "map_start".
46312         (open_verify): Pass namespace id to lose.
46313         * elf/dl-open.c: Include <stap-probe.h>.
46314         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46315         and "reloc_complete".
46316         * elf/dl-close.c: Include <stap-probe.h>.
46317         (_dl_close_worker): Added static probes "unmap_start" and
46318         "unmap_complete".
46319         * elf/rtld-debugger-interface.txt: New file documenting the above.
46321 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46323         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46324         rather than a string variable.
46325         * sunrpc/rpc_main.c (h_output): Likewise.
46326         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46328 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46330         * inet/check_native.c: New file.
46332 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46334         [BZ #13629]
46335         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46336         if larger part has absolute value 1.0.
46337         * math/s_clog10.c (__clog10): Likewise.
46338         * math/s_clog10f.c (__clog10f): Likewise.
46339         * math/s_clog10l.c (__clog10l): Likewise.
46340         * math/s_clogf.c (__clogf): Likewise.
46341         * math/s_clogl.c (__clogl): Likewise.
46342         * math/libm-test.inc (clog_test): Add more tests.
46343         (clog10_test): Likewise.
46344         * sysdeps/i386/fpu/libm-test-ulps: Update.
46345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46347         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46348         (pltexit): Likewise.
46349         (La_regs): Likewise.
46350         (La_retval): Likewise.
46351         (int_retval): Likewise.
46352         Update #error for removed macros to refer only to definitions in
46353         tst-audit.h.
46354         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46355         macro.
46356         (pltexit): Likewise.
46357         (La_regs): Likewise.
46358         (La_retval): Likewise.
46359         (int_retval): Likewise.
46360         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46361         macro.
46362         (pltexit): Likewise.
46363         (La_regs): Likewise.
46364         (La_retval): Likewise.
46365         (int_retval): Likewise.
46366         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46367         macro.
46368         (pltexit): Likewise.
46369         (La_regs): Likewise.
46370         (La_retval): Likewise.
46371         (int_retval): Likewise.
46372         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46373         macro.
46374         (pltexit): Likewise.
46375         (La_regs): Likewise.
46376         (La_retval): Likewise.
46377         (int_retval): Likewise.
46378         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46379         macro.
46380         (pltexit): Likewise.
46381         (La_regs): Likewise.
46382         (La_retval): Likewise.
46383         (int_retval): Likewise.
46384         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46385         macro.
46386         (pltexit): Likewise.
46387         (La_regs): Likewise.
46388         (La_retval): Likewise.
46389         (int_retval): Likewise.
46390         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46391         macro definitions in tst-audit.h.
46392         * sysdeps/i386/tst-audit.h: New file.
46393         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46394         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46395         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46396         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46397         * sysdeps/sh/tst-audit.h: Likewise.
46398         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46399         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46400         * sysdeps/x86_64/tst-audit.h: Likewise.
46402 2012-07-26  Andreas Jaeger  <aj@suse.de>
46404         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46405         ptrace.
46407         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46408         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46409         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46410         PTRACE_O_MASK.
46411         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46412         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46413         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46415         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46416         value.
46418         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46419         _sigsys.
46420         (si_call_addr, si_syscall, si_arch): Define new macro.
46421         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46422         _sigsys.
46423         (si_call_addr, si_syscall, si_arch): Define new marcro.
46424         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46425         _sigsys.
46426         (si_call_addr, si_syscall, si_arch): Define new macro.
46427         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46428         _sigsys.
46429         (si_call_addr, si_syscall, si_arch): Define new macro.
46431 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46433         [BZ #13717]
46434         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46435         Change to 2.4.21 where previously 2.4.1.
46436         * sysdeps/unix/sysv/linux/configure: Regenerated.
46437         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46438         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46439         Linux kernel version.
46440         (__ASSUME_STD_AUXV): Remove.
46441         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46442         kernel version.
46443         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46444         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46445         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46446         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46447         (__ASSUME_NETLINK_SUPPORT): Likewise.
46448         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46449         (__no_netlink_support): Remove conditional definition.
46450         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46451         Remove.
46452         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46453         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46454         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46455         (if_nameindex_ioctl): Remove.
46456         (if_nameindex_netlink): Do not handle __no_netlink_support.
46457         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46458         code.
46459         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46460         Remove conditional code.
46461         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46462         code.
46463         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46464         unconditional.
46465         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46466         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46467         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46468         Remove.
46469         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46470         [!__ASSUME_STD_AUXV]: Remove conditional code.
46471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46472         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46473         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46475         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46476         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46477         code.
46478         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46480         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46481         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46482         conditional code.
46483         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46485         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46486         code.
46487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46488         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46489         conditional code.
46490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46491         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46492         code unconditional.
46493         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46494         conditional code.
46495         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46496         unconditional.
46497         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46498         conditional code.
46499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46500         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46501         unconditional.
46502         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46503         conditional code.
46504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46505         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46506         code unconditional.
46507         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46508         conditional code.
46509         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46510         unconditional.
46511         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46512         conditional code.
46513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46514         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46515         code unconditional.
46516         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46517         conditional code.
46518         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46519         unconditional.
46520         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46521         conditional code.
46523 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46525         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46526         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46527         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46528         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46529         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46530         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46531         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46532         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46533         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46534         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46535         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46536         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46537         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46538         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46539         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46540         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46541         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46542         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46543         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46544         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46545         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46546         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46547         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46549 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46551         * Versions.def: Add GLIBC_2.17.
46552         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46553         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46554         Introduce __libc_secure_getenv.
46555         * stdlib/Versions (2.17): Add secure_getenv
46556         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46557         * stdlib/secure-getenv.c: Rename __secure_getenv to
46558         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46559         symbol __secure_getenv for GLIBC_2.0.
46560         * stdlib/tst-secure-getenv.c: New.
46561         * stdlib/Makefile (tests): Add testcase.
46562         * manual/startup.texi (Environment Access): Document
46563         secure_getenv.
46564         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46565         __libc_secure_getenv.
46566         * inet/ruserpass.c (ruserpass): Likewise.
46567         * malloc/mtrace.c (mtrace): Likewise.
46568         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46569         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46570         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46571         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46572         HAVE_SECURE_GETENV.
46573         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46574         __secure_getenv to __libc_secure_getenv.
46575         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46577         Likewise.
46578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46579         Likewise.
46580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46582         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46588 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46590         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46591         (struct La_i86_retval): Likewise.
46592         (struct La_x86_64_regs): Likewise.
46593         (struct La_x86_64_retval): Likewise.
46594         (struct La_x32_regs): Likewise.
46595         (struct La_x32_retval): Likewise.
46596         (struct La_ppc32_regs): Likewise.
46597         (struct La_ppc32_retval): Likewise.
46598         (struct La_ppc64_regs): Likewise.
46599         (struct La_ppc64_retval): Likewise.
46600         (struct La_sh_regs): Likewise.
46601         (struct La_sh_retval): Likewise.
46602         (struct La_s390_32_regs): Likewise.
46603         (struct La_s390_32_retval): Likewise.
46604         (struct La_s390_64_regs): Likewise.
46605         (struct La_s390_64_retval): Likewise.
46606         (struct La_sparc32_regs): Likewise.
46607         (struct La_sparc32_retval): Likewise.
46608         (struct La_sparc64_regs): Likewise.
46609         (struct La_sparc64_retval): Likewise.
46610         (struct audit_ifaces): Remove architecture-specific pltenter and
46611         pltexit members.
46612         * sysdeps/i386/ldsodefs.h: New file.
46613         * sysdeps/powerpc/ldsodefs.h: Likewise.
46614         * sysdeps/s390/ldsodefs.h: Likewise.
46615         * sysdeps/sh/ldsodefs.h: Likewise.
46616         * sysdeps/sparc/ldsodefs.h: Likewise.
46617         * sysdeps/x86_64/ldsodefs.h: Likewise.
46619 2012-07-25  Marek Polacek  <polacek@redhat.com>
46621         [BZ #6808]
46622         * math/libm-test.inc (yn_test): Add another test.
46623         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46624         to ERANGE when the result is +-Inf.
46625         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46626         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46627         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46628         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46630 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46632         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46633         equal to 0.
46634         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46635         clock_t.
46636         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46638 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46640         * configure.in <sysdeps resolving>: Correct printing
46641         Implies_before.
46642         * configure: Regenerate.
46644 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46646         * math/w_ilogb.c: Include <limits.h>.
46647         * math/w_ilogbl.c: Likewise.
46649 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46651         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46652         va_copy.  Document allowing for unavailable va_copy only as
46653         pre-C99 compatibility.
46654         * manual/string.texi (Copying and Concatenation): Use va_copy
46655         instead of __va_copy in concat example.
46657 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46659         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46660         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46661         it if not null.
46663         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46664         with O_NOLINK passed to __file_name_lookup.
46666         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46667         with O_NOLINK passed to __file_name_lookup.
46669         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46670         negative N or less than NGIDS.
46672         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46673         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46674         enough.  Use memcpy instead of strncpy.
46676 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46678         * elf/Makefile (check-data): Remove.
46679         (localplt.data): New vpath directive.
46680         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46681         instead of $(check-data).
46682         * scripts/data/localplt-generic.data: Move to ...
46683         * sysdeps/generic/localplt.data: ... here.
46684         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46685         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46686         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46688         ... here.
46689         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46691         ... here.
46692         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46694         ... here.
46695         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46697         ... here.
46698         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46700         ... here.
46701         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46703         ... here.
46705 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46707         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46708         PPC32 and PPC64 files.
46709         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46710         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46712 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46714         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46715         __makecontext_ret to ...
46716         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46717         ... here and call exit if uc_link is NULL.  New file.
46718         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46719         __makecontext_ret.S.
46720         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46721         __makecontext_ret to ...
46722         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46723         ... here and call exit if uc_link is NULL.  New file.
46724         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46725         __makecontext_ret.S.
46727 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46729         * elf/elf.h (R_390_IRELATIVE): New definition.
46730         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46731         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46732         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46733         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46734         (elf_machine_lazy_rel): Likewise.
46735         * sysdeps/s390/dl-irel.h: New file.
46736         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46737         * sysdeps/s390/s390-64/memset.S: New asm code.
46738         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46739         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46740         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46741         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46742         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46743         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46744         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46745         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46746         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46747         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46748         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46749         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46750         * sysdeps/s390/s390-32/memset.S: New asm code.
46751         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46753 2012-07-17  Marek Polacek  <polacek@redhat.com>
46755         [BZ #14349]
46756         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46757         * sysdeps/s390/s390-64/configure.in: Likewise.
46758         * sysdeps/sparc/configure.in: Likewise.
46759         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46760         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46761         * sysdeps/i386/configure.in: Likewise.
46762         * sysdeps/x86_64/configure.in: Likewise.
46763         * sysdeps/sh/configure.in: Likewise.
46764         * sysdeps/s390/s390-32/configure: Regenerated.
46765         * sysdeps/s390/s390-64/configure: Likewise.
46766         * sysdeps/x86_64/configure: Likewise.
46767         * sysdeps/sh/configure: Likewise.
46768         * sysdeps/powerpc/powerpc64/configure: Likewise.
46769         * sysdeps/powerpc/powerpc32/configure: Likewise.
46770         * sysdeps/sparc/configure: Likwise.
46771         * sysdeps/i386/configure: Likewise.
46773         * elf/dl-open.c: Comment fixes.
46775 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46777         * Makefile [CXX] (check-data): Remove.
46778         [CXX] (c++-types.data): New vpath directive.
46779         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46780         vpath.  Do not allow for C++ type data being missing.
46781         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46782         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46783         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46784         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46785         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46786         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46787         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46789         ... here.
46790         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46792         ... here.
46793         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46795         ... here.
46796         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46798         ... here.
46799         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46801         ... here.
46802         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46804         ... here.
46805         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46807         ... here.
46808         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46811         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46812         definitions to architecture-specific files.
46813         (TLS_IE): Likewise.
46814         (TLS_LD): Likewise.
46815         (TLS_GD): Likewise.
46816         * sysdeps/i386/tls-macros.h: New file.
46817         * sysdeps/powerpc/tls-macros.h: Likewise.
46818         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46819         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46820         * sysdeps/sh/tls-macros.h: Likewise.
46821         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46822         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46823         * sysdeps/x86_64/tls-macros.h: Likewise.
46825 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46827         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46828         zero value for regular exit case.
46830         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46831         (__start_context): Preserve zero value for regular exit case.
46833 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46834             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46836         * manual/setjmp.texi (setcontext): Clarify normal process
46837         termination when uc_link is the null pointer.
46838         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46839         exit call.
46841 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46843         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46844         preprocessor.  Test for each exception mask separately.
46846 2012-07-16  Andreas Jaeger  <aj@suse.de>
46848         * po/ru.po: Update from translation team.
46850 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46852         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46853         equal to 0.
46854         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46855         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46856         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46857         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46858         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46860 2012-07-13  Andreas Jaeger  <aj@suse.de>
46862         * po/fr.po: Update from translation team.
46864 2012-07-12  Marek Polacek  <polacek@redhat.com>
46866         [BZ #14173]
46867         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46868         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46869         loop condition.
46871 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46873         [BZ #13717]
46874         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46875         Change to 2.4.1 where previously 2.4.0.
46876         * sysdeps/unix/sysv/linux/configure: Regenerated.
46877         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46878         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46879         version.
46880         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46881         (__ASSUME_AT_CLKTCK): Remove.
46882         (__ASSUME_AT_PAGESIZE): Likewise.
46883         (__ASSUME_AT_XID): Likewise.
46884         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46885         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46886         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46887         unconditionally.
46888         (HAVE_AUX_PAGESIZE): Likewise.
46889         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46890         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46891         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46893 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46895         [BZ #14307]
46896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46897         the temporary buffer used to invoke __gethostbyname2_r,
46898         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46899         host_data / struct gaih_addrtuple.
46900         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46901         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46902         header file nss/nsswitch.h.
46903         * nss/nsswitch.h (global scope): Add definition of implementation
46904         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46905         resolv/nss_dns/dns-host.c).
46907 2012-07-11  Andreas Jaeger  <aj@suse.de>
46909         * po/fr.po: Update from translation team.
46911         * po/sv.po: Update from translation team
46912         * po/fr.po: Another update from translation team.
46914 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46916         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46917         for subnormals or multiply small sinh result by itself.
46918         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46921 2012-07-11  David S. Miller  <davem@davemloft.net>
46923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46925 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46927         [BZ #14347]
46928         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46929         (INTERNAL_MARK): Shift it here.
46931 2012-07-10  Marek Polacek  <polacek@redhat.com>
46933         [BZ #14151]
46934         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46935         libc_cv_asm_global_directive with .globl.
46936         * configure: Regenerated.
46937         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46938         with .globl.
46939         * sysdeps/i386/configure: Regenerated.
46940         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46941         with .globl.
46942         * sysdeps/x86_64/configure: Regenerated.
46943         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46944         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46945         * elf/tst-unique2mod2.c: Likewise.
46946         * elf/tst-unique2mod1.c: Likewise.
46947         * elf/tst-unique1mod2.c: Likewise.
46948         * elf/tst-unique1mod1.c: Likewise.
46949         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46950         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46951         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46952         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46953         * sysdeps/mach/sysdep.h: Likewise.
46954         * sysdeps/i386/sysdep.h: Likewise.
46955         * sysdeps/i386/i386-mcount.S: Likewise.
46956         * sysdeps/x86_64/_mcount.S: Likewise.
46957         * sysdeps/x86_64/sysdep.h: Likewise.
46958         * sysdeps/sh/_mcount.S: Likewise.
46959         * sysdeps/sh/sysdep.h: Likewise.
46960         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46961         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46962         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46963         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46964         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46965         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46966         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46967         * locale/localeinfo.h: Likewise.
46968         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46969         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46971 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46973         [BZ #14336]
46974         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46975         system".
46976         * manual/message.texi (The Uniforum approach): Likewise.
46977         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46978         (glibc iconv Implementation): Likewise.
46980 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46982         [BZ #14337]
46983         * math/s_clog.c (__clog): Avoid scaling a value down where that
46984         could result in underflow.
46985         * math/s_clog10.c (__clog10): Likewise.
46986         * math/s_clog10f.c (__clog10f): Likewise.
46987         * math/s_clog10l.c (__clog10l): Likewise.
46988         * math/s_clogf.c (__clogf): Likewise.
46989         * math/s_clogl.c (__clogl): Likewise.
46990         * math/libm-test.inc (clog_test): Add more tests.
46991         (clog10_test): Likewise.
46992         * sysdeps/i386/fpu/libm-test-ulps: Update.
46993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46995 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46997         [BZ #14283]
46998         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46999         by 7 not 8 to examine high bit of fractional part.
47001         [BZ #14042]
47002         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47003         for call to __mcount_internal.
47004         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47005         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47006         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47008 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47010         [BZ #14154]
47011         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47012         approximation for values within 0x1p-13f of an odd multiple of
47013         pi/4.
47014         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47015         exception.  Add more tests.
47016         * sysdeps/i386/fpu/libm-test-ulps: Update.
47018         [BZ #6778]
47019         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47020         inputs and return -1 for them.  Do not check for +Inf in case not
47021         reachable for +Inf.
47022         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47023         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47024         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47025         and return -1 for them.  Do not check for +Inf in case not
47026         reachable for +Inf.
47027         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47028         define.
47029         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47030         and return -1 for them.  Do not check for +Inf in case not
47031         reachable for +Inf.
47032         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47033         spurious underflow.
47034         * sysdeps/i386/fpu/libm-test-ulps: Update.
47035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47037 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47039         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47041 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47043         [BZ #14157]
47044         [BZ #14331]
47045         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47046         could result in spurious underflow.  Scale down values above
47047         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47048         * math/s_csqrtf.c (__csqrtf): Likewise.
47049         * math/s_csqrtl.c (__csqrtl): Likewise.
47050         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47051         spurious underflow.
47052         * sysdeps/i386/fpu/libm-test-ulps: Update.
47053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47055 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47057         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47058         xopen-msg.sed.
47059         * catgets/xopen-msg.awk: New file.
47060         * catgets/xopen-msg.sed: Removed.
47062         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47063         po2text.sed.
47064         * intl/po2test.awk: New file.
47065         * intl/po2test.sed: Removed.
47067 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47069         [BZ #14328]
47070         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47071         or multiply small sinh result by itself.
47072         * math/s_ctanf.c (__ctanf): Likewise.
47073         * math/s_ctanh.c (__ctanh): Likewise.
47074         * math/s_ctanhf.c (__ctanhf): Likewise.
47075         * math/s_ctanhl.c (__ctanhl): Likewise.
47076         * math/s_ctanl.c (__ctanl): Likewise.
47077         * math/libm-test.inc (ctan_test_tonearest): New function.
47078         (ctan_test_towardzero): Likewise.
47079         (ctan_test_downward): Likewise.
47080         (ctan_test_upward): Likewise.
47081         (ctanh_test_tonearest): Likewise.
47082         (ctanh_test_towardzero): Likewise.
47083         (ctanh_test_downward): Likewise.
47084         (ctanh_test_upward): Likewise.
47085         (main): Call these new functions.
47086         * sysdeps/i386/fpu/libm-test-ulps: Update.
47087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47089 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47091         * .gitignore: Delete /ports entry.
47093 2012-07-03  Andreas Jaeger  <aj@suse.de>
47095         * po/bg.po: Update from translation team.
47096         * po/cs.po: Likewise.
47097         * po/de.po: Likewise.
47098         * po/hr.po: Likewise.
47099         * po/nl.pl: Likewise.
47100         * po/pl.po: Likewise.
47101         * po/vi.po: Likewise.
47103 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47105         * Makeconfig [!+link] (+link-before-libc): New variable.
47106         [!+link] (+link-after-libc): Likewise.
47107         [!+link] (+link-tests): Likewise.
47108         [!+link] (+link): Define in terms of $(+link-before-libc) and
47109         $(+link-after-libc).
47110         [!+link-static] (+link-static-before-libc): New variable.
47111         [!+link-static] (+link-static-after-libc): Likewise.
47112         [!+link-static] (+link-static-tests): Likewise.
47113         [!+link-static] (+link-static): Define in terms of
47114         $(+link-static-before-libc) and $(+link-static-after-libc).
47115         [build-shared] (link-libc-before-gnulib): New variable.
47116         [build-shared] (link-libc-tests): Likewise.
47117         [build-shared] (link-libc): Define in terms of
47118         $(link-libc-before-gnulib).
47119         [!build-shared] (link-libc-tests): New variable.
47120         (link-libc-static-tests): New variable.
47121         [!gnulib] (gnulib-arch): New variable.
47122         [!gnulib] (gnulib-tests): Likewise.
47123         [!gnulib] (static-gnulib-arch): Likewise.
47124         [!gnulib] (static-gnulib-tests): Likewise.
47125         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47126         Define with "=" instead of ":=".
47127         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47128         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47129         * Rules (binaries-all-notests): New variable.
47130         (binaries-all-tests): Likewise.
47131         (binaries-static-notests): Likewise.
47132         (binaries-static-tests): Likewise.
47133         (binaries-all): Define using $(binaries-all-notests) and
47134         $(binaries-all-tests).
47135         (binaries-static): Define using $(binaries-static-notests) and
47136         $(binaries-static-tests).
47137         (binaries-shared-tests): New variable.
47138         (binaries-shared-notests): Likewise.
47139         (binaries-shared): Remove variable.
47140         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47141         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47142         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47143         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47144         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47145         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47146         * elf/Makefile (sln-modules): New variable.
47147         (extra-objs): Add $(sln-modules:=.o).
47148         (ldconfig-modules): Add static-stubs.
47149         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47150         * elf/static-stubs.c: New file.
47152         [BZ #14283]
47153         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47154         by 7 not 8 to examine high bit of fractional part.  Use volatile
47155         variables when splitting into final array of floats if
47156         __FLT_EVAL_METHOD__ != 0.
47157         * math/libm-test.inc (cos_test): Add another test.
47158         (sin_test): Likewise.
47159         * sysdeps/i386/fpu/libm-test-ulps: Update.
47161         [BZ #14273]
47162         * math/libm-test.inc (cosh_test): Add more tests.
47164         * version.h (RELEASE): Set to "development".
47165         (VERSION): Set to "2.16.90".
47167 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47169         * NEWS: Update copyright. Remove last-updated date.
47170         Mention math library bug fixes and timezone data changes.
47171         * README: Mention GNU/Hurd, x32, and HPPA support status.
47173 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47175         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47177 2012-06-27  Andreas Jaeger  <aj@suse.de>
47179         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47181 2012-06-25  Andreas Jaeger  <aj@suse.de>
47183         * sysdeps/s390/fpu/libm-test-ulps: Update.
47185 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47186             Thomas Schwinge  <thomas@codesourcery.com>
47188         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47189         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47190         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47191         fanotify_mark.
47193 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47195         * sysdeps/mach/start.c: Remove file.
47196         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47197         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47198         * sysdeps/sh/init-first.c: Likewise.
47200         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47201         registers for frame unwinding purposes, add CFI directives.
47202         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47203         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47204         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47205         Likewise.
47207         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47208         __fortify_fail returning.
47209         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47211         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47212         sysdeps/sh/____longjmp_chk.S.
47213         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47214         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47215         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47216         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47218         * sysdeps/sh/abort-instr.h: New file.
47219         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47220         process in case exit returns.
47222         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47223         initialize the GOT register before use.
47225         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47226         calculation of ARGC > 4.
47228         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47229         meaningful names to some local labels.
47231 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47232             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47234         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47235         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47236         (__arch_compare_and_exchange_val_16_acq): Likewise.
47237         (__arch_compare_and_exchange_val_32_acq): Likewise.
47238         (atomic_exchange_and_add): Fix gUSA sequence.
47239         (atomic_add): Likewise.
47240         (atomic_add_negative): Likewise.
47241         (atomic_add_zero): Likewise.
47242         (atomic_bit_test_set): Likewise.
47244 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47246         [BZ #13579]
47247         * include/link.h (struct link_map): Add l_free_initfini.
47248         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47249         l_initfini.
47250         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47251         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47252         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47253         set.
47255 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47257         * configure.in: Use AC_LANG_SOURCE.
47258         * configure: Regenerate.
47260 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47262         * configure.in (libc_cv_localstatedir): New substituted variable.
47263         * configure: Regenerated.
47264         * config.make.in (localstatedir): New variable, substituted from
47265         libc_cv_localstatedir.
47266         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47267         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47268         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47269         * sysdeps/gnu/configure: Regenerated.
47271 2012-06-21  Jeff Law  <law@redhat.com>
47273         [BZ #14277]
47274         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47275         free.  Simplify list management for _LIBC case.
47277 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47279         [BZ #14273]
47280         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47281         Clear sign bit of 64-bit integer value before comparing against
47282         overflow value.
47284         * sysdeps/mach/configure: Regenerated.
47286 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47288         [BZ #14278]
47289         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47291 2012-06-21  Jeff Law  <law@redhat.com>
47293         [BZ #13882]
47294         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47295         uint16_t for elements in the "seen" array to avoid char overflows.
47296         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47297         * elf/dl-open.c (dl_open_worker): Likewise.
47299 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47301         * scripts/list-sources.sh: Scan PORTS for translations.
47302         * po/libc.pot: Regenerated.
47304 2012-06-21  Andreas Jaeger  <aj@suse.de>
47306         [BZ #12194]
47307         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47308         warning.
47309         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47310         * bits/byteswap-16.h (__bswap_16): Likewise.
47311         * bits/byteswap.h (__bswap_constant_16): Likewise.
47313 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47315         [BZ #14117]
47316         * sysdeps/i386/fpu_control.h: Removed.
47317         * sysdeps/x86_64/fpu_control.h: Moved to ...
47318         * sysdeps/x86/fpu_control.h: Here.
47320         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47321         (_FPU_SETCW): Likewise.
47323 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47325         [BZ #14117]
47326         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47327         * sysdeps/x86/fpu/bits/mathinline.h: This.
47328         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47330         [BZ #14050]
47331         [BZ #14117]
47332         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47333         functions if __x86_64__ is defined.
47335 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47337         * string/endian.h: Add !__ASSEMBLER__ condition for including
47338         conversion interfaces.
47340 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47342         [BZ #14241]
47343         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47344         of ABS(x) in calculating zero to negative powers other than odd
47345         integers.
47346         * math/libm-test.inc (pow_test): Add more tests.
47348 2012-06-15  Andreas Jaeger  <aj@suse.de>
47350         * manual/contrib.texi (Contributors): Update entry of Liubov
47351         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47352         Machado Filho.
47354 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47356         * string/string.h: Add __wur to GNU version of strerror_r.
47358 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47360         [BZ #14229]
47361         * string/Makefile (tests): Add tst-strtok_r.
47362         * string/tst-strtok_r.c: New file.
47363         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47364         RAX_LP/RDX_LP on SAVE_PTR.
47366 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47368         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47370 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47372         * libm_test.inc (csqrt_test): Allow more spurious underflow
47373         exceptions.
47374         (j0_test): Likewise.
47375         (j1_test): Likewise.
47376         (y0_test): Likewise.
47377         (y1_test): Likewise.
47379 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47381         * po/Makefile (libc.pot): Use UTF-8 charset.
47383 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47385         [BZ #14210]
47386         Suppress sign-conversion warning from FD_SET.
47387         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47388         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47389         not unsigned long int.
47390         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47392 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47394         [BZ #14050]
47395         [BZ #14117]
47396         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47397         __extern_always_inline instead of __extern_inline.
47398         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47399         (__signbit): Likewise.
47400         (__signbitl): Support C++ namespace.
47401         (lrintf): New inline function.
47402         (lrint): Likewise.
47403         (llrintf): Likewise.
47404         (llrint): Likewise.
47405         (fmaxf): Likewise.
47406         (fmax): Likewise.
47407         (fminf): Likewise.
47408         (fmin): Likewise.
47409         (rint): Likewise.
47410         (rintf): Likewise.
47411         (ceil): Likewise.
47412         (ceilf): Likewise.
47413         (floor): Likewise.
47414         (floorf): Likewise.
47415         (nearbyint): Likewise.
47416         (nearbyintf): Likewise.
47418 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47420         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47421         non-default versions.
47423 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47425         [BZ #14218]
47426         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47428 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47430         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47431         (FE_UPWARD, FE_DOWNWARD): Don't define.
47432         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47433         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47435         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47436         reading it.
47437         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47438         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47440 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47442         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47443         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47444         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47445         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47447 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47449         [BZ #14117]
47450         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47451         * sysdeps/i386/fpu/Implies: New file.
47452         * sysdeps/x86_64/fpu/Implies: Likewise.
47453         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47454         * sysdeps/x86/fpu/bits/fenv.h: This.
47456         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47457         __SSE_MATH__.
47459 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47461         [BZ #14134]
47462         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47463         character 0xffff that matches the last element of the
47464         conversion table.
47466 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47468         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47469         fmodl commit.
47471 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47473         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47474         values higher than 25.6283.
47476 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47478         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47479         subnormal exponent extraction and add some __builtin_expect.
47480         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47481         Fix for subnormal mantissa calculation.
47483 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47485         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47486         cpu2 is -1 and errno is not ENOSYS.
47488 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47490         [BZ #14117]
47491         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47492         * sysdeps/x86/bits/string.h: This.
47493         * sysdeps/x86_64/bits/string.h: Removed.
47495         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47496         if not compiling for x86-64, but compiling for >= i486.
47498         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47499         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47501         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47502         New macro from Linux kernel 3.4.0.
47503         (FP_XSTATE_MAGIC2): Likewise.
47504         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47505         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47506         (struct _fpx_sw_bytes): New struct.
47507         (struct _xsave_hdr): Likewise.
47508         (struct _ymmh_state): Likewise.
47509         (struct _xstate): Likewise.
47511         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47512         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47513         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47514         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47515         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47516         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47518         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47519         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47520         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47521         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47522         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47523         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47525 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47527         [BZ #13743]
47528         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47529         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47530         (sysdep_headers): Include sys/platform/ppc.h.
47531         * sysdeps/powerpc/test-gettimebase.c: Test for
47532         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47533         * manual/Makefile (appendices): Include platform.texi.
47534         * manual/contrib.texi (Contributors): Update @node pointers.
47535         * manual/maint.texi (Maintenance): Likewise.
47536         (Platform): New node.
47537         * manual/platform.texi: New file.  Document the new features.
47539 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47540             Jakub Jelinek  <jakub@redhat.com>
47542         [BZ #14188]
47543         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47544         where __builtin_expect is unavailable.
47546 2012-06-03  David S. Miller  <davem@davemloft.net>
47548         * stdlib/longlong.h: Updated from GCC.
47550 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47552         [BZ #14042]
47553         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47554         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47555         __mcount_internal.
47556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47557         (GLIBC_2.16): Likewise.
47559 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47561         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47563 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47566         (default-abi): New variable.
47567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47568         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47569         variable.
47570         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47571         Likewise.
47572         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47573         Likewise.
47574         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47575         Likewise.
47577         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47578         definition.  Document in comment.
47580 2012-06-01  David S. Miller  <davem@davemloft.net>
47582         * stdlib/longlong.h: Updated from GCC.
47584 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47586         [BZ #14117]
47587         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47588         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47589         sys/debugreg.h sys/io.h here.
47590         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47591         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47592         sys/io.h.
47593         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47594         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47595         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47596         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47597         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47598         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47600         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47601         Define only if __x86_64__ is defined.
47603 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47605         [BZ #14048]
47606         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47607         Use int64_t for variable i.
47608         * math/libm-test.inc (fmod_test): Add more tests.
47610         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47611         z computation is not scheduled after fetestexcept.
47612         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47613         Use math_force_eval instead of asm to ensure calculation scheduled
47614         before exception test.
47615         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47616         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47618 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47621         computation is not scheduled after fetestexcept.
47623 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47625         [BZ #14117]
47626         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47627         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47629 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47631         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47632         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47634 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47636         [BZ #14117]
47637         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47638         <bits/wordsize.h>.
47639         (__WCHAR_MIN): Support __WORDSIZE == 64.
47640         (__WCHAR_MAX): Likewise.
47642         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47643         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47645         [BZ #14183]
47646         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47647         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47649         [BZ #14117]
47650         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47651         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47653         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47654         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47656         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47657         Defined to 1 if __x86_64__ isn't defined.
47658         (_STAT_VER_LINUX_OLD): New.
47659         (st_atime): Remove duplicate.
47660         (st_mtime): Likewise.
47661         (st_ctime): Likewise.
47663 2012-05-31  David S. Miller  <davem@davemloft.net>
47665         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47666         entries.
47668 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47670         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47671         gen-libm-test.pl.
47673         [BZ #14132]
47674         * elf/dl-reloc.c: Include <_itoa.h>.
47675         (_dl_reloc_bad_type): Remove use of INTUSE.
47676         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47677         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47678         * stdio-common/psiginfo.c (psiginfo): Likewise.
47679         * stdio-common/psignal.c (psignal): Likewise.
47680         * string/strsignal.c (strsignal): Likewise.
47681         * include/signal.h (_sys_siglist): Declare hidden proto.
47682         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47683         INTVARDEF with libc_hidden_data_def.
47684         * stdio-common/itoa-udigits.c: Likewise.
47685         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47686         (_itoa_lower_digits_internal): Remove declaration.
47687         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47688         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47689         (_sys_sigabbrev_internal): Remove aliases.
47690         (_sys_siglist): Define hidden alias.
47692 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47694         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47695         bits/sysctl.h.
47697 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47699         [BZ #14117]
47700         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47701         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47703         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47704         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47705         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47706         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47707         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47708         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47710         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47711         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47712         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47714         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47715         with __addr.
47716         (insw): Likewise.
47717         (insl): Likewise.
47718         (outsb): Likewise.
47719         (outsw): Likewise.
47720         (outsl): Likewise.
47722         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47723         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47724         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47726         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47727         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47728         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47729         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47730         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47731         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47733         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47734         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47736         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47737         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47739         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47740         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47741         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47743         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47744         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47745         to ...
47746         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47748         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47749         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47750         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47752         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47753         for x86-64.
47754         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47756 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47758         * math/math.h (M_El): Use two more decimal places.
47759         (M_LOG2El): Likewise.
47760         (M_LOG10El): Likewise.
47761         (M_LN2l): Likewise.
47762         (M_LN10l): Likewise.
47763         (M_PIl): Likewise.
47764         (M_PI_2l): Likewise.
47765         (M_PI_4l): Likewise.
47766         (M_1_PIl): Likewise.
47767         (M_2_PIl): Likewise.
47768         (M_2_SQRTPIl): Likewise.
47769         (M_SQRT2l): Likewise.
47770         (M_SQRT1_2l): Likewise.
47772 2012-05-31  David S. Miller  <davem@davemloft.net>
47774         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47775         values between float registers.
47776         * sysdeps/sparc/sparc64/memset.S: Likewise.
47777         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47779 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47781         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47782         -D_FORTIFY_SOURCE=1.
47783         (CPPFLAGS-tst-longjmp_chk.c): Define.
47784         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47785         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47786         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47787         CFLAGS-tst-wchar-h.c.
47789 2012-05-31  Marek Polacek  <polacek@redhat.com>
47791         [BZ #14132]
47792         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47793         __endmntent_internal): Remove declaration.
47794         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47795         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47796         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47798 2012-05-30  David S. Miller  <davem@davemloft.net>
47800         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47801         (___Q_simulate_exceptions): Use real FP ops rather than writing
47802         into the %fsr.
47803         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47804         Likewise.
47806 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47808         [BZ #14117]
47809         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47810         * sysdeps/x86/bits/xtitypes.h: This.
47812         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47813         * sysdeps/x86/bits/wordsize.h: This.
47815         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47816         * sysdeps/x86/bits/huge_vall.h: This.
47818         * sysdeps/i386/bits/select.h: Removed.
47819         * sysdeps/x86_64/bits/select.h: Renamed to ...
47820         * sysdeps/x86/bits/select.h: This.
47822         * sysdeps/i386/bits/setjmp.h: Removed.
47823         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47824         * sysdeps/x86/bits/setjmp.h: This.
47826         * sysdeps/i386/bits/mathdef.h: Removed.
47827         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47828         * sysdeps/x86/bits/mathdef.h: This.
47830 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47832         [BZ #14132]
47833         * include/sys/socket.h (__connect_internal)
47834         (__libc_sa_len_internal): Remove declaration.
47835         (__connect, __libc_sa_len): Declare hidden_proto.
47836         (SA_LEN): Remove use of INTUSE.
47837         * socket/connect.c: Add libc_hidden_def.
47838         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47839         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47840         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47841         alias.
47842         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47843         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47844         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47845         of adding _internal alias.
47847 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47849         [BZ #14117]
47850         * sysdeps/i386/bits/link.h: Removed.
47851         * sysdeps/i386/bits/linkmap.h: Likewise.
47852         * sysdeps/x86_64/bits/link.h: Renamed to ...
47853         * sysdeps/x86/bits/link.h: This.
47854         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47855         * sysdeps/x86/bits/linkmap.h: This.
47857         * sysdeps/i386/bits/endian.h: Removed.
47858         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47859         * sysdeps/x86/bits/endian.h: This.
47861         * sysdeps/i386/bits/byteswap.h: Removed.
47862         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47863         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47864         * sysdeps/x86/bits/byteswap.h: This.
47865         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47866         * sysdeps/x86/bits/byteswap-16.h: This.
47867         * sysdeps/i386/Implies: Add x86.
47868         * sysdeps/x86_64/Implies: Likewise.
47870 2012-05-30  David S. Miller  <davem@davemloft.net>
47872         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47873         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47874         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47875         (FP_TRAPPING_EXCEPTIONS): Define.
47876         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47877         (FP_TRAPPING_EXCEPTIONS): Define.
47878         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47879         subnormals only when inexact has been signalled or underflow
47880         exceptions are enabled.
47881         (_FP_PACK_CANONICAL): Likewise.
47883 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47885         [BZ #14183]
47886         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47887         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47889 2012-05-30  Richard Henderson  <rth@twiddle.net>
47891         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47892         with #ifndef NOT_IN_libc.
47894         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47895         marked to avoid plt entry.
47897 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47899         [BZ #14112]
47900         * Makeconfig (default-abi): New macro.
47901         (abi-includes): Likewise.
47902         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47903         $(abi-$(default-abi)-lib-soname) for soname if defined.
47904         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47905         abi-variants.
47906         * Makefile (installed-stubs): Likewise.
47907         * include/stubs-biarch.h: Removed.
47908         * scripts/lib-names.awk: Only handle one library at a time.
47909         * scripts/soversions.awk: Remove WORDSIZE support.
47910         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47911         entries.
47912         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47913         Removed.
47914         (syscall-list-default-condition): Likewise.
47915         (syscall-list-default-condition): Likewise.
47916         (syscall-list-includes): Likewise.
47917         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47918         syscall-list-* with abi-*.  Handle undefined abi-variants.
47919         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47920         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47921         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47922         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47923         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47924         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47925         Removed.
47926         (syscall-list-32-options): Likewise.
47927         (syscall-list-32-condition): Likewise.
47928         (syscall-list-64-options): Likewise.
47929         (syscall-list-64-condition): Likewise.
47930         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47931         macro.
47932         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47933         Renamed to ...
47934         (abi-*): This.
47935         (abi-64-ld-soname): New macro.
47936         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47937         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47938         Renamed to ...
47939         (abi-*): This.
47940         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47941         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47943 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47945         * sysdeps/unix/sysv/linux/kernel-features.h
47946         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47947         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47948         include <kernel-features.h>.
47949         [!__NR_ftruncate64]: Remove conditional code.
47950         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47951         [__NR_ftruncate64]: Make code unconditional.
47952         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47953         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47954         include <kernel-features.h>.
47955         [!__NR_ftruncate64]: Remove conditional code.
47956         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47957         [__NR_ftruncate64]: Make code unconditional.
47958         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47960         include <kernel-features.h>.
47961         [!__NR_ftruncate64]: Remove conditional code.
47962         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47963         [__NR_ftruncate64]: Make code unconditional.
47964         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47966         include <kernel-features.h>.
47967         [!__NR_ftruncate64]: Remove conditional code.
47968         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47969         [__NR_ftruncate64]: Make code unconditional.
47970         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47972         * configure.in (libc_cv_fpie): Weaken to a compile test using
47973         LIBC_TRY_CC_OPTION.
47974         * configure: Regenerated.
47976 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47982         Refreshed.
47983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47989         Refreshed.
47991 2012-05-27  David S. Miller  <davem@davemloft.net>
47993         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47994         (___Q_zero): New.
47995         (__Q_simulate_exceptions): Return void.  Change to simulate
47996         exceptions by writing into the %fsr.
47997         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47998         (__Qp_handle_exceptions): Likewise.
47999         (numbers): Delete.
48000         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48001         __Qp_handle_exceptions.
48002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48003         __Qp_handle_exceptions.
48004         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48005         as unused and give dummy FP_RND_NEAREST initializer.
48006         (FP_INHIBIT_RESULTS): Define.
48007         (___Q_simulate_exceptions): Update declaration.
48008         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48009         formatting.
48010         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48011         as unused and give dummy FP_RND_NEAREST initializer.
48012         (__Qp_handle_exceptions): Update declaration.
48013         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48014         formatting.
48016 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48018         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48019         the temporary FPU control word.
48020         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48021         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48022         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48023         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48024         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48025         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48026         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48027         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48028         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48029         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48030         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48032 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48034         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48035         fields.
48037 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48039         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48040         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48041         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48042         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48043         Likewise.
48044         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48045         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48046         Likewise.
48048 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48050         * po/h.po: Update from translation team.
48052 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48054         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48056         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48057         handling of denormals.
48058         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48059         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48060         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48061         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48062         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48063         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48064         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48065         Likewise.
48067 2012-05-26  Marek Polacek  <polacek@redhat.com>
48069         [BZ #14152]
48070         * math/libm-test.inc (fma_test): Don't always expect underflow
48071         exception.
48073 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48075         [BZ #12416]
48076         * elf/tst-execstack.c: Include stackinfo.h.
48077         (do_test): Adjust test case to ensure that pthread_getattr_np
48078         behaviour remains the same after marking stack executable.
48080 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48082         * sysdeps/unix/sysv/linux/kernel-features.h
48083         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48084         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48085         kernel-features.h.
48086         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48087         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48088         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48089         kernel-features.h.
48090         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48091         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48093 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48095         * configure.in: Define the default includes to being none.
48096         * configure: Regenerated.
48098 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48100         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48101         * sysdeps/x86_64/setjmp.S: Likewise.
48102         * sysdeps/i386/bsd-setjmp.S: Likewise.
48103         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48104         * sysdeps/i386/setjmp.S: Likewise.
48105         * sysdeps/i386/__longjmp.S: Likewise.
48106         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48107         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48109         * include/stap-probe.h: New file.
48110         * configure.in: Handle --enable-systemtap.
48111         * configure: Regenerated.
48112         * config.h.in (USE_STAP_PROBE): New #undef.
48113         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48114         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48115         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48117 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48119         [BZ #13717]
48120         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48121         to 2.4.0 where earlier.
48122         * sysdeps/unix/sysv/linux/configure: Regenerated.
48123         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48124         <kernel-features.h>.
48125         [__ASSUME_32BITUIDS]: Make code unconditional.
48126         [!__ASSUME_32BITUIDS]: Remove conditional code.
48127         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48128         <kernel-features.h>.
48129         [__ASSUME_32BITUIDS]: Make code unconditional.
48130         [!__ASSUME_32BITUIDS]: Remove conditional code.
48131         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48132         [__ASSUME_32BITUIDS]: Make code unconditional.
48133         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48134         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48135         <kernel-features.h>.
48136         [__ASSUME_32BITUIDS]: Make code unconditional.
48137         [!__ASSUME_32BITUIDS]: Remove conditional code.
48138         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48139         <kernel-features.h>.
48140         [__ASSUME_32BITUIDS]: Make code unconditional.
48141         [!__ASSUME_32BITUIDS]: Remove conditional code.
48142         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48143         <kernel-features.h>.
48144         [__ASSUME_32BITUIDS]: Make code unconditional.
48145         [!__ASSUME_32BITUIDS]: Remove conditional code.
48146         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48147         <kernel-features.h>.
48148         [__ASSUME_32BITUIDS]: Make code unconditional.
48149         [!__ASSUME_32BITUIDS]: Remove conditional code.
48150         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48151         <kernel-features.h>.
48152         [__ASSUME_32BITUIDS]: Make code unconditional.
48153         [!__ASSUME_32BITUIDS]: Remove conditional code.
48154         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48155         <kernel-features.h>.
48156         [__ASSUME_32BITUIDS]: Make code unconditional.
48157         [!__ASSUME_32BITUIDS]: Remove conditional code.
48158         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48159         <kernel-features.h>.
48160         [__ASSUME_32BITUIDS]: Make code unconditional.
48161         [!__ASSUME_32BITUIDS]: Remove conditional code.
48162         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48163         <kernel-features.h>.
48164         [__ASSUME_32BITUIDS]: Make code unconditional.
48165         [!__ASSUME_32BITUIDS]: Remove conditional code.
48166         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48167         <kernel-features.h>.
48168         [__ASSUME_32BITUIDS]: Make code unconditional.
48169         [!__ASSUME_32BITUIDS]: Remove conditional code.
48170         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48171         <kernel-features.h>.
48172         [__ASSUME_32BITUIDS]: Make code unconditional.
48173         [!__ASSUME_32BITUIDS]: Remove conditional code.
48174         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48175         <kernel-features.h>.
48176         [__NR_setresgid] (__setresgid): Do not declare.
48177         [__ASSUME_32BITUIDS]: Make code unconditional.
48178         [!__ASSUME_32BITUIDS]: Remove conditional code.
48179         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48180         <kernel-features.h>.
48181         [__NR_setresuid] (__setresuid): Do not declare.
48182         [__ASSUME_32BITUIDS]: Make code unconditional.
48183         [!__ASSUME_32BITUIDS]: Remove conditional code.
48184         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48185         <kernel-features.h>.
48186         [__ASSUME_32BITUIDS]: Make code unconditional.
48187         [!__ASSUME_32BITUIDS]: Remove conditional code.
48188         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48189         <kernel-features.h>.
48190         [__ASSUME_32BITUIDS]: Make code unconditional.
48191         [!__ASSUME_32BITUIDS]: Remove conditional code.
48192         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48193         <kernel-features.h>.
48194         [__ASSUME_32BITUIDS]: Make code unconditional.
48195         [!__ASSUME_32BITUIDS]: Remove conditional code.
48196         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48197         <kernel-features.h>.
48198         [__ASSUME_32BITUIDS]: Make code unconditional.
48199         [!__ASSUME_32BITUIDS]: Remove conditional code.
48200         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48201         <kernel-features.h>.
48202         [__ASSUME_32BITUIDS]: Make code unconditional.
48203         [!__ASSUME_32BITUIDS]: Remove conditional code.
48204         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48205         <kernel-features.h>.
48206         [__ASSUME_32BITUIDS]: Make code unconditional.
48207         [!__ASSUME_32BITUIDS]: Remove conditional code.
48208         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48209         <kernel-features.h>.
48210         [__ASSUME_32BITUIDS]: Make code unconditional.
48211         [!__ASSUME_32BITUIDS]: Remove conditional code.
48212         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48213         <kernel-features.h>.
48214         [__ASSUME_32BITUIDS]: Make code unconditional.
48215         [!__ASSUME_32BITUIDS]: Remove conditional code.
48216         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48217         <kernel-features.h>.
48218         [__ASSUME_32BITUIDS]: Make code unconditional.
48219         [!__ASSUME_32BITUIDS]: Remove conditional code.
48220         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48221         <kernel-features.h>.
48222         [__ASSUME_32BITUIDS]: Make code unconditional.
48223         [!__ASSUME_32BITUIDS]: Remove conditional code.
48224         * sysdeps/unix/sysv/linux/kernel-features.h
48225         (__ASSUME_SETRESUID_SYSCALL): Remove.
48226         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48227         (__ASSUME_32BITUIDS): Likewise.
48228         (__ASSUME_LDT_WORKS): Likewise.
48229         (__ASSUME_O_DIRECTORY): Likewise.
48230         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48231         architecture but not kernel version.
48232         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48233         (__ASSUME_MMAP2_SYSCALL): Likewise.
48234         (__ASSUME_STAT64_SYSCALL): Likewise.
48235         (__ASSUME_IPC64): Likewise.
48236         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48237         <kernel-features.h>.
48238         [__ASSUME_32BITUIDS]: Make code unconditional.
48239         [!__ASSUME_32BITUIDS]: Remove conditional code.
48240         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48241         <kernel-features.h>.
48242         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48243         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48244         132096]: Remove conditional code.
48245         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48246         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48247         <kernel-features.h>.
48248         [__ASSUME_32BITUIDS]: Make code unconditional.
48249         [!__ASSUME_32BITUIDS]: Remove conditional code.
48250         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48251         <kernel-features.h>.
48252         [__ASSUME_32BITUIDS]: Make code unconditional.
48253         [!__ASSUME_32BITUIDS]: Remove conditional code.
48254         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48255         <kernel-features.h>.
48256         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48257         unconditional.
48258         (__setresgid): Do not declare.
48259         [__ASSUME_32BITUIDS]: Make code unconditional.
48260         [!__ASSUME_32BITUIDS]: Remove conditional code.
48261         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48262         <kernel-features.h>.
48263         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48264         unconditional.
48265         (__setresuid): Do not declare.
48266         [__ASSUME_32BITUIDS]: Make code unconditional.
48267         [!__ASSUME_32BITUIDS]: Remove conditional code.
48268         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48269         <kernel-features.h>.
48270         [__ASSUME_32BITUIDS]: Make code unconditional.
48271         [!__ASSUME_32BITUIDS]: Remove conditional code.
48272         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48273         <kernel-features.h>.
48274         [__ASSUME_32BITUIDS]: Make code unconditional.
48275         [!__ASSUME_32BITUIDS]: Remove conditional code.
48277 2012-05-25  Richard Henderson  <rth@twiddle.net>
48279         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48280         dl_hwcap to ifunc resolver.
48281         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48282         elf_ifunc_invoke.
48283         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48284         dl_hwcap to ifunc resolver.
48285         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48287 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48289         [BZ #14153]
48290         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48291         for |x| <= 2**-26, not 2**-57.
48292         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48293         exception.
48295 2012-05-24  Jeff Law  <law@redhat.com>
48297         * stdio-common/Makefile (tests): Add bug25.
48298         * stdio-common/bug25.c: New test.
48300 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48302         [BZ #13576]
48303         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48304         multiple of MALLOC_ALIGNMENT in size.
48305         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48307 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48309         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48310         Require >= 256.
48311         (FILENAME_MAX): Use macro-int-constant.
48312         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48313         (_IOFBF): Use macro-int-constant.
48314         (_IOLBF): Likewise.
48315         (_IONBF): Likewise.
48316         (SEEK_CUR): Likewise.
48317         (SEEK_END): Likewise.
48318         (SEEK_SET): Likewise.
48319         (TMP_MAX): Likewise.
48320         (EOF): Use macro-int-constant.  Require < 0.
48321         (NULL): Use macro-constant.  Require == 0.
48322         (stdin): Require type to be FILE *.
48323         (stdout): Likewise.
48324         (stderr): Likewise.
48325         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48326         macro-int-constant.
48327         (EXIT_SUCCESS): Likewise.
48328         (NULL): Use macro-constant.  Require == 0.
48329         (RAND_MAX): Use macro-int-constant.
48330         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48331         [C99-based standards] (strtof): Require function.
48332         [C99-based standards] (strtold): Likewise.
48333         [C99-based standards] (strtoll): Likewise.
48334         [C99-based standards] (strtoull): Likewise.
48335         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48336         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48337         [ISO || ISO99 || ISO11] (math.h): Likewise.
48338         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48339         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48340         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48342 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48344         [BZ #14132]
48345         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48346         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48347         * intl/dgettext.c (DCGETTEXT): Likewise.
48348         * intl/gettext.c (DCGETTEXT): Likewise.
48349         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48350         * posix/regex_internal.h (gettext): Likewise.
48351         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48352         Remove declaration.
48353         * include/argz.h (__argz_count_internal)
48354         (__argz_stringify_internal): Remove declaration.
48355         (__argz_count, __argz_stringify): Declare hidden proto.
48356         * intl/dcgettext.c: Remove use of INTDEF.
48357         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48358         * string/argz-stringify.c: Likewise.
48359         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48360         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48361         Declare hidden proto.
48362         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48363         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48364         Declare hidden proto.
48365         * include/stdio.h (__asprintf_internal): Don't declare.
48366         (__asprintf): Don't define as macro.  Declare hidden proto.
48367         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48368         (__fsetlocking): Declare hidden proto.
48369         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48370         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48371         hidden proto.
48372         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48373         (_IO_setlinebuf): Remove use of INTUSE.
48374         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48375         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48376         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48377         Remove declaration.
48378         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48379         (_IO_do_flush): Remove use of INTUSE.
48380         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48381         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48382         (_IO_adjust_column, _IO_least_wmarker)
48383         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48384         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48385         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48386         (_IO_default_doallocate, _IO_wdefault_doallocate)
48387         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48388         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48389         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48390         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48391         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48392         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48393         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48394         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48395         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48396         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48397         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48398         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48399         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48400         proto.
48401         (_IO_flush_all_internal, _IO_adjust_column_internal)
48402         (_IO_default_uflow_internal, _IO_default_finish_internal)
48403         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48404         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48405         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48406         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48407         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48408         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48409         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48410         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48411         (_IO_file_close_internal, _IO_file_close_it_internal)
48412         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48413         (_IO_file_init_internal, _IO_file_attach_internal)
48414         (_IO_file_fopen_internal, _IO_file_read_internal)
48415         (_IO_file_sync_internal, _IO_file_seek_internal)
48416         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48417         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48418         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48419         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48420         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48421         (_IO_list_all_internal, _IO_link_in_internal)
48422         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48423         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48424         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48425         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48426         (_IO_do_write_internal, _IO_padn_internal)
48427         (_IO_getline_info_internal, _IO_getline_internal)
48428         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48429         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48430         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48431         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48432         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48433         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48434         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48435         with libc_hidden_ver, remove use of INTUSE.
48436         * libio/genops.c: Likewise.
48437         * libio/freopen.c: Likewise.
48438         * libio/freopen64.c: Likewise.
48439         * libio/iofclose.c: Likewise.
48440         * libio/iofdopen.c: Likewise.
48441         * libio/iofflush.c: Likewise.
48442         * libio/iofflush_u.c: Likewise.
48443         * libio/iofgets.c: Likewise.
48444         * libio/iofgets_u.c: Likewise.
48445         * libio/iofopen.c: Likewise.
48446         * libio/iofopncook.c: Likewise.
48447         * libio/iofread.c: Likewise.
48448         * libio/iofread_u.c: Likewise.
48449         * libio/ioftell.c: Likewise.
48450         * libio/iofwrite.c: Likewise.
48451         * libio/iogetline.c: Likewise.
48452         * libio/iogets.c: Likewise.
48453         * libio/iogetwline.c: Likewise.
48454         * libio/iopadn.c: Likewise.
48455         * libio/iopopen.c: Likewise.
48456         * libio/ioseekoff.c: Likewise.
48457         * libio/ioseekpos.c: Likewise.
48458         * libio/iosetbuffer.c: Likewise.
48459         * libio/iosetvbuf.c: Likewise.
48460         * libio/ioungetc.c: Likewise.
48461         * libio/ioungetwc.c: Likewise.
48462         * libio/iovdprintf.c: Likewise.
48463         * libio/iovsprintf.c: Likewise.
48464         * libio/iovsscanf.c: Likewise.
48465         * libio/memstream.c: Likewise.
48466         * libio/obprintf.c: Likewise.
48467         * libio/oldfileops.c: Likewise.
48468         * libio/oldiofclose.c: Likewise.
48469         * libio/oldiofdopen.c: Likewise.
48470         * libio/oldiofopen.c: Likewise.
48471         * libio/oldiopopen.c: Likewise.
48472         * libio/oldstdfiles.c: Likewise.
48473         * libio/putc.c: Likewise.
48474         * libio/setbuf.c: Likewise.
48475         * libio/setlinebuf.c: Likewise.
48476         * libio/stdfiles.c: Likewise.
48477         * libio/strops.c: Likewise.
48478         * libio/vasprintf.c: Likewise.
48479         * libio/vscanf.c: Likewise.
48480         * libio/vsnprintf.c: Likewise.
48481         * libio/vswprintf.c: Likewise.
48482         * libio/wfiledoalloc.c: Likewise.
48483         * libio/wfileops.c: Likewise.
48484         * libio/wgenops.c: Likewise.
48485         * libio/wmemstream.c: Likewise.
48486         * libio/wstrops.c: Likewise.
48487         * libio/__fpurge.c: Likewise.
48488         * libio/__fsetlocking.c: Likewise.
48489         * assert/assert.c: Likewise.
48490         * debug/fgets_chk.c: Likewise.
48491         * debug/fgets_u_chk.c: Likewise.
48492         * debug/fread_chk.c: Likewise.
48493         * debug/fread_u_chk.c: Likewise.
48494         * debug/gets_chk.c: Likewise.
48495         * debug/obprintf_chk.c: Likewise.
48496         * debug/vasprintf_chk.c: Likewise.
48497         * debug/vdprintf_chk.c: Likewise.
48498         * debug/vsnprintf_chk.c: Likewise.
48499         * debug/vsprintf_chk.c: Likewise.
48500         * malloc/mtrace.c: Likewise.
48501         * misc/error.c: Likewise.
48502         * misc/syslog.c: Likewise.
48503         * stdio-common/asprintf.c: Likewise.
48504         * stdio-common/fxprintf.c: Likewise.
48505         * stdio-common/getw.c: Likewise.
48506         * stdio-common/isoc99_fscanf.c: Likewise.
48507         * stdio-common/isoc99_scanf.c: Likewise.
48508         * stdio-common/isoc99_vfscanf.c: Likewise.
48509         * stdio-common/isoc99_vscanf.c: Likewise.
48510         * stdio-common/isoc99_vsscanf.c: Likewise.
48511         * stdio-common/printf-prs.c: Likewise.
48512         * stdio-common/printf_fp.c: Likewise.
48513         * stdio-common/printf_fphex.c: Likewise.
48514         * stdio-common/printf_size.c: Likewise.
48515         * stdio-common/putw.c: Likewise.
48516         * stdio-common/scanf.c: Likewise.
48517         * stdio-common/sprintf.c: Likewise.
48518         * stdio-common/tmpfile.c: Likewise.
48519         * stdio-common/vfprintf.c: Likewise.
48520         * stdio-common/vfscanf.c: Likewise.
48521         * stdlib/strfmon_l.c: Likewise.
48522         * sunrpc/openchild.c: Likewise.
48523         * sunrpc/xdr_stdio.c: Likewise.
48524         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48525         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48527 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48529         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48531         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48532         in the third column, to generate for the shared library an IFUNC
48533         that uses _dl_vdso_vsym.
48534         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48535         * Makeconfig (object-suffixes-noshared): New variable.
48537         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48538         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48539         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48540         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48542         [BZ #14132]
48543         * include/sys/time.h (__gettimeofday): Remove macro.
48544         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48545         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48546         Remove INTDEF.
48547         (__gettimeofday): Add libc_hidden_def.
48548         (gettimeofday): Add libc_hidden_weak.
48549         * sysdeps/mach/gettimeofday.c: Likewise.
48550         * sysdeps/posix/gettimeofday.c: Likewise.
48551         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48552         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48553         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48554         (__gettimeofday_internal): Remove strong_alias.
48555         (__gettimeofday): Add libc_hidden_def.
48556         (gettimeofday): Add libc_hidden_weak.
48557         * sysdeps/unix/syscalls.list (gettimeofday):
48558         Remove __gettimeofday_internal alias.
48560 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48561             H.J. Lu  <hongjiu.lu@intel.com>
48563         [BZ #12495]
48564         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48565         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48566         (largebin_index_32_big): New.
48567         (largebin_index): Use it for 16-byte alignment.
48568         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48569         correction with front_misalign.
48571 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48575         Likewise.
48576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48577         Likewise.
48578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48579         Likewise.
48580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48581         Likewise.
48582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48583         Likewise.
48584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48585         Likewise.
48586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48587         Likewise.
48588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48589         Likewise.
48590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48591         Likewise.
48592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48593         Likewise.
48594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48595         Likewise.
48596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48597         Likewise.
48599         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48600         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48602 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48604         [BZ #10846]
48605         [BZ #14036]
48606         * math/libm-test.inc (exp_test): Add test from bug 14036.
48607         (pow_test): Add test from bug 10846.
48609         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48610         and other flags.
48611         (special_function): Do not include flags in test name.
48612         (parse_args): Likewise.
48613         * sysdeps/i386/fpu/libm-test-ulps: Update.
48614         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48615         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48616         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48619         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48620         exceptions.
48621         * math/libm-test.inc ("Philosophy"): Update comment about
48622         exception testing.
48623         (UNDERFLOW_EXCEPTION): New macro.
48624         (UNDERFLOW_EXCEPTION_OK): Likewise.
48625         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48626         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48627         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48628         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48629         (INVALID_EXCEPTION_OK): Update value.
48630         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48631         (OVERFLOW_EXCEPTION_OK): Likewise.
48632         (IGNORE_ZERO_INF_SIGN): Likewise.
48633         (test_exceptions): Handle underflow exceptions.
48634         (acos_test): Update for underflow exception expectations.
48635         (cexp_test): Likewise.
48636         (clog_test): Likewise.
48637         (clog10_test): Likewise.
48638         (csqrt_test): Likewise.
48639         (ctan_test): Likewise.
48640         (ctanh_test): Likewise.
48641         (exp_test): Likewise.
48642         (exp10_test): Likewise.
48643         (exp2_test): Likewise.
48644         (expm1_test): Likewise.
48645         (fma_test): Likewise.
48646         (j0_test): Likewise.
48647         (jn_test): Likewise.
48648         (nexttoward_test): Likewise.
48649         (pow_test): Likewise.
48650         (scalbn_test): Likewise.
48651         (scalbln_test): Likewise.
48652         (tan_test): Likewise.
48653         (y1_test): Likewise.
48654         * sysdeps/i386/fpu/libm-test-ulps: Update.
48655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48657 2012-05-23  David S. Miller  <davem@davemloft.net>
48659         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48660         (__libc_sigaction): Remove unused local variables.
48662 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48664         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48666 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48668         mktime: avoid signed integer overflow
48669         * time/mktime.c (__mktime_internal): Do not mishandle the case
48670         where diff == INT_MIN.
48672         mktime: simplify computation of average
48673         * time/mktime.c (ranged_convert): Use new time_t_avg function
48674         instead of rolling our own (probably-slower) code.
48676         mktime: do not assume signed right shift propagates sign bit
48677         * time/mktime.c (isdst_differ): New static function.
48678         (__mktime_internal): No need to normalize tm_isdst now.
48679         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48680         tm_isdst values.
48682         mktime: merge another wrapv change from gnulib
48683         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48684         from some compilers.
48686         mktime: remove incorrect attempt at unusual arithmetics
48687         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48688         The code didn't really work on such machines anyway.
48689         (TYPE_MINIMUM): Assume two's complement.
48690         (twos_complement_arithmetic): Verify that long_int and time_t
48691         are two's complement (or unsigned, in the latter case).
48693         mktime: check signed shifts on long_int and time_t, too
48694         * time/mktime.c (SHR): Check that shifts work as desired
48695         on the types long_int and time_t too, as SHR is used on
48696         such types.
48698         mktime: do not assume 'long' is wide enough
48699         * time/mktime.c (verify): Move decl up.
48700         (long_int): New type.
48701         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48702         to remove assumption in the code that 'long' is wide enough to
48703         store year values.  This assumption is not true on x32 and on
48704         some non-glibc platforms.
48706         mktime: merge wrapv change from gnulib
48707         * time/mktime.c (WRAPV): New macro.
48708         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48709         (guess_time_tm, __mktime_internal): Do not assume that signed
48710         integer overflow wraps around; modern compilers generate code
48711         where this assumption is no longer valid.
48713 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48715         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48716         Replace "jmp L(pseudo_end)" with "ret".
48717         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48718         Likewise.
48720 2012-05-23  Andreas Jaeger  <aj@suse.de>
48722         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48723         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48725 2012-05-23  Andreas Jaeger  <aj@suse.de>
48726             Maximilian Attems  <max@stro.at>
48728         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48729         New macros.
48731 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48733         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48734         code so that pseudo_end is just ret and the stack pointer is
48735         correct also for static library in error case.
48737 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48739         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48740         move to syscalls.list.
48741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48746         * manual/install.texi (Running make install): Do not mention Linux
48747         kernel version for which pt_chown is not needed.
48748         (Linux): Do not mention problems with nscd with 2.0 kernels.
48749         * INSTALL: Regenerated.
48751 2012-05-23  Andreas Jaeger  <aj@suse.de>
48753         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48754         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48755         macro.
48756         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48757         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48758         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48759         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48760         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48761         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48762         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48763         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48764         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48765         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48766         * sysdeps/unix/sysv/linux/bits/in.h
48767         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48769 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48771         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48772         (PREPARE_VERSION): Just use assert instead, it will be elided
48773         under [NDEBUG] anyway.
48775 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48777         * sysdeps/unix/sysv/linux/Makefile: Include
48778         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48779         (sysdep_routines): Remove sysctl.
48780         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48781         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48782         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48783         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48784         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48786 2012-05-22  Andreas Jaeger  <aj@suse.de>
48788         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48789         that pseudo_end is just ret and the stack pointer is correct also
48790         for static library in error case.
48792 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48794         [BZ #14122]
48795         * nss/nsswitch.c (defconfig_entries): New variable.
48796         (__nss_database_lookup): Don't leak defconfig entries.
48797         (nss_parse_service_list): Don't leak on error paths.
48798         (free_database_entries): New function.
48799         (free_defconfig): New function.
48800         (free_mem): Move common code to free_database_entries.
48802 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48804         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48805         Add arch_prctl.
48806         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48808         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48809         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48810         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48811         New macro.
48812         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48813         (INTERNAL_SYSCALL_TYPES): Likewise.
48814         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48815         (LOAD_REGS_TYPES_[1-6]): Likewise.
48816         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48817         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48819 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48821         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48822         copysignl for GLIBC_2_0.
48823         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48824         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48825         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48826         logbl for GLIBC_2_0.
48827         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48828         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48830 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48832         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48833         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48835         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48836         Use "neg %eax".
48838         * time/mktime.c: Update copyright years.
48840 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48842         mktime: merge comment-quoting-style change from gnulib
48843         * time/mktime.c: Quote 'like this' in comments.
48844         The GNU coding standards suggest that we no longer quote `like this',
48845         as "`" and "'" are typically rendered asymmetrically nowadays.
48846         The typical gnulib style is to quote 'like this' when quoting
48847         code, and "like this" when quoting English.
48849         * time/mktime.c (compile-command): Add "-I.".
48851         mktime: merge mktime-internal.h change from gnulib
48852         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48854         mktime: merge time_r change from gnulib
48855         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48857         mktime: merge DEBUG change from gnulib
48858         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48859         case system <time.h> has a #define.
48861         mktime: merge <sys/types.h> change from gnulib
48862         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48863         since <time.t> is now guaranteed to define time_t.
48865         mktime: merge HAVE_CONFIG_H change from gnulib
48866         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48868 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48870         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48871         Use "neg %eax".
48873         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48874         __rlim_t cast.
48875         (struct rusage): Use anonymous union to pad each field to
48876         __syscall_slong_t.
48878 2012-05-21  David S. Miller  <davem@davemloft.net>
48880         * Makefules (o-iterator): Remove .s cases.
48881         (compile-command.s): Delete.
48882         (COMPILE.s): Delete.
48883         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48885 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48887         * configure.in (libc_cv_predef_stack_protector): Only consider
48888         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48889         * configure: Regenerated.
48891 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48893         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48894         New macro.  Use R*LP on int and pointer.
48895         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48896         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48897         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48898         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48900         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48901         [__WORDSIZE_TIME64_COMPAT32] instead of
48902         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48903         (struct utmp): Likewise.
48904         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48905         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48906         Renamed to ...
48907         (__WORDSIZE_TIME64_COMPAT32): This.
48908         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48909         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48910         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48911         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48912         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48913         (__WORDSIZE_TIME64_COMPAT32): New macro.
48915 2012-05-21  Andreas Jaeger  <aj@suse.de>
48917         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48918         only if [SHARED]. Add prototype for __wcschr_ia32.
48920 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48922         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48923         of %rbp unmolested in the jmp_buf while mangling the low bits.
48924         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48925         unmolested high bits of %rbp while demangling the low bits.
48926         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48928 2012-05-21  Andreas Jaeger  <aj@suse.de>
48930         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48931         * sunrpc/svc_simple.c: Use it for registerrpc.
48932         * sunrpc/xcrypt.c: Use it for passwd2des.
48934         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48936 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48938         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48939         Don't define if [__SYSCALL_WORDSIZE != 32].
48940         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48941         New macro.
48943 2012-05-21  Bruno Haible  <bruno@clisp.org>
48944             Andreas Jaeger  <aj@suse.de>
48946         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48947         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48948         inptr and inend for must_buffer_ch.
48949         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48950         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48951         * stdio-common/Makefile (tests): Remove bug15.
48952         (bug15-ENV): Remove macro.
48953         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48954         anymore.
48956 2012-05-19  Andreas Jaeger  <aj@suse.de>
48957             Roland McGrath  <roland@hack.frob.com>
48959         * manual/contrib.texi: Completely rewritten. It contains now an
48960         alphabetical list of contributors and their contributions.
48962 2012-05-21  Richard Henderson  <rth@twiddle.net>
48964         * misc/getauxval.c (__getauxval): Use unsigned long int.
48965         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48966         (getauxval): Use unsigned long int.
48968 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48970         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48972 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48974         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48975         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48976         __alignof__ (long double).
48978 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48982 2012-05-20  Richard Henderson  <rth@twiddle.net>
48984         * misc/getauxval.c: New file.
48985         * misc/sys/auxv.h: New file.
48986         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48987         (routines): Add getauxval.
48988         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48989         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48990         * elf/dl-sysdep.c (_dl_auxv): Remove.
48991         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48992         * elf/dl-support.c (_dl_auxv): New variable.
48993         (_dl_aux_init): Initialize it.
48994         * manual/startup.texi (Auxiliary Vector): New node.
48995         * sysdeps/generic/bits/hwcap.h: New file.
48996         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48997         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48998         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48999         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49000         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49001         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49003         Update.
49004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49007         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49013 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49017 2012-05-19  David S. Miller  <davem@davemloft.net>
49019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49021 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49023         [BZ #14123]
49024         * math/s_ccosh.c: Include <float.h>
49025         (__ccosh): Avoid internal overflow calculating sinh and cosh
49026         values before multiplying by sin and cos values.
49027         * math/s_ccoshf.c: Likewise.
49028         * math/s_ccoshl.c: Likewise.
49029         * math/s_csin.c: Likewise.
49030         * math/s_csinf.c: Likewise.
49031         * math/s_csinl.c: Likewise.
49032         * math/s_csinh.c: Likewise.
49033         * math/s_csinhf.c: Likewise.
49034         * math/s_csinhl.c: Likewise.
49035         * math/libm-test.inc (ccos_test): Add more tests.
49036         (ccosh_test): Likewise.
49037         (csin_test): Likewise.
49038         (csinh_test): Likewise.
49039         * sysdeps/i386/fpu/libm-test-ulps: Update.
49040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49042 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49044         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49045         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49047         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49049 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49051         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49052         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49053         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49054         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49055         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49056         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49057         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49058         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49059         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49060         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49061         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49062         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49063         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49064         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49065         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49066         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49067         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49068         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49069         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49070         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49071         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49072         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49073         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49074         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49075         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49076         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49077         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49078         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49079         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49080         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49081         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49083 2012-05-18  Andreas Jaeger  <aj@suse.de>
49085         * csu/.gitignore: Delete.
49087 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49089         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49090         (timex): Use __syscall_slong_t.
49092 2012-05-18  Andreas Jaeger  <aj@suse.de>
49093             Carlos O'Donell  <carlos_odonell@mentor.com>
49095         * manual/install.texi (Configuring and compiling): Update
49096         description about files modified in the source directory.
49097         * INSTALL: Regenerated.
49099 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49101         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49102         value.  Use "or" to set return value to -1.
49103         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49104         negate return value.
49106 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49108         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49109         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49110         failure if the compiler has Graphite support disabled.
49111         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49112         Likewise.
49113         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49114         (CFLAGS-memmove.c): Likewise.
49115         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49116         Likewise.
49118 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49120         * sysdeps/x86_64/x32/_itoa.h: New file.
49122         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49123         getdents system call only if kernel and user dirents have the
49124         same d_ino and d_off.
49126         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49127         LLONG_MAX != LONG_MAX.
49128         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49129         (_fitoa_word): Likewise.
49131         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49132         years.
49133         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49134         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49135         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49137         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49138         include <bits/wordsize.h>.  Check __x86_64__ instead of
49139         __WORDSIZE.
49140         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49141         if __x86_64__ is defined.  Use anonymous union on fpstate.
49143         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49144         anonymous union.
49146 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49148         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49149         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49150         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49151         Refer to _rtld_local_ro instead of _rtld_global_ro.
49152         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49153         Likewise.
49154         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49155         Likewise.
49156         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49157         Likewise.
49158         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49159         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49160         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49162         [BZ #10882]
49163         * sysdeps/powerpc/powerpc32/dl-machine.c
49164         (__elf_machine_runtime_setup) [PROF]: Don't reference
49165         _dl_prof_resolve.
49167 2012-05-18  Andreas Jaeger  <aj@suse.de>
49169         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49170         function only available for GCCs before 3.4 since GCC 3.4
49171         introduced a builtin.
49172         (lrint): Likewise.
49173         (llrintf): Likewise.
49174         (llrint): Likewise.
49175         (fmaxf): Likewise.
49176         (fmax): Likewise.
49177         (fminf): Likewise.
49178         (fmin): Likewise.
49179         (rint): Likewise.
49180         (rintf): Likewise.
49181         (nearbyint): Likewise.
49182         (nearbyintf): Likewise.
49183         (ceil): Likewise.
49184         (ceilf): Likewise.
49185         (floor): Likewise.
49186         (floorf): Likewise.
49188 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49190         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49191         on both fields and cast pointer to __syscall_ulong_t.
49193         * bits/types.h (__fsword_t): New type.
49194         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49195         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49196         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49197         (__FSWORD_T_TYPE): Likewise.
49198         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49199         (__FSWORD_T_TYPE): Likewise.
49200         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49201         (__FSWORD_T_TYPE): Likewise.
49202         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49203         (__FSWORD_T_TYPE): Likewise.
49204         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49205         __SWORD_TYPE with __fsword_t.
49206         (statfs64): Likewise.
49208 2012-05-17  David S. Miller  <davem@davemloft.net>
49210         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49212 2012-05-17  Andreas Jaeger  <aj@suse.de>
49214         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49215         warning.
49217 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49219         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49221 2012-05-17  Andreas Jaeger  <aj@suse.de>
49223         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49224         when it is used.
49226 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49228         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49230 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49232         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49233         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49235 2012-05-17  Andreas Jaeger  <aj@suse.de>
49236             Carlos O'Donell  <carlos_odonell@mentor.com>
49238         [BZ #14059]
49239         * sysdeps/x86_64/multiarch/init-arch.h
49240         (bit_YMM_Usable): Rename to...
49241         (bit_AVX_Usable): ... this.
49242         (bit_FMA4_Usable): New macro.
49243         (bit_XMM_state): New macro.
49244         (bit_YMM_state): New macro.
49245         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49246         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49247         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49248         (CPUID_OSXSAVE): New macro.
49249         (CPUID_AVX): New macro.
49250         (CPUID_FMA4): New macro.
49251         (index_YMM_Usable): Rename to...
49252         (index_AVX_Usable): ... this.
49253         (HAS_AVX): Use HAS_ARCH_FEATURE.
49254         (HAS_FMA4): Likewise.
49255         (HAS_YMM_USABLE): Remove.
49256         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49257         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49258         are present.
49259         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49260         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49261         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49262         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49263         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49265 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49267         * math/libm-test.c: Support platforms without multiple rounding modes.
49268         * math/bug-nextafter.c: Support platforms without FP exceptions.
49269         * math/bug-nexttoward.c: Likewise.
49270         * math/test-fenv.c: Likewise.
49271         * math/test-misc.c: Likewise.
49272         * stdlib/bug-getcontext.c: Likewise.
49274 2012-05-17  Andreas Jaeger  <aj@suse.de>
49276         * manual/examples/search.c (critter_cmp): Change signature to
49277         avoid warnings.
49278         * manual/string.texi (Collation Functions): Likewise.
49280 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49282         * bits/types.h: Fold copyright years.
49283         * bits/typesizes.h: Likewise.
49284         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49285         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49286         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49287         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49288         * time/time.h: Likewise.
49290 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49292         [BZ #208]
49293         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49294         in instead of returning them.  Return void.
49295         (__libc_mallinfo): Accumulate over all arenas.
49296         (__malloc_stats): Adjust for change in int_mallinfo interface.
49298 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49300         [BZ #10375]
49301         * configure.in (NM): Add AC_CHECK_TOOL for it.
49302         (libc_extra_cflags): New substituted variable.
49303         Check for -fstack-protector being used implicitly.
49304         * configure: Regenerated.
49305         * config.make.in (config-extra-cflags): New variable,
49306         gets @libc_extra_cflags@.
49307         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49309         [BZ #10375]
49310         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49311         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49312         * configure: Regenerated.
49313         * config.make.in (CPPUNDEFS): New substituted variable.
49314         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49315         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49316         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49318 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49320         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49321         (mq_attr): Use __syscall_slong_t.
49323 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49325         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49326         Check __x86_64__ instead of __WORDSIZE.
49327         (_STAT_VER_LINUX): Likewise.
49328         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49329         __syscall_ulong_t and __syscall_slong_t.
49330         (stat64): Likewise.
49332 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49334         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49336 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49338         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49340 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49342         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49343         __syscall_ulong_t.
49345         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49346         include <bits/wordsize.h>.  Check __x86_64__ instead of
49347         __WORDSIZE.
49348         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49349         defined.
49350         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49352         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49353         include <bits/wordsize.h>.  Check __x86_64__ instead of
49354         __WORDSIZE.
49355         (user_regs_struct): Use "__extension__ unsigned long long"
49356         instead of "unsigned long" if __x86_64__ is defined.
49357         (user): Likewise.  Pad after pointer field if __ILP32__ is
49358         defined.
49360 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49362         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49363         versions 5 to 9.
49364         * configure: Regenerated.
49365         * manual/install.texi (texinfo): Increase version requirement to
49366         4.5 or later.
49367         * INSTALL: Regenerated.
49369         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49371 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49373         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49375         * sysdeps/x86_64/x32/ffs.c: New file.
49377         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49378         __syscall_ulong_t.
49379         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49380         defined.  Use __syscall_ulong_t.
49381         (shminfo): Use __syscall_ulong_t.
49382         (shm_info): Likewise.
49384         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49385         __syscall_ulong_t.
49387         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49388         <bits/wordsize.h>.
49389         (msgqnum_t): Use __syscall_ulong_t.
49390         (msglen_t): Likewise.
49391         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49392         __syscall_ulong_t.
49394         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49395         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49397         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49399         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49400         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49402         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49403         __syscall_slong_t.
49405         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49406         include <bits/wordsize.h>.  Check __x86_64__ instead of
49407         __WORDSIZE.
49409         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49410         "unsigned long long int" if __x86_64__ is defined.
49411         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49413         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49414         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49415         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49417         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49418         <stdint.h>.
49419         (GET_PC): Cast to uintptr_t first.
49420         (GET_FRAME): Likewise.
49421         (GET_STACK): Likewise.
49423         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49424         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49425         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49426         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49427         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49428         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49429         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49430         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49431         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49432         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49433         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49434         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49435         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49436         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49437         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49438         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49439         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49440         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49441         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49442         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49443         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49444         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49445         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49446         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49447         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49448         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49449         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49450         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49451         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49453 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49455         * Makerules (+depfiles): Also collect depfiles from .oS in
49456         $(extra-objs).
49457         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49458         .oS, $(libnldbl-routines)).
49460         * Makerules (native-compile-mkdep-flags): Define.
49461         * sunrpc/Makefile (extra-objs): Add $(addprefix
49462         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49463         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49464         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49465         calling $(make-target-directory).
49467 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49469         * bits/types.h (__snseconds_t): Removed.
49470         * time/time.h (struct timespec): Replace __snseconds_t with
49471         __syscall_slong_t.
49472         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49473         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49474         Likewise.
49475         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49476         (__SNSECONDS_T_TYPE): Likewise.
49477         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49478         (__SNSECONDS_T_TYPE): Likewise.
49479         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49480         (__SNSECONDS_T_TYPE): Likewise.
49482 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49484         * sysdeps/mach/hurd/bits/typesizes.h
49485         (__SYSCALL_SLONG_TYPE): New macro.
49486         (__SYSCALL_ULONG_TYPE): Likewise.
49488 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49490         * bits/types.h (__syscall_slong_t): New type.
49491         (__syscall_ulong_t): Likewise.
49493         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49494         (__SYSCALL_ULONG_TYPE): Likewise.
49495         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49496         (__SYSCALL_SLONG_TYPE): Likewise.
49497         (__SYSCALL_ULONG_TYPE): Likewise.
49498         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49499         (__SYSCALL_SLONG_TYPE): Likewise.
49500         (__SYSCALL_ULONG_TYPE): Likewise.
49501         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49502         (__SYSCALL_SLONG_TYPE): Likewise.
49503         (__SYSCALL_ULONG_TYPE): Likewise.
49505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49507         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49508         Add sigaltstack-offsets.sym.
49509         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49510         <sigaltstack-offsets.h>.
49511         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49512         longjmp_msg pointer.
49513         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49514         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49515         signal stack.
49516         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49518 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49520         * elf/stackguard-macros.h: Remove file.
49521         * sysdeps/generic/stackguard-macros.h: New file.
49522         * sysdeps/i386/stackguard-macros.h: Likewise.
49523         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49524         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49525         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49526         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49527         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49528         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49529         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49530         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49531         <elf/stackguard-macros.h>.
49533         [BZ #14109]
49534         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49535         __aligned__ in attribute.
49536         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49537         (gregset_t): Likewise.
49539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49541         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49542         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49543         * sysdeps/x86_64/x32/Implies-after: New file.
49545 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49547         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49548         and access return value for _dl_profile_fixup.  Use R10_LP to
49549         load frame size.
49551 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49553         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49557         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49558         * sysdeps/x86_64/x32/sysdep.h: New file.
49560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49562         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49563         * sysdeps/x86_64/setjmp.S: Likewise.
49565 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49567         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49568         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49569         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49570         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49571         remove unused global constant.
49573 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49575         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49576         include of <not-cancel.h>.
49578 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49580         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49582 2012-05-15  Jeff Law  <law@redhat.com>
49583             Andreas Jaeger  <aj@suse.de>
49585         [BZ #13594]
49586         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49587         out from...
49588         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49589         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49590         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49591         code changing __hst_map_handle.map.
49593 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49595         * configure.in (sysnames): Look for Implies-before and Implies-after
49596         files.
49597         * configure: Regenerated.
49599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49601         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49602         8-byte data alignment with LP_SIZE alignment.
49604 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49606         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49607         into R10_LP.
49609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49611         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49613 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49615         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49616         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49617         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49618         Likewise.
49619         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49621 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49623         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49624         (stackinfo_sub_sp): Likewise.
49626 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49628         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49629         RAX_LP.
49631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49633         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49634         into R*_LP.
49636 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49638         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49639         sizes into R*_LP.
49641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49643         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49645 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49647         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49648         into R11_LP and load __x86_64_shared_cache_size_half into
49649         R8_LP.
49651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49653         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49654         R8_LP.
49656 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49658         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49659         logb for POWER7.
49660         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49661         logbf for POWER7.
49662         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49663         logbl for POWER7.
49664         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49665         powerpc32/power7/fpu/s_logb.c via #include.
49666         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49667         powerpc32/power7/fpu/s_logbf.c via #include.
49668         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49669         powerpc32/power7/fpu/s_logbl.c via #include.
49671 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49673         * README.libm: Remove file.
49675 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49677         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49678         count for x32.  Use R*_LP and omit operand-size suffix.
49680 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49682         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49683         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49684         * sysdeps/x86_64/x32/shlib-versions: New file.
49686 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49688         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49689         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49690         Use _dl_fatal_printf instead.
49692 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49694         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49695         set if not set by the user.  Do not allow for being unset.
49696         * sysdeps/unix/sysv/linux/configure: Regenerated.
49698 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49700         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49701         the `q' suffix from lea and replace .quad with ASM_ADDR.
49703 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49706         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49707         instead of $17.
49708         (PTR_DEMANGLE): Likewise.
49710 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49712         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49713         (LP_OP): Likewise.
49714         (ASM_ADDR): Likewise.
49715         (RAX_LP): Likewise.
49716         (RBP_LP): Likewise.
49717         (RBX_LP): Likewise.
49718         (RCX_LP): Likewise.
49719         (RDI_LP): Likewise.
49720         (RSI_LP): Likewise.
49721         (RSP_LP): Likewise.
49722         (R8_LP): Likewise.
49723         (R9_LP): Likewise.
49724         (R10_LP): Likewise.
49725         (R10_LP): Likewise.
49726         (R11_LP): Likewise.
49727         (R12_LP): Likewise.
49728         (R13_LP): Likewise.
49729         (R14_LP): Likewise.
49730         (R15_LP): Likewise.
49732 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49734         * sysdeps/x86_64/x32/dl-machine.h: New file.
49736 2012-05-14  Andreas Jaeger  <aj@suse.de>
49738         * manual/Makefile (subdir): Remove export of subdir.
49739         (all): Remove target.
49740         (.PHONY): Remove all from list.
49741         (mkinstalldirs): Remove.
49742         (.PHONY): Remove installdirs from list.
49743         ($(inst_infodir)/libc.info): Use make-target-directory.
49744         (installdirs): Remove.
49745         (subdir_%): Remove.
49746         (glibc-targets): Remove.
49747         (lib): Remove.
49748         (stubs): Remove.
49749         ($(objpfx)stubs ../po/manual.pot): Remove.
49750         ($(objpfx)stamp%): Remove.
49751         (make-target-directory): Remove.
49752         (subdir_install): Remove.
49753         (routines): Remove.
49754         (aux): Remove.
49755         (sources): Remove.
49756         (objects): Remove.
49757         (headers): Remove.
49759         [BZ #13750]
49760         * manual/.gitignore: Remove, it's not needed anymore.
49761         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49762         all files in it.
49763         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49764         directory.
49765         (texis): Renamed to $(objpfx)texis.
49766         (texis-path): New, contains path to generated files.
49767         (chapters.%): Use texis-path for complete path, add extra argument
49768         libc-texinfo.sh.
49769         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49770         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49771         (summary,texi, stamp-summary): Use complete path of
49772         files. Generate files in build dir.
49773         (dir-add.texi): Build in build dir.
49774         (libm-err.texi,stamp-libm-err): Likewise.
49775         (version.texi, stamp-version): Likewise.
49776         (.%c.texi): Likewise.
49777         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49778         (mostlyclean): Remove target.
49779         (realclean): Remove target.
49780         (generated): Add new variable with contents from mostlyclean and
49781         realclean, remove entries duplicated in common-mostlyclean, add
49782         stamp-libm-err and stamp-version.
49783         (generated-dirs): Add libc directory.
49784         ($(inst_infodir)/libc.info): Install files from build dir.
49786         * manual/install.texi (Configuring and compiling): Adjust since
49787         the info files are not part of the tar ball anymore.
49789 2012-05-14  Andreas Jaeger  <aj@suse.de>
49791         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49792         variable.
49794 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49796         [BZ #13717]
49797         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49798         to 2.2.0 where earlier.
49799         * sysdeps/unix/sysv/linux/configure: Regenerated.
49800         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49801         Remove conditional code.
49802         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49803         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49804         Remove conditional code.
49805         [!__NR_lchown]: Likewise.
49806         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49807         [__NR_lchown]: Likewise.
49808         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49809         comment referencing __ASSUME_LCHOWN_SYSCALL.
49810         * sysdeps/unix/sysv/linux/i386/sigaction.c
49811         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49812         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49813         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49814         Remove conditional code.
49815         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49816         (__protocol_available): Remove #if 0 code.
49817         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49818         conditional code.
49819         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49820         * sysdeps/unix/sysv/linux/kernel-features.h
49821         (__ASSUME_GETCWD_SYSCALL): Don't define.
49822         (__ASSUME_REALTIME_SIGNALS): Likewise.
49823         (__ASSUME_PREAD_SYSCALL): Likewise.
49824         (__ASSUME_PWRITE_SYSCALL): Likewise.
49825         (__ASSUME_POLL_SYSCALL): Likewise.
49826         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49827         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49828         non-SPARC.
49829         (__ASSUME_SIOCGIFNAME): Don't define.
49830         (__ASSUME_MSG_NOSIGNAL): Likewise.
49831         (__ASSUME_SENDFILE): Define unconditionally.
49832         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49833         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49834         conditional code.
49835         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49836         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49837         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49838         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49839         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49840         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49841         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49843         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49844         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49846         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49847         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49849         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49850         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49852         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49853         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49855         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49856         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49858         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49859         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49861         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49862         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49864         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49865         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49866         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49867         Remove conditional code.
49868         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49869         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49870         Remove conditional code.
49871         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49872         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49873         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49874         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49875         Remove conditional code.
49876         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49877         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49878         Remove conditional code.
49879         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49880         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49881         Remove conditional code.
49882         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49883         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49884         Remove conditional code.
49885         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49886         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49887         Remove conditional code.
49888         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49889         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49890         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49891         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49892         * sysdeps/unix/sysv/linux/sigaction.c
49893         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49894         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49895         * sysdeps/unix/sysv/linux/sigpending.c
49896         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49897         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49898         * sysdeps/unix/sysv/linux/sigprocmask.c
49899         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49900         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49901         * sysdeps/unix/sysv/linux/sigsuspend.c
49902         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49903         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49904         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49905         (__libc_missing_rt_sigs): Remove.
49906         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49907         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49908         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49909         Remove conditional code.
49910         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49911         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49912         return 1.
49913         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49914         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49915         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49916         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49918 2012-05-14  Andreas Jaeger  <aj@suse.de>
49920         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49921         it's not used in glibc.
49922         (__coshm1): Likewise.
49923         (__acosh1p): Likewise.
49924         (__sgn): Likewise.
49926         * manual/string.texi (Copying and Concatenation): Add missing
49927         variable in concat example.
49928         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49930 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49932         [BZ #14103]
49933         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49934         __builtin_clzl with __builtin_clzll.
49936 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49938         [BZ #14104]
49939         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49940         libc_freeres_ptr.
49942 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49944         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49945         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49946         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49947         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49949 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49951         * NEWS: Update ia64 info.
49953 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49955         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49956         used as bcopy.
49958 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49960         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49961         * sysdeps/unix/syscalls.list (dup3): Likewise.
49962         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49963         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49965 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49967         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49968         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49970 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49972         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49973         thread pointer.
49974         (TLS_IE): Use mov/add instead of movq/addq to load thread
49975         pointer.
49976         (TLS_GD_PREFIX): New.
49977         (TLS_GD): Use it.
49979 2012-05-11  David S. Miller  <davem@davemloft.net>
49981         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49982         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49983         (_FPU_SETCW): Likewise.
49985 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49987         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49988         is 32-byte aligned.
49990 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49992         [BZ #11837]
49993         * iconvdata/gb18030.c: Update tables.
49994         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49995         characters specially.
49996         (BODY for TO_LOOP): Add encoding of missing ranges.
49998 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50000         [BZ #13673]
50001         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50002         * sysdeps/mach/hurd/dup3.c: Likewise.
50003         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50004         * sysdeps/powerpc/memmove.c:: Likewise.
50006 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50008         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50009         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50011 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50013         * elf/elf.h (R_X86_64_RELATIVE64): New.
50014         (R_X86_64_NUM): Updated.
50015         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50016         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50017         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50018         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50019         tst-quad1pie tst-quad2pie
50020         (modules-names): Add tst-quadmod1 tst-quadmod2.
50021         ($(objpfx)tst-quad1): New dependency.
50022         ($(objpfx)tst-quad2): Likewise.
50023         ($(objpfx)tst-quad1pie): Likewise.
50024         ($(objpfx)tst-quad2pie): Likewise.
50025         * sysdeps/x86_64/tst-quad1.c: New file.
50026         * sysdeps/x86_64/tst-quad1pie.c: New file.
50027         * sysdeps/x86_64/tst-quad2.c: Likewise.
50028         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50029         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50030         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50031         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50032         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50034 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50036         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50037         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50038         * streams/stropts.h (t_scalar_t): Define type.
50040         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50041         (_PATH_PRESERVE): Set to "/var/lib".
50042         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50044         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50045         instead of int.
50047         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50048         if __dir_mkfile succeeded.
50050         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50051         checking for _hurd_dtablesize.  Unlock it right after having
50052         finished _hurd_dtable allocation.
50054 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50056         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50057         * sysdeps/mach/hurd/configure: Regenerated.
50058         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50059         special-casing to...
50060         * sysdeps/gnu/configure.in: ... this new file.
50061         * sysdeps/unix/sysv/linux/configure: Regenerated.
50062         * sysdeps/gnu/configure: New generated file.
50064         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50065         for Linux: use nsec instead of usec, as well as:
50066         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50067         members of type struct timespec.
50068         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50069         New macros.
50070         (struct stat64): Likewise.
50071         (_STATBUF_ST_NSEC): New macro.
50072         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50074         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50075         __strtoul_internal rather than strtoul.
50077 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50079         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50080         and reject them.
50082 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50084         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50085         which preserves existing values.
50086         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50088 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50090         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50091         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50092         greater than FD_SETSIZE.
50094 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50096         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50097         allocated, call __vm_protect to finish enabling the existing space, and
50098         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50099         allocate the remainder.
50101 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50103         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50104         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50106 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50108         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50109         sysdeps/mach/hurd/readlink.c.
50111         * posix/tst-sysconf.c (posix_options): Only use
50112         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50113         _POSIX_SYNCHRONIZED_IO when they are defined
50114         * sysdeps/mach/hurd/bits/posix_opt.h:
50115         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50116         (_XOPEN_REALTIME): Undefine macro.
50117         (_XOPEN_REALTIME_THREADS): Undefine macro.
50118         (_XOPEN_SHM): Undefine macro.
50119         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50120         macro to -1.
50121         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50122         macro to -1.
50123         (_POSIX_ASYNC_IO): Undefine macro.
50124         (_POSIX_PRIORITIZED_IO): Undefine macro.
50125         (_POSIX_SPIN_LOCKS): Define macro to -1.
50127         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50128         SA_NODEFER, SA_RESETHAND.
50129         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50130         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50131         F_DUPFD_CLOEXEC.
50133 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50135         * elf/Makefile (pldd-modules): Define unconditionally.
50137 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50139         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50141 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50143         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50144         Return ENOENT when name is empty.
50145         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50147 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50149         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50151         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50153 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50155         Fix mlock in all cases except non-readable pages.
50156         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50157         instead of VM_PROT_ALL as parameter to __vm_wire function.
50159         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50160         (__mkdir): When path is `/', just fail with EEXIST.
50161         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50163 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50165         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50166         <sys/uio.h> (for writev).
50167         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50168         and <sys/param.h> (for MIN).
50170 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50172         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50173         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50174         if interrupted.
50176 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50178         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50179         Depend on against $(link-rpcuserlibs).
50181 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50183         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50184         (__libc_stack_end): Do not use attribute_relro.
50185         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50186         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50187         to libthread-provided value.
50188         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50189         attribute_relro.
50191 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50193         [BZ #3748]
50194         * bits/libc-lock.h (__libc_once_get): New macro.
50195         * sysdeps/mach/bits/libc-lock.h: Likewise.
50196         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50197         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50198         instead of using implementation details.
50200         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50201         * libio/freopen.c: Likewise.
50202         * libio/freopen64.c: Likewise.
50203         * misc/syslog.c: Likewise.
50204         * nscd/connections.c: Likewise.
50205         * nscd/netgroupcache.c: Likewise.
50206         * sysdeps/posix/getcwd.c: Likewise.
50208 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50210         * math/w_ilogbf.c: Add #include <limits.h>.
50212 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50214         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50215         path instead of returning without unlocking.
50217         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50218         immediate-write ioctls.
50219         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50221 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50223         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50224         __builtin_frame_address instead of making assumptions about the
50225         location of the return address relative to DATA.  Force early load of
50226         the return address.
50227         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50228         __builtin_frame_address.
50230         dup3 for GNU Hurd.
50231         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50232         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50233         implement dup3 and do some further code clean-ups.
50234         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50235         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50237 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50239         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50241         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50242         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50243         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50244         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50245         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50246         d->port.lock.
50248         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50249         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50250         when handler == SIG_ERR, not when handler != SIG_ERR.
50252 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50254         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50255         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50256         definitions.
50258         accept4 for GNU Hurd.
50259         * include/sys/socket.h (__libc_accept4): New prototype.
50260         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50261         to implement __libc_accept4.
50262         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50263         __libc_accept4.
50264         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50266         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50267         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50268         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50269         signal-defines.sym.
50271 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50273         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50275 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50277         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50278         assertion on O_CLOEXEC flag.
50279         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50280         * hurd/intern-fd.c: Likewise.
50281         * hurd/port2fd.c: Likewise.
50283 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50285         [BZ #3906]
50286         * bits/in.h (IPV6_PKTINFO): Define new macro.
50287         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50289 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50291         [BZ #13954]
50292         [BZ #13955]
50293         [BZ #13956]
50294         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50295         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50296         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50297         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50298         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50299         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50300         * math/libm-test.inc (logb_test) : Additional logb tests.
50302 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50303             Andreas Jaeger  <aj@suse.de>
50305         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50306         * configure: Regenerated.
50307         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50308         * config.make.in (link-obsolete-rpc): New substituted variable.
50309         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50310         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50311         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50312         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50313         so that libc.a contains the symbols.
50314         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50315         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50316         * sunrpc/auth_none.c: Likewise.
50317         * sunrpc/auth_unix.c: Likewise.
50318         * sunrpc/authdes_prot.c: Likewise.
50319         * sunrpc/authuxprot.c: Likewise.
50320         * sunrpc/clnt_gen.c: Likewise.
50321         * sunrpc/clnt_perr.c: Likewise.
50322         * sunrpc/clnt_raw.c: Likewise.
50323         * sunrpc/clnt_simp.c: Likewise.
50324         * sunrpc/clnt_tcp.c: Likewise.
50325         * sunrpc/clnt_udp.c: Likewise.
50326         * sunrpc/clnt_unix.c: Likewise.
50327         * sunrpc/des_crypt.c: Likewise.
50328         * sunrpc/des_soft.c: Likewise.
50329         * sunrpc/get_myaddr.c: Likewise.
50330         * sunrpc/key_call.c: Likewise.
50331         * sunrpc/key_prot.c: Likewise.
50332         * sunrpc/netname.c: Likewise.
50333         * sunrpc/pm_getmaps.c: Likewise.
50334         * sunrpc/pm_getport.c: Likewise.
50335         * sunrpc/pmap_clnt.c: Likewise.
50336         * sunrpc/pmap_prot.c: Likewise.
50337         * sunrpc/pmap_prot2.c: Likewise.
50338         * sunrpc/pmap_rmt.c: Likewise.
50339         * sunrpc/publickey.c: Likewise.
50340         * sunrpc/rpc_cmsg.c: Likewise.
50341         * sunrpc/rpc_common.c: Likewise.
50342         * sunrpc/rpc_dtable.c: Likewise.
50343         * sunrpc/rpc_prot.c: Likewise.
50344         * sunrpc/rpc_thread.c: Likewise.
50345         * sunrpc/rtime.c: Likewise.
50346         * sunrpc/svc.c: Likewise.
50347         * sunrpc/svc_auth.c: Likewise.
50348         * sunrpc/svc_raw.c: Likewise.
50349         * sunrpc/svc_run.c: Likewise.
50350         * sunrpc/svc_tcp.c: Likewise.
50351         * sunrpc/svc_udp.c: Likewise.
50352         * sunrpc/svc_unix.c: Likewise.
50353         * sunrpc/svcauth_des.c: Likewise.
50354         * sunrpc/xcrypt.c: Likewise.
50355         * sunrpc/xdr.c: Likewise.
50356         * sunrpc/xdr_array.c: Likewise.
50357         * sunrpc/xdr_float.c: Likewise.
50358         * sunrpc/xdr_intXX_t.c: Likewise.
50359         * sunrpc/xdr_mem.c: Likewise.
50360         * sunrpc/xdr_rec.c: Likewise.
50361         * sunrpc/xdr_ref.c: Likewise.
50362         * sunrpc/xdr_sizeof.c: Likewise.
50363         * sunrpc/xdr_stdio.c: Likewise.
50365 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50367         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50368         change.  Update copyright years.
50370 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50372         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50374 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50375             Joseph Myers  <joseph@codesourcery.com>
50376             Paul Pluzhnikov  <ppluzhnikov@google.com>
50378         [BZ #14012]
50379         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50380         requiring rpcgen.
50381         [cross-compiling] (extra-libs): Likewise.
50382         [cross-compiling] (extra-libs-others): Likewise.
50383         [cross-compiling] (librpcsvc-routines): Likewise.
50384         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50385         [cross-compiling] (omit-deps): Likewise.
50386         (sunrpc-CPPFLAGS): New variable.
50387         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50388         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50389         (cross-rpcgen-objs): New variable.
50390         (extra-objs): Append $(cross-rpcgen-objs).
50391         ($(cross-rpcgen-objs)): New rule.
50392         ($(objpfx)cross-rpcgen): Likewise.
50393         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50394         comment.
50395         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50396         ($(objpfx)x%.stmp): Likewise.
50397         * sunrpc/proto.h [IS_IN_build] (_): Define.
50398         [IS_IN_build] (_libc_intl_domainname): Likewise.
50400 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50402         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50403         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50404         and R_X86_64_TPOFF64.
50406 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50408         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50409         sysdeps/unix/sysv/syscalls.list.
50410         (stime): Likewise.
50411         (utime): Likewise.
50412         * sysdeps/unix/sysv/syscalls.list: Remove file.
50414 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50416         [BZ #3440]
50417         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50418         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50419         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50420         (__LC_IDENTIFICATION): Make these macros useful in #if
50421         expressions, as required by C99.
50423 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50425         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50426         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50427         after this.
50429 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50431         * stdlib/longlong.h: Updated from GCC.
50433 2012-05-09  Andreas Jaeger  <aj@suse.de>
50435         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50436         default is first entry.
50437         (run_mode): Set type.
50438         (main): Remove informal message about syslog.
50439         (options): Fix typo.
50441         [BZ #14053]
50442         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50443         to asm.
50444         (lrint): Likewise.
50445         (llrintf): Likewise.
50446         (llrint): Likewise.
50447         (rint): Likewise.
50448         (rintf): Likewise.
50449         (nearbyint): Likewise.
50450         (nearbyintf): Likewise.
50452 2012-05-09  Andreas Jaeger  <aj@suse.de>
50453             Pedro Alves  <palves@redhat.com>
50455         * nscd/nscd.c (run_mode): Use enum.
50456         (main): Cleanup coding style issue.
50458 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50459             Andreas Jaeger  <aj@suse.de>
50461         * nscd/nscd.c (go_background): Replaced with...
50462         (run_mode): ... this.
50463         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50464         (options): Add -F --foreground.
50465         (main): Implement it.
50466         (parse_opt): Parse it.
50468 2012-05-09  Andreas Jaeger  <aj@suse.de>
50470         [BZ #14083]
50471         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50472         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50473         -Wconversion warning.
50474         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50475         Likewise.
50477 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50479         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50480         == 0.
50481         (LC_ALL): Use macro-int-constant.
50482         (LC_COLLATE): Likewise.
50483         (LC_CTYPE): Likewise.
50484         (LC_MESSAGES): Likewise.
50485         (LC_MONETARY): Likewise.
50486         (LC_NUMERIC): Likewise.
50487         (LC_TIME): Likewise.
50488         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50489         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50490         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50491         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50492         Specify type.
50493         [C99-based standards] (float_t): Expect type.
50494         [C99-based standards] (double_t): Expect type.
50495         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50496         type.
50497         [C99-based standards] (HUGE_VALL): Likewise.
50498         [C99-based standards] (INFINITY): Likewise.
50499         [C99-based standards] (NAN): Likewise.
50500         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50501         [C99-based standards] (FP_NAN): Likewise.
50502         [C99-based standards] (FP_NORMAL): Likewise.
50503         [C99-based standards] (FP_SUBNORMAL): Likewise.
50504         [C99-based standards] (FP_ZERO): Likewise.
50505         [C99-based standards] (FP_FAST_FMA): Use
50506         optional-macro-int-constant.  Specify type.  Require == 1.
50507         [C99-based standards] (FP_FAST_FMAF): Likewise.
50508         [C99-based standards] (FP_FAST_FMAL): Likewise.
50509         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50510         [C99-based standards] (FP_ILOGBNAN): Likewise.
50511         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50512         Specify type.
50513         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50514         [C99-based standards] (math_errhandling): Specify type.
50515         [ISO99 || ISO11] (signgam): Do not allow.
50516         [non-C99-based standards] (copysignf): Do not allow.
50517         [non-C99-based standards] (exp2f): Likewise.
50518         [non-C99-based standards] (log2f): Likewise.
50519         [non-C99-based standards] (modff): Allow.
50520         [non-C99-based standards] (erff): Do not allow.
50521         [non-C99-based standards] (erfcf): Likewise.
50522         [non-C99-based standards] (gammaf): Likewise.
50523         [non-C99-based standards] (hypotf): Likewise.
50524         [non-C99-based standards] (j0f): Likewise.
50525         [non-C99-based standards] (j1f): Likewise.
50526         [non-C99-based standards] (jnf): Likewise.
50527         [non-C99-based standards] (lgammaf): Likewise.
50528         [non-C99-based standards] (tgammaf): Likewise.
50529         [non-C99-based standards] (y0f): Likewise.
50530         [non-C99-based standards] (y1f): Likewise.
50531         [non-C99-based standards] (ynf): Likewise.
50532         [non-C99-based standards] (isnanf): Likewise.
50533         [non-C99-based standards] (acoshf): Likewise.
50534         [non-C99-based standards] (asinhf): Likewise.
50535         [non-C99-based standards] (atanhf): Likewise.
50536         [non-C99-based standards] (cbrtf): Likewise.
50537         [non-C99-based standards] (expm1f): Likewise.
50538         [non-C99-based standards] (ilogbf): Likewise.
50539         [non-C99-based standards] (log1pf): Likewise.
50540         [non-C99-based standards] (logbf): Likewise.
50541         [non-C99-based standards] (nextafterf): Likewise.
50542         [non-C99-based standards] (remainderf): Likewise.
50543         [non-C99-based standards] (rintf): Likewise.
50544         [non-C99-based standards] (scalbf): Likewise.
50545         [non-C99-based standards] (copysignl): Likewise.
50546         [non-C99-based standards] (exp2l): Likewise.
50547         [non-C99-based standards] (log2l): Likewise.
50548         [non-C99-based standards] (modfl): Allow.
50549         [non-C99-based standards] (erfl): Do not allow.
50550         [non-C99-based standards] (erfcl): Likewise.
50551         [non-C99-based standards] (gammal): Likewise.
50552         [non-C99-based standards] (hypotl): Likewise.
50553         [non-C99-based standards] (j0l): Likewise.
50554         [non-C99-based standards] (j1l): Likewise.
50555         [non-C99-based standards] (jnl): Likewise.
50556         [non-C99-based standards] (lgammal): Likewise.
50557         [non-C99-based standards] (tgammal): Likewise.
50558         [non-C99-based standards] (y0l): Likewise.
50559         [non-C99-based standards] (y1l): Likewise.
50560         [non-C99-based standards] (ynl): Likewise.
50561         [non-C99-based standards] (isnanl): Likewise.
50562         [non-C99-based standards] (acoshl): Likewise.
50563         [non-C99-based standards] (asinhl): Likewise.
50564         [non-C99-based standards] (atanhl): Likewise.
50565         [non-C99-based standards] (cbrtl): Likewise.
50566         [non-C99-based standards] (expm1l): Likewise.
50567         [non-C99-based standards] (ilogbl): Likewise.
50568         [non-C99-based standards] (log1pl): Likewise.
50569         [non-C99-based standards] (logbl): Likewise.
50570         [non-C99-based standards] (nextafterl): Likewise.
50571         [non-C99-based standards] (remainderl): Likewise.
50572         [non-C99-based standards] (rintl): Likewise.
50573         [non-C99-based standards] (scalbl): Likewise.
50574         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50575         [non-C99-based standards] (FP_*): Do not allow.
50576         [C99-based standards] (FP_*): Change to
50577         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50578         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50579         allow.
50580         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50581         (SIG_ERR): Likewise.
50582         [X/Open-based standards] (SIG_HOLD): Likewise.
50583         (SIG_IGN): Likewise.
50584         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50585         positive value.
50586         (SIGFPE): Likewise.
50587         (SIGILL): Likewise.
50588         (SIGINT): Likewise.
50589         (SIGSEGV): Likewise.
50590         (SIGTER): Likewise.
50591         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50592         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50593         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50594         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50595         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50596         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50597         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50598         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50599         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50600         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50601         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50602         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50603         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50604         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50605         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50606         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50607         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50608         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50609         [X/Open-based standards] (SIGTRAP): Likewise.
50610         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50611         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50612         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50613         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50614         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50615         allow.
50617 2012-05-08  Ian Wienand  <ianw@vmware.com>
50619         [BZ #14080]
50620         * time/tzset.c (__tzset_parse_tz): Update default rules for
50621         daylight time changes in the Energy Policy Act of 2005.
50623 2012-05-09  Andreas Jaeger  <aj@suse.de>
50625         [BZ #13983]
50626         * elf/ldconfig.c (parse_conf): Change string to make clear that
50627         ldconfig only issued a warning if ld.so.conf does not exist.
50629 2012-05-08  David S. Miller  <davem@davemloft.net>
50631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50632         movxtod instead of popping the value on the stack.
50634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50636 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50638         * config.h.in: Add HAVE_ARM_PCS_VFP.
50640 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50642         [BZ #13979]
50643         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50644         checking but the checks are disabled for any reason.
50646 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50648         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50649         and ELF64_R_TYPE with ELFW(R_TYPE).
50651 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50653         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50654         (ulimit): Likewise.
50656         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50657         (settimeofday): Likewise.
50659 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50661         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50662         a struct th_u2 inside the union, and move tu_block/tu_code into
50663         a new th_u3 union of tu_block/tu_code inside of that.  Move
50664         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50665         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50666         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50667         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50668         (th_stuff): Change to th_u1.tu_stuff.
50669         (th_data): Define.
50670         (th_msg): Change to th_u1.th_u2.tu_data.
50672 2012-05-07  David S. Miller  <davem@davemloft.net>
50674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50676         [BZ #14074]
50677         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50678         (SETUP_PIC_REG): Use it.
50679         (SETUP_PIC_REG_LEAF): Use it.
50681 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50683         [BZ #13885]
50684         [BZ #13923]
50685         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50686         USE_AS_EXPM1L.
50687         (EXPL_FINITE): Likewise.
50688         (FLDLOG): Likewise.
50689         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50690         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50691         e_expl.S.
50692         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50693         USE_AS_EXPM1L.
50694         (EXPL_FINITE): Likewise.
50695         (FLDLOG): Likewise.
50696         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50697         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50698         e_expl.S.
50699         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50700         test of -max_value argument for long double.
50701         * sysdeps/i386/fpu/libm-test-ulps: Update.
50702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50704 2012-05-06  David S. Miller  <davem@davemloft.net>
50706         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50707         quad soft-float symbols whose references which are compiler
50708         generated.
50709         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50711 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50713         [BZ #13884]
50714         [BZ #13914]
50715         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50716         USE_AS_EXP10L.
50717         (EXPL_FINITE): Likewise.
50718         (FLDLOG): Likewise.
50719         (c0): Likewise.
50720         (c1): Likewise.
50721         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50722         Adjust comments for base varying.
50723         (__expl_finite): Change alias to EXPL_FINITE.
50724         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50725         e_expl.S.
50726         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50727         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50728         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50729         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50730         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50731         USE_AS_EXP10L.
50732         (EXPL_FINITE): Likewise.
50733         (FLDLOG): Likewise.
50734         (c0): Likewise.
50735         (c1): Likewise.
50736         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50737         Adjust comments for base varying.
50738         (__expl_finite): Change alias to EXPL_FINITE.
50739         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50740         tests for bugs.
50741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50743         [BZ #14064]
50744         * math/libm-test.inc (check_float_internal): Correct ulp
50745         calculation for subnormal expected results.
50747 2012-05-06  Andreas Jaeger  <aj@suse.de>
50749         * Makeconfig (+math-flags): New, set to -frounding-math.
50750         (+cflags): Add +math-flags so that all of glibc gets compiled with
50751         it.
50753         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50755 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50757         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50758         Disable one test.
50760         [BZ #13787]
50761         [BZ #13922]
50762         [BZ #14036]
50763         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50764         (__ieee754_expl): Allow for and saturate large arguments.
50765         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50766         (u_threshold): Likewise.
50767         (__exp): Call __ieee754_exp before checking for overflow and
50768         underflow.
50769         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50770         (u_threshold): Likewise.
50771         (__expf): Call __ieee754_expf before checking for overflow and
50772         underflow.
50773         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50774         (u_threshold): Likewise.
50775         (__expl): Call __ieee754_expl before checking for overflow and
50776         underflow.
50777         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50778         (__ieee754_expl): Allow for and saturate large arguments.
50779         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50780         missing overflow exception on overflow.
50781         (expm1_test): Do not allow missing overflow exception on overflow.
50783         * sysdeps/i386/fpu/e_expl.c: Move to ...
50784         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50785         rather than using inline asm.
50786         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50787         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50788         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50790         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50791         (nice): Likewise.
50792         (poll): Likewise.
50793         (signal): Likewise.
50794         (time): Likewise.
50795         (times): Likewise.
50797 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50799         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50800         sysdeps/unix/common/syscalls.list.
50801         (fchmod): Likewise.
50802         (fchown): Likewise.
50803         (ftruncate): Likewise.
50804         (getrusage): Likewise.
50805         (gettimeofday): Likewise.
50806         (setpgid): Likewise.
50807         (setregid): Likewise.
50808         (setreuid): Likewise.
50809         (sigaction): Likewise.
50810         (truncate): Likewise.
50811         (vhangup): Likewise.
50812         * sysdeps/unix/common/syscalls.list: Remove file.
50813         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50814         * sysdeps/unix/sysv/linux/Implies: Likewise.
50816 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50818         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50820         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50821         Moved to ...
50822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50823         Here.
50824         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50825         to ...
50826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50827         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50828         to ...
50829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50830         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50831         to ...
50832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50833         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50834         to ...
50835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50836         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50837         to ...
50838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50839         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50840         to ...
50841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50842         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50843         to ...
50844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50845         Here.
50846         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50847         to ...
50848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50849         Here.
50850         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50851         to ...
50852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50853         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50854         Moved to ...
50855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50856         Here.
50857         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50858         to ...
50859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50861 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50863         * sysdeps/unix/common/bits/dirent.h: Remove file.
50864         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50866         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50867         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50868         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50869         * sysdeps/unix/bsd/isatty.c: Likewise.
50870         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50871         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50872         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50874 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50876         [BZ #13563]
50877         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50878         long double comparison inaccuracies.
50879         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50882 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50884         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50885         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50887 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50889         [BZ #14049]
50890         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50891         nonzero digits before rounding a hex value.
50892         * stdlib/tst-strtod.c (tests): Add another test.
50894 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50896         * sysdeps/s390/fpu/libm-test-ulps: Update.
50898 2012-05-03  Andreas Jaeger  <aj@suse.de>
50900         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50901         does not get optimized out.
50902         (malloc_opt_barrier): New.
50904 2012-05-03  Andreas Jaeger  <aj@suse.de>
50905             Roland McGrath  <roland@hack.frob.com>
50907         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50908         intermediate file deletion.
50909         (generated): Add .symlist files.
50911 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50913         [BZ #13775]
50914         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50915         Redirect under this condition.
50916         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50917         [__USE_GNU] (__dprintf_chk): Not under this condition.
50918         [__USE_GNU] (__vdprintf_chk): Likewise.
50919         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50920         under this condition.
50921         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50922         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50923         [__USE_XOPEN2K8] (vdprintf): Likewise.
50924         [__USE_GNU] (__dprintf_chk): Not under this condition.
50925         [__USE_GNU] (__vdprintf_chk): Likewise.
50926         [__USE_GNU] (dprintf): Likewise.
50927         [__USE_GNU] (vdprintf): Likewise.
50929 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50931         * elf/Makefile (common-generated): Set this instead of generated for
50932         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50933         $(all-built-dso)-derived lists.
50935 2012-05-03  Andreas Jaeger  <aj@suse.de>
50937         * sysdeps/i386/fpu/libm-test-ulps: Update.
50939         * FAQ: Removed.
50940         * FAQ.in: Likewise.
50941         * scripts/gen-FAQ.pl: Likewise.
50942         * manual/install.texi (Installation): Point to online location of
50943         FAQ.
50944         * Makefile (files-for-dist): Remove FAQ.
50945         (FAQ): Remove.
50947 2012-05-02  Allan McRae  <allan@archlinux.org>
50949         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50950         (LDFLAGS-reldepmod5.so): Likewise.
50951         (LDFLAGS-reldep6mod1.so): Likewise.
50952         (LDFLAGS-reldep6mod4.so): Likewise.
50953         (LDFLAGS-reldep8mod3.so): Likewise.
50954         (LDFLAGS-unload4mod1.so): Likewise.
50955         (LDFLAGS-unload4mod2.so): Likewise.
50956         (LDFLAGS-tst-initorder): Likewise.
50957         (LDFLAGS-tst-initordera2.so): Likewise.
50958         (LDFLAGS-tst-initordera3.so): Likewise.
50959         (LDFLAGS-tst-initordera4.so): Likewise.
50960         (LDFLAGS-tst-initorderb2.so): Likewise.
50961         (LDFLAGS-noload): Likewise.
50962         (LDFLAGS-next): Likewise.
50963         (LDFLAGS-order2mod1.so): Likewise.
50964         (LDFLAGS-order2mod2.so): Likewise.
50965         (LDFLAGS-tst-initorder2): Likewise.
50966         (LDFLAGS-tst-initorder2a.so): Likewise.
50967         (LDFLAGS-tst-initorder2b.so): Likewise.
50968         (LDFLAGS-tst-initorder2c.so): Likewise.
50969         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50971 2012-05-02  David S. Miller  <davem@davemloft.net>
50973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50975 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50977         [BZ #14055]
50978         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50980 2012-05-02  Andreas Jaeger  <aj@suse.de>
50982         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50983         since we manipulate rounding mode.
50984         (CPPFLAGS-test-idouble.c): Likewise.
50985         (CPPFLAGS-test-ifloat.c): Likewise.
50986         (CFLAGS-test-ldouble.c): Likewise.
50987         (CFLAGS-test-double.c): Likewise.
50988         (CFLAGS-test-float.c): Likewise.
50989         (CFLAGS-test-misc.c): Likewise.
50990         (CFLAGS-test-test-fenv.c): Likewise.
50992 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50994         [BZ #2550]
50995         [BZ #2570]
50996         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50997         comparisons to determine direction to adjust input.
50999 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51001         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51002         output to the target.
51004         * scripts/localplt.awk: New file.
51005         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51006         (check-localplt-CFLAGS): Variable removed.
51007         ($(all-built-dso:=.jmprel)): New static pattern rule.
51008         (generated): Add those targets.
51009         (localplt-built-dso): New variable.
51010         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51012         * elf/check-localplt.c: File removed.
51014         * scripts/check-execstack.awk: New file.
51015         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51016         (check-execstack-CFLAGS): Variable removed.
51017         ($(objpfx)check-execstack.h): Target removed.
51018         ($(objpfx)execstack-default): New target.
51019         (generated): Add that instead of check-execstack.h.
51020         ($(all-built-dso:=.phdr)): New static pattern rule.
51021         (generated): Add those targets.
51022         * elf/check-execstack.c: File removed.
51024         * scripts/check-textrel.awk: New file.
51025         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51026         (check-textrel-CFLAGS): Variable removed.
51027         (all-built-dso): Use := to define.o
51028         ($(all-built-dso:=.dyn)): New static pattern rule.
51029         (generated): Add those targets.
51030         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51031         * config.make.in (READELF): New substituted variable.
51032         * elf/check-textrel.c: File removed.
51034 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51036         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51037         allow.
51038         * conform/data/ctype.h-data [C99-based standards] (isblank):
51039         Expect function.
51040         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51041         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51042         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51043         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51044         Specify type.  Require positive value.
51045         (EILSEQ): Likewise.
51046         (ERANGE): Likewise.
51047         [ISO || POSIX] (EILSEQ): Do not expect.
51048         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51049         Specify type.  Require positive value.
51050         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51051         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51052         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51053         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51054         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51055         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51056         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51057         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51058         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51059         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51060         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51061         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51062         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51063         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51064         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51065         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51066         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51067         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51068         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51069         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51070         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51071         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51072         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51073         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51074         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51075         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51076         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51077         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51078         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51079         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51080         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51081         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51082         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51083         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51084         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51085         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51086         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51087         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51088         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51089         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51090         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51091         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51092         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51093         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51094         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51095         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51096         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51097         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51098         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51099         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51100         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51101         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51102         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51103         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51104         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51105         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51106         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51107         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51108         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51109         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51110         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51111         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51112         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51113         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51114         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51115         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51116         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51117         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51118         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51119         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51120         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51121         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51122         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51123         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51124         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51125         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51126         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51127         Require >= 2.
51128         (FLT_ROUNDS): Expect as macro, not constant.
51129         (FLT_MANT_DIG): Use macro-int-constant.
51130         (DBL_MANT_DIG): Likewise.
51131         (LDBL_MANT_DIG): Likewise.
51132         (FLT_DIG): Likewise.
51133         (DBL_DIG): Likewise.
51134         (LDBL_DIG): Likewise.
51135         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51136         (DBL_MIN_EXP): Likewise.
51137         (LDBL_MIN_EXP): Likewise.
51138         (FLT_MAX_EXP): Use macro-int-constant.
51139         (DBL_MAX_EXP): Likewise.
51140         (LDBL_MAX_EXP): Likewise.
51141         (FLT_MAX_10_EXP): Likewise.
51142         (DBL_MAX_10_EXP): Likewise.
51143         (LDBL_MAX_10_EXP): Likewise.
51144         (FLT_MAX): Use macro-constant.
51145         (DBL_MAX): Likewise.
51146         (LDBL_MAX): Likewise.
51147         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51148         (DBL_EPSILON): Likewise.
51149         (LDBL_EPSILON): Likewise.
51150         (FLT_MIN): Likewise.
51151         (DBL_MIN): Likewise.
51152         (LDBL_MIN): Likewise.
51153         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51154         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51155         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51156         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51157         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51158         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51159         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51160         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51161         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51162         [ISO11] (FLT_TRUE_MIN): Likewise.
51163         [ISO11] (LDBL_TRUE_MIN): Likewise.
51164         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51165         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51166         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51167         (SCHAR_MAX): Likewise.
51168         (UCHAR_MAX): Likewise.
51169         (CHAR_MIN): Likewise.
51170         (CHAR_MAX): Likewise.
51171         (MB_LEN_MAX): Use macro-int-constant.
51172         (SHRT_MIN): Use macro-int-constant.  Specify type.
51173         (SHRT_MAX): Likewise.
51174         (USHRT_MAX): Likewise.
51175         (INT_MAX): Likewise.
51176         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51177         bound negative.
51178         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51179         bound with "U".
51180         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51181         bound with "L".
51182         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51183         bound negative.  Suffix upper bound with "L".
51184         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51185         bound with "UL".
51186         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51187         Specify type.
51188         [C99-based standards] (LLONG_MAX): Likewise.
51189         [C99-based standards] (ULLONG_MAX): Likewise.
51190         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51191         == 0.
51192         [ISO11] (max_align_t): Require type.
51193         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51195         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51196         from $CFLAGS, without defining away __attribute__ calls.
51197         (checknamespace): Use $CFLAGS_namespace.
51199         * conform/conformtest.pl (@keywords): Only include C99 keywords
51200         for standards based on C99 or C11.
51202         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51203         Disable tests.
51204         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51205         UNIX98]: Likewise.
51207         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51208         usability of symbols in #if.
51210         * conform/conformtest.pl: If macro or constant types start
51211         "promoted:", expect the symbol to be of the following type
51212         promoted by the integer promotions.
51214         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51215         in one place.  Also handle "macro-constant".
51217         * conform/conformtest.pl: Only accept expected macro values with
51218         "==".  Parse all "macro" lines in one place.
51219         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51221         * conform/conformtest.pl: Handle braced types on "constant" lines
51222         instead of handling "typed-constant".
51223         * conform/data/signal.h-data: Use "constant" instead of
51224         "typed-constant".
51226         * conform/conformtest.pl: Handle "optional-" at start of lines in
51227         one place rather than duplicating several cases.  Handle each
51228         format of "macro" line with initial "optional-".
51230         * conform/conformtest.pl: Only accept expected constant or
51231         optional-constant values with "==".  Parse all "constant" lines in
51232         one place.  Parse all "optional-constant" lines in one place.
51233         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51234         * conform/data/fmtmsg.h-data: Likewise.
51235         * conform/data/netinet/in.h-data: Likewise.
51236         * conform/data/tar.h-data: Likewise.
51237         * conform/data/limits.h-data: Use "==" form on "constant" and
51238         "optional-constant" lines.
51240         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51241         Use -std=c99 for XOPEN2K.
51242         (@knownproblems): Remove.
51243         (newtoken): Don't check %isknown.
51245         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51246         Do not expect macro.
51247         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51248         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51249         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51250         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51251         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51252         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51253         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51254         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51255         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51256         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51257         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51258         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51259         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51260         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51261         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51262         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51263         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51264         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51265         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51266         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51267         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51268         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51269         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51270         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51271         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51272         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51273         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51274         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51275         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51276         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51277         [XPG3] (acosh): Likewise.
51278         [XPG3] (asinh): Likewise.
51279         [XPG3] (atanh): Likewise.
51280         [XPG3] (cbrt): Likewise.
51281         [XPG3] (expm1): Likewise.
51282         [XPG3] (ilogb): Likewise.
51283         [XPG3] (log1p): Likewise.
51284         [XPG3] (logb): Likewise.
51285         [XPG3] (nextafter): Likewise.
51286         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51287         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51288         [XPG3] (remainder): Likewise.
51289         [XPG3] (rint): Likewise.
51290         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51291         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51292         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51293         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51294         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51295         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51296         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51297         [UNIX98 || XOPEN2K] (scalb): Expect.
51298         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51299         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51300         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51301         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51302         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51303         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51304         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51305         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51306         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51307         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51308         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51309         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51310         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51311         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51312         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51313         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51314         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51315         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51316         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51317         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51318         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51319         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51320         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51321         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51322         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51323         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51324         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51325         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51326         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51327         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51328         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51329         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51330         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51331         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51332         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51333         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51334         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51335         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51336         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51337         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51338         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51339         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51340         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51341         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51342         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51343         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51344         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51345         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51346         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51347         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51348         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51349         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51350         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51351         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51352         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51353         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51354         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51355         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51356         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51357         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51358         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51359         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51360         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51361         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51362         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51363         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51364         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51365         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51366         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51367         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51368         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51369         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51370         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51371         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51372         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51373         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51374         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51375         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51376         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51377         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51378         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51379         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51380         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51381         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51382         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51383         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51384         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51385         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51386         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51387         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51388         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51389         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51390         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51391         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51392         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51393         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51394         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51395         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51396         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51397         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51398         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51399         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51400         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51401         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51402         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51403         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51404         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51405         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51406         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51407         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51408         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51409         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51410         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51411         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51412         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51413         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51414         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51415         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51416         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51417         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51418         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51419         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51420         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51421         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51422         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51423         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51424         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51425         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51426         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51427         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51428         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51429         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51430         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51431         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51432         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51433         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51434         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51436         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51437         _XOPEN_SOURCE_EXTENDED for XPG4.
51439         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51441         * Makeconfig (localtime): Remove variable.
51442         (inst_localtime-file): Likewise.
51444 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51447         Update.
51448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51449         Update.
51450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51451         Update.
51452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51453         Update.
51454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51455         Update.
51456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51457         Update.
51458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51459         Update.
51460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51461         Update.
51462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51463         Update.
51465 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51467         [BZ #2550]
51468         [BZ #2570]
51469         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51470         comparisons to determine direction to adjust input.
51471         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51472         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51473         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51474         Likewise.
51475         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51476         Likewise.
51477         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51478         Likewise.
51479         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51480         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51481         Likewise.
51482         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51483         Likewise.
51484         * math/libm-test.inc (nexttoward_test): Add more tests.
51486 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51488         [BZ #14040]
51489         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51490         in version GLIBC_2.1, not GLIBC_2.0.
51491         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51492         Likewise.
51494 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51496         [BZ #13942]
51497         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51498         (1 - x) * (1 + x).
51499         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51500         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51501         * math/libm-test.inc (acos_test): Add more tests.
51502         (asin_test): Likewise.
51503         * sysdeps/i386/fpu/libm-test-ulps: Update.
51504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51506         [BZ #14034]
51507         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51508         of square root.
51509         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51510         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51511         * math/libm-test.inc (acos_test_tonearest): New function.
51512         (acos_test_towardzero): Likewise.
51513         (acos_test_downward): Likewise.
51514         (acos_test_upward): Likewise.
51515         (asin_test_tonearest): Likewise.
51516         (asin_test_towardzero): Likewise.
51517         (asin_test_downward): Likewise.
51518         (asin_test_upward): Likewise.
51519         (main): Call the new functions.
51520         * sysdeps/i386/fpu/libm-test-ulps: Update.
51521         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51523         [BZ #13884]
51524         [BZ #13924]
51525         * math/e_exp10.c: Include <float.h>.
51526         (__ieee754_exp10): Handle underflow here rather than multiplying
51527         large negative argument by M_LN10.
51528         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51529         of __ieee754_expf.
51530         * math/e_exp10l.c: Include <float.h>.
51531         (__ieee754_exp10l): Handle underflow here rather than multiplying
51532         large negative argument by M_LN10l.
51533         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51534         spurious overflow exception on underflow.
51536 2012-04-29  Marek Polacek  <polacek@redhat.com>
51538         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51539         (__fortify_function): New macro.
51540         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51541         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51542         __extern_always_inline.
51543         * libio/bits/stdio2.h: Likewise.
51544         * libio/bits/stdio.h: Likewise.
51545         * string/string.h: Likewise.
51546         * string/bits/string3.h: Likewise.
51547         * include/stdio.h: Likewise.
51548         * stdlib/bits/stdlib.h: Likewise.
51549         * stdlib/stdlib.h: Likewise.
51550         * rt/bits/mqueue2.h: Likewise.
51551         * rt/mqueue.h: Likewise.
51552         * posix/bits/unistd.h: Likewise.
51553         * posix/unistd.h: Likewise.
51554         * io/bits/poll2.h: Likewise.
51555         * io/bits/fcntl2.h: Likewise.
51556         * io/fcntl.h: Likewise.
51557         * io/sys/poll.h: Likewise.
51558         * misc/bits/syslog.h: Likewise.
51559         * misc/bits/syslog-ldbl.h: Likewise.
51560         * misc/sys/syslog.h: Likewise.
51561         * socket/bits/socket2.h: Likewise.
51562         * socket/sys/socket.h: Likewise.
51563         * debug/tst-chk1.c: Likewise.
51564         * wcsmbs/bits/wchar2.h: Likewise.
51565         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51566         * wcsmbs/wchar.h: Likewise.
51568 2012-04-29  Andreas Jaeger  <aj@suse.de>
51570         * Makerules (tests): Remove enable-check-abi protection.
51571         (check-abi-warn): Remove.
51572         (check-abi-%): Remove check-abi-warn usage.
51574         * configure.in: Remove check-abi configure option.
51575         * configure: Regenerated.
51576         * config.make.in (enable-check-abi): Remove.
51578 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51580         [BZ #14033]
51581         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51582         double functions to double *_finite functions.
51584         [BZ #13941]
51585         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51586         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51587         LDBL_MIN_EXP.
51588         * stdio-common/Makefile (tests): Add tst-sprintf3.
51589         * stdio-common/tst-sprintf3.c: New file.
51591         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51592         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51594 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51596         * conform/conformtest.pl: Remove duplicate typed-constant
51597         handling.
51599 2012-04-28  David S. Miller  <davem@davemloft.net>
51601         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51602         (check-abi-%): Remove AWK script prerequisite and explicit
51603         abilist directory.
51604         (check-abi): Rewrite to just diff the symlist with the abilist.
51605         (config-tls, config-abi-config): Delete, no longer used.
51606         (update-abi-%): Remove AWK script and explicit abilist directory.
51607         (update-abi): Rewrite to simply compare and conditionally copy the
51608         symlist and the sysdep abilist file.  Remove update-abi-config
51609         checks.
51610         * abilist/ld.abilist: Remove.
51611         * abilist/libBrokenLocale.abilist: Remove.
51612         * abilist/libanl.abilist: Remove.
51613         * abilist/libcrypt.abilist: Remove.
51614         * abilist/libdl.abilist: Remove.
51615         * abilist/librt.abilist: Remove.
51616         * abilist/libthread_db.abilist: Remove.
51617         * abilist/libutil.abilist: Remove.
51618         * scripts/extract-abilist.awk: Remove.
51619         * scripts/merge-abilist.awk: Remove.
51620         * sysdeps/generic/libcidn.abilist: New file.
51621         * sysdeps/generic/libnss_compat.abilist: New file.
51622         * sysdeps/generic/libnss_db.abilist: New file.
51623         * sysdeps/generic/libnss_dns.abilist: New file.
51624         * sysdeps/generic/libnss_files.abilist: New file.
51625         * sysdeps/generic/libnss_hesiod.abilist: New file.
51626         * sysdeps/generic/libnss_nis.abilist: New file.
51627         * sysdeps/generic/libnss_nisplus.abilist: New file.
51628         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51629         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51630         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51631         file.
51632         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51633         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51634         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51635         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51636         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51637         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51638         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51639         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51640         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51641         file.
51642         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51643         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51644         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51645         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51646         file.
51647         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51648         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51649         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51650         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51651         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51652         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51653         file.
51654         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51655         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51656         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51657         file.
51658         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51659         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51660         New file.
51661         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51662         New file.
51663         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51664         New file.
51665         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51666         New file.
51667         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51668         New file.
51669         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51670         New file.
51671         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51672         New file.
51673         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51674         New file.
51675         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51676         New file.
51677         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51678         New file.
51679         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51680         New file.
51681         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51682         New file.
51683         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51684         New file.
51685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51686         file.
51687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51688         New file.
51689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51690         New file.
51691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51692         file.
51693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51694         New file.
51695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51696         New file.
51697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51698         file.
51699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51700         New file.
51701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51702         New file.
51703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51704         New file.
51705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51706         New file.
51707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51708         New file.
51709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51710         New file.
51711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51713         file.
51714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51715         New file.
51716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51717         file.
51718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51719         file.
51720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51721         file.
51722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51723         file.
51724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51725         file.
51726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51727         New file.
51728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51729         file.
51730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51731         file.
51732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51733         New file.
51734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51735         file.
51736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51738         file.
51739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51740         New file.
51741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51742         file.
51743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51744         file.
51745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51746         file.
51747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51748         file.
51749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51750         file.
51751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51752         New file.
51753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51754         file.
51755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51756         file.
51757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51758         New file.
51759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51760         file.
51761         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51762         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51763         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51764         file.
51765         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51766         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51767         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51768         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51769         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51770         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51771         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51772         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51773         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51774         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51777         file.
51778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51779         New file.
51780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51781         file.
51782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51783         file.
51784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51785         file.
51786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51787         file.
51788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51789         file.
51790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51791         New file.
51792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51793         New file.
51794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51795         file.
51796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51797         New file.
51798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51799         file.
51800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51802         file.
51803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51804         New file.
51805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51806         file.
51807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51808         file.
51809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51810         file.
51811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51812         file.
51813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51814         file.
51815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51816         New file.
51817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51818         New file.
51819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51820         file.
51821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51822         New file.
51823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51824         file.
51826 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51828         * conform/conformtest.pl: Fix typo in handling typed-constant from
51829         allow-header.
51831 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51833         * README: Cut down references to pre-2.6 Linux kernels and
51834         Linuxthreads.  Update lists of configurations in libc and ports
51835         and sort alphabetically.  Say "or newer" with Linux kernel version
51836         requirements.
51838         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51840 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51842         [BZ #887]
51843         * math/libm-test.inc (logb_test_downward): New test to expose
51844         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51845         rounding mode.
51847 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51849         [BZ #14027]
51850         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51851         to be done.
51852         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51853         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51855 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51857         * sysdeps/unix/i386/brk.S: Remove file.
51858         * sysdeps/unix/i386/dl-brk.S: Likewise.
51859         * sysdeps/unix/i386/pipe.S: Likewise.
51860         * sysdeps/unix/i386/sigreturn.S: Likewise.
51861         * sysdeps/unix/i386/syscall.S: Likewise.
51862         * sysdeps/unix/i386/vfork.S: Likewise.
51863         * sysdeps/unix/i386/wait.S: Likewise.
51865         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51866         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51868         * configure.in (arm*-none*): Do not allow without
51869         --enable-hacker-mode.
51870         (netbsd*): Remove case setting base_os.
51871         (386bsd*): Likewise.
51872         (freebsd*): Likewise.
51873         (bsdi*): Likewise.
51874         (osf*): Likewise.
51875         (sunos*): Likewise.
51876         (ultrix*): Likewise.
51877         (newsos*): Likewise.
51878         (dynix*): Likewise.
51879         (*bsd*): Likewise.
51880         (sysv*): Likewise.
51881         (isc*): Likewise.
51882         (esix*): Likewise.
51883         (sco*): Likewise.
51884         (minix*): Likewise.
51885         (irix4*): Likewise.
51886         (irix6*): Likewise.
51887         (solaris[2-9]*): Likewise.
51888         (none): Likewise.
51889         * configure: Regenerated.
51891 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51893         [BZ #11521]
51894         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51895         overflow or cancellation in calculating denominator.
51896         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51897         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51898         down expression to avoid unexpected rounding in newer GCCs.
51899         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51901 2012-04-26  David S. Miller  <davem@davemloft.net>
51903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51904         long-double compat symbols.
51905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51919 2012-04-25  David S. Miller  <davem@davemloft.net>
51921         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51922         HWCAP_* values only after the memory barriers have been defined.
51923         (atomic_full_barrier): Define.
51924         (atomic_read_barrier): Define.
51925         (atomic_write_barrier): Define.
51927 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51929         * shlib-versions: Add libgcc_s version information.
51930         * sysdeps/generic/libgcc_s.h: Remove.
51931         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51932         libgcc_s.h.
51933         * sysdeps/gnu/unwind-resume.c: Likewise.
51934         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51936 2012-04-25  David S. Miller  <davem@davemloft.net>
51938         * sysdeps/unix/sparc/brk.S: Delete.
51939         * sysdeps/unix/sparc/dl-brk.S: Delete.
51940         * sysdeps/unix/sparc/pipe.S: Delete.
51941         * sysdeps/unix/sparc/sysdep.S: Delete.
51942         * sysdeps/unix/sparc/sysdep.h: Delete.
51943         * sysdeps/unix/sparc/vfork.S: Delete.
51944         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51945         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51946         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51947         (ret_ERRVAL, r0, r1, MOVE): Define.
51948         (JUMPTARGET): Remove.
51949         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51950         sysdeps/unix/sparc/sysdep.h
51951         (ENTRY, END): Remove.
51952         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51954 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51956         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51957         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51958         -DIS_IN_build.
51960         * timezone/README: Update upstream location and email address for
51961         tzcode and tzdata.
51962         * timezone/zdump.c: Update from tzcode 2012b.
51963         * timezone/zic.c: Likewise.
51965         * configure.in (libc_cv_as_needed): Remove test.
51966         * configure: Regenerated.
51967         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51968         conditional definition.
51969         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51970         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51971         * config.make.in (have-as-needed): Remove variable.
51973 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51974             Paul Pluzhnikov  <ppluzhnikov@google.com>
51976         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51977         strings correctly.
51979 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51981         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51982         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51983         * sysdeps/sh/strlen.S: Likewise.
51985 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51987         * sysdeps/unix/fork.S: Remove file.
51988         * sysdeps/unix/i386/fork.S: Likewise.
51989         * sysdeps/unix/sparc/fork.S: Likewise.
51991         * sysdeps/unix/system.c: Remove file.
51992         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51994         * sysdeps/unix/getegid.S: Remove file.
51995         * sysdeps/unix/geteuid.S: Likewise.
51997 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51999         * scripts/check-localplt.awk: New file.
52000         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52001         of diff.
52002         * scripts/data/localplt-generic.data: Add a comment.
52004         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52005         NODE when __dir_mkfile failed.
52006         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52007         Reported by Ludovic Courtès <ludo@gnu.org>.
52009 2012-04-24  Andreas Jaeger  <aj@suse.de>
52011         * Makerules (common-clean): Also remove gen-as-const-headers
52012         files.
52014 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52016         * Makerules (native-compile): Do not change working directory for
52017         build.  Use $(OUTPUT_OPTION) in command.
52018         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52020 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52022         [BZ #13886]
52023         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52024         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52025         * math/libm-test.inc (floor_test): Add more tests.
52026         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52028 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52030         * sysdeps/unix/getdents.c: Remove file.
52031         * sysdeps/unix/sysv/getdents.c: Likewise.
52032         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52034         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52035         sysdeps/unix/mman/syscalls.list.
52036         (mmap): Likewise.
52037         (mprotect): Likewise.
52038         (msync): Likewise.
52039         (munmap): Likewise.
52040         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52041         * sysdeps/unix/mman/syscalls.list: Remove.
52042         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52044         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52045         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52046         * configure: Regenerated.
52047         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52048         $(libgcc_s_suffix).
52049         * config.make.in (libgcc_s_suffix): Remove variable.
52051 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52053         * sysdeps/unix/sysv/gethostname.c: Move to ...
52054         * sysdeps/posix/gethostname.c: ... here.
52056         * sysdeps/unix/execve.S: Remove file.
52058         * sysdeps/unix/_exit.S: Remove file.
52060 2012-04-23  Andreas Jaeger  <aj@suse.de>
52062         [BZ #13739]
52063         * manual/Makefile: Remove make dist support, there's no
52064         need for a stand-alone documentation tar ball.
52065         (TEXI2DVI): Define always, it's not in Makeconfig.
52066         (dist): Removed.
52067         (tar-it): Removed.
52068         (edition): Removed.
52069         (glibc-doc-$(edition).tar): Removed
52070         (%.Z): Removed.
52071         (%.gz): Removed.
52072         (%.uu): Removed.
52073         (ETAGS): Remove, it's in Makeconfig.
52074         (move-if-change): Remove, it's in Makeconfig.
52076 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52078         [BZ #13970]
52079         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52080         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52081         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52082         (strtod_l, strtof_l, strtold_l): Remove __wur.
52083         It is not necessarily an error to ignore strtol's return value.
52084         One can reliably look at the stored endptr to decide whether
52085         the number had valid syntax.
52087 2012-04-21  Andreas Jaeger  <aj@suse.de>
52089         [BZ #13739]
52090         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52092 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52094         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52095         * sysdeps/unix/sysv/Versions: Remove file.
52097 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52099         [BZ #13927]
52100         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52102 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52104         [BZ #7064]
52105         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52106         version from __vm86.
52108 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52110         * sysdeps/unix/common/lxstat.c: Remove file.
52111         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52113         * sysdeps/unix/sysv/Makefile: Remove file.
52115         * sysdeps/unix/sysv/direct.h: Remove file.
52117         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52118         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52119         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52120         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52121         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52122         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52123         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52125         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52127         * sysdeps/unix/xmknod.c: Remove file.
52128         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52130         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52132         * sysdeps/unix/sysv/i386/time.S: Remove file.
52134         * sysdeps/unix/fxstat.c: Remove file.
52135         * sysdeps/unix/xstat.c: Likewise.
52136         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52138         * sysdeps/unix/sysv/sigaction.c: Remove file.
52140         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52141         (sysdep_headers): Remove variable.
52142         [termio.h not in sysdep_headers] (generated): Likewise.
52143         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52144         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52145         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52146         * sysdeps/unix/sysv/tcflow.c: Likewise.
52147         * sysdeps/unix/sysv/tcflush.c: Likewise.
52148         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52149         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52150         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52151         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52152         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52154         * sysdeps/unix/siglist.c: Remove file.
52156         * sysdeps/unix/getppid.S: Remove file.
52158         * sysdeps/unix/mkdir.c: Remove file.
52159         * sysdeps/unix/rmdir.c: Likewise.
52161 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52163         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52164         ERR_MAX value.
52165         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52166         errlist-compat value.
52168 2012-04-18  David S. Miller  <davem@davemloft.net>
52170         * sysdeps/generic/memcopy.h (reg_char): Delete.
52171         * debug/strcat_chk.c: Use char, not reg_char.
52172         * debug/strcpy_chk.c: Likewise.
52173         * debug/strncat_chk.c: Likewise.
52174         * debug/strncpy_chk.c: Likewise.
52175         * string/memchr.c: Likewise.
52176         * string/memrchr.c: Likewise.
52177         * string/rawmemchr.c: Likewise.
52178         * string/strcat.c: Likewise.
52179         * string/strchr.c: Likewise.
52180         * string/strchrnul.c: Likewise.
52181         * string/strcmp.c: Likewise.
52182         * string/strcpy.c: Likewise.
52183         * string/strncat.c: Likewise.
52184         * string/strncmp.c: Likewise.
52185         * string/strncpy.c: Likewise.
52187 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52189         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52190         __builtin_memcopy is called when src and dest ranges are known to not
52191         overlap.
52193 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52195         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52196         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52197         fwd_align_merge macro call.
52198         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52199         bwd_align_merge macro call.
52200         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52202 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52204         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52205         bwd_align_merge macros.
52206         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52207         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52208         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52210 2012-04-18  David S. Miller  <davem@davemloft.net>
52212         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52214 2012-04-18  Andreas Jaeger  <aj@suse.de>
52216         [BZ# 6794]
52217         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52218         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52219         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52221         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52222         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52223         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52225         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52226         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52227         Adjust for changed ldbl-128 files.
52229         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52230         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52231         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52233 2012-04-17  David S. Miller  <davem@davemloft.net>
52235         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52237 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52239         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52240         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52241         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52242         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52243         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52244         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52246 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52248         [BZ #6794]
52249         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52250         * math/libm-test.inc: Add ilogb errno and exception tests.
52251         * math/w_ilogb.c: New file: ilogb wrapper.
52252         * math/w_ilogbf.c: New file: ilogbf wrapper.
52253         * math/w_ilogbl.c: New file: ilogbl wrapper.
52254         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52255         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52256         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52257         exception being thrown with 0.0 as argument.
52258         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52259         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52260         exception being thrown with 0.0 as argument.
52261         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52262         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52263         exception being thrown with 0.0 as argument.
52264         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52265         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52266         exception being thrown with 0.0 as argument.
52267         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52268         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52269         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52270         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52271         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52272         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52273         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52274         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52275         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52277 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52279         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52280         with altivec.
52282 2012-04-16  Marek Polacek  <polacek@redhat.com>
52284         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52286 2012-04-16  Marek Polacek  <polacek@redhat.com>
52288         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52289         operands of fdivp instruction.
52291 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52293         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52294         * elf/tst-auditmod3b.c: Likewise.
52295         * elf/tst-auditmod4b.c: Likewise.
52296         * elf/tst-auditmod5b.c: Likewise.
52297         * elf/tst-auditmod6b.c: Likewise.
52298         * elf/tst-auditmod6c.c: Likewise.
52299         * elf/tst-auditmod7b.c: Likewise.
52300         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52301         * sysdeps/x86_64/preconfigure.in: Likewise.
52302         * sysdeps/x86_64/preconfigure: Regenerated.
52304 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52306         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52307         __ILP32__.
52309 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52311         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52312         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52314 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52316         [BZ #13973]
52317         * locale/iso-639.def: Fix gl language name. Spotted by
52318         Yaron Shahrabani.
52320 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52322         [BZ #2074]
52323         * libio/libio.h (__io_write_fn): Update comment.
52325 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52327         [BZ #2074]
52328         * stdio.texi (Hook Functions): The user provided writer function
52329         is not allowed to return -1.
52331 2012-04-11  David S. Miller  <davem@davemloft.net>
52333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52335 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52337         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52338         Add a leading slash to rtkaio.
52340 2012-04-11  Jim Meyering  <meyering@redhat.com>
52342         [BZ #11959]
52343         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52344         It is not necessarily an error to ignore fwrite's return
52345         value.  One can reliably use ferror to test for errors after
52346         the fact.
52348 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52350         * bits/types.h (__snseconds_t): New type.
52351         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52353         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52354         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52355         (__SNSECONDS_T_TYPE): Likewise.
52356         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52357         (__SNSECONDS_T_TYPE): Likewise.
52358         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52359         (__SNSECONDS_T_TYPE): Likewise.
52361 2012-04-10  Andreas Jaeger  <aj@suse.de>
52363         [BZ #2636]
52364         * manual/time.texi (Processor Time): Return type of times is
52365         elapsed real time since an arbitrary point in the past.
52366         (CPU Time): Move CLK_TCK from here...
52367         (Processor Time): ...to here.  Correct description.
52368         * manual/conf.texi (Constants for Sysconf): Correct description of
52369         _SC_CLK_TCK.
52371 2012-04-10  David S. Miller  <davem@davemloft.net>
52373         [BZ #13967]
52374         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52375         where the is a gap between DT_REL(A) and DT_JMPREL.
52377 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52379         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52380         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52381         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52383 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52385         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52386         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52387         (dl_main): Handle --inhibit-cache.
52388         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52389         _dl_inhibit_cache.
52390         * elf/dl-load.c (_dl_map_object): Use it.
52391         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52393 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52395         [BZ #13872]
52396         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52397         (__ieee754_powl): Saturate large exponents rather than testing for
52398         overflow of y*log2(x).
52399         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52400         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52401         exceptions.
52403         [BZ #11521]
52404         * math/s_ctan.c: Include <float.h>.
52405         (__ctan): Avoid internal overflow or cancellation in calculating
52406         denominator.
52407         * math/s_ctanf.c: Likewise.
52408         * math/s_ctanl.c: Likewise.
52409         * math/s_ctanh.c: Likewise.
52410         * math/s_ctanhf.c: Likewise.
52411         * math/s_ctanhl.c: Likewise.
52412         * math/libm-test.inc (ctan_test): Add more tests.
52413         (ctanh_test): Likewise.
52414         * sysdeps/i386/fpu/libm-test-ulps: Update.
52415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52417 2012-04-09  Andreas Jaeger  <aj@suse.de>
52419         [BZ #6894]
52420         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52421         is an optional BSD extension.
52423         [BZ #10254]
52424         * manual/stdio.texi (Opening Streams): Document additional fopen
52425         parameters.
52427 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52429         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52430         %eax without telling the compiler.
52432 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52434         [BZ # 13963]
52435         * manual/install.texi: Use sourceware.org.
52437 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52439         [BZ #13873]
52440         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52441         (__ieee754_pow): Generate overflow and underflow using huge*huge
52442         and tiny*tiny rather than just returning constant infinity or zero
52443         for large exponents.
52444         * math/libm-test.inc (pow_test): Require overflow exceptions for
52445         applicable cases of large exponents.
52447         [BZ #706]
52448         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52449         (__ieee754_pow): Use iterative multiplication algorithm only for
52450         integer exponents with absolute value below 1024.  Check for odd
52451         integer exponents when using algorithm for real exponents.
52452         * math/libm-test.inc (pow_test): Add more tests.
52453         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52455 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52457         [BZ #13705]
52458         * math/libm-test.inc (exp_test): Do not allow overflow exception
52459         on underflow test.
52461 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52463         [BZ #13705]
52464         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52465         instead of __kernel_standard_f.
52467 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52469         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52470         * sysdeps/x86_64/memset_chk.S: Likewise.
52472 2012-04-08  Andreas Jaeger  <aj@suse.de>
52474         [BZ #10153]
52475         * manual/startup.texi (Environment Access): Describe return value
52476         for putenv and setenv.
52478         [BZ #6895]
52479         * manual/filesys.texi (Directory Entries): Add description for
52480         DT_LNK.
52482         [BZ #6890]
52483         * manual/filesys.texi (Directory Entries): Clarify that it's file
52484         system not operating system in the description of DT_UNKNOWN.
52486         [BZ #6578]
52487         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52489 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52491         [BZ #6649]
52492         * manual/llio.texi (Opening and Closing Files): Add cross
52493         reference to explain mode argument.
52495 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52497         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52498         * sysdeps/x86_64/memset_chk.S: Likewise.
52500 2012-04-07  David S. Miller  <davem@davemloft.net>
52502         * elf/elf.h (R_SPARC_WDISP10): Define.
52503         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52504         R_SPARC_SIZE32.
52505         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52506         R_SPARC_SIZE64 and R_SPARC_H34.
52508 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52510         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52511         conditions and remove no longer applicable assertion.
52513 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52515         * bits/byteswap.h: Include <features.h>.
52516         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52517         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52519 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52521         * bits/byteswap.h (__bswap_16): Removed.
52522         Include <bits/byteswap-16.h> to get __bswap_16.
52523         * sysdeps/i386/bits/byteswap.h: Likewise.
52524         * sysdeps/s390/bits/byteswap.h: Likewise.
52525         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52526         * bits/byteswap-16.h: New file.
52527         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52528         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52529         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52530         * string/Makefile (headers): Add bits/byteswap-16.h.
52532 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52534         [BZ #13895]
52535         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52536         extra indirection.
52537         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52538         * nss/tst-nss-static.c: New.
52540 2012-04-06  Robert Millan  <rmh@gnu.org>
52542         [BZ #6486]
52543         * manual/llio.texi (File Position Primitive): lseek
52544         refers to WHENCE when it really means OFFSET.
52546 2012-04-06  Andreas Jaeger  <aj@suse.de>
52548         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52549         strncmp declarations.
52551         * abilist/libc.abilist: Add __poll and __ppoll.
52553 2012-04-05  David S. Miller  <davem@davemloft.net>
52555         * scripts/check-local-headers.sh: Accept a host triplet in the
52556         path matched by the exclude regexp.
52558         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52559         definition.
52560         * sysdeps/powerpc/powerpc32/dl-machine.h
52561         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52562         * sysdeps/s390/s390-32/dl-machine.h
52563         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52564         * sysdeps/sparc/sparc32/dl-machine.h
52565         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52566         * sysdeps/sparc/sparc64/dl-machine.h
52567         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52569         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52570         lazy binding.
52571         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52572         undefined symbol errors.
52574         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52575         DT_NEEDED entries.
52577 2012-04-05  Michael Matz  <matz@suse.de>
52579         [BZ #13592]
52580         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52582 2012-04-05  Andreas Jaeger  <aj@suse.de>
52584         [BZ #13908]
52585         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52586         comment.
52588 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52590         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52591         which ROUND is no valid rounding mode.
52593 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52595         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52596         read again.
52597         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52599 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52601         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52602         an exception using FPU order intentionally.
52604 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52606         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52607         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52608         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52609         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52611 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52613         [BZ #12340]
52614         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52615         EINVAL when BUFLEN is too smal.
52617 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52619         [BZ #13553]
52620         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52621         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52623 2012-04-03  Andreas Jaeger  <aj@suse.de>
52625         [BZ #13938]
52626         * manual/setjmp.texi (System V contexts): Fix sentence.
52628         [BZ #13926]
52629         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52630         New macro for this case.
52631         [!__GNUC__] (__bswap_64): New inline function for this case.
52632         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52633         * bits/byteswap.h: Likewise.
52634         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52635         ull, guard with __GLIBC_HAVE_LONG_LONG.
52637         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52638         __GLIBC_HAVE_LONG_LONG.
52640         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52641         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52643 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52645         [BZ #13691]
52646         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52647         inptr and inend, rather than using last_ch.
52649 2012-04-02  David S. Miller  <davem@davemloft.net>
52651         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52652         * stdio-common/printf-parse.h (read_int): Change return type to
52653         'int', return -1 on INT_MAX overflow.
52654         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52655         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52656         overflows INT_MAX.  Check for overflow of in-format-string precision
52657         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52658         SIZE_MAX not INT_MAX for integer overflow test.
52659         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52660         skip the construct in the format string but do not record anything.
52661         * stdio-common/bug22.c: Adjust to test both width/prevision
52662         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52663         explicitly for proper errno values.
52665 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52667         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52668         CHAR_MAX.
52669         * string/test-strcmp.c [! WIDE]: Likewise.
52670         * time/tst-mktime2.c: Likewise for INT_MAX.
52671         * string/test-string.h: #include <sys/param.h> for MIN.
52673         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52674         * sysdeps/i386/init-first.c (init): Likewise.
52675         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52676         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52677         * sysdeps/sh/init-first.c (init): Likewise.
52679 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52681         * po/ru.po: Update from translation team.
52682         * po/vi.po: Likewise.
52684 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52686         * resolv/nss_dns/dns-host.c: Merge copyright years.
52688 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52690         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52691         Optimize memcpy with prefetch if
52692         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52693         src, dst pointers have unequal 16 byte alignments.
52695 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52697         [BZ #13928]
52698         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52699         from a CNAME entry and return the minimum ttl for the query.
52700         (gaih_getanswer_slice): Likewise.
52702 2012-03-30  Jeff Law  <law@redhat.com>
52704         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52705         due to long keys.
52706         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52707         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52709         * resolv/nss_dns/dns-host.c: Update copyright year.
52711 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52713         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52714         requests to save a system call.  Fix check that all bytes are sent.
52716         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52717         comments for sendmmsg.
52719 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52721         [BZ #13691]
52722         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52723         with only 1 character between 0x0041 and 0x01b0.
52724         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52725         * wcsmbs/tst-mbsnrtowcs.c: New file.
52727 2012-03-29  David S. Miller  <davem@davemloft.net>
52729         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52730         small copies by hand.
52732 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52734         [BZ #13761]
52735         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52736         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52737         group memberships.
52739 2012-03-28  David S. Miller  <davem@davemloft.net>
52741         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52742         that branches into memcpy.
52743         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52744         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52745         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52746         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52747         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52748         bits.
52749         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52750         implementation too.
52751         * sysdeps/sparc/mempcpy.S: New file.
52753         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52754         the IFUNC routine in the libc case.
52755         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52757         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52758         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52759         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52760         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52761         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52762         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52763         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52764         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52766         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52767         loop to 256 bytes instead of 64 bytes and fix test signedness.
52769         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52770         * sysdeps/sparc/sparc32/Makefile: rather than here...
52771         * sysdeps/sparc/sparc64/Makefile: and here.
52773 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52775         * malloc/mallocbug.c: Avoid warnings about unused variables.
52777 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52779         [BZ #13760]
52780         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52781         in the right place. Discard and retry query if response is
52782         larger than input buffer size.
52784 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52786         [BZ #369]
52787         [BZ #2678]
52788         [BZ #3866]
52789         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52790         x for large integer exponent.
52791         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52792         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52793         sign of result as needed afterwards.
52794         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52795         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52796         result for underflowing pow the same as for overflow.
52797         (__kernel_standard_l): Handle powl overflow and underflow here
52798         rather than calling __kernel_standard.
52799         * math/libm-test.inc (pow_test): Add more tests.
52801         [BZ #3868]
52802         [BZ #13879]
52803         [BZ #13910]
52804         [BZ #13911]
52805         [BZ #13912]
52806         [BZ #13913]
52807         [BZ #13915]
52808         [BZ #13916]
52809         [BZ #13917]
52810         [BZ #13918]
52811         [BZ #13919]
52812         [BZ #13920]
52813         [BZ #13921]
52814         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52815         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52816         (__kernel_standard_l): New function.
52817         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52818         __kernel_standard.
52819         * math/w_acosl.c (__acosl): Likewise.
52820         * math/w_asinl.c (__asinl): Likewise.
52821         * math/w_atan2l.c (__atan2l): Likewise.
52822         * math/w_atanhl.c (__atanhl): Likewise.
52823         * math/w_coshl.c (__coshl): Likewise.
52824         * math/w_exp10l.c (__exp10l): Likewise.
52825         * math/w_exp2l.c (__exp2l): Likewise.
52826         * math/w_fmodl.c (__fmodl): Likewise.
52827         * math/w_hypotl.c (__hypotl): Likewise.
52828         * math/w_j0l.c (__j0l, __y0l): Likewise.
52829         * math/w_j1l.c (__j1l, __y1l): Likewise.
52830         * math/w_jnl.c (__jnl, __ynl): Likewise.
52831         * math/w_lgammal.c (__lgammal): Likewise.
52832         * math/w_log10l.c (__log10l): Likewise.
52833         * math/w_log2l.c (__log2l): Likewise.
52834         * math/w_logl.c (__logl): Likewise.
52835         * math/w_powl.c (__powl): Likewise.
52836         * math/w_remainderl.c (__remainderl): Likewise.
52837         * math/w_scalbl.c (sysv_scalbl): Likewise.
52838         * math/w_sinhl.c (__sinhl): Likewise.
52839         * math/w_sqrtl.c (__sqrtl): Likewise.
52840         * math/w_tgammal.c (__tgammal): Likewise.
52841         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52842         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52843         * math/libm-test.inc (acos_test): Add more tests.
52844         (acosh_test): Likewise.
52845         (asin_test): Likewise.
52846         (atanh_test): Likewise.
52847         (exp_test): Likewise.
52848         (exp10_test): Likewise.
52849         (exp2_test): Likewise.
52850         (expm1_test): Likewise.
52851         (lgamma_test): Likewise.
52852         (log_test): Likewise.
52853         (log10_test): Likewise.
52854         (log1p_test): Likewise.
52855         (log2_test): Likewise.
52856         (pow_test): Do not allow some spurious overflow exceptions.
52857         (sqrt_test): Add more tests.
52858         (tgamma_test): Likewise.
52859         (y0_test): Likewise.
52860         (y1_test): Likewise.
52861         (yn_test): Likewise.
52863 2012-03-27  Anton Blanchard  <anton@samba.org>
52865         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52866         MAP_HUGETLB.
52867         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52868         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52869         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52871 2012-03-27  David S. Miller  <davem@davemloft.net>
52873         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52875         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52876         have-as-vis3 check.
52878 2012-03-27  Andreas Jaeger  <aj@suse.de>
52880         * sysdeps/x86_64/elf/configure.in: Moved to ...
52881         * sysdeps/x86_64/configure.in: ... here.
52882         * sysdeps/x86_64/elf/start.S: Moved to ...
52883         * sysdeps/x86_64/start.S: ... here.
52884         * sysdeps/x86_64/elf/configure: Delete.
52886         * sysdeps/x86_64/configure.in: Merge contents from
52887         sysdeps/i386/configure.in (without i686 check).
52889         * sysdeps/i386/elf/Versions: Merge into ...
52890         * sysdeps/i386/Versions: ... this.
52891         * sysdeps/i386/elf/Versions: Delete file.
52892         * sysdeps/i386/elf/start.S: Moved to ...
52893         * sysdeps/i386/start.S: ...here.
52894         * sysdeps/i386/elf/configure.in: Merge into...
52895         * sysdeps/i386/configure.in: ...here.
52896         * sysdeps/i386/elf/configure.in: Delete file.
52897         * sysdeps/i386/elf/configure: Delete file.
52899         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52900         * debug/backtracesyms.c: ... here.
52901         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52902         * debug/backtracesymsfd.c: ... here.
52903         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52904         * sysdeps/generic/ifunc-sel.h: ... here.
52906         * sysdeps/unix/i386/start.c: Delete file.
52907         * sysdeps/unix/sparc/start.c: Delete file.
52908         * sysdeps/unix/start.c: Delete file.
52910         * sysdeps/sh/elf/configure.in: Moved to ...
52911         * sysdeps/sh/configure.in: ... here.
52912         * sysdeps/sh/elf/start.S: Moved to ...
52913         * sysdeps/sh/start.S: ... here.
52914         * sysdeps/sh/elf/configure: Delete file.
52916         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52917         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52918         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52919         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52920         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52921         * sysdeps/powerpc/powerpc64/start.S: here.
52922         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52923         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52924         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52925         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52926         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52928         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52929         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52930         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52931         * sysdeps/powerpc/powerpc32/start.S: ... here.
52932         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52933         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52934         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52936         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52937         * sysdeps/powerpc/ifunc-sel.h: ... here.
52938         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52939         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52941         * sysdeps/sparc/elf/configure.in: Moved to ...
52942         * sysdeps/sparc/configure.in: ... here.
52943         * sysdeps/sparc/elf/configure: Delete file.
52944         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52945         * sysdeps/sparc/sparc32/start.S: ... here.
52946         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52947         * sysdeps/sparc/sparc64/start.S: ... here.
52948         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52949         * sysdeps/sparc/sparc32/Makefile: ... this.
52950         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52951         * sysdeps/sparc/sparc64/Makefile: ... this.
52953         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52954         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52955         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52956         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52957         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52958         * sysdeps/s390/s390-32/setjmp.S: ... here.
52959         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52960         * sysdeps/s390/s390-32/configure.in: ... here.
52961         * sysdeps/s390/s390-32/elf/configure: Delete file.
52962         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52963         * sysdeps/s390/s390-32/start.S: ... here.
52965         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52966         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52967         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52968         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52969         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52970         * sysdeps/s390/s390-64/setjmp.S: ... here.
52971         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52972         * sysdeps/s390/s390-64/configure.in: ... here
52973         * sysdeps/s390/s390-64/elf/configure: Delete file.
52974         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52975         * sysdeps/s390/s390-64/start.S: ... here.
52976         * sysdeps/s390/s390-64/elf/configure: Delete.
52978         * configure.in: Remove support for elf directories in sysdeps.
52980         * configure: Regenerated.
52981         * sysdeps/i386/configure: Regenerated.
52982         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52983         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52984         * sysdeps/s390/s390-32/configure: Regenerated.
52985         * sysdeps/s390/s390-64/configure: Regenerated.
52986         * sysdeps/sh/configure: Regenerated.
52987         * sysdeps/sparc/configure: Regenerated.
52988         * sysdeps/x86_64/configure: Regenerated.
52990 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52994         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52995         denormal result into account.
52997 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52999         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53000         Reported by Allan McRae <allan@archlinux.org>.
53002 2012-03-23  Jeff Law  <law@redhat.com>
53004         * nss/getnssent.c (__nss_getent): Fix typo.
53006 2012-03-23  David S. Miller  <davem@davemloft.net>
53008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53010 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53012         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53013         to pad to uint64_t for each field.
53014         (dl_tls_index): Replace unsigned long with uint64_t.
53016 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53017         Paul Pluzhnikov  <ppluzhnikov@google.com>
53019         [BZ #6528]
53020         * grp/Makefile (otherlibs): Don't set it.
53021         * inet/Makefile (otherlibs): Likewise.
53022         * login/Makefile (otherlibs): Likewise.
53023         * nscd/Makefile (otherlibs): Likewise.
53024         * posix/Makefile (otherlibs): Likewise.
53025         * pwd/Makefile (otherlibs): Likewise.
53026         * rt/Makefile (otherlibs): Likewise.
53027         * sunrpc/Makefile (otherlibs): Likewise.
53028         * nss/Makefile (otherlibs): Likewise.
53029         Add libnss_files to routines and static-only-routines.
53030         ($(objpfx)getent): Remove rule.
53031         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53032         static-only-routines.
53034 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53036         [BZ #13892]
53037         * math/s_cexp.c: Include <float.h>.
53038         (__cexp): Handle exp result overflowing not necessarily
53039         overflowing both real and imaginary parts of result.
53040         * math/s_cexpf.c: Likewise.
53041         * math/s_cexpl.c: Likewise.
53042         * math/libm-test.inc (cexp_test): Add more tests.
53043         * sysdeps/i386/fpu/libm-test-ulps: Update.
53044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53046 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53048         * include/link.h (ELFW): New macro.
53049         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53050         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53052 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53054         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53055         with uint64_t.
53057 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53059         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53060         declaration.
53061         (struct La_x32_retval): Likewise.
53063 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53065         * sysdeps/x86_64/preconfigure.in: New file.
53066         * sysdeps/x86_64/preconfigure: New generated file.
53068 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53070         [BZ #13824]
53071         * math/e_exp2l.c: Include <float.h>.
53072         (__ieee754_exp2l): Handle overflow and underflow cases
53073         separately.  Only pass fractional part of argument to
53074         __ieee754_expl.
53075         * math/libm-test.inc (exp2_test): Add more tests.
53077         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53078         negating x to take absolute value.
53079         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53080         Likewise.
53081         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53082         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53083         Likewise.
53084         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53085         computing low part if x was negated.
53086         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53088 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53090         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53091         la_x32_gnu_pltexit.
53092         (pltexit): Cast int_retval to ptrdiff_t.
53093         * elf/tst-auditmod3b.c: Likewise.
53094         * elf/tst-auditmod4b.c: Likewise.
53095         * elf/tst-auditmod5b.c: Likewise.
53096         * elf/tst-auditmod6b.c: Likewise.
53097         * elf/tst-auditmod6c.c: Likewise.
53098         * elf/tst-auditmod7b.c: Likewise.
53100         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53101         and x32_gnu_pltexit.
53103         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53104         __ELF_NATIVE_CLASS.
53105         (La_x32_regs): New macro.
53106         (La_x32_retval): Likewise.
53107         (la_x32_gnu_pltenter): New function prototype.
53108         (la_x32_gnu_pltexit): Likewise.
53110 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53112         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53113         exponent.
53115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53117         * configure.in (libc_cv_cc_nofma): Check for option to disable
53118         generation of FMA instructions.
53119         * configure: Regenerate.
53120         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53121         * sysdeps/ieee754/dbl-64/Makefile: New file.
53122         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53123         Remove brandred-fma4.
53124         (CFLAGS-brandred-fma4.c): Remove.
53125         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53126         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53127         define.
53128         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53129         define.
53131 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53133         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53134         LLONG_MAX != LONG_MAX.
53135         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53136         (_fitoa_word): Likewise.
53137         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53138         LLONG_MAX != LONG_MAX.
53139         * stdio-common/_itowa.h: Include <_itoa.h>.
53140         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53141         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53142         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53143         only if not defined.
53144         (_ITOA_WORD_TYPE): Likewise.
53145         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53146         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53148 2012-03-21  David S. Miller  <davem@davemloft.net>
53150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53152 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53154         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53155         of x86_64 when setting libc_cv_slibdir, libdir and
53156         libc_cv_localedir.
53157         * sysdeps/unix/sysv/linux/configure: Regenerated.
53159 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53161         * manual/lang.texi (Old Varargs): Remove section.
53162         (How Variadic): Update menu.
53163         (va_start): Do not mention varargs.h.
53165 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53166             Joseph Myers  <joseph@codesourcery.com>
53168         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53169         link test.
53170         * configure: Regenerated.
53172 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53174         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53175         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53176         conformtest.pl
53178 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53180         * NOTES: Remove.
53181         * Makefile (files-for-dist): Remove NOTES.
53182         (NOTES): Remove rule.
53183         * README: Don't refer to NOTES.
53184         * manual/creature.texi: Don't include macros.texi.
53185         * manual/intro.texi (creature.texi): Remove comment referring to
53186         NOTES.
53188         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53189         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53190         * configure: Regenerated.
53191         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53192         LIBC_TRY_CC_OPTION.
53193         (libc_cv_as_i686): Likewise.
53194         (libc_cv_cc_avx): Likewise.
53195         (libc_cv_cc_sse2avx): Likewise.
53196         (libc_cv_cc_fma4): Likewise.
53197         (libc_cv_cc_novzeroupper): Likewise.
53198         * sysdeps/i386/configure: Regenerated.
53200         [BZ #13883]
53201         * sysdeps/i386/fpu/s_cexp.S: Remove.
53202         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53203         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53204         * math/libm-test.inc (cexp_test): Add more tests.
53205         * sysdeps/i386/fpu/libm-test-ulps: Update.
53206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53208 2012-03-21  Allan McRae  <allan@archlinux.org>
53210         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53212 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53214         [BZ #13871]
53215         * math/w_exp2.c: Do not include <float.h>.
53216         (o_threshold, u_threshold): Remove.
53217         (__exp2): Calculate result before checking finiteness and calling
53218         __kernel_standard.
53219         * math/w_exp2f.c: Likewise.
53220         * math/w_exp2l.c: Likewise.
53221         * math/libm-test.inc (exp2_test): Require overflow exception for
53222         1e6 input.
53224         [BZ #3866]
53225         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53226         range of signed 64-bit integers before using fistpll.  Remove
53227         checks for whether integers fit in mantissa bits.
53228         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53229         the range of signed 32-bit integers before using fistpl.  Remove
53230         checks for whether integers fit in mantissa bits.
53231         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53232         (__ieee754_powl): Test for y outside the range of signed 64-bit
53233         integers before using fistpll.  Reduce 64-bit values to 63-bit
53234         ones as needed.
53235         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53236         divide-by-zero is raised for zero to large negative powers.
53237         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53238         (__ieee754_powl): Test for y outside the range of signed 64-bit
53239         integers before using fistpll.  Reduce 64-bit values to 63-bit
53240         ones as needed.
53241         * math/libm-test.inc (pow_test): Add more tests.
53243 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53245         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53246         <stdio-common/_itoa.h>.
53247         * debug/segfault.c: Likewise.
53248         * elf/dl-cache.c: Likewise.
53249         * elf/dl-minimal.c: Likewise.
53250         * elf/dl-misc.c: Likewise.
53251         * elf/dl-sysdep.c: Likewise.
53252         * elf/dl-version.c: Likewise.
53253         * elf/rtld.c: Likewise.
53254         * hurd/hurdsock.c: Likewise.
53255         * hurd/lookup-retry.c: Likewise.
53256         * malloc/malloc.c: Likewise.
53257         * malloc/mtrace.c: Likewise.
53258         * nscd/nscd_getgr_r.c: Likewise.
53259         * nscd/nscd_getpw_r.c: Likewise.
53260         * nscd/nscd_getserv_r.c: Likewise.
53261         * posix/getopt_init.c: Likewise.
53262         * posix/wordexp.c: Likewise.
53263         * stdio-common/_itoa.c: Likewise.
53264         * stdio-common/printf_fphex.c: Likewise.
53265         * stdio-common/vfprintf.c: Likewise.
53266         * string/_strerror.c: Likewise.
53267         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53268         * sysdeps/i386/i686/hp-timing.h: Likewise.
53269         * sysdeps/mach/_strerror.c: Likewise.
53270         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53271         * sysdeps/mach/hurd/sethostid.c: Likewise.
53272         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53273         * sysdeps/mach/xpg-strerror.c: Likewise.
53274         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53275         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53276         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53277         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53278         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53279         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53280         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53281         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53282         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53283         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53284         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53285         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53286         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53287         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53288         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53289         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53290         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53291         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53292         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53293         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53294         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53296         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53298         * stdio-common/_itoa.h: Moved to ...
53299         * sysdeps/generic/_itoa.h: Here.
53301         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53303         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53304         instead of "_itoa.h" and "_itowa.h".
53305         * stdio-common/vfprintf.: Likewise.
53307 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53309         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53310         <bits/wordsize.h>.
53311         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53312         (__signbit): Likwise.
53313         (llrintf): Likwise.
53314         (llrint): Likwise.
53316 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53318         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53319         __WORDSIZE != 64.
53321 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53323         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53324         OVERFLOW_EXCEPTION_OK.
53325         * math/libm-test.inc ("Philosophy"): Update comment about
53326         exception testing.
53327         (OVERFLOW_EXCEPTION): Define.
53328         (OVERFLOW_EXCEPTION_OK): Likewise.
53329         (INVALID_EXCEPTION_OK): Renumber.
53330         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53331         (IGNORE_ZERO_INF_SIGN): Likewise.
53332         (test_exceptions): Handle FE_OVERFLOW.
53333         (exp10_test): Expect overflow exceptions.
53334         (exp2_test): Likewise.
53335         (expm1_test): Likewise.
53336         (nextafter_test): Likewise.
53337         (pow_test): Likewise.
53338         (scalbn_test): Likewise.
53339         (scalbln_test): Likewise.
53341 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53343         * sysdeps/x86_64/bits/atomic.h
53344         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53345         64bit integer.
53346         (atomic_exchange_acq): Likewise.
53347         (__arch_exchange_and_add_body): Likewise.
53348         (__arch_add_body): Likewise.
53349         (atomic_add_negative): Likewise.
53350         (atomic_add_zero): Likewise.
53352 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53354         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53355         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53357 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53359         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53360         Check __x86_64__ instead of __WORDSIZE.
53362 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53364         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53366 2012-03-19  David S. Miller  <davem@davemloft.net>
53368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53370         * sysdeps/sparc/fpu/fenv_private.h: New file.
53371         * sysdeps/sparc/fpu/math_private.h: Use it.
53372         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53373         Remove.
53374         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53375         (libc_feholdexcept_setroundl): Remove.
53376         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53377         Remove.
53378         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53379         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53381 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53383         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53384         int64_t instead of long int.
53385         (INSERT_WORDS64): Likwise.
53387 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53389         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53390         _Unwind_GetCFA return to _Unwind_Ptr first.
53392 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53394         [BZ #13629]
53395         * math/s_clog.c: Include <float.h>.
53396         (__clog): Scale large or subnormal inputs.
53397         * math/s_clogf.c: Likewise.
53398         * math/s_clogl.c: Likewise.
53399         * math/s_clog10.c: Include <float.h>.
53400         (M_LOG10_2): Define.
53401         (__clog10): Scale large or subnormal inputs.
53402         * math/s_clog10f.c: Likewise.
53403         * math/s_clog10l.c: Likewise.
53404         * math/libm-test.inc (clog_test): Add more tests.
53405         (clog10_test): Likewise.
53406         * sysdeps/i386/fpu/libm-test-ulps: Update.
53407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53409         [BZ #11451]
53410         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53411         x and y.
53412         * math/libm-test.inc (atan2_test): Add another test.
53414         * Makerules (common-objdir-compile): Remove.
53415         * sysdeps/unix/Makefile (config-generated): Do not add
53416         $(unix-generated) to variable.
53417         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53418         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53419         Remove rule.
53420         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53421         Likewise.
53422         [generic bits/local_lim.h] (before-compile): Do not append to
53423         variable.
53424         [generic bits/local_lim.h] (common-generated): Likewise.
53425         [generic sys/param.h] (before-compile): Do not append to variable.
53426         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53427         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53428         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53429         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53430         include.
53431         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53432         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53433         [generic sys/param.h] ($(addprefix
53434         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53435         [generic sys/param.h] (common-generated): Do not append to
53436         variable.
53437         [generic sys/param.h] (sysdep_headers): Likewise.
53438         [generic bits/errno.h] (before-compile): Do not append to
53439         variable.
53440         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53441         rule.
53442         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53443         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53444         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53445         [generic bits/errno.h] (common-generated): Do not append to
53446         variable.
53447         [generic bits/ioctls.h] (before-compile): Do not append to
53448         variable.
53449         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53450         rule.
53451         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53452         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53453         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53454         rule.
53455         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53456         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53457         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53458         [generic bits/ioctls.h] (common-generated): Do not append to
53459         variable.
53460         [generic sys/syscall.h] (syscall.h): Remove variable.
53461         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53462         rule.
53463         [generic sys/syscall.h] (before-compile): Do not append to
53464         variable.
53465         [generic sys/syscall.h] (common-generated): Likewise.
53466         * sysdeps/unix/errnos-tmpl.c: Remove file.
53467         * sysdeps/unix/errnos.awk: Likewise.
53468         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53469         * sysdeps/unix/ioctls.awk: Likewise.
53470         * sysdeps/unix/mk-local_lim.c: Likewise.
53471         * sysdeps/unix/snarf-ioctls: Likewise.
53473 2012-03-19  Richard Henderson  <rth@twiddle.net>
53475         * sysdeps/i386/fpu/fenv_private.h: New file.
53476         * sysdeps/i386/fpu/math_private.h: Use it.
53477         (math_opt_barrier, math_force_eval): Remove.
53478         (libc_feholdexcept_setround_53bit): Remove.
53479         (libc_feupdateenv_53bit): Remove.
53480         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53481         (math_opt_barrier, math_force_eval): Remove.
53482         (libc_feholdexcept): Remove.
53483         (libc_feholdexcept_setround): Remove.
53484         (libc_fetestexcept, libc_fesetenv): Remove.
53485         (libc_feupdateenv_test): Remove.
53486         (libc_feupdateenv, libc_feholdsetround): Remove.
53487         (libc_feresetround): Remove.
53489         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53490         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53492         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53493         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53494         (libc_feupdateenv_testl): New.
53495         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53496         (libc_feupdateenv_testf): New.
53497         (libc_feupdateenv): Use libc_feupdateenv_test.
53498         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53499         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53501         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53502         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53503         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53504         (libc_feresetround_noex): New.
53505         (libc_feresetround_noexf): New.
53506         (libc_feresetround_noexl): New.
53507         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53508         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53509         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53510         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53511         SET_RESTORE_ROUND.
53512         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53513         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53514         (__cos): Likewise.
53515         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53516         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53517         SET_RESTORE_ROUND_NOEX.
53518         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53519         SET_RESTORE_ROUND_NOEXF.
53520         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53521         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53522         (libc_feholdsetroundf): New.
53523         (libc_feresetround, libc_feresetroundf): New.
53525         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53526         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53527         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53529         * sysdeps/generic/math_private.h: Include <fenv.h>.
53530         (default_libc_feholdexcept): New.
53531         (default_libc_feholdexcept_setround): New.
53532         (default_libc_fesetenv, default_libc_feupdateenv): New.
53533         (libc_feholdexcept): Only define if undefined.
53534         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53535         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53536         (libc_feholdexcept_setroundl): Likewise.
53537         (libc_feholdexcept_setround_53bit): Likewise.
53538         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53539         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53540         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53541         (libc_feupdateenv_53bit): Likewise.
53542         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53543         (libc_feholdexcept): Convert from macro to inline function.
53544         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53545         (libc_fesetenv, libc_feupdateenv): Likewise.
53547         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53548         not previously defined.
53549         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53550         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53551         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53552         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53553         * sysdeps/ieee754/flt-32/math_private.h: New file.
53554         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53555         math_private.h below SET_FLOAT_WORD.
53556         (__isnan, __isinf_ns, __finite): Remove.
53557         (__isnanf, __isinf_nsf, __finitef): Remove.
53559 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53563 2012-03-17  David S. Miller  <davem@davemloft.net>
53565         [BZ #6471]
53566         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53567         for 2.16.
53569 2012-03-16  David S. Miller  <davem@davemloft.net>
53571         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53572         warnings.
53574         [BZ #6471]
53575         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53576         properly.
53577         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53578         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53579         sysdep_routines when subdir is sysvipc.
53580         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53581         __getshmlba helper.
53583         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53585 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53587         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53588         [__LP64__].
53590 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53592         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53593         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53594         (__lround): Renamed to ...
53595         (__llround): This.  Replace long int with long long int.
53596         Define lround functions as aliases of llround functions.
53597         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53599 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53601         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53602         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53603         adresses to uintptr_t.  Replace "long int" and "unsigned long
53604         int" with "greg_t" on va_arg.
53606 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53608         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53609         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53611         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53612         Move e_machine check before EI_CLASS check.  Handle x32
53613         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53614         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53615         SKIP_EM_IA_64 and include
53616         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53618         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53619         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53620         (add_system_dir): New macro.
53622         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53623         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53625 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53627         [BZ #2551]
53628         [BZ #2552]
53629         [BZ #2553]
53630         [BZ #2554]
53631         [BZ #2562]
53632         [BZ #2563]
53633         [BZ #2565]
53634         [BZ #2566]
53635         [BZ #2576]
53636         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53637         (y0): Likewise.
53638         * math/w_j0f.c (j0f): Likewise.
53639         (y0f): Likewise.
53640         * math/w_j0l.c (__j0l): Likewise.
53641         (__y0l): Likewise.
53642         * math/w_j1.c (j1): Likewise.
53643         (y1): Likewise.
53644         * math/w_j1f.c (j1f): Likewise.
53645         (y1f): Likewise.
53646         * math/w_j1l.c (__j1l): Likewise.
53647         (__y1l): Likewise.
53648         * math/w_jn.c (jn): Likewise.
53649         (yn): Likewise.
53650         * math/w_jnf.c (jnf): Likewise.
53651         (ynf): Likewise.
53652         * math/w_jnl.c (__jnl): Likewise.
53653         (__ynl): Likewise.
53654         * math/libm-test.inc (j0_test): Add more tests.
53655         (j1_test): Likewise.
53656         (jn_test): Likewise.  Add trailing semicolon to existing test.
53657         (y0_test): Likewise.
53658         (y1_test): Likewise.
53659         * sysdeps/i386/fpu/libm-test-ulps: Update.
53660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53662         [BZ #13851]
53663         [BZ #13854]
53664         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53665         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53666         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53667         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53668         (__tanl): Set errno for infinite argument.
53669         * sysdeps/i386/fpu/mptan.c: Remove.
53670         * sysdeps/i386/fpu/s_tan.S: Likewise.
53671         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53672         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53673         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53674         * math/libm-test.inc (tan_test): Add more tests and enable more
53675         tests for double and long double.
53676         * sysdeps/i386/fpu/libm-test-ulps: Update.
53677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53679 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53681         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53682         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53684 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53686         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53687         * configure.in: Use it for both main tree and add-ons.
53688         * configure: Regenerated.
53690 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53692         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53694 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53696         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53697         in comment.
53699         [BZ #13851]
53700         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53701         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53702         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53703         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53704         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53705         infinite argument.
53706         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53707         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53708         != 0 for prec == 2.
53709         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53710         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53711         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53712         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53713         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53714         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53715         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53716         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53717         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53718         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53719         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53720         * math/libm-test.inc (cos_test): Add more tests and enable more
53721         tests for long double.
53722         (sin_test): Likewise.
53723         (sincos_test): Likewise.
53724         * sysdeps/i386/fpu/libm-test-ulps: Update.
53725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53727 2012-03-16  David S. Miller  <davem@davemloft.net>
53729         * sysdeps/sparc/fpu/math_private.h: New file.
53731 2012-03-15  David S. Miller  <davem@davemloft.net>
53733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53734         file.
53735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53737         file.
53738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53743         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53744         sysdep routines.
53745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53747         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53748         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53750         * sysdeps/sparc/sparc-ifunc.h: New file.
53751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53752         sparc-ifunc.h
53753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53755         Likewise.
53756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53757         Likewise.
53758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53762         Likewise.
53763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53768         Likewise.
53769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53770         Likewise.
53771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53775         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53776         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53777         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53778         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53782         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53783         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53784         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53788         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53789         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53790         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53791         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53792         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53793         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53794         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53796 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53798         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53799         scaling.
53800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53802 2012-03-15  Andreas Jaeger  <aj@suse.de>
53804         [BZ #13852]
53805         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53806         ieee754/flt-32 implementation for sin, cos and sincos.
53807         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53808         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53809         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53810         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53811         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53812         ieee754/flt-32 implementation for tan.
53814         * math/libm-test.inc (cos_test): Enable some large input tests for
53815         float as well
53816         (sin_test): Likewise.
53817         (sincos_test): Likewise.
53818         (tan_test): Add tests for large input.
53820         * sysdeps/i386/fpu/libm-test-ulps: Update.
53822 2012-03-15  Andreas Jaeger  <aj@suse.de>
53824         [BZ #13658]
53825         * math/libm-test.inc (cos_test): Add more test cases.
53826         (sin_test): Likewise.
53827         (sincos_test): Likewise.
53829 2012-03-15  Andreas Jaeger  <aj@suse.de>
53831         [BZ #13837]
53832         * math/libm-test.inc (cos_test): Add a test case for large input
53833         value.
53834         (sin_test): Likewise.
53835         (sincos_test): Likewise.
53837 2012-03-15  Andreas Jaeger  <aj@suse.de>
53838             Joseph Myers  <joseph@codesourcery.com>
53840         [BZ #13658]
53841         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53842         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53843         * sysdeps/i386/fpu/branred.c: Likewise.
53844         * sysdeps/i386/fpu/dosincos.c: Likewise.
53845         * sysdeps/i386/fpu/mpa.c: Likewise.
53846         * sysdeps/i386/fpu/s_cos.S: Likewise.
53847         * sysdeps/i386/fpu/s_sin.S: Likewise.
53848         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53849         * sysdeps/i386/fpu/sincos32.c: Likewise.
53851         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53852         Define.
53853         (libc_feupdateenv_53bit): Define.
53854         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53855         Define.
53856         (libc_feupdateenv_53bit): Define.
53858         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53859         53 bit (without extend i386 double precision).
53861         * math/libm-test.inc (sincos_test): Add tests for large input.
53862         (sin): Likewise.
53863         (cos): Likewise.
53865         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53867 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53871 2012-03-15  David S. Miller  <davem@davemloft.net>
53873         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53874         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53875         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53876         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53881         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53882         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53884         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53885         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53889         file.
53890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53892         file.
53893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53895         file.
53896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53898         file.
53899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53900         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53901         fmin/fmax sysdep routines.
53902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53904 2012-03-14  David S. Miller  <davem@davemloft.net>
53906         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53907         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53908         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53909         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53910         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53911         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53912         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53913         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53914         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53915         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53916         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53917         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53918         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53919         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53920         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53921         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53922         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53923         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53924         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53925         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53926         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53927         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53928         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53929         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53930         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53931         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53932         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53933         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53934         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53935         routines.
53936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53937         file.
53938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53940         file.
53941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53943         file.
53944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53946         file.
53947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53949         file.
53950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53952         file.
53953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53954         file.
53955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53956         file.
53957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53958         file.
53959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53960         New file.
53961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53962         file.
53963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53964         file.
53965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53967         file.
53968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53970         file.
53971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53973         file.
53974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53976         VIS3 routines.
53978         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53979         New file.
53981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53983         * sysdeps/sparc/configure.in: New file.
53984         * sysdeps/sparc/configure: Generate.
53985         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53986         * configure: Regenerate.
53987         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53988         * config.make.in (have-as-vis3): New.
53989         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53990         available use -Av9d instead of -Av9a.
53991         * sysdeps/sparc/sparc64/Makefile: Likewise.
53992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53994         New file.
53995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53996         file.
53997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53998         New file.
53999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54000         file.
54001         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54002         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54003         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54004         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54005         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54007         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54008         fzeros/fnegs to load 0x80000000 into a float register instead of
54009         using the stack.
54010         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54012 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54015         bits/syscall.h.
54016         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54017         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54018         ($(inst_includedir)/bits/syscall.h): Remove rule.
54019         ($(objpfx)bits/syscall.d): Include instead of
54020         $(objpfx)syscall-list.d.
54021         (generated): Change syscall-list.h and syscall-list.d to
54022         bits/syscall.h and bits/syscall.d.
54024 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54026         [BZ #13846]
54027         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54029 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54031         [BZ #13841]
54032         * math/s_csqrt.c: Include <float.h>.
54033         (__csqrt): Scale large or subnormal inputs.
54034         * math/s_csqrtf.c: Likewise.
54035         * math/s_csqrtl.c: Likewise.
54036         * math/libm-test.inc (csqrt_test): Add more tests.
54037         * sysdeps/i386/fpu/libm-test-ulps: Update.
54038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54040         [BZ #13840]
54041         * math/libm-test.inc (hypot_test): Add more tests.
54043 2012-03-13  David S. Miller  <davem@davemloft.net>
54045         [BZ #13840]
54046         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54047         double-precision for the calculation instead of scaling.
54049 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54051         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54052         manipulate bits before adding and subtracting TWO52[sx].
54053         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54054         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54055         Likewise.
54056         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54058 2012-03-13  David S. Miller  <davem@davemloft.net>
54060         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54061         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54062         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54063         rtld-global-offsets.h
54064         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54066         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54067         large parameters.
54069         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54071         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54072         'err' in the ifdef scope in which it is actually used.
54074         * nss/nss_db/db-init.c: Include string.h
54076 2012-03-12  David S. Miller  <davem@davemloft.net>
54078         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54079         masking out of the most significant byte of random value used.
54080         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54081         Fix coding style in previous change.
54083         * sysdeps/unix/sysv/linux/kernel-features.h
54084         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54085         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54086         expression.
54087         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54088         later.
54090 2012-03-11  David S. Miller  <davem@davemloft.net>
54092         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54093         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54094         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54095         for 'resultvar' otherwise things get truncated on 64-bit.
54097         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54098         Fix masking out of the most significant byte of random value used.
54100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54102 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54106 2012-03-09  David S. Miller  <davem@davemloft.net>
54108         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54109         variables with appropriate CPP guards.
54110         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54111         from the frame pointer, not the stack pointer.  Correct layout
54112         comments.  Fix test on resulting framesize and the management of
54113         the outregs buffer for pltexit.  Preserve floating point return
54114         values across _dl_call_pltexit call.
54115         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54116         framesize and the management of the outregs buffer for pltexit.
54117         Preserve floating point return values across _dl_call_pltexit
54118         call.
54119         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54120         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54121         (la_sparc64_gnu_pltexit): New functions.
54122         (print_exit): Fix format string for return register value.
54124 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54126         * sunrpc/Makefile (others): Add rpcgen.
54127         ($(objpfx)rpcgen): Remove special build rule and dependency on
54128         libc.
54129         * sunrpc/rpcgen.c: New file.
54131 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54133         [BZ #13673]
54134         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54135         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54136         * sysdeps/i386/crti.S: Likewise.
54137         * sysdeps/i386/crtn.S: Likewise.
54138         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54139         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54140         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54141         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54142         * sysdeps/sh/crti.S: Likewise.
54143         * sysdeps/sh/crtn.S: Likewise.
54144         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54146         [BZ #13673]
54147         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54148         with URL.
54149         * locale/programs/locfile-kw.gperf: Likewise.
54150         * locale/programs/charmap-kw.h: Regenerated.
54151         * locale/programs/locfile-kw.h: Likewise.
54153         [BZ #13673]
54154         * intl/plural.y: Replace FSF snail mail address with URL.
54155         * intl/plural.c: Regenerated.
54157 2012-03-09  Richard Henderson  <rth@twiddle.net>
54159         * include/math_private.h: Remove file.
54160         * math/math_private.h: Move file ...
54161         * sysdeps/generic/math_private.h: ... here.
54163         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54164         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54165         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54167         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54168         and <math_private.h>.
54169         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54170         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54171         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54172         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54173         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54174         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54175         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54176         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54177         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54178         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54179         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54180         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54181         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54182         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54183         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54184         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54185         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54186         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54187         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54188         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54189         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54190         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54191         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54193         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54194         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54195         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54196         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54197         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54198         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54199         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54200         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54201         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54202         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54203         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54204         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54205         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54206         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54207         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54208         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54209         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54210         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54211         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54212         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54213         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54214         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54215         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54216         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54217         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54218         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54219         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54220         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54221         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54222         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54223         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54224         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54225         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54226         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54227         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54228         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54229         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54230         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54231         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54232         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54233         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54234         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54235         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54236         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54237         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54238         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54239         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54240         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54241         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54242         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54243         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54244         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54245         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54246         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54247         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54248         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54249         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54250         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54251         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54252         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54253         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54254         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54255         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54256         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54257         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54258         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54259         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54260         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54261         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54262         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54263         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54264         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54265         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54266         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54267         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54268         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54269         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54270         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54271         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54272         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54273         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54274         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54275         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54276         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54277         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54278         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54279         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54280         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54281         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54282         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54283         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54284         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54285         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54286         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54287         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54288         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54289         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54290         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54291         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54292         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54293         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54294         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54295         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54296         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54297         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54298         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54299         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54300         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54301         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54302         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54303         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54304         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54305         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54306         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54307         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54308         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54309         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54310         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54311         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54312         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54313         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54314         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54315         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54316         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54317         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54318         * sysdeps/ieee754/k_standard.c: Likewise.
54319         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54320         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54321         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54322         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54323         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54324         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54325         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54326         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54327         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54328         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54329         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54330         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54331         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54332         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54333         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54334         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54335         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54336         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54337         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54338         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54339         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54340         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54341         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54342         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54343         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54344         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54345         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54346         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54347         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54348         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54349         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54350         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54351         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54352         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54353         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54354         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54355         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54356         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54357         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54358         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54359         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54360         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54361         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54362         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54363         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54364         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54365         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54366         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54367         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54368         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54369         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54370         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54371         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54372         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54373         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54374         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54375         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54376         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54377         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54378         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54379         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54380         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54381         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54382         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54383         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54384         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54385         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54386         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54387         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54388         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54389         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54390         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54391         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54392         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54393         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54394         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54395         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54396         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54397         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54398         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54399         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54400         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54401         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54402         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54403         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54404         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54405         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54406         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54407         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54408         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54409         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54410         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54411         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54412         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54413         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54414         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54415         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54416         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54417         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54418         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54419         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54420         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54421         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54422         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54423         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54424         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54425         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54426         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54427         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54428         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54429         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54430         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54431         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54432         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54433         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54434         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54435         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54436         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54437         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54438         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54439         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54440         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54441         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54442         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54443         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54444         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54445         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54446         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54447         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54448         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54449         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54450         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54451         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54452         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54453         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54454         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54455         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54456         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54457         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54458         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54459         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54460         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54461         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54462         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54463         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54464         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54465         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54466         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54467         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54468         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54469         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54470         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54471         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54472         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54473         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54474         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54475         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54476         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54477         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54478         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54479         * sysdeps/ieee754/s_lib_version.c: Likewise.
54480         * sysdeps/ieee754/s_matherr.c: Likewise.
54481         * sysdeps/ieee754/s_signgam.c: Likewise.
54482         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54483         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54484         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54485         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54486         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54487         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54488         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54489         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54490         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54491         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54492         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54493         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54494         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54495         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54496         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54497         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54498         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54499         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54500         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54501         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54502         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54504 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54506         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54507         * sunrpc/rpc_main.c: Likewise.
54508         * sunrpc/rpc_svcout.c: Likewise.
54510 2012-03-09  David S. Miller  <davem@davemloft.net>
54512         * include/math_private.h: New file.
54514 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54516         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54517         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54518         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54519         from <bits/socket_type.h>.
54520         (enum __socket_type): Don't define here.
54521         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54523         bits/socket_type.h.
54525         [BZ #13566]
54526         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54527         checking __USE_GNU.
54529         * Makerules ($(inst_includedir)/%.h): New rule.
54530         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54531         (install-others): Remove variable setting.
54532         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54534 2012-03-08  Richard Henderson  <rth@twiddle.net>
54536         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54537         from macro to inline function; merge with the
54538         !__LIBC_INTERNAL_MATH_INLINES version.
54539         (__ieee754_sqrtf): Likewise.
54541         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54542         to inline function.
54543         (__rintf, __floor, __floorf): Likewise.
54545         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54546         macro to inline function.
54547         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54549         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54550         not <math/math_private.h>.
54552 2012-03-08  David S. Miller  <davem@davemloft.net>
54554         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54555         copyright year.
54556         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54558 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54560         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54561         normalization.
54562         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54563         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54565 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54567         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54568         be defined individually, they must be defined as a block.  Define
54569         S for printing a string instead of hidint the different by using a
54570         macro for adding the 'l'.
54571         * stdio-common/tst-fphex-wide.c: Adjust.
54573 2012-03-07  Marek Polacek  <polacek@redhat.com>
54575         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54577 2012-03-08  Marek Polacek  <polacek@redhat.com>
54579         [BZ #13806]
54580         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54581         * stdio-common/tst-fphex.c: Define a few macros to make the
54582         test reusable.  Use them.
54583         * stdio-common/tst-fphex-wide.c: New file.
54585 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54587         [BZ #6911]
54588         * manual/macros.texi (gnusystems): New macro.
54589         (nongnusystems): Likewise.
54590         (gnulinuxhurdsystems): Likewise.
54591         (gnuhurdsystems): Likewise..
54592         (gnulinuxsystems): Likewise.
54593         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54594         variants of the GNU system, not "GNU system".
54595         * manual/conf.texi: Likewise.
54596         * manual/errno.texi: Likewise.  Update example of errno macro
54597         expansion.
54598         * manual/filesys.texi: Likewise.
54599         (getumask): Document as specific to GNU/Hurd.
54600         * manual/install.texi: Likewise.  Reword some references to
54601         GNU/Linux.
54602         * manual/intro.texi: Likewise.
54603         * manual/io.texi: Likewise.
54604         (File Name Portability): Detail which constraints are inapplicable
54605         to all GNU systems and which are only inapplicable to GNU/Hurd.
54606         * manual/job.texi: Likewise.
54607         * manual/llio.texi: Likewise.
54608         (O_NOCTTY): Document as present on GNU/Linux.
54609         * manual/maint.texi: Likewise.
54610         * manual/memory.texi: Likewise.
54611         * manual/pattern.texi: Likewise.
54612         * manual/pipe.texi: Likewise.
54613         * manual/process.texi: Likewise.
54614         * manual/resource.texi: Likewise.
54615         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54616         child on GNU/Hurd.
54617         * manual/setjmp.texi: Likewise.
54618         * manual/signal.texi: Likewise.
54619         * manual/startup.texi: Likewise.
54620         * manual/stdio.texi: Likewise.
54621         * manual/terminal.texi: Likewise.
54622         (ONLCR): Document as POSIX.
54623         (OXTABS): Document availability on GNU/Linux as XTABS.
54624         (ONOEOT): Document availability separately from other bits.
54625         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54626         * manual/time.texi: Likewise.
54627         * manual/users.texi: Likewise.
54628         * INSTALL: Regenerated.
54629         * sysdeps/gnu/errlist.c: Regenerated.
54631         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54632         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54633         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54634         puts.
54635         * configure: Regenerated.
54637 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54639         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54640         default includes instead of AC_HEADER_CHECK.
54641         * sysdeps/i386/configure: Regenerated.
54643         [BZ #10716]
54644         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54645         * math/s_cacoshf.c (__cacoshf): Likewise.
54646         * math/s_cacoshl.c (__cacoshl): Likewise.
54647         * math/s_casinh.c (__casinh): Set signs of result from argument.
54648         * math/s_casinhf.c (__casinhf): Likewise.
54649         * math/s_casinhl.c (__casinhl): Likewise.
54650         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54651         (casinh_test): Add more tests.
54652         * sysdeps/i386/fpu/libm-test-ulps: Update.
54653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54655 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54657         * po/zh_TW.po: Update from translation team.
54659         * login/Makefile (distribute): Remove variable.
54660         * catgets/Makefile: Likewise.
54661         * mach/Makefile: Likewise.
54662         * malloc/Makefile: Likewise.
54663         * misc/Makefile: Likewise.
54664         * iconv/Makefile: Likewise.
54665         * nscd/Makefile: Likewise.
54666         * hurd/Makefile: Likewise.
54667         * manual/Makefile: Likewise.
54668         * locale/Makefile: Likewise.
54669         * intl/Makefile: Likewise.
54670         * conform/Makefile: Likewise.
54671         * nss/Makefile: Likewise.
54672         * time/Makefile: Likewise.
54673         * soft-fp/Makefile: Likewise.
54674         * dirent/Makefile: Likewise.
54675         * gmon/Makefile: Likewise.
54676         * po/Makefile: Likewise.
54677         * rt/Makefile: Likewise.
54678         * socket/Makefile: Likewise.
54679         * math/Makefile: Likewise.
54680         * signal/Makefile: Likewise.
54681         * debug/Makefile: Likewise.
54682         * elf/Makefile: Likewise.
54683         * timezone/Makefile: Likewise.
54684         * stdlib/Makefile: Likewise.
54685         * iconvdata/Makefile: Likewise.
54686         * sunrpc/Makefile: Likewise.
54687         * io/Makefile: Likewise.
54688         * argp/Makefile: Likewise.
54689         * inet/Makefile: Likewise.
54690         * hesiod/Makefile: Likewise.
54691         * grp/Makefile: Likewise.
54692         * csu/Makefile: Likewise.
54693         * wctype/Makefile: Likewise.
54694         * crypt/Makefile: Likewise.
54695         * libio/Makefile: Likewise.
54696         * string/Makefile: Likewise.
54697         * nis/Makefile: Likewise.
54698         * resolv/Makefile: Likewise.
54699         * stdio-common/Makefile: Likewise.
54700         * wcsmbs/Makefile: Likewise.
54701         * dlfcn/Makefile: Likewise.
54702         * posix/Makefile: Likewise.
54704         [BZ #6959]
54705         * timezone/Makefile: Don't install timezone files, just the programs
54706         and scripts.
54708 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54710         * nss/databases.def: Add missing gshadow entry.
54712         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54714 2012-03-06  Marek Polacek  <polacek@redhat.com>
54716         [BZ #13726]
54717         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54718         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54719         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54720         * stdio-common/tst-long-dbl-fphex.c: New file.
54722 2012-03-06  David S. Miller  <davem@davemloft.net>
54724         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54725         (set_obp_int): New function.
54726         (get_obp_int): New function.
54727         (__get_clockfreq_via_dev_openprom): Likewise.
54728         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54729         Avoid unused variable warnings on 'val' and use builtin_expect.
54730         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54731         __builtin_expect.
54732         (INLINE_CLONE_SYSCALL): Likewise.
54734 2012-03-05  David S. Miller  <davem@davemloft.net>
54736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54738 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54742         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54743         only for |x| >= 40.
54744         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54746 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54748         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54749         Replace gettimeofday with __vdso_gettimeofday.
54751         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54752         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54753         __vdso_clock_gettime and __vdso_getcpu.
54755         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54756         time with __vdso_time.
54758 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54760         * manual/lang.texi (size_t): Note types to which size_t may be
54761         equivalent with the GNU C Library, but do not describe when
54762         differences between them are significant.
54764 2012-03-05  Andreas Jaeger  <aj@suse.de>
54766         * sysdeps/i386/fpu/libm-test-ulps: Update.
54768 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54770         [BZ #3976]
54771         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54772         (__ieee754_pow): Save and restore rounding mode and use
54773         round-to-nearest for main computations.
54774         * math/libm-test.inc (pow_test_tonearest): New function.
54775         (pow_test_towardzero): Likewise.
54776         (pow_test_downward): Likewise.
54777         (pow_test_upward): Likewise.
54778         (main): Call the new functions.
54779         * sysdeps/i386/fpu/libm-test-ulps: Update.
54780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54782         [BZ #3976]
54783         * math/libm-test.inc (cosh_test_tonearest): New function.
54784         (cosh_test_towardzero): Likewise.
54785         (cosh_test_downward): Likewise.
54786         (cosh_test_upward): Likewise.
54787         (sinh_test_tonearest): Likewise.
54788         (sinh_test_towardzero): Likewise.
54789         (sinh_test_downward): Likewise.
54790         (sinh_test_upward): Likewise.
54791         (main): Call the new functions.
54792         * sysdeps/i386/fpu/libm-test-ulps: Update.
54793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54795 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54797         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54798         default stack guard is set in last bytes.
54799         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54801 2012-03-05  Kees Cook  <keescook@chromium.org>
54803         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54805         [BZ #13656]
54806         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54807         possibly allocate from heap instead of stack.
54808         * stdio-common/bug-vfprintf-nargs.c: New file.
54809         * stdio-common/Makefile (tests): Add nargs overflow test.
54811 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54815 2012-03-03  Marek Polacek  <polacek@redhat.com>
54817         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54818         * math/math_private.h: Likewise.
54819         * stdlib/tst-strtod.c: Likewise.
54820         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54821         * sysdeps/x86_64/bits/atomic.h: Likewise.
54823 2012-03-02  David S. Miller  <davem@davemloft.net>
54825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54829         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54830         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54831         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54832         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54834 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54836         [BZ #13792]
54837         * manual/examples/README: New file, says the example source files
54838         can be used under GPL>=2.
54839         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54840         line containing just "*/".
54841         * manual/examples/add.c: Add copyright header (GPL>=2).
54842         * manual/examples/argp-ex1.c: Likewise.
54843         * manual/examples/argp-ex2.c: Likewise.
54844         * manual/examples/argp-ex3.c: Likewise.
54845         * manual/examples/argp-ex4.c: Likewise.
54846         * manual/examples/atexit.c: Likewise.
54847         * manual/examples/db.c: Likewise.
54848         * manual/examples/dir.c: Likewise.
54849         * manual/examples/dir2.c: Likewise.
54850         * manual/examples/execinfo.c: Likewise.
54851         * manual/examples/filecli.c: Likewise.
54852         * manual/examples/filesrv.c: Likewise.
54853         * manual/examples/fmtmsgexpl.c: Likewise.
54854         * manual/examples/genpass.c: Likewise.
54855         * manual/examples/inetcli.c: Likewise.
54856         * manual/examples/inetsrv.c: Likewise.
54857         * manual/examples/isockad.c: Likewise.
54858         * manual/examples/longopt.c: Likewise.
54859         * manual/examples/memopen.c: Likewise.
54860         * manual/examples/memstrm.c: Likewise.
54861         * manual/examples/mkfsock.c: Likewise.
54862         * manual/examples/mkisock.c: Likewise.
54863         * manual/examples/mygetpass.c: Likewise.
54864         * manual/examples/pipe.c: Likewise.
54865         * manual/examples/popen.c: Likewise.
54866         * manual/examples/rprintf.c: Likewise.
54867         * manual/examples/search.c: Likewise.
54868         * manual/examples/select.c: Likewise.
54869         * manual/examples/setjmp.c: Likewise.
54870         * manual/examples/sigh1.c: Likewise.
54871         * manual/examples/sigusr.c: Likewise.
54872         * manual/examples/stpcpy.c: Likewise.
54873         * manual/examples/strdupa.c: Likewise.
54874         * manual/examples/strftim.c: Likewise.
54875         * manual/examples/strncat.c: Likewise.
54876         * manual/examples/subopt.c: Likewise.
54877         * manual/examples/swapcontext.c: Likewise.
54878         * manual/examples/termios.c: Likewise.
54879         * manual/examples/testopt.c: Likewise.
54880         * manual/examples/testpass.c: Likewise.
54881         * manual/examples/timeval_subtract.c: Likewise.
54883         [BZ #13792]
54884         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54885         function to ...
54886         * manual/timeval_subtract.c.texi: ... here, new file.
54888 2012-03-02  David S. Miller  <davem@davemloft.net>
54890         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54892 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54894         [BZ #3976]
54895         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54896         (__sin): Save and restore rounding mode and use round-to-nearest
54897         for all computations.
54898         (__cos): Save and restore rounding mode and use round-to-nearest
54899         for all computations.
54900         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54901         <fenv.h>.
54902         (tan): Save and restore rounding mode and use round-to-nearest for
54903         all computations.
54904         * math/libm-test.inc (cos_test_tonearest): New function.
54905         (cos_test_towardzero): Likewise.
54906         (cos_test_downward): Likewise.
54907         (cos_test_upward): Likewise.
54908         (sin_test_tonearest): Likewise.
54909         (sin_test_towardzero): Likewise.
54910         (sin_test_downward): Likewise.
54911         (sin_test_upward): Likewise.
54912         (tan_test_tonearest): Likewise.
54913         (tan_test_towardzero): Likewise.
54914         (tan_test_downward): Likewise.
54915         (tan_test_upward): Likewise.
54916         (main): Call the new functions.
54917         * sysdeps/i386/fpu/libm-test-ulps: Update.
54918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54920         [BZ #10135]
54921         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54922         small n, then large n, before computing and testing k+n.
54923         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54924         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54925         Likewise.
54926         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54927         Likewise.
54928         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54929         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54930         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54931         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54932         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54933         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54934         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54935         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54936         * math/libm-test.inc (scalbn_test): Add more tests.
54937         (scalbln_test): Likewise.
54939         * manual/filesys.texi (mode_t): Describe constraints on size and
54940         signedness, not exact equivalence to a particular type.
54941         (ino_t): Likewise.
54942         (ino64_t): Likewise.
54943         (dev_t): Likewise.
54944         (nlink_t): Likewise.
54945         (blkcnt_t): Likewise.
54946         (blkcnt64_t): Likewise.
54947         * manual/llio.texi (off_t): Likewise.
54949         [BZ #3976]
54950         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54951         (__ieee754_exp): Save and restore rounding mode and use
54952         round-to-nearest for all computations.
54953         * math/libm-test.inc (exp_test_tonearest): New function.
54954         (exp_test_towardzero): Likewise.
54955         (exp_test_downward): Likewise.
54956         (exp_test_upward): Likewise.
54957         (main): Call the new functions.
54958         * sysdeps/i386/fpu/libm-test-ulps: Update.
54959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54961 2012-03-01  Chris Demetriou  <cgd@google.com>
54963         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54964         have predictable order.
54966 2012-03-01  David S. Miller  <davem@davemloft.net>
54968         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54970         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54971         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54972         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54973         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54975         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54976         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54977         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54979         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54980         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54981         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54982         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54983         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54987         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54988         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54989         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54991         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54992         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54993         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54994         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54995         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54996         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54997         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54998         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54999         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55000         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55001         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55002         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55003         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55004         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55005         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55006         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55007         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55008         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55009         * sysdeps/sparc/elf/configure: Regenerated.
55011 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55013         * configure.in (AS, LD): Require binutils 2.20 or later.
55014         * configure: Regenerated.
55015         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55016         as required minimum version.
55017         * INSTALL: Regenerated.
55019         [BZ #2541]
55020         [BZ #4108]
55021         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55022         before squaring exponent.
55023         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55024         bottom long double and 27 bits of top long double before squaring
55025         exponent.
55026         * math/libm-test.inc (erfc_test): Add more tests.
55027         * sysdeps/i386/fpu/libm-test-ulps: Update.
55028         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55031 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55033         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55034         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55035         containing bit-fields.
55036         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55037         * soft-fp/single.h (_FP_UNION_S): Likewise.
55038         * soft-fp/double.h (_FP_UNION_D): Likewise.
55040 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55042         [BZ #13786]
55043         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55044         not include ../strcmp.S.
55045         [USE_AS_STRNCASECMP_L]: Likewise.
55046         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55047         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55048         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55049         (__strncasecmp_l_ia32): Define as alias to
55050         __strncasecmp_l_nonascii.
55052         [BZ #5794]
55053         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55054         * sysdeps/i386/fpu/libm-test-ulps: Update.
55055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55057         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55060 2012-02-29  Jeff Law  <law@redhat.com>
55062         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55063         out of bounds read.
55065 2012-02-29  Marek Polacek  <polacek@redhat.com>
55067         [BZ #13706]
55068         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55069         * elf/Makefile: Add rules to run tst-unused-dep.out.
55071 2012-02-28  David S. Miller  <davem@davemloft.net>
55073         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55074         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55075         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55076         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55077         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55078         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55080 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55082         * math/libm-test.inc (llround_test): Move one test from
55083         lround_test.  Use TEST_f_L in moved test.
55084         (lround_test): Move misplaced test to llround_test.  Add testcase
55085         from bug 2561.
55087 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55089         * sysdeps/x86_64/fpu/e_expf.S: New file.
55090         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55092 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55094         [BZ #13637]
55095         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55096         of remain_len that may cause incomplete multi-byte character and
55097         false match.
55098         * posix/bug-regex33.c: New file.
55099         * posix/Makefile (tests): Add bug-regex33.
55101 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55103         * manual/macros.texi: New file.
55104         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55105         * manual/libc.texinfo: Include macros.texi.
55106         * manual/creatute.texi: Likewise.
55107         * manual/install.texi: Likewise.
55108         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55109         @glibcadj{} in references to the GNU C Library.
55110         * manual/charset.texi: Likewise.
55111         * manual/conf.texi: Likewise.
55112         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55113         when not using those macros.
55114         * manual/creature.texi: Likewise.
55115         * manual/crypt.texi: Likewise.
55116         * manual/errno.texi: Likewise.
55117         * manual/filesys.texi: Likewise.
55118         * manual/header.texi: Likewise.
55119         * manual/install.texi: Likewise.
55120         * manual/intro.texi: Likewise.
55121         * manual/io.texi: Likewise.
55122         * manual/job.texi: Likewise.
55123         * manual/lang.texi: Likewise.
55124         * manual/libc.texiinfo: Likewise.
55125         * manual/llio.texi: Likewise.
55126         * manual/locale.texi: Likewise.
55127         * manual/maint.texi: Likewise.
55128         * manual/math.texi: Likewise.
55129         * manual/memory.texi: Likewise.
55130         * manual/message.texi: Likewise.
55131         * manual/nss.texi: Likewise.
55132         * manual/pattern.texi: Likewise.
55133         * manual/process.texi: Likewise.
55134         * manual/resource.texi: Likewise.
55135         * manual/search.texi: Likewise.
55136         * manual/setjmp.texi: Likewise.
55137         * manual/signal.texi: Likewise.
55138         * manual/socket.texi: Likewise.
55139         * manual/startup.texi: Likewise.
55140         * manual/stdio.texi: Likewise.
55141         * manual/string.texi: Likewise.
55142         * manual/sysinfo.texi: Likewise.
55143         * manual/syslog.texi: Likewise.
55144         * manual/terminal.texi: Likewise.
55145         * manual/time.texi: Likewise.
55146         * manual/users.texi: Likewise.
55147         * INSTALL: Regenerated.
55148         * NOTES: Regenerated.
55149         * sysdeps/gnu/errlist.c: Regenerated.
55151 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55153         * include/dirent.h: Include <dirstream.h> before
55154         <dirent/dirent.h>.
55156 2012-02-28  David S. Miller  <davem@davemloft.net>
55158         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55159         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55160         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55161         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55163 2012-02-27  David S. Miller  <davem@davemloft.net>
55165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55167         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55168         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55171         frame pointer instead of stack pointer relative arg slot.
55172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55173         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55174         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55176 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55178         [BZ #3992]
55179         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55181 2012-02-27  David S. Miller  <davem@davemloft.net>
55183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55187         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55188         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55189         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55190         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55192 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55194         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55195         later.  Allow versions 5-9.
55196         * configure: Regenerated.
55197         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55198         required minimum version and 4.6 as recommended version.  Do not
55199         mention bugs in GCC 2.7 and 2.8.
55200         * INSTALL: Regenerated.
55202 2012-02-27  David S. Miller  <davem@davemloft.net>
55204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55208         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55209         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55210         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55211         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55213         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55214         manipulate bits before adding and subtracting TWO112[sx].
55215         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55217 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55219         [BZ #13775]
55220         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55221         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55222         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55223         being in POSIX, because they are in 1003.1-2008.
55225         * rt/tst-aio.c: Include <fcntl.h>.
55226         * rt/tst-aio7.c: Likewise.
55227         * rt/tst-aio64.c: Likewise.
55229         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55231 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55233         * manual/install.texi (--with-headers): Describe headers as
55234         interface headers, not private headers.
55235         (Specific advice for GNU/Linux systems): Describe use of headers
55236         from "make headers_install", not private headers from older
55237         kernels.
55238         * INSTALL: Regenerated.
55239         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55240         Change to 2.6.19.
55241         * sysdeps/unix/sysv/linux/configure: Regenerated.
55243         * manual/llio.texi (fclean): Remove documentation.
55245         * manual/Makefile (libc-texi-generated): New variable.  Include
55246         version.texi.
55247         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55248         $(libc-texi-generated), not duplicated list of files.
55249         (version.texi, stamp-version): New rules.
55250         (realclean): Remove $(libc-texi-generated), not individual files
55251         from that list.  Do not remove dir-add.texinfo.
55252         * manual/libc.texinfo: Comment out uses of edition numbers and
55253         references to printed manual.  Remove last-updated dates.
55254         (EDITION): Comment out.
55255         (ISBN): Likewise.
55256         (VERSION, UPDATED): Remove.
55257         (version.texi): Include.
55259 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55261         * sysdeps/posix/spawni.c: Include <signal.h>.
55262         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55263         * sysdeps/pthread/aio_fsync.c: Likewise.
55265 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55267         * conform/Makefile (tests): Run only when not cross-compiling and
55268         when fast-check is not defined.
55270         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55271         * conform/data/limits.h-data: Fixes for POSIX2008.
55272         * conform/run-conformtest.sh: Run all tests.
55273         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55274         headers.
55275         * include/bits/dlfcn.h: Likewise.
55276         * include/langinfo.h: Likewise.
55277         * include/monetary.h: Likewise.
55278         * include/sys/poll.h: Likewise.
55280         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55281         for __USE_GNU.
55282         * posix/spawn.h: Define __need_sigset_t.
55283         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55284         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55285         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55286         to get sigevent_t only.
55287         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55288         only for __USE_GNU.
55289         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55290         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55291         process_vm_writev only for __USE_GNU.
55292         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55294         * conform/Makefile: For now ignore errors from run-conformtest.
55295         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55296         POSIX to avoid namespace pollution.  Don't prepend headers.
55297         * conform/data/aio.h-data: Fixes for POSIX testing.
55298         * conform/data/fcntl.h-data: Likewise.
55299         * conform/data/glob.h-data: Likewise.
55300         * conform/data/grp.h-data: Likewise.
55301         * conform/data/pthread.h-data: Likewise.
55302         * conform/data/pwd.h-data: Likewise.
55303         * conform/data/signal.h-data: Likewise.
55304         * conform/data/spawn.h-data: Likewise.
55305         * conform/data/stdio.h-data: Likewise.
55306         * conform/data/stdlib.h-data: Likewise.
55307         * conform/data/stropts.h-data: Likewise.
55308         * conform/data/sys/mman.h-data: Likewise.
55309         * conform/data/sys/stat.h-data: Likewise.
55310         * conform/data/sys/types.h-data: Likewise.
55311         * conform/data/sys/wait.h-data: Likewise.
55312         * conform/data/time.h-data: Likewise.
55313         * conform/data/unistd.h-data: Likewise.
55314         * conform/data/utime.h-data: Likewise.
55316         * io/sys/stat.h: fchmod was always in POSIX.
55317         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55318         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55319         * rt/aio.h: Define __need_timespec before including <time.h>.
55320         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55321         struct.  Add forward declaration of pthread_attr_t and use it in
55322         sigevent.
55323         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55324         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55325         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55326         always remove CLK_TCK definition.
55328 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55330         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55332 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55334         * conform/run-conformtest.sh: New file.
55335         * conform/Makefile: Run run-conformtest for tests.
55336         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55337         support.
55339         * conform/data/uchar.h-data: New file.
55340         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55341         * conform/data/arpa/inet.h-data: Likewise.
55342         * conform/data/assert.h-data: Likewise.
55343         * conform/data/complex.h-data: Likewise.
55344         * conform/data/cpio.h-data: Likewise.
55345         * conform/data/ctype.h-data: Likewise.
55346         * conform/data/dirent.h-data: Likewise.
55347         * conform/data/dlfcn.h-data: Likewise.
55348         * conform/data/errno.h-data: Likewise.
55349         * conform/data/fcntl.h-data: Likewise.
55350         * conform/data/float.h-data: Likewise.
55351         * conform/data/fmtmsg.h-data: Likewise.
55352         * conform/data/fnmatch.h-data: Likewise.
55353         * conform/data/ftw.h-data: Likewise.
55354         * conform/data/glob.h-data: Likewise.
55355         * conform/data/grp.h-data: Likewise.
55356         * conform/data/iconv.h-data: Likewise.
55357         * conform/data/inttypes.h-data: Likewise.
55358         * conform/data/langinfo.h-data: Likewise.
55359         * conform/data/libgen.h-data: Likewise.
55360         * conform/data/limits.h-data: Likewise.
55361         * conform/data/locale.h-data: Likewise.
55362         * conform/data/math.h-data: Likewise.
55363         * conform/data/monetary.h-data: Likewise.
55364         * conform/data/mqueue.h-data: Likewise.
55365         * conform/data/ndbm.h-data: Likewise.
55366         * conform/data/net/if.h-data: Likewise.
55367         * conform/data/netdb.h-data: Likewise.
55368         * conform/data/netinet/in.h-data: Likewise.
55369         * conform/data/nl_types.h-data: Likewise.
55370         * conform/data/poll.h-data: Likewise.
55371         * conform/data/pthread.h-data: Likewise.
55372         * conform/data/pwd.h-data: Likewise.
55373         * conform/data/regex.h-data: Likewise.
55374         * conform/data/sched.h-data: Likewise.
55375         * conform/data/search.h-data: Likewise.
55376         * conform/data/semaphore.h-data: Likewise.
55377         * conform/data/setjmp.h-data: Likewise.
55378         * conform/data/signal.h-data: Likewise.
55379         * conform/data/spawn.h-data: Likewise.
55380         * conform/data/stdarg.h-data: Likewise.
55381         * conform/data/stdio.h-data: Likewise.
55382         * conform/data/stdlib.h-data: Likewise.
55383         * conform/data/string.h-data: Likewise.
55384         * conform/data/strings.h-data: Likewise.
55385         * conform/data/stropts.h-data: Likewise.
55386         * conform/data/sys/ipc.h-data: Likewise.
55387         * conform/data/sys/mman.h-data: Likewise.
55388         * conform/data/sys/msg.h-data: Likewise.
55389         * conform/data/sys/resource.h-data: Likewise.
55390         * conform/data/sys/select.h-data: Likewise.
55391         * conform/data/sys/sem.h-data: Likewise.
55392         * conform/data/sys/shm.h-data: Likewise.
55393         * conform/data/sys/socket.h-data: Likewise.
55394         * conform/data/sys/stat.h-data: Likewise.
55395         * conform/data/sys/statvfs.h-data: Likewise.
55396         * conform/data/sys/time.h-data: Likewise.
55397         * conform/data/sys/timeb.h-data: Likewise.
55398         * conform/data/sys/times.h-data: Likewise.
55399         * conform/data/sys/types.h-data: Likewise.
55400         * conform/data/sys/uio.h-data: Likewise.
55401         * conform/data/sys/un.h-data: Likewise.
55402         * conform/data/sys/utsname.h-data: Likewise.
55403         * conform/data/sys/wait.h-data: Likewise.
55404         * conform/data/syslog.h-data: Likewise.
55405         * conform/data/tar.h-data: Likewise.
55406         * conform/data/termios.h-data: Likewise.
55407         * conform/data/utime.h-data: Likewise.
55408         * conform/data/utmpx.h-data: Likewise.
55409         * conform/data/varargs.h-data: Likewise.
55410         * conform/data/wchar.h-data: Likewise.
55411         * conform/data/wctype.h-data: Likewise.
55412         * conform/data/wordexp.h-data: Likewise.
55414         * include/stropts.h: New file.
55415         * include/uchar.h: New file.
55416         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55417         * include/assert.h: Likewise.
55418         * include/ctype.h: Likewise.
55419         * include/dirent.h: Likewise.
55420         * include/dlfcn.h: Likewise.
55421         * include/fcntl.h: Likewise.
55422         * include/fnmatch.h: Likewise.
55423         * include/glob.h: Likewise.
55424         * include/grp.h: Likewise.
55425         * include/libio.h: Likewise.
55426         * include/locale.h: Likewise.
55427         * include/math.h: Likewise.
55428         * include/net/if.h: Likewise.
55429         * include/netdb.h: Likewise.
55430         * include/netinet/in.h: Likewise.
55431         * include/pthread.h: Likewise.
55432         * include/pwd.h: Likewise.
55433         * include/regex.h: Likewise.
55434         * include/sched.h: Likewise.
55435         * include/search.h: Likewise.
55436         * include/setjmp.h: Likewise.
55437         * include/signal.h: Likewise.
55438         * include/stdio.h: Likewise.
55439         * include/stdlib.h: Likewise.
55440         * include/string.h: Likewise.
55441         * include/sys/cdefs.h: Likewise.
55442         * include/sys/mman.h: Likewise.
55443         * include/sys/msg.h: Likewise.
55444         * include/sys/resource.h: Likewise.
55445         * include/sys/select.h: Likewise.
55446         * include/sys/socket.h: Likewise.
55447         * include/sys/stat.h: Likewise.
55448         * include/sys/statvfs.h: Likewise.
55449         * include/sys/time.h: Likewise.
55450         * include/sys/times.h: Likewise.
55451         * include/sys/uio.h: Likewise.
55452         * include/sys/utsname.h: Likewise.
55453         * include/sys/wait.h: Likewise.
55454         * include/termios.h: Likewise.
55455         * include/time.h: Likewise.
55456         * include/ulimit.h: Likewise.
55457         * include/unistd.h: Likewise.
55458         * include/utime.h: Likewise.
55459         * include/wchar.h: Likewise.
55460         * include/wctype.h: Likewise.
55461         * include/wordexp.h: Likewise.
55463         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55465         * time/time.h: TIME_UTC must be a macro.
55466         Make timespec_get available for ISO C11 only as well.
55468 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55470         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55471         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55473 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55475         * configure.in: Use -o not -a in test for unsupported multi-arch.
55477 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55479         * manual/texinfo.tex: Update to version 2012-01-19.16.
55481 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55483         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55485 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55487         [BZ #13738]
55488         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55489         * manual/fdl-1.3.texi: New file.
55490         * manual/fdl-1.1.texi: File removed.
55492         [BZ #13738]
55493         * manual/libc.texinfo (FDL_VERSION): New @set.
55494         Use it for mention of FDL in cover text.
55495         (Documentation License): Use it in @include file name.
55497 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55498             Roland McGrath  <roland@hack.frob.com>
55500         [BZ #5461]
55501         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55502         (not LONG_LONG_MAX and LONG_LONG_MIN.
55503         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55504         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55505         name.
55506         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55508 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55510         [BZ #2547]
55511         [BZ #11365]
55512         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55513         manipulate bits before adding and subtracting TWO23[sx].
55514         * math/libm-test.inc (nearbyint_test): Add more tests.
55516 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55518         [BZ #2548]
55519         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55520         bits before adding and subtracting TWO23[sx].
55521         * math/libm-test.inc (rint_test): Add more tests.
55522         (rint_test_tonearest): Likewise.
55523         (rint_test_towardzero): Likewise.
55524         (rint_test_downward): Likewise.
55525         (rint_test_upward: Likewise.
55527 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55529         [BZ #10110]
55530         * include/stdc-predef.h: New file.  Extracted from features.h.
55531         * include/features.h: Include stdc-predef.h.
55532         * Makefile (headers): Add stdc-predef.h.
55533         * CONFORMANCE (Compiler limitations): Update.
55535 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55537         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55539 2012-02-21  David S. Miller  <davem@davemloft.net>
55541         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55542         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55544 2012-02-20  David S. Miller  <davem@davemloft.net>
55546         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55547         using a normal save/restore sequence, rather than allocating a
55548         dummy stack frame just to store a frame pointer and restore.
55549         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55551 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55553         * manual/install.texi: Fix stray word in line-wrapped comment.
55555 2012-02-20  David S. Miller  <davem@davemloft.net>
55557         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55558         both binutils and gcc support GOTDATA.
55560         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55561         "rd %pc" in the PIC register setup sequences.
55563         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55564         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55565         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55566         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55567         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55568         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55569         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55570         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55571         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55572         (SYSCALL_ERROR_HANDLER): Likewise.
55573         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55574         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55575         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55576         (SYSCALL_ERROR_HANDLER): Likewise.
55578         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55579         (HAVE_GCC_GOTDATA): New.
55580         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55581         relocation support in both binutils and gcc.
55582         * sysdeps/sparc/elf/configure: Regenerate.
55584         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55585         * sysdeps/sparc/sparc32/elf/configure: Delete.
55586         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55587         * sysdeps/sparc/sparc64/elf/configure: Delete.
55588         * sysdeps/sparc/elf/configure.in: New file.
55589         * sysdeps/sparc/elf/configure: Generate.
55591         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55592         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55593         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55594         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55595         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55597 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55599         * manual/install.texi: Do not mention specific glibc version
55600         numbers.
55601         * manual/libc.texinfo (VERSION, UPDATED): Update.
55602         (@copying): Use @copyright{} and range of years.
55604 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55606         [BZ #13695]
55607         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55608         [crti.S not in sysdirs] (generated): Do not append.
55609         [crti.S not in sysdirs] (omit-deps): Likewise.
55610         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55611         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55612         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55613         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55614         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55615         Likewise.
55616         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55617         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55618         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55619         * csu/defs.awk: Remove file.
55620         * sysdeps/generic/initfini.c: Likewise.
55621         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55622         variable.
55623         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55624         Likewise.
55626 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55628         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55629         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55630         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55631         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55632         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55633         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55634         <bits/epoll.h>.
55635         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55636         (__EPOLL_PACKED): Define to empty if not defined by
55637         <bits/epoll.h>.
55638         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55640         bits/epoll.h.
55642 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55644         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55645         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55646         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55647         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55648         <bits/timerfd.h>.
55649         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55650         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55651         bits/timerfd.h.
55653 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55655         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55656         in C locale.
55657         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55658         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55659         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55662 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55664         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55665         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55667 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55669         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55670         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55671         defined.
55672         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55673         Likewise.
55674         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55675         entry for 2.16.
55677 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55679         * math/w_acos.c: Use non-signaling floating-point comparisons.
55680         * math/w_acosf.c: Likewise.
55681         * math/w_acosh.c: Likewise.
55682         * math/w_acoshf.c: Likewise.
55683         * math/w_acoshl.c: Likewise.
55684         * math/w_acosl.c: Likewise.
55685         * math/w_asin.c: Likewise.
55686         * math/w_asinf.c: Likewise.
55687         * math/w_asinl.c: Likewise.
55688         * math/w_atanh.c: Likewise.
55689         * math/w_atanhf.c: Likewise.
55690         * math/w_atanhl.c: Likewise.
55691         * math/w_exp2.c: Likewise.
55692         * math/w_exp2f.c: Likewise.
55693         * math/w_exp2l.c: Likewise.
55694         * math/w_j0.c: Likewise.
55695         * math/w_j0f.c: Likewise.
55696         * math/w_j0l.c: Likewise.
55697         * math/w_j1.c: Likewise.
55698         * math/w_j1f.c: Likewise.
55699         * math/w_j1l.c: Likewise.
55700         * math/w_jn.c: Likewise.
55701         * math/w_jnf.c: Likewise.
55702         * math/w_log.c: Likewise.
55703         * math/w_log10.c: Likewise.
55704         * math/w_log10f.c: Likewise.
55705         * math/w_log10l.c: Likewise.
55706         * math/w_log2.c: Likewise.
55707         * math/w_log2f.c: Likewise.
55708         * math/w_log2l.c: Likewise.
55709         * math/w_logf.c: Likewise.
55710         * math/w_logl.c: Likewise.
55711         * math/w_sqrt.c: Likewise.
55712         * math/w_sqrtf.c: Likewise.
55713         * math/w_sqrtl.c: Likewise.
55714         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55715         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55716         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55717         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55718         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55720 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55722         [BZ #9739]
55723         * manual/string.texi (strnlen): Use correct parameter name in
55724         equivalent expression.
55726 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55728         [BZ #11174]
55729         * manual/users.texi (seteuid): Consistently use neweuid for
55730         argument name.
55732 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55734         [BZ #13704]
55735         * manual/nss.texi (Services in the NSS configuration): Correct
55736         list of services in example configuration file.
55738 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55740         [BZ #11322]
55741         * manual/arith.texi: Remove statements about negative zero
55742         behaving identically to zero.
55744 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55746         [BZ #5993]
55747         * manual/install.texi: Do not document upgrading from libc5.
55749 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55751         [BZ #4596]
55752         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55754 2012-02-18  David S. Miller  <davem@davemloft.net>
55756         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55757         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55758         %o7 across the call.
55759         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55760         instead.
55761         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55762         SETUP_PIC_REG_LEAF.
55763         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55764         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55765         * sysdeps/sparc/crtn.S: Likewise.
55767 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55769         * aout/Makefile: Remove.
55771 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55773         [BZ #13058]
55774         * manual/examples/argp-ex1.c (main): Format definition in GNU
55775         style.
55776         * manual/examples/argp-ex2.c (main): Likewise.
55777         * manual/examples/argp-ex3.c (main): Likewise.
55778         * manual/examples/argp-ex4.c (main): Likewise.
55779         * manual/examples/longopt.c (main): Use new-style prototype
55780         definition.
55781         * manual/examples/strncat.c (main): Specify return type and use
55782         (void) for arguments.
55783         * manual/examples/subopt.c (main): Use char **argv argument.
55785 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55787         [BZ #5077]
55788         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55789         rounding modes.
55791 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55793         [BZ #6907]
55794         * manual/string.texi (strchr): Change when strchrnul is
55795         recommended.
55797 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55799         [BZ #174]
55800         * manual/locale.texi (setlocale): Document LOCPATH.
55802 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55804         [BZ #10210]
55805         * manual/process.texi (execle): Move @dots{} before last argument.
55807 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55809         [BZ #12047]
55810         * manual/charset.texi (Generic Charset Conversion): Fix typo
55811         (LC_TYPE -> LC_CTYPE).
55813 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55815         [BZ #5805]
55816         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55817         (scalbnf): Likewise.
55818         (scalbnl): Likewise.
55819         (scalbln): Likewise.
55820         (scalblnf): Likewise.
55821         (scalblnl): Likewise.
55822         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55823         (vwarnx): Likewise.
55824         (verr): Likewise.
55825         (verrx): Likewise.
55826         * manual/filesys.texi (telldir): Use braces around return type.
55827         * manual/llio.texi (mmap): Add space after comma.
55828         (mmap64): Likewise.
55829         * manual/math.texi (jn): Use @var{} on parameter names.
55830         (jnf): Likewise.
55831         (jnl): Likewise.
55832         (yn): Likewise.
55833         (ynf): Likewise.
55834         (ynl): Likewise.
55835         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55836         line.
55837         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55838         "...".
55839         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55840         (sched_get_priority_max): Likewise.
55841         * manual/signal.texi (sigvec): Add space after comma.
55842         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55843         names.
55844         (if_indextoname): Likewise.
55845         (if_freenameindex): Likewise.
55846         (sendto): Use ',' instead of '.' in prototype.
55847         * manual/startup.texi (syscall): Use @dots{} instead of literal
55848         "...".
55849         * manual/stdio.texi (__fpending): Separate initial words of
55850         paragraph from @deftypefun line.
55851         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55852         "...".
55853         (vsyslog): Use @var{} on parameter names.
55854         * manual/terminal.texi (stty): Use @var{} on parameter names.
55855         * manual/users.texi (getutmp): Use @var{} on parameter names.
55856         (getutmpx): Likewise.
55858 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55860         [BZ #6884]
55861         * manual/stdio.texi (fopen): Fix typos in description of
55862         ",ccs=STRING".
55864 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55866         [BZ #4026]
55867         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55868         get clock_id definition.
55870 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55872         [BZ #4822]
55873         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55874         (madvise): Cast every argument to void on its own.
55876 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55878         [BZ #9902]
55879         * manual/startup.texi (Exit Status): Fix typo.
55881 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55883         [BZ #10140]
55884         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55885         * manual/examples/argp-ex2.c: Likewise.
55886         * manual/examples/argp-ex3.c: Likewise.
55888 2012-02-16  Richard Henderson  <rth@redhat.com>
55890         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55891         * sysdeps/s390/s390-32/initfini.c: Remove.
55892         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55893         * sysdeps/s390/s390-64/initfini.c: Remove.
55895 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55897         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55898         compiler output for sysdeps/generic/initfini.c.
55899         * sysdeps/sh/elf/initfini.c: Remove file.
55901 2012-02-16  David S. Miller  <davem@davemloft.net>
55903         [BZ #11494]
55904         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55906         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55907         * sysdeps/sparc/crti.S: New file.
55908         * sysdeps/sparc/crtn.S: New file.
55909         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55910         * sysdeps/sparc/sparc64/Makefile: Likewise.
55912 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55914         [BZ #3335]
55915         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55917 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55919         [BZ #4822]
55920         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55922         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55923         (write, read, close): Likewise.
55924         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55926 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55928         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55929         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55930         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55931         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55932         <bits/signalfd.h>.
55933         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55934         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55935         bits/signalfd.h.
55937 2012-02-14  Marek Polacek  <polacek@redhat.com>
55939         * sysdeps/x86_64/crti.S: New file.
55940         * sysdeps/x86_64/crtn.S: New file.
55941         * sysdeps/x86_64/elf/initfini.c: Remove file.
55943 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55945         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55946         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55947         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55948         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55949         <bits/inotify.h>.
55950         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55952         bits/inotify.h.
55954 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55956         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55957         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55958         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55959         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55960         <bits/eventfd.h>.
55961         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55962         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55963         bits/eventfd.h.
55965 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55967         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55968         __feraiseexcept instead of feraiseexcept.
55970         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55971         nanosleep invocations.
55972         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55973         strings, and add error checking for a nanosleep invocations.
55975 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55977         Replace FSF snail mail address with URLs, as per GNU coding standards.
55978         Most of the snail mail addresses were wrong anyway, and omitting
55979         them makes the source code easier to maintain.  Almost all of the
55980         changes are to license notices and to locale LC_IDENTIFICATION
55981         addresses, except for this one:
55982         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55983         not its snail mail address.
55985 2012-02-09  Richard Henderson  <rth@twiddle.net>
55987         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55988         of kernel-features.h.
55990         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55992 2012-02-08  Marek Polacek  <polacek@redhat.com>
55994         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55995         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55996         * sysdeps/gnu/_G_config.h: Likewise.
55997         * sysdeps/generic/_G_config.h: Likewise.
55999 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56001         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56002         tests.
56003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56005         * sysdeps/powerpc/powerpc32/crti.S: New file.
56006         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56007         * sysdeps/powerpc/powerpc64/crti.S: New file.
56008         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56010         * Makeconfig (have-initfini): Don't set.
56011         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56012         * configure.in (nopic_initfini): Don't substitute.
56013         * config.h.in (HAVE_INITFINI): Don't #undef.
56014         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56015         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56017 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56019         Support crti.S and crtn.S provided directly by architectures.
56020         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56021         [crti.S in sysdirs] (omit-deps): Likewise.
56022         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56023         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56024         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56025         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56026         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56027         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56028         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56029         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56030         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56031         compiler output for sysdeps/generic/initfini.c.
56032         * sysdeps/i386/elf/Makefile: Remove file.
56033         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56035 2012-02-07  Marek Polacek  <polacek@redhat.com>
56037         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56038         * sysdeps/gnu/_G_config.h: Likewise.
56039         * sysdeps/mach/hurd/_G_config.h: Likewise.
56041 2012-02-07  Marek Polacek  <polacek@redhat.com>
56043         * math/Makefile (tests): Add tst-CMPLX2.
56044         * math/tst-CMPLX2.c: New file.
56046 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56048         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56050         * math/libm-test.inc (jn_test): Add missing L suffix.
56052 2012-02-06  Marek Polacek  <polacek@redhat.com>
56054         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56055         * sysdeps/i386/fpu/e_powf.S: Likewise.
56056         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56057         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56058         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56059         * sysdeps/i386/fpu/e_pow.S: Likewise.
56060         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56061         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56062         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56063         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56064         * sysdeps/i386/fpu/e_log2.S: Likewise.
56065         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56066         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56067         * sysdeps/i386/fpu/e_powl.S: Likewise.
56068         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56069         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56070         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56071         * sysdeps/i386/fpu/e_logl.S: Likewise.
56072         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56073         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56074         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56075         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56076         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56077         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56078         * sysdeps/i386/fpu/e_log.S: Likewise.
56079         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56080         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56081         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56082         * sysdeps/i386/fpu/e_logf.S: Likewise.
56083         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56084         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56085         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56086         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56087         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56088         * sysdeps/i386/fpu/e_log10.S: Likewise.
56089         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56090         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56091         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56092         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56093         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56094         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56095         * sysdeps/i386/asm-syntax.h: Likewise.
56096         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56097         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56098         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56099         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56100         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56101         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56102         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56103         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56104         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56105         * sysdeps/powerpc/sysdep.h: Likewise.
56106         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56107         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56109 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56111         [BZ #411]
56112         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56114 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56116         * sysdeps/i386/sysdep.h: Include <features.h>.
56117         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56118         version.
56120 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56122         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56123         Define.
56124         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56125         LOAD_PIC_REG_STR.
56127 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56129         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56130         (SETUP_PIC_REG): Use GET_PC_THUNK.
56131         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56132         macro.
56134 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56136         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56137         for non-PIC compilation.
56138         (SETUP_PIC_REG): Add .p2align directive.
56139         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56140         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56141         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56142         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56143         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56144         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56145         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56146         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56147         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56148         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56149         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56150         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56151         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56152         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56153         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56154         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56155         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56156         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56157         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56158         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56159         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56160         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56161         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56162         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56163         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56164         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56165         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56166         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56167         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56168         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56169         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56170         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56171         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56172         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56173         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56174         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56175         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56176         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56177         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56178         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56179         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56181 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56183         * math/tst-CMPLX.c: Include <stdio.h>.
56185 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56187         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56188         float.
56189         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56190         * sysdeps/sparc/bits/mathdef.h: Likewise.
56192 2012-01-31  Marek Polacek  <polacek@redhat.com>
56194         * libio/libio.h: Don't define _PARAMS.
56195         * locale/programs/config.h: Don't define PARAMS.
56196         * stdlib/strtol_l.c: Likewise.
56197         (__strtol_l): Remove PARAMS from the prototype.
56199 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56201         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56202         names.  Just use the correct names.  Remove unnecessary wrapper
56203         functions.
56204         * malloc/arena.c: Likewise.
56205         * malloc/hooks.c: Likewise.
56207         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56208         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56209         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56211 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56213         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56214         into tail calls.
56215         (update_get_addr): New function.
56216         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56217         GET_ADDR_MODULE parameter.
56219 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56221         * crypt/cert.c: Remove __STDC__ conditionals.
56222         * crypt/crypt-entry.c: Likewise.
56223         * crypt/crypt_util.c: Likewise.
56224         * libio/filedoalloc.c: Likewise.
56225         * libio/fileops.c: Likewise.
56226         * libio/genops.c: Likewise.
56227         * libio/iofclose.c: Likewise.
56228         * libio/iofdopen.c: Likewise.
56229         * libio/iofopen.c: Likewise.
56230         * libio/iofopen64.c: Likewise.
56231         * libio/iogetdelim.c: Likewise.
56232         * libio/iopopen.c: Likewise.
56233         * libio/obprintf.c: Likewise.
56234         * libio/oldfileops.c: Likewise.
56235         * libio/oldiofclose.c: Likewise.
56236         * libio/oldiofdopen.c: Likewise.
56237         * libio/oldiofopen.c: Likewise.
56238         * libio/oldiopopen.c: Likewise.
56239         * libio/wfiledoalloc.c: Likewise.
56240         * libio/wgenops.c: Likewise.
56241         * locale/programs/xmalloc.c: Likewise.
56242         * misc/syslog.c: Likewise.
56243         * stdio-common/xbug.c: Likewise.
56244         * string/memchr.c: Likewise.
56245         * string/memcmp.c: Likewise.
56246         * string/memrchr.c: Likewise.
56247         * string/rawmemchr.c: Likewise.
56248         * sysdeps/posix/getcwd.c: Likewise.
56249         * time/strftime_l.c: Likewise.
56251 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56253         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56254         * config.make.in (config-cflags-sse2avx): Define.
56255         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56256         Fix typo.
56258 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56260         * scripts/config.guess: Update from upstream config git repository.
56261         * scripts/config.sub: Likewise.
56263 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56265         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56266         (EM_NUM): Update.
56267         (R_TILEPRO_*, R_TILEGX_*): New macros.
56269         * scripts/firstversions.awk: Fix bug in version range handling.
56271         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56273         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56275         * include/sys/epoll.h: New file.
56276         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56277         libc_hidden_def.
56279 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56281         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56282         Avoid unnecessary __WORDSIZE == 64 test.
56283         (fmaxf): Use VEX format if possible.
56284         (fmax): Likewise.
56285         (fminf): Likewise.
56286         (fmin): Likewise.
56288         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56289         * math/math_private.h: Remove libc_fegetround* and
56290         libc_fesetround*.
56291         * sysdeps/i386/configure.in: Check for -msse2avx.
56292         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56293         also if SSE2AVX is defined.
56294         Remove libc_fegetround* and libc_fesetround*.
56295         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56296         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56297         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56298         of HAS_YMM_USABLE.
56299         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56300         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56301         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56302         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56303         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56305         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56307 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56309         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56310         size is not set.
56311         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56313 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56315         [BZ #13618]
56316         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56317         relocation.
56318         * Makeconfig (libm): Define.
56319         * elf/Makefile: Add rules to build and run tst-relsort1.
56320         * elf/tst-relsort1.c: New file.
56321         * elf/tst-relsort1mod1.c: New file.
56322         * elf/tst-relsort1mod2.c: New file.
56324 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56326         * math/s_ldexp.c: Remove __STDC__ conditionals.
56327         * math/s_ldexpf.c: Likewise.
56328         * math/s_ldexpl.c: Likewise.
56329         * math/s_nextafter.c: Likewise.
56330         * math/s_nexttowardf.c: Likewise.
56331         * math/s_significand.c: Likewise.
56332         * math/s_significandf.c: Likewise.
56333         * math/s_significandl.c: Likewise.
56334         * math/w_jnl.c: Likewise.
56335         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56336         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56337         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56338         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56339         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56340         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56341         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56342         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56343         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56344         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56345         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56346         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56347         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56348         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56349         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56350         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56351         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56352         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56353         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56354         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56355         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56356         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56357         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56358         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56359         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56360         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56361         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56362         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56363         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56364         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56365         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56366         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56367         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56368         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56369         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56370         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56371         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56372         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56373         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56374         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56375         * sysdeps/ieee754/k_standard.c: Likewise.
56376         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56377         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56378         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56379         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56380         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56381         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56382         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56383         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56384         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56385         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56386         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56387         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56388         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56389         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56390         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56391         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56392         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56393         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56394         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56395         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56396         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56397         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56398         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56399         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56400         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56401         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56402         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56403         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56404         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56405         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56406         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56407         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56408         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56409         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56411         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56412         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56413         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56414         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56415         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56416         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56417         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56418         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56419         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56420         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56421         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56422         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56423         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56424         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56425         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56426         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56427         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56428         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56429         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56430         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56431         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56432         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56433         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56434         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56435         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56436         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56437         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56438         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56439         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56440         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56441         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56442         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56443         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56444         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56445         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56446         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56447         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56448         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56449         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56450         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56451         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56452         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56453         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56454         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56455         * sysdeps/ieee754/s_matherr.c: Likewise.
56456         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56457         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56458         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56459         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56461 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56463         * crypt/md5.h: Remove __STDC__ conditionals.
56464         * libio/libioP.h: Likewise.
56465         * locale/programs/config.h: Likewise.
56466         * sysdeps/generic/sysdep.h: Likewise.
56467         * sysdeps/i386/asm-syntax.h: Likewise.
56468         * sysdeps/s390/asm-syntax.h: Likewise.
56469         * sysdeps/unix/sysdep.h: Likewise.
56470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56473 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56475         * libio/libio.h: Remove __STDC__ conditionals.
56476         * malloc/obstack.h: Likewise.
56477         * math/complex.h: Likewise.
56478         * math/math.h: Likewise.
56479         * sysdeps/generic/_G_config.h: Likewise.
56480         * sysdeps/gnu/_G_config.h: Likewise.
56481         * sysdeps/mach/hurd/_G_config.h: Likewise.
56482         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56483         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56484         * sysdeps/sparc/bits/mathdef.h: Likewise.
56486 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56488         [BZ #13583]
56489         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56490         Clean up HAS_* macros.
56491         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56492         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56493         possible.
56494         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56495         HAS_AVX.
56496         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56497         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56498         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56499         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56500         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56502 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56504         * elf/tst-unique3.cc (gets): Remove declaration.
56505         * elf/tst-unique3lib.cc (gets): Likewise.
56506         * elf/tst-unique3lib2.cc (gets): Likewise.
56507         * elf/tst-unique4.cc (gets): Likewise.
56509 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56511         * include/stdio.h: Add C++ protection.  Add gets declarations and
56512         definitions.
56513         * debug/tst-chk1.c: Don't declare gets here.
56514         * stdio-common/tst-gets.c: Likewise.
56516 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56518         * posix/glob: Remove directory.
56520 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56522         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56524 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56526         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56527         of the non-standard EPFNOSUPPORT.
56529 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56531         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56532         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56533         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56535 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56537         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56539 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56541         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56542         transient errors.
56543         * nscd/grpcache.c (cache_addgr): Likewise.
56544         * nscd/hstcache.c (cache_addhst): Likewise.
56545         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56546         * nscd/pwdcache.c (cache_addpw): Likewise.
56547         * nscd/servicescache.c (cache_addserv): Likewise.
56549 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56551         * malloc/malloc.c: Various cleanups.
56552         * malloc/hooks.c: Likewise.
56554         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56555         * stdlib/bug-fmtmsg1.c: New file.
56557         * stdlib/fmtmsg.c (init): Add missing unlock.
56558         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56560 2012-01-12  Marek Polacek  <polacek@redhat.com>
56562         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56563         and _GNU_SOURCE.
56565 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56567         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56568         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56569         macro to ensure uniqueness of label name.
56570         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56571         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56573 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56575         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56577         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56578         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56579         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56580         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56582 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56584         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56586         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56587         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56588         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56590         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56592         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56593         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56594         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56595         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56597         * math/bits/math-finite.h: Add ldexp support.
56599 2012-01-10  Marek Polacek  <polacek@redhat.com>
56601         * locale/programs/localedef.h (show_archive_content): Add noreturn
56602         attribute.
56604 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56606         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56608 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56610         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56612         * io/Makefile (headers): Add bits/poll2.h.
56614 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56617         typo #include statement.
56619 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56621         * include/sys/cdefs.h: Define __attribute_alloc_size.
56622         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56623         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56624         * elf/pldd.c: Likewise.
56625         * iconv/iconv_charmap.c: Likewise.
56626         * iconv/iconvconfig.c: Likewise.
56627         * iconv/strtab.c: Likewise.
56628         * locale/programs/locale.c: Likewise.
56629         * locale/programs/localedef.h: Likewise.
56630         * locale/programs/simple-hash.c: Likewise.
56631         * nscd/nscd.h: Likewise.
56632         * nss/makedb.c: Likewise.
56633         * sysdeps/generic/ldconfig.h: Likewise.
56634         * locale/programs/localedef.c: Remove xmalloc prototype.
56635         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56637 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56639         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56640         appropriate.
56642 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56644         * math/Makefile (tests): Add tst-CMPLX.
56645         * math/tst-CMPLX.c: New file.
56647         * math/complex.h (CMPLXL): Fix typo.
56649         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56650         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56651         GLIBC_2.16.
56652         * debug/tst-chk1.c: Add poll and ppoll tests.
56653         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56654         * include/sys/poll.h: Add hidden proto for ppoll.
56655         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56656         * sysdeps/mach/hurd/ppoll.c: Likewise.
56657         * io/ppoll.c: Likewise.
56658         * debug/poll_chk.c: New file.
56659         * debug/ppoll_chk.c: New file.
56660         * include/bits/poll2.h: New file.
56661         * io/bits/poll2.h: New file.
56663         [BZ #1350]
56664         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56666         * configure.in: static is always set to yes.  Remove.
56667         * config.make.in: Don't set build-static.
56668         * Makeconfig: Remove use of build-static.
56669         * dlfcn/Makefile: Likewise.
56670         * elf/Makefile: Likewise.
56671         * math/Makefile: Likewise.
56672         * misc/Makefile: Likewise.
56673         * nptl/Makefile: Likewise.
56674         * sysdeps/mach/hurd/Makefile: Likewise.
56676         * configure.in: PWD_P is not used anymore.
56677         * config.make.in: Remove PWD_P entry.
56679         * configure.in: Remove last remnants of RANLIB.
56680         No need to check for signed size_t anymore.
56681         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56682         and IA-64.
56683         Remove __builtin_expect test because we require at least gcc 3.4.
56684         * aclocal.m4: Likewise.
56686         * wcsmbs/mbrtoc16.c: Implement using towc function.
56687         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56688         * wcsmbs/wcsmbsload.c: Likewise.
56689         * iconv/gconv_simple.c: Likewise.
56690         * iconv/gconv_int.h: Likewise.
56691         * iconv/gconv_builtin.h: Likewise.
56692         * iconv/iconv_prog.c: Remove CHAR16 handling.
56694         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56696         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56698         * configure.in: Remove --with-elf and --enable-bounded options.
56699         Dont set base_machine for ia64.  More non-ELF conditions removed.
56700         Remove testing and setting of leading underscore information.
56701         * config.make.in (build-bounded): Set to no.
56702         * config.h.in: Remove NO_UNDERSCORES entry.
56703         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56704         them.
56705         * csu/start.c: Remove !NO_UNDERSCORE code.
56706         * locale/localeinfo.h: Likewise.
56707         * sysdeps/generic/machine-gmon.h: Likewise.
56708         * sysdeps/generic/sysdep.h: Likewise.
56709         * sysdeps/i386/sysdep.h: Likewise.
56710         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56711         * sysdeps/mach/sysdep.h: Likewise.
56712         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56713         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56714         * sysdeps/sh/sysdep.h: Likewise.
56715         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56716         * sysdeps/unix/i386/sysdep.S: Likewise.
56717         * sysdeps/unix/sparc/start.c: Likewise.
56718         * sysdeps/unix/sparc/sysdep.S: Likewise.
56719         * sysdeps/unix/sparc/sysdep.h: Likewise.
56720         * sysdeps/unix/start.c: Likewise.
56721         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56722         * sysdeps/x86_64/sysdep.h: Likewise.
56724 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56726         [BZ #13553]
56727         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56728         for non-gcc.
56729         * argp/argp-fmtstream.h: Use const instead __const.
56730         * argp/argp.h: Likewise.
56731         * assert/assert.h: Likewise.
56732         * bits/fenv.h: Likewise.
56733         * bits/sched.h: Likewise.
56734         * bits/sigset.h: Likewise.
56735         * bits/sigthread.h: Likewise.
56736         * catgets/nl_types.h: Likewise.
56737         * conform/data/pthread.h-data: Likewise.
56738         * crypt/crypt-private.h: Likewise.
56739         * crypt/crypt.h: Likewise.
56740         * crypt/crypt_util.c: Likewise.
56741         * ctype/ctype.h: Likewise.
56742         * debug/execinfo.h: Likewise.
56743         * debug/mbsnrtowcs_chk.c: Likewise.
56744         * debug/mbsrtowcs_chk.c: Likewise.
56745         * debug/wcsnrtombs_chk.c: Likewise.
56746         * debug/wcsrtombs_chk.c: Likewise.
56747         * debug/wcstombs_chk.c: Likewise.
56748         * dirent/dirent.h: Likewise.
56749         * dlfcn/dlfcn.h: Likewise.
56750         * elf/neededtest4.c: Likewise.
56751         * grp/grp.h: Likewise.
56752         * gshadow/gshadow.h: Likewise.
56753         * iconv/gconv.h: Likewise.
56754         * iconv/gconv_int.h: Likewise.
56755         * iconv/gconv_simple.c: Likewise.
56756         * iconv/iconv.h: Likewise.
56757         * iconv/loop.c: Likewise.
56758         * iconv/skeleton.c: Likewise.
56759         * include/aio.h: Likewise.
56760         * include/aliases.h: Likewise.
56761         * include/argz.h: Likewise.
56762         * include/arpa/inet.h: Likewise.
56763         * include/assert.h: Likewise.
56764         * include/dirent.h: Likewise.
56765         * include/dlfcn.h: Likewise.
56766         * include/execinfo.h: Likewise.
56767         * include/fcntl.h: Likewise.
56768         * include/fenv.h: Likewise.
56769         * include/glob.h: Likewise.
56770         * include/grp.h: Likewise.
56771         * include/libintl.h: Likewise.
56772         * include/mntent.h: Likewise.
56773         * include/netdb.h: Likewise.
56774         * include/pwd.h: Likewise.
56775         * include/rpc/netdb.h: Likewise.
56776         * include/sched.h: Likewise.
56777         * include/search.h: Likewise.
56778         * include/shadow.h: Likewise.
56779         * include/signal.h: Likewise.
56780         * include/stdio.h: Likewise.
56781         * include/stdlib.h: Likewise.
56782         * include/string.h: Likewise.
56783         * include/sys/socket.h: Likewise.
56784         * include/sys/stat.h: Likewise.
56785         * include/sys/statfs.h: Likewise.
56786         * include/sys/statvfs.h: Likewise.
56787         * include/sys/syslog.h: Likewise.
56788         * include/sys/time.h: Likewise.
56789         * include/sys/uio.h: Likewise.
56790         * include/time.h: Likewise.
56791         * include/unistd.h: Likewise.
56792         * include/utmp.h: Likewise.
56793         * include/wchar.h: Likewise.
56794         * include/wctype.h: Likewise.
56795         * inet/aliases.h: Likewise.
56796         * inet/arpa/inet.h: Likewise.
56797         * inet/netinet/ether.h: Likewise.
56798         * inet/netinet/in.h: Likewise.
56799         * intl/libintl.h: Likewise.
56800         * io/bits/fcntl2.h: Likewise.
56801         * io/fcntl.h: Likewise.
56802         * io/ftw.h: Likewise.
56803         * io/sys/poll.h: Likewise.
56804         * io/sys/stat.h: Likewise.
56805         * io/sys/statfs.h: Likewise.
56806         * io/sys/statvfs.h: Likewise.
56807         * io/utime.h: Likewise.
56808         * libio/bits/stdio.h: Likewise.
56809         * libio/bits/stdio2.h: Likewise.
56810         * libio/libio.h: Likewise.
56811         * libio/libioP.h: Likewise.
56812         * libio/stdio.h: Likewise.
56813         * locale/lc-ctype.c: Likewise.
56814         * locale/locale.h: Likewise.
56815         * login/utmp.h: Likewise.
56816         * malloc/arena.c: Likewise.
56817         * malloc/malloc.c: Likewise.
56818         * malloc/malloc.h: Likewise.
56819         * malloc/mcheck.c: Likewise.
56820         * malloc/mtrace.c: Likewise.
56821         * math/bits/mathcalls.h: Likewise.
56822         * math/fenv.h: Likewise.
56823         * math/math_private.h: Likewise.
56824         * misc/bits/error.h: Likewise.
56825         * misc/bits/syslog.h: Likewise.
56826         * misc/err.h: Likewise.
56827         * misc/error.h: Likewise.
56828         * misc/fstab.h: Likewise.
56829         * misc/mntent.h: Likewise.
56830         * misc/regexp.h: Likewise.
56831         * misc/search.h: Likewise.
56832         * misc/sgtty.h: Likewise.
56833         * misc/sys/mman.h: Likewise.
56834         * misc/sys/syslog.h: Likewise.
56835         * misc/sys/uio.h: Likewise.
56836         * misc/sys/xattr.h: Likewise.
56837         * misc/ttyent.h: Likewise.
56838         * nis/rpcsvc/ypclnt.h: Likewise.
56839         * nss/nss.h: Likewise.
56840         * posix/bits/unistd.h: Likewise.
56841         * posix/fnmatch.h: Likewise.
56842         * posix/glob.h: Likewise.
56843         * posix/sched.h: Likewise.
56844         * posix/spawn.h: Likewise.
56845         * posix/sys/wait.h: Likewise.
56846         * posix/unistd.h: Likewise.
56847         * posix/wordexp.h: Likewise.
56848         * pwd/pwd.h: Likewise.
56849         * resolv/netdb.h: Likewise.
56850         * resource/sys/resource.h: Likewise.
56851         * rt/aio.h: Likewise.
56852         * rt/bits/mqueue2.h: Likewise.
56853         * rt/mqueue.h: Likewise.
56854         * shadow/shadow.h: Likewise.
56855         * signal/signal.h: Likewise.
56856         * socket/send.c: Likewise.
56857         * socket/sendto.c: Likewise.
56858         * socket/sys/socket.h: Likewise.
56859         * stdio-common/printf.h: Likewise.
56860         * stdlib/bits/stdlib.h: Likewise.
56861         * stdlib/fmtmsg.h: Likewise.
56862         * stdlib/monetary.h: Likewise.
56863         * stdlib/stdlib.h: Likewise.
56864         * stdlib/ucontext.h: Likewise.
56865         * streams/stropts.h: Likewise.
56866         * string/argz.h: Likewise.
56867         * string/bits/string2.h: Likewise.
56868         * string/string.h: Likewise.
56869         * string/strings.h: Likewise.
56870         * sunrpc/rpc/auth.h: Likewise.
56871         * sunrpc/rpc/auth_des.h: Likewise.
56872         * sunrpc/rpc/clnt.h: Likewise.
56873         * sunrpc/rpc/netdb.h: Likewise.
56874         * sunrpc/rpc/pmap_clnt.h: Likewise.
56875         * sunrpc/rpc/xdr.h: Likewise.
56876         * sysdeps/generic/inttypes.h: Likewise.
56877         * sysdeps/generic/net/if.h: Likewise.
56878         * sysdeps/generic/sys/swap.h: Likewise.
56879         * sysdeps/gnu/net/if.h: Likewise.
56880         * sysdeps/gnu/utmpx.h: Likewise.
56881         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56882         * sysdeps/i386/i486/bits/string.h: Likewise.
56883         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56884         * sysdeps/s390/bits/string.h: Likewise.
56885         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56886         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56887         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56888         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56889         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56890         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56891         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56892         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56893         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56894         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56895         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56896         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56897         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56898         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56899         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56900         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56901         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56902         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56903         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56904         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56905         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56906         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56907         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56908         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56909         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56910         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56911         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56912         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56913         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56914         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56915         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56916         * sysvipc/sys/ipc.h: Likewise.
56917         * sysvipc/sys/msg.h: Likewise.
56918         * sysvipc/sys/sem.h: Likewise.
56919         * sysvipc/sys/shm.h: Likewise.
56920         * termios/termios.h: Likewise.
56921         * time/sys/time.h: Likewise.
56922         * time/time.h: Likewise.
56923         * wcsmbs/bits/wchar2.h: Likewise.
56924         * wcsmbs/uchar.h: Likewise.
56925         * wcsmbs/wchar.h: Likewise.
56926         * wctype/wctype.h: Likewise.
56928         [BZ #13551]
56929         * Makeconfig: Remove all but ELF support including AIX support.
56930         * Makerules: Likewise.
56931         * config.h.in: Likewise.
56932         * config.make.in: Likewise.
56933         * configure: Likewise.
56934         * configure.in: Likewise.
56935         * csu/Makefile: Likewise.
56936         * csu/version.c: Likewise.
56937         * debug/Makefile: Likewise.
56938         * dlfcn/Makefile: Likewise.
56939         * elf/Makefile: Likewise.
56940         * extra-lib.mk: Likewise.
56941         * iconv/Makefile: Likewise.
56942         * include/libc-symbols.h: Likewise.
56943         * include/shlib-compat.h: Likewise.
56944         * resolv/Makefile: Likewise.
56945         * resolv/res_libc.c: Likewise.
56946         * rt/Makefile: Likewise.
56947         * sysdeps/i386/asm-syntax.h: Likewise.
56948         * sysdeps/i386/sysdep.h: Likewise.
56949         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56950         * sysdeps/mach/sysdep.h: Likewise.
56951         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56952         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56953         * sysdeps/s390/asm-syntax.h: Likewise.
56954         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56955         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56956         * sysdeps/sh/sysdep.h: Likewise.
56957         * sysdeps/unix/sparc/sysdep.h: Likewise.
56958         * sysdeps/wordsize-32/divdi3.c: Likewise.
56959         * sysdeps/x86_64/sysdep.h: Likewise.
56961         * argp/Versions: Remove _argp_unlock_xxx.
56963         [BZ #13559]
56964         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56965         * abilist/libBrokenLocale.abilist: Likewise.
56966         * abilist/libanl.abilist: Likewise.
56967         * abilist/libc.abilist: Likewise.
56968         * abilist/libcrypt.abilist: Likewise.
56969         * abilist/libdl.abilist: Likewise.
56970         * abilist/libm.abilist: Likewise.
56971         * abilist/libnsl.abilist: Likewise.
56972         * abilist/libpthread.abilist: Likewise.
56973         * abilist/libresolv.abilist: Likewise.
56974         * abilist/librt.abilist: Likewise.
56975         * abilist/libthread_db.abilist: Likewise.
56976         * abilist/libutil.abilist: Likewise.
56977         * abilist/libnss_db.abilist: New file.
56979         * scripts/abilist.awk: Add support for indirect functions.
56981         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56983         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56985         * shlib-versions: Remove entries for ports architectures.
56987         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56988         files in ports.
56989         * elf/stackguard-macros.h: Remove support for IA-64.
56990         * elf/tst-auditmod1.c: Likewise.
56991         * sysdeps/generic/ldsodefs.h: Likewise.
56993         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56994         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56995         configure files.
56997         [BZ #13552]
56998         * configure.in: Remove --enable-omitfp support.
56999         * FAQ.in: Adjust.
57000         * config.make.in: Likewise.
57001         * Makeconfig: Likewise.
57002         * manual/install.texi: Likewise.
57004         In case anyone cares, the IA-64 architecture could move to ports.
57005         * sysdeps/ia64/*: Removed.
57006         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57007         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57009         [BZ #13555]
57010         * configure.in: Remove entries for unsupported architectures.
57012         [BZ #13533]
57013         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57014         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57015         routines.
57016         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57017         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57018         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57019         fall back to using wcrtomb.
57020         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57021         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57022         renaming.
57023         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57024         * wcsmbs/tst-c16c32-1.c: New file.
57026         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57027         local variable.
57029         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57031         * elf/tst-unique3.cc: Add explicit declaration of gets.
57032         * elf/tst-unique3lib.cc: Likewise.
57033         * elf/tst-unique3lib2.cc: Likewise.
57034         * elf/tst-unique4.cc: Likewise.
57036         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57038 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57040         [BZ #13566]
57041         * assert/assert.h (static_assert): Don't define for C++.
57042         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57043         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57045 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57047         * iconv/loop.c (single loop): Fix assertion in storing of
57048         remaining bytes.
57050         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57052 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57054         * posix/getconf.c: Update copyright year.
57055         * nss/getent.c: Likewise.
57056         * nss/makedb.c: Likewise.
57057         * iconv/iconvconfig.c: Likewise.
57058         * iconv/iconv_prog.c: Likewise.
57059         * elf/ldconfig.c: Likewise.
57060         * elf/pldd.c: Likewise.
57061         * elf/sotruss.ksh: Likewise.
57062         * catgets/gencat.c: Likewise.
57063         * csu/version.c: Likewise.
57064         * elf/ldd.bash.in: Likewise.
57065         * elf/sprof.c (print_version): Likewise.
57066         * locale/programs/locale.c: Likewise.
57067         * locale/programs/localedef.c: Likewise.
57068         * login/programs/pt_chown.c: Likewise.
57069         * nscd/nscd.c (print_version): Likewise.
57070         * debug/xtrace.sh: Likewise.
57071         * malloc/memusage.sh: Likewise.
57072         * malloc/mtrace.pl: Likewise.
57073         * debug/catchsegv.sh: Likewise.
57075 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57077         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57078         pure attribute.
57080 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57082         [BZ #13533]
57083         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57084         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57085         transformations.
57086         * iconv/gconv_int.h: Likewise.
57087         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57088         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57089         from libc for GLIBC_2.16.
57090         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57091         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57092         * wcsmbs/uchar.h: Really define mbstate_t.
57093         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57094         * wcsmbs/c16rtomb.c: New file.
57095         * wcsmbs/mbrtoc16.c: New file.
57096         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57097         for C/POSIX locale.
57098         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57099         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57101         * wcsmbs/wchar.h: Add missing __restrict.
57103 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57105         [BZ #13532]
57106         * time/Makefile (routines): Add timespec_get.
57107         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57108         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57109         timespec for ISO C11.
57110         * time/timespec_get.c: New file.
57111         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57112         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57114         [BZ #13531]
57115         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57116         * stdlib/stdlib.h: Declare aligned_alloc.
57117         * Versions.def: Add GLIBC_2.16 for libc.
57118         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57120         [BZ 13527]
57121         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57122         ISO C11.
57124         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57125         code.
57127         [BZ #13528]
57128         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57130         [BZ #13529]
57131         * assert/assert.h (static_assert): Define.
57133         * version.h: Update for 2.16 development version.
57135         [BZ #13526]
57136         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57137         _ISOC11_SOURCE.
57139         * version.h (RELEASE): Bump for 2.15 release.
57140         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57142         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57143         Patch by Marek Polacek <mpolacek@redhat.com>.
57145         * bits/byteswap.h: Protect long long constants with __extension__.
57146         * sysdeps/i386/bits/byteswap.h: Likewise.
57147         * sysdeps/ia64/bits/byteswap.h: Likewise.
57148         * sysdeps/s390/bits/byteswap.h: Likewise.
57149         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57151 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57153         [BZ #13540]
57154         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57155         destination buffer.
57156         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57158 2011-12-23  Marek Polacek  <polacek@redhat.com>
57160         * elf/dl-addr.c (determine_info): Add inline keyword.
57161         * elf/tst-auditmod4b.c (check_avx): Likewise.
57162         * elf/tst-auditmod6b.c (check_avx): Likewise.
57163         * elf/tst-auditmod6c.c (check_avx): Likewise.
57164         * elf/tst-auditmod7b.c (check_avx): Likewise.
57166 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57168         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57169         !__SSE_MATH__.
57171 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57173         [BZ #13540]
57174         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57175         processing for last bytes.
57177 2011-08-06  Bruno Haible  <bruno@clisp.org>
57179         [BZ #13061]
57180         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57181         U+0385, not to U+1FEE.
57183         [BZ #13062]
57184         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57185         entry for U+00A5 U+0301.
57187 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57189         [BZ #13166]
57190         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57191         buffer for the output is too small.
57193         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57194         optimization.
57196         [BZ #13185]
57197         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57198         SSE flags if possible.
57200 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57202         [BZ #13540]
57203         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57204         processing for last bytes.
57206 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57208         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57209         (syscall-list-default-options, syscall-list-default-condition)
57210         (syscall-list-includes): Define.
57211         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57212         list of ABIs and options and #if conditions for each ABI.  Do not
57213         handle common syscalls between ABIs specially.
57214         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57215         Remove.
57216         (syscall-list-variants, syscall-list-32bit-options)
57217         (syscall-list-32bit-condition, syscall-list-64bit-options)
57218         (syscall-list-64bit-condition): Define.
57219         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57220         (syscall-list-variants, syscall-list-32bit-options)
57221         (syscall-list-32bit-condition, syscall-list-64bit-options)
57222         (syscall-list-64bit-condition): Define.
57223         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57224         Remove.
57225         (syscall-list-variants, syscall-list-32bit-options)
57226         (syscall-list-32bit-condition, syscall-list-64bit-options)
57227         (syscall-list-64bit-condition): Define.
57228         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57229         Remove.
57230         (syscall-list-variants, syscall-list-32bit-options)
57231         (syscall-list-32bit-condition, syscall-list-64bit-options)
57232         (syscall-list-64bit-condition): Define.
57234 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57236         * locale/iso-639.def: Add brx entry.
57238         [BZ #13328]
57239         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57240         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57242         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57243         __feraiseexcept_renamed.
57245 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57247         [BZ #13538]
57248         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57249         EPOLLET with unsigned values.
57250         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57251         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57253         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57254         to large cancellation.
57255         * math/s_cacoshf.c: Likewise.
57256         * math/s_cacoshl.c: Likewise.
57258 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57260         [BZ #13305]
57261         [BZ #12786]
57262         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57263         * math/s_cacoshf.c: Likewise.
57264         * math/s_cacoshl.c: Likewise.
57266 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57268         [BZ #13439]
57269         * iconv/gconv.h: Define __GCONV_SWAP.
57270         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57271         * iconvdata/utf-16.c: Likewise.
57272         * iconvdata/utf-32.c: Likewise.
57274 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57276         [BZ #13524]
57277         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57278         numerator after shifting it by one limb.
57280 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57282         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57283         under [__USE_EXTERN_INLINES].
57285 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57287         [BZ #13446]
57288         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57290 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57292         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57293         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57294         optimized code.
57295         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57296         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57297         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57298         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57299         for strncasecmp/strncasecmp_l compilation.
57300         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57301         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57303 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57305         [BZ #13484]
57306         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57307         of __asm__.
57309 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57311         [BZ #13506]
57312         * time/tzfile.c (__tzfile_read): Check values from file header.
57314 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57316         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57317         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57318         * powerpc/powerpc32/dl-start.S: Likewise.
57319         * powerpc/powerpc32/elf/start.S: Likewise.
57320         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57321         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57322         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57323         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57324         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57325         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57326         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57327         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57328         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57329         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57330         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57331         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57332         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57333         * powerpc/powerpc32/memset.S: Likewise.
57334         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57335         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57336         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57337         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57338         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57339         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57340         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57341         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57342         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57343         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57344         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57345         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57346         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57348 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57350         * math/libm-test.inc: Added more nearbyint tests.
57351         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57352         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57353         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57354         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57356 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57358         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57359         FD_CLOEXEC.
57361 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57363         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57364         Add wcscpy-ssse3 wcscpy-c.
57365         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57366         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57367         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57368         * sysdeps/x86_64/wcschr.S: New file.
57369         * sysdeps/x86_64/wcsrchr.S: New file.
57370         * string/test-strcmp.c: Remove checking of wcscmp function for
57371         wrong alignments.
57372         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57373         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57374         wcsrchr-sse2 wcsrchr-c.
57375         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57376         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57377         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57378         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57379         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57380         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57381         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57382         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57383         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57384         * wcsmbc/wcschr.c (WCSCHR): New macro.
57386 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57388         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57389         * wcsmbs/test-wcsrchr.c: New file.
57390         * string/test-strrchr.c: Add wcsrchr support.
57391         (WIDE): New macro.
57392         * wcsmbs/test-wcscpy.c: New file.
57393         * string/test-strcpy.c: Add wcscpy support.
57394         (WIDE): New macro.
57396 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57398         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57399         the inner loop.
57401 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57403         [BZ #13472]
57404         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57406 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57408         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57409         Minor optimizations.
57411         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57412         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57413         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57415 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57417         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57418         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57419         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57420         for gcc to avoid warnings.
57421         * inet/Makefile (tests): Add tst-checks.
57422         * inet/tst-checks.c: New file.
57424         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57425         warning.
57427         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57428         __wmemcmp_sse2.
57430         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57431         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57433         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57435 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57437         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57438         problem.
57440         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57442 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57444         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57445         conditional on GCC version.
57446         (__arch_compare_and_exchange_val_8_acq)
57447         (__arch_compare_and_exchange_val_16_acq)
57448         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57449         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57450         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57452 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57454         * sysdeps/sh/backtrace.c: New file.
57456 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57458         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57459         parenthesis.
57461 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57463         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57464         falling back to utime.
57466 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57468         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57469         expectations for float.
57471 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57473         * locale/weight.h (findidx): Add parameter len.
57474         * locale/weightwc.h (findidx): Likewise.
57475         * posix/fnmatch_loop.c (FCT): Adjust caller.
57476         * posix/regcomp.c (build_equiv_class): Likewise.
57477         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57478         * posix/regexec.c (check_node_accept_bytes): Likewise.
57479         * string/strcoll_l.c (STRCOLL): Likewise.
57480         * string/strxfrm_l.c (STRXFRM): Likewise.
57482 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57484         * Makefile.in: Remove CVSOPT handling.
57485         * configure.in: Remove use of AC_REVISION.
57486         * iconvdata/Makefile (distribute): No need to filter out CVS.
57487         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57488         handling.
57490 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57492         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57493         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57494         [USE_AS_STRNCASECMP_L]: Likewise.
57495         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57496         NO_TLS_DIRECT_SEG_REFS.
57497         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57498         Fix argument offsets for non-PIC.
57499         [USE_AS_STRNCASECMP_L]: Likewise.
57500         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57501         NO_TLS_DIRECT_SEG_REFS.
57503 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57505         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57506         O_CLOEXEC.
57507         * locale/loadlocale.c (_nl_load_locale): Likewise.
57509 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57511         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57512         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57513         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57514         (SYSCALL_GETTIME): Set errno on error.
57516         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57517         count references to noai6ai_cached.
57519 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57521         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57523         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57524         FD_CLOEXEC for /proc/self/maps.
57526         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57527         FD_CLOEXEC for /proc/meminfo.
57529         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57530         gai.conf.
57532         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57533         FD_CLOEXEC for given file.
57535         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57537         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57538         FD_CLOEXEC for /etc/hosts.
57539         (_gethtent): Likewise.
57541         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57543         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57544         cancellation and set FD_CLOEXEC for /etc/netgroup.
57546         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57547         reading /etc/publickey.
57549         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57550         allow cancellation when reading /etc/group.
57552         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57553         cancellation.
57554         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57556         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57557         when using data file.
57559         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57561         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57562         (write_nis_obj): Use "c" and "e" in fopen.
57564         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57566         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57568         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57570         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57572         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57573         locale.alias.
57575         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57577         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57579         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57581         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57582         file parsing and set FD_CLOEXEC.
57584 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57586         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57588 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57590         * malloc/arena.c (arena_get2): Don't call reused_arena when
57591         _int_new_arena failed.
57593 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57595         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57596         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57597         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57598         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57599         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57600         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57601         to compile strcasecmp and strncasecmp.
57602         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57603         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57605         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57607 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57609         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57610         locale-defines.sym to gen-as-const-headers.
57611         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57612         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57613         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57614         to compile strcasecmp and strncasecmp.
57615         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57616         strcasecmp_l and strncasecmp_l.
57617         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57618         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57619         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57620         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57621         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57622         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57623         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57624         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57625         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57626         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57627         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57629 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57631         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57632         result of SYSDEP_GETTIME_CPU to retval.
57633         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57634         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57636         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57637         variable.
57639         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57640         mantissa words.
57641         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57643         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57644         from unused variable.
57646         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57647         DWARF definitions.
57648         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57649         for assembling.
57651         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57652         over namespaces.
57654         * sunrpc/rpc_prot.c (rejected): Fix case value.
57656         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57657         unsigned long long int to avoid warnings in shift.
57659         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57660         of use of trans.
57661         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57662         variable tmp.
57664         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57665         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57666         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57668         * nis/nis_table.c (nis_list): Use variable of correct type for
57669         result of __follow_path call.
57671 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57673         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57674         of math functions ceil, trunc, floor, round, and sqrt, when
57675         avaliable on the platform.
57676         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57677         name clash.
57678         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57679         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57680         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57682 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57684         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57685         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57687 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57689         * include/unistd.h: Fix __readlink return type.
57690         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57692 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57694         * stdlib/ucontext.h: Undo last change for makecontext.
57696 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57698         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57700         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57701         * setjmp/setjmp.h: Mark functions as non-leaf.
57702         * setjmp/bits/setjmp2.h: Likewise.
57703         * stdlib/ucontext.h: Likewise.
57705 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57707         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57708         (reused_arena): Don't check arena limit.
57709         (arena_get2): Atomically check arena limit.
57711 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57713         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57714         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57716         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57717         instructions.
57719 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57721         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57722         handler when locking.
57724         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57725         Fix size of allocated buffer.
57727 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57729         [BZ #10103]
57730         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57731         declarations for long double functions.
57732         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57734         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57736 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57738         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57739         installed.
57741         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57742         is disabled.
57744 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57746         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57748 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57750         * include/alloca.h (stackinfo_alloca_round): Define.
57751         (extend_alloca): Use it.
57752         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57753         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57754         here.
57756         * scripts/check-local-headers.sh: Ignore libaudit.h.
57758         * nscd/Makefile (extra-objs): Make recursively expanded.
57760 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57762         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57763         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57765         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57766         * posix/tst-rfc3484-2.c: Likewise.
57767         * posix/tst-rfc3484-3.c: Likewise.
57769         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57770         process_vm_writev.
57771         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57772         process_vm_writev.
57773         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57774         process_vm_writev from libc using GLIBC_2.15 version.
57776         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57778 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57780         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57781         stack usage.
57783 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57785         [BZ #13367]
57786         * nss/getent.c (initgroups_keys): Show error message in case no group
57787         names are given.
57789         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57790         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57791         __bump_nl_timestamp.
57792         * nscd/connections (nscd_init): When host database is served open
57793         netlink socket and request notification about configuration changes.
57794         (main_loop_poll): Track netlink file descriptor and bump timestamp
57795         in case data becomes available.
57796         (main_loop_epoll): Likewise.
57797         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57798         (database_pers_head): Add extra_data fileds.
57799         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57800         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57801         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57802         Adjust caller.
57803         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57804         in6ai data, call __free_in6ai.
57805         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57806         Add -DHAVE_NETLINK.
57807         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57808         interface information.  Reuse previous data if netlink timestamp
57809         is not changed.
57810         (__bump_nl_timestamp): New function.
57811         (__free_in6ai): New function.
57813 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57815         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57816         close_not_cancel_no_status here.
57817         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57819 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57821         [BZ #13276]
57822         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57823         return value.
57825         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57826         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57827         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57829 2011-07-03  Andreas Jaeger  <aj@suse.de>
57831         [BZ #10709]
57832         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57833         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57834         * math/libm-test.inc (sin_test): Add test case.
57836 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57838         [BZ #13337]
57839         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57840         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57842         * elf/chroot_canon.c (chroot_canon): Cleanups.
57844         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57846         [BZ #13335]
57847         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57848         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57850         * string/test-strchr.c: Make usable for strchrnul testing.
57851         * string/test-strchrnul.c: New file.
57852         * string/Makefile (strop-tests): Add strchrnul.
57854         * po/it.po: Update from translation team.
57855         * po/es.po: Likewise.
57857 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57859         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57860         the three constants needed as parameters.  Drop the others.
57861         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57862         __m128i_strloadu_tolower.
57863         Create and initialize variable zero and use it in all the places
57864         where _mm_setzero_si128 was used.
57866         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57867         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57868         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57869         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57870         anymore.
57871         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57872         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57873         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57874         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57875         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57876         __mpranred, __mptan.
57877         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57878         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57879         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57880         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57881         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57882         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57883         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57884         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57885         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57887 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57889         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57890         redefine if SHARED.
57891         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57893         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57894         wide char related routines to wcsmbs subdir.
57896 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57898         [BZ #13344]
57899         * misc/sys/cdefs.h (__THROWNL): Define.
57900         * posix/unistd.h: Use __THREADNL instead of __THREAD
57901         for memory synchronization functions.
57903 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57905         [BZ #13349]
57906         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57907         doesn't exist.
57908         * manual/stdio.texi (Obstack Streams): Node removed.
57910 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57912         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57913         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57914         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57916         * math/math_private.h (math_force_eval): Allow non-addressable
57917         arguments.
57918         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57920 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57922         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57923         file is not needed.
57925         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57926         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57927         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57928         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57929         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57930         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57931         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57932         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57933         Add AVX variants.
57934         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57935         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57936         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57937         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57938         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57939         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57940         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57941         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57942         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57943         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57944         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57945         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57946         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57947         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57948         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57949         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57950         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57951         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57952         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57954         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57955         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57957         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57958         place.  Use VEX encoding when compiling for AVX.
57960 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57962         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57963         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57965         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57967 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57969         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57970         useless if() expression.
57971         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57972         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57973         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57974         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57975         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57976         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57977         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57978         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57979         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57980         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57981         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57982         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57983         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57984         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57985         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57986         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57987         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57988         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57989         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57991         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57993 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57995         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57996         condition.
57997         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57999 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58001         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58002         .text section.  Avoid duplicate constants.
58003         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58004         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58005         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58006         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58007         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58008         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58009         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58010         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58011         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58012         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58013         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58014         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58015         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58016         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58017         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58018         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58019         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58020         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58021         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58022         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58023         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58024         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58025         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58026         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58027         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58028         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58029         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58030         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58031         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58032         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58033         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58034         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58035         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58036         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58037         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58038         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58039         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58040         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58041         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58042         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58043         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58044         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58045         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58046         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58047         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58049 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58051         * sysdeps/x86_64/dla.h: Move to ...
58052         * sysdeps/x86_64/fpu/dla.h: ...here.
58053         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58054         situations.  Use __builtin_fma only for gcc 4.6 and up.
58056         * config.make.in: Add have-mfma4 entry.
58057         * configure.in: Substitute libc_cv_cc_fma4.
58058         * math/Makefile (dbl-only-routines): Add sincostab.
58059         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58060         Use __sincostab not sincos.
58061         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58062         name is a macro.
58063         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58064         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58065         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58066         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58067         using __copysign.
58068         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58069         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58070         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58071         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58072         and __inv.
58073         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58074         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58075         __copysign.
58076         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58077         define aliases when function name is a macro.
58078         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58079         sysdeps/ieee754/dbl-64/sincos.tbl.
58080         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58081         fma4-enabled routines.
58082         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58083         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58084         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58085         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58086         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58087         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58088         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58089         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58090         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58091         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58092         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58093         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58094         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58095         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58096         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58097         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58098         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58099         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58100         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58101         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58102         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58103         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58104         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58105         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58106         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58107         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58108         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58109         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58110         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58111         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58113         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58114         rename.
58115         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58116         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58117         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58118         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58119         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58120         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58121         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58122         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58124 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58126         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58128 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58130         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58132         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58133         prediction.
58134         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58136         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58137         Remove unused variable magic_bits.
58138         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58140         * string/strnlen.c: Define and use STRNLEN macro.
58141         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58142         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58143         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58144         * wcsmbs/wcslen.c: Define and use WCSLEN.
58145         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58146         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58147         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58148         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58149         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58150         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58151         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58153 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58155         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58156         strnlen-sse2-no-bsf.
58157         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58158         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58159         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58160         Add strnlen support.
58161         (USE_AS_STRNLEN): New macro.
58162         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58163         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58164         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58165         * sysdeps/x86_64/wcslen.S: New file.
58167 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58169         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58170         XMM-moves are used for copying on small sizes.
58172 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58174         * wcsmbs/Makefile (strop-tests): Add wcschr.
58175         * wcsmbs/test-wcschr.c: New file.
58176         * string/test-strchr.c: Update.
58177         Add wcschr support.
58178         (WIDE): New macro.
58180 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58182         * wcsmbs/Makefile (strop-tests): Add wcslen.
58183         * wcsmbs/test-wcslen.c: New file.
58184         * string/test-strlen.c: Update.
58185         Add wcslen support.
58186         (WIDE): New macro.
58188 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58190         * po/it.po: Update from translation team.
58192 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58194         * sysdeps/x86_64/wcscmp.S: Update.
58195         Fix wrong comparison semantics.
58196         wcscmp shall use signed comparison not unsigned.
58197         Don't use substraction to avoid overflow bug.
58198         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58199         * wcsmbc/wcscmp.c: Likewise.
58200         * string/test-strcmp.c: Likewise.
58201         Add new tests to check cases with negative values.
58203 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58205         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58206         * sysdeps/x86_64/dla.h: ...here.  New file.
58207         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58208         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58209         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58210         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58211         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58212         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58213         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58214         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58215         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58217 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58219         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58220         __ynl_finite aliases.
58222 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58226         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58227         define DLA_FMA.
58228         [DLA_FMA] (EMULV): Use DLA_FMA.
58229         [DLA_FMA] (MUL12): Use EMULV.
58230         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58231         that are not needed.
58232         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58233         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58234         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58235         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58236         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58237         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58238         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58240 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58242         * math/s_nan.c: Undef __nan.
58243         * math/s_nanf.c: Undef __nanf.
58244         * math/s_nanl.c: Undef __nanl.
58245         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58246         "math_private.h".
58248 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58250         * math/s_catan.c: Add branch predictions.
58251         * math/s_catanf.c: Likewise.
58252         * math/s_catanh.c: Likewise.
58253         * math/s_catanhf.c: Likewise.
58254         * math/s_catanhl.c: Likewise.
58255         * math/s_catanl.c: Likewise.
58256         * math/s_cexp.c: Likewise.
58257         * math/s_cexpf.c: Likewise.
58258         * math/s_cexpl.c: Likewise.
58259         * math/s_clog.c: Likewise.
58260         * math/s_clog10.c: Likewise.
58261         * math/s_clog10f.c: Likewise.
58262         * math/s_clog10l.c: Likewise.
58263         * math/s_clogf.c: Likewise.
58264         * math/s_clogl.c: Likewise.
58265         * math/s_csqrt.c: Likewise.
58266         * math/s_csqrtf.c: Likewise.
58267         * math/s_csqrtl.c: Likewise.
58268         * math/s_ctanf.c: Likewise.
58269         * math/s_ctanh.c: Likewise.
58270         * math/s_ctanhf.c: Likewise.
58271         * math/s_ctanhl.c: Likewise.
58272         * math/s_ctanl.c: Likewise.
58274         * math/math_private.h: Define __nan, __nanf, __nanl.
58275         * math/s_cacosh.c: Include <math_private.h>.
58276         * math/s_cacoshl.c: Likewise.
58277         * math/s_casinh.c: Likewise.
58278         * math/s_casinhf.c: Likewise.
58279         * math/s_casinhl.c: Likewise.
58280         * math/s_ccos.c: Rely entire on ccosh.
58281         * math/s_ccosf.c: Rely entire on ccoshf.
58282         * math/s_ccosl.c: Rely entirely on ccoshl.
58283         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58284         Remove tests for FE_INVALID.
58285         * math/s_ccoshf.c: Likewise.
58286         * math/s_ccoshl.c: Likewise.
58287         * math/s_csin.c: Likewise.
58288         * math/s_csinf.c: Likewise.
58289         * math/s_csinh.c Likewise.
58290         * math/s_csinhf.c: Likewise.
58291         * math/s_csinhl.c: Likewise.
58292         * math/s_csinl.c: Likewise.
58293         * math/s_ctan.c: Likewise.
58294         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58295         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58296         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58298 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58301         compilation problems.
58303         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58304         __builtin_expect.
58306 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58308         * sysdeps/i386/configure.in: Test for -mfma4 option.
58309         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58310         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58311         COMMON_CPUID_INDEX_80000001.
58312         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58313         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58314         use it if FMA3 is not supported.
58315         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58317         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58318         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58320 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58322         [BZ #12892]
58323         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58324         it would create a cycle with a link time dependency.
58326 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58328         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58329         instruction.
58330         * string/Makefile (strop-tests): Add rawmemchr.
58331         * string/test-rawmemchr.c: New file.
58333         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58334         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58335         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58336         when compiling str{,n}casecmp and when AVX is available.  Hook up
58337         new optimized code in initializers.
58339 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58341         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58342         __feraiseexcept instead of feraiseexcept.
58344 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58346         * math/math_private.h: Define defaults for libc_fetestexcept and
58347         libc_feupdateenv.
58348         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58349         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58350         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58351         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58352         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58353         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58354         libc_fetestexcept and libc_feupdateenv.
58356         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58357         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58358         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58359         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58360         libc_feholdexcept_setround.
58362         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58363         Add s_nearbyint-c and s_nearbyintf-c.
58364         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58365         nearbyintf inlines.
58366         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58367         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58368         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58369         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58371         * math/math_private.h: Define defaults for libc_fegetround,
58372         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58373         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58374         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58375         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58376         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58377         standard functions.
58378         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58379         Remove comments and hacks for old compiler versions.
58380         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58381         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58382         libc_feholdexceptl.
58384 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58386         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58387         (__feraiseexcept_renamed): Add __NTH.
58388         (feraiseexcept): Add __NTH.  Rename local variables to fix
58389         namespace violations.
58391 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58393         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58395         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58397         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58398         recently added interfaces.
58399         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58401         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58402         about macro parameter expansion.
58404         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58405         __NO_MATH_INLINES is defined.  Cleanups.
58407         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58408         and __floorf is target has SSE4.1.
58409         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58410         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58411         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58412         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58414         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58415         name.
58416         (floorf): Likewise.
58418         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58420 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58422         * misc/sys/cdefs.h: Fix last change.
58424         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58425         database lookup.
58427 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58429         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58431         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58432         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58433         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58434         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58435         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58436         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58437         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58438         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58439         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58440         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58441         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58442         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58443         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58444         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58445         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58446         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58447         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58448         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58449         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58450         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58451         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58452         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58454         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58455         ceil, ceilf, floor, floorf.
58457         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58458         Perform IRELATIVE relocations last.
58460         * elf/do-rel.h: Add another parameter nrelative, replacing the
58461         local variable with the same name.  Change name of the function
58462         to end in Rel or Rela (uppercase).
58463         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58464         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58465         elf_dynamic_do_##reloc function.
58467 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58469         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58470         is sufficient, at least on modern CPUs.
58472         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58474         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58475         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58477         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58478         __expl_finite.
58479         * math/bits/math-finite.h: Add entries for exp.
58480         * math/e_expl.c: Add __*_finite alias.
58481         * sysdeps/i386/fpu/e_exp.S: Likewise.
58482         * sysdeps/i386/fpu/e_expf.S: Likewise.
58483         * sysdeps/i386/fpu/e_expl.c: Likewise.
58484         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58485         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58486         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58487         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58488         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58489         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58490         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58492         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58493         is sufficient, at least on modern CPUs.
58495         * ctype/ctype-info.c (__ctype_init): Define.
58496         * include/ctype.h (__ctype_init): Declare.
58497         (__ctype_b_loc): The variable is always initialized.
58498         (__ctype_toupper_loc): Likewise.
58499         (__ctype_tolower_loc): Likewise.
58500         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58501         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58503 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58505         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58507         * configure.in: Also look in $cxxmachine/include for C++ system
58508         headers.
58510 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58512         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58513         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58514         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58515         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58516         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58517         (USE_AS_WMEMCMP): New macro.
58518         Fixing indents.
58519         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58520         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58521         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58522         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58523         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58524         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58525         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58526         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58527         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58528         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58529         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58530         (USE_AS_WMEMCMP): New macro.
58531         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58532         * sysdeps/string/test-memcmp.c: Update.
58533         Fix simple_wmemcmp.
58534         Add new tests.
58535         * wcsmbs/wmemcmp.c: Update.
58536         (WMEMCMP): New macro.
58537         Fix overflow bug.
58539 2011-10-12  Andreas Jaeger  <aj@suse.de>
58541         [BZ #13268]
58542         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58544 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58546         * libio/iofwide.c (do_length): Avoid warning.
58548         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58550 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58552         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58554         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58555         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58556         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58557         * sysdeps/i386/i686/fpu/e_log.S: New file.
58558         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58559         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58561         * ctype/ctype.h: Add support for inlined isXXX functions when
58562         compiling C++ code.
58564 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58566         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58568         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58570 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58572         [BZ #13291]
58573         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58575 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58577         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58578         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58579         feraiseexcept.
58581         * sysdeps/x86_64/memrchr.S: Check for zero size.
58583         * string/stratcliff.c: Add memrchr tests.
58585 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58587         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58588         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58589         rawmemchr-sse2 rawmemchr-sse2-bsf.
58590         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58591         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58592         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58593         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58594         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58595         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58596         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58597         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58598         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58599         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58600         * string/memrchr.c (MEMRCHR): New macro.
58602 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58604         Add integration with gcc's -ffinite-math-only and optimize wrapper
58605         functions in libm.
58606         * Versions.def: Define GLIBC_2.15 version for libm.
58607         * math/Makefile (headers): Add bits/math-finite.h.
58608         * math/bits/math-finite.h: New file.
58609         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58610         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58611         * math/e_acoshl.c: Add __*_finite alias.
58612         * math/e_acosl.c: Likewise.
58613         * math/e_asinl.c: Likewise.
58614         * math/e_atan2l.c: Likewise.
58615         * math/e_atanhl.c: Likewise.
58616         * math/e_coshl.c: Likewise.
58617         * math/e_exp10.c: Likewise.
58618         * math/e_exp10f.c: Likewise.
58619         * math/e_exp10l.c: Likewise.
58620         * math/e_exp2l.c: Likewise.
58621         * math/e_fmodl.c: Likewise.
58622         * math/e_gammal_r.c: Likewise.
58623         * math/e_hypotl.c: Likewise.
58624         * math/e_j0l.c: Likewise.
58625         * math/e_j1l.c: Likewise.
58626         * math/e_jnl.c: Likewise.
58627         * math/e_lgammal_r.c: Likewise.
58628         * math/e_log10l.c: Likewise.
58629         * math/e_log2l.c: Likewise.
58630         * math/e_logl.c: Likewise.
58631         * math/e_powl.c: Likewise.
58632         * math/e_sinhl.c: Likewise.
58633         * math/e_sqrtl.c: Likewise.
58634         * math/e_scalb.c: Completely rewritten and optimized.
58635         * math/e_scalbf.c: Likewise.
58636         * math/e_scalbl.c: Likewise.
58637         * math/w_acos.c: Likewise.
58638         * math/w_acosf.c: Likewise.
58639         * math/w_acosl.c: Likewise.
58640         * math/w_acosh.c: Likewise.
58641         * math/w_acoshf.c: Likewise.
58642         * math/w_acoshl.c: Likewise.
58643         * math/w_asin.c: Likewise.
58644         * math/w_asinf.c: Likewise.
58645         * math/w_asinl.c: Likewise.
58646         * math/w_atan2.c: Likewise.
58647         * math/w_atan2f.c: Likewise.
58648         * math/w_atan2l.c: Likewise.
58649         * math/w_atanh.c: Likewise.
58650         * math/w_atanhf.c: Likewise.
58651         * math/w_atanhl.c: Likewise.
58652         * math/w_exp10.c: Likewise.
58653         * math/w_exp10f.c: Likewise.
58654         * math/w_exp10l.c: Likewise.
58655         * math/w_fmod.c: Likewise.
58656         * math/w_fmodf.c: Likewise.
58657         * math/w_fmodl.c: Likewise.
58658         * math/w_j0.c: Likewise.
58659         * math/w_j0f.c: Likewise.
58660         * math/w_j0l.c: Likewise.
58661         * math/w_j1.c: Likewise.
58662         * math/w_j1f.c: Likewise.
58663         * math/w_j1l.c: Likewise.
58664         * math/w_jn.c: Likewise.
58665         * math/w_jnf.c: Likewise.
58666         * math/w_log.c: Likewise.
58667         * math/w_logf.c: Likewise.
58668         * math/w_logl.c: Likewise.
58669         * math/w_log10.c: Likewise.
58670         * math/w_log10f.c: Likewise.
58671         * math/w_log10l.c: Likewise.
58672         * math/w_log2.c: Likewise.
58673         * math/w_log2f.c: Likewise.
58674         * math/w_log2l.c: Likewise.
58675         * math/w_pow.c: Likewise.
58676         * math/w_powf.c: Likewise.
58677         * math/w_powl.c: Likewise.
58678         * math/w_remainder.c: Likewise.
58679         * math/w_remainderf.c: Likewise.
58680         * math/w_remainderl.c: Likewise.
58681         * math/w_scalb.c: Likewise.
58682         * math/w_scalbf.c: Likewise.
58683         * math/w_scalbl.c: Likewise.
58684         * math/w_sqrt.c: Likewise.
58685         * math/w_sqrtf.c: Likewise.
58686         * math/w_sqrtl.c: Likewise.
58687         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58688         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58689         used.
58690         * math/math_private.h: Declare __kernel_standard_f.
58691         * math/w_cosh.c: Remove cruft and optimize a bit.
58692         * math/w_coshf.c: Likewise.
58693         * math/w_coshl.c: Likewise.
58694         * math/w_exp2.c: Likewise.
58695         * math/w_exp2f.c: Likewise.
58696         * math/w_exp2l.c: Likewise.
58697         * math/w_hypot.c: Likewise.
58698         * math/w_hypotf.c: Likewise.
58699         * math/w_hypotl.c: Likewise.
58700         * math/w_lgamma.c: Likewise.
58701         * math/w_lgamma_r.c: Likewise.
58702         * math/w_lgammaf.c: Likewise.
58703         * math/w_lgammaf_r.c: Likewise.
58704         * math/w_lgammal.c: Likewise.
58705         * math/w_lgammal_r.c: Likewise.
58706         * math/w_sinh.c: Likewise.
58707         * math/w_sinhf.c: Likewise.
58708         * math/w_sinhl.c: Likewise.
58709         * math/w_tgamma.c: Likewise.
58710         * math/w_tgammaf.c: Likewise.
58711         * math/w_tgammal.c: Likewise.
58712         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58713         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58714         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58715         Minor optimizations.  Pretty printing.  Remove cruft.
58716         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58717         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58718         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58719         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58720         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58721         * sysdeps/i386/fpu/e_asin.S: Likewise.
58722         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58723         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58724         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58725         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58726         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58727         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58728         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58729         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58730         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58731         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58732         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58733         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58734         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58735         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58736         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58737         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58738         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58739         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58740         * sysdeps/i386/fpu/e_log.S: Likewise.
58741         * sysdeps/i386/fpu/e_log10.S: Likewise.
58742         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58743         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58744         * sysdeps/i386/fpu/e_log2.S: Likewise.
58745         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58746         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58747         * sysdeps/i386/fpu/e_logf.S: Likewise.
58748         * sysdeps/i386/fpu/e_logl.S: Likewise.
58749         * sysdeps/i386/fpu/e_pow.S: Likewise.
58750         * sysdeps/i386/fpu/e_powf.S: Likewise.
58751         * sysdeps/i386/fpu/e_powl.S: Likewise.
58752         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58753         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58754         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58755         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58756         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58757         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58758         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58759         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58760         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58761         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58762         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58763         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58764         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58765         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58766         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58767         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58768         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58769         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58770         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58771         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58772         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58773         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58774         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58775         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58776         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58777         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58778         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58779         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58780         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58781         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58782         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58783         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58784         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58785         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58786         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58787         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58788         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58789         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58790         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58791         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58792         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58793         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58794         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58795         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58796         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58797         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58798         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58799         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58800         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58801         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58802         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58803         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58804         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58805         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58806         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58807         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58808         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58809         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58810         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58811         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58812         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58813         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58814         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58815         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58816         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58817         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58818         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58819         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58820         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58821         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58822         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58823         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58824         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58825         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58826         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58827         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58828         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58829         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58830         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58831         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58832         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58833         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58834         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58835         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58836         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58837         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58838         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58839         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58840         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58841         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58842         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58843         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58844         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58845         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58846         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58847         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58848         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58849         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58850         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58851         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58852         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58853         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58854         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58855         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58856         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58857         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58858         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58859         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58860         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58861         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58862         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58863         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58864         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58865         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58866         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58867         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58868         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58869         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58870         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58871         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58872         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58873         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58874         (__isnanf): Likewise.
58875         (__isinf_ns): Likewise.
58876         (__isinf_nsf): Likewise.
58877         (__finite): Likewise.
58878         (__finitef): Likewise.
58879         (__ieee754_sqrt): Define as macro.
58880         (__ieee754_sqrtf): Define as macro.
58881         (__ieee754_sqrtl): Define as macro.
58882         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58883         inlined copy.
58884         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58885         __FINITE_MATH_ONLY__ consistent.
58886         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58888 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58890         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58891         of rawmemchr.
58893         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58895 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58897         * po/ja.po: Update from translation team.
58899 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58901         * locale/programs/locarchive.c (prepare_address_space): New function.
58902         (create_archive, enlarge_archive, open_archive): Use it.
58904         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58905         inside [SHARED], where it is used.
58907         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58909         * nss/getent.c (netgroup_keys): Remove unused variable.
58910         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58912 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58914         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58915         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58916         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58917         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58918         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58919         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58920         * math/Makefile (libm-calls): Add s_isinf_ns.
58921         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58922         * math/multc3.c: Likewise.
58923         * math/s_casin.c: Likewise.
58924         * math/s_casinf.c: Likewise.
58925         * math/s_casinl.c: Likewise.
58926         * math/s_ccos.c: Likewise.
58927         * math/s_ccosf.c: Likewise.
58928         * math/s_ccosl.c: Likewise.
58929         * math/s_ctan.c: Likewise.
58930         * math/s_ctanf.c: Likewise.
58931         * math/s_ctanh.c: Likewise.
58932         * math/s_ctanhf.c: Likewise.
58933         * math/s_ctanhl.c: Likewise.
58934         * math/s_ctanl.c: Likewise.
58935         * math/w_fmod.c: Likewise.
58936         * math/w_fmodf.c: Likewise.
58937         * math/w_fmodl.c: Likewise.
58938         * math/w_remainder.c: Likewise.
58939         * math/w_remainderf.c: Likewise.
58940         * math/w_remainderl.c: Likewise.
58941         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58942         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58943         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58944         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58945         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58946         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58947         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58948         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58950         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58951         of the number.
58952         * stdio-common/printf_fphex.c: Likewise.
58953         * stdio-common/printf_size.c: Likewise.
58955         * math/e_exp10.c: Include math_private.h using <...> not "...".
58956         * math/e_exp10f.c: Likewise.
58957         * math/e_exp10l.c: Likewise.
58958         * math/e_exp2l.c: Likewise.
58959         * math/e_j0l.c: Likewise.
58960         * math/e_j1l.c: Likewise.
58961         * math/e_jnl.c: Likewise.
58962         * math/e_lgammal_r.c: Likewise.
58963         * math/e_rem_pio2l.c: Likewise.
58964         * math/e_scalb.c: Likewise.
58965         * math/e_scalbf.c: Likewise.
58966         * math/e_scalbl.c: Likewise.
58967         * math/k_cosl.c: Likewise.
58968         * math/k_sinl.c: Likewise.
58969         * math/k_tanl.c: Likewise.
58970         * math/s_cacoshf.c: Likewise.
58971         * math/s_catan.c: Likewise.
58972         * math/s_catanf.c: Likewise.
58973         * math/s_catanh.c: Likewise.
58974         * math/s_catanhf.c: Likewise.
58975         * math/s_catanhl.c: Likewise.
58976         * math/s_catanl.c: Likewise.
58977         * math/s_ccosh.c: Likewise.
58978         * math/s_ccoshf.c: Likewise.
58979         * math/s_ccoshl.c: Likewise.
58980         * math/s_cexp.c: Likewise.
58981         * math/s_cexpf.c: Likewise.
58982         * math/s_cexpl.c: Likewise.
58983         * math/s_clog.c: Likewise.
58984         * math/s_clog10.c: Likewise.
58985         * math/s_clog10f.c: Likewise.
58986         * math/s_clog10l.c: Likewise.
58987         * math/s_clogf.c: Likewise.
58988         * math/s_clogl.c: Likewise.
58989         * math/s_csin.c: Likewise.
58990         * math/s_csinf.c: Likewise.
58991         * math/s_csinh.c: Likewise.
58992         * math/s_csinhf.c: Likewise.
58993         * math/s_csinhl.c: Likewise.
58994         * math/s_csinl.c: Likewise.
58995         * math/s_csqrt.c: Likewise.
58996         * math/s_csqrtf.c: Likewise.
58997         * math/s_csqrtl.c: Likewise.
58998         * math/s_ctan.c: Likewise.
58999         * math/s_ctanf.c: Likewise.
59000         * math/s_ctanh.c: Likewise.
59001         * math/s_ctanhf.c: Likewise.
59002         * math/s_ctanhl.c: Likewise.
59003         * math/s_ctanl.c: Likewise.
59004         * math/s_ldexp.c: Likewise.
59005         * math/s_ldexpf.c: Likewise.
59006         * math/s_ldexpl.c: Likewise.
59007         * math/s_significand.c: Likewise.
59008         * math/s_significandf.c: Likewise.
59009         * math/s_significandl.c: Likewise.
59010         * math/w_acos.c: Likewise.
59011         * math/w_acosf.c: Likewise.
59012         * math/w_acosh.c: Likewise.
59013         * math/w_acoshf.c: Likewise.
59014         * math/w_acoshl.c: Likewise.
59015         * math/w_acosl.c: Likewise.
59016         * math/w_asin.c: Likewise.
59017         * math/w_asinf.c: Likewise.
59018         * math/w_asinl.c: Likewise.
59019         * math/w_atan2.c: Likewise.
59020         * math/w_atan2f.c: Likewise.
59021         * math/w_atan2l.c: Likewise.
59022         * math/w_atanh.c: Likewise.
59023         * math/w_atanhf.c: Likewise.
59024         * math/w_atanhl.c: Likewise.
59025         * math/w_cosh.c: Likewise.
59026         * math/w_coshf.c: Likewise.
59027         * math/w_coshl.c: Likewise.
59028         * math/w_dremf.c: Likewise.
59029         * math/w_exp10.c: Likewise.
59030         * math/w_exp10f.c: Likewise.
59031         * math/w_exp10l.c: Likewise.
59032         * math/w_exp2.c: Likewise.
59033         * math/w_exp2f.c: Likewise.
59034         * math/w_fmod.c: Likewise.
59035         * math/w_fmodf.c: Likewise.
59036         * math/w_fmodl.c: Likewise.
59037         * math/w_hypot.c: Likewise.
59038         * math/w_hypotf.c: Likewise.
59039         * math/w_hypotl.c: Likewise.
59040         * math/w_j0.c: Likewise.
59041         * math/w_j0f.c: Likewise.
59042         * math/w_j0l.c: Likewise.
59043         * math/w_j1.c: Likewise.
59044         * math/w_j1f.c: Likewise.
59045         * math/w_j1l.c: Likewise.
59046         * math/w_jn.c: Likewise.
59047         * math/w_jnf.c: Likewise.
59048         * math/w_jnl.c: Likewise.
59049         * math/w_lgamma.c: Likewise.
59050         * math/w_lgamma_r.c: Likewise.
59051         * math/w_lgammaf.c: Likewise.
59052         * math/w_lgammaf_r.c: Likewise.
59053         * math/w_lgammal.c: Likewise.
59054         * math/w_lgammal_r.c: Likewise.
59055         * math/w_log.c: Likewise.
59056         * math/w_log10.c: Likewise.
59057         * math/w_log10f.c: Likewise.
59058         * math/w_log10l.c: Likewise.
59059         * math/w_log2.c: Likewise.
59060         * math/w_log2f.c: Likewise.
59061         * math/w_log2l.c: Likewise.
59062         * math/w_logf.c: Likewise.
59063         * math/w_logl.c: Likewise.
59064         * math/w_pow.c: Likewise.
59065         * math/w_powf.c: Likewise.
59066         * math/w_powl.c: Likewise.
59067         * math/w_remainder.c: Likewise.
59068         * math/w_remainderf.c: Likewise.
59069         * math/w_remainderl.c: Likewise.
59070         * math/w_scalb.c: Likewise.
59071         * math/w_scalbf.c: Likewise.
59072         * math/w_scalbl.c: Likewise.
59073         * math/w_sinh.c: Likewise.
59074         * math/w_sinhf.c: Likewise.
59075         * math/w_sinhl.c: Likewise.
59076         * math/w_sqrt.c: Likewise.
59077         * math/w_sqrtf.c: Likewise.
59078         * math/w_sqrtl.c: Likewise.
59079         * math/w_tgamma.c: Likewise.
59080         * math/w_tgammaf.c: Likewise.
59081         * math/w_tgammal.c: Likewise.
59083         * po/ja.po: Update from translation team.
59085 2011-09-29  Andreas Jaeger  <aj@suse.de>
59087         [BZ #13179]
59088         * sunrpc/netname.c (netname2host): Fix logic.
59090         [BZ #6779]
59091         [BZ #6783]
59092         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59093         correctly.
59094         * math/w_remainder.c (__remainder): Likewise.
59095         * math/w_remainderf.c (__remainderf): Likewise.
59096         * math/libm-test.inc (remainder_test): Add test cases.
59098 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59100         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59101         sdiv_qrnnd.
59103 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59105         * string/test-memcmp.c: Avoid unncessary #defines.
59106         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59108 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59110         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59111         Use new sse2 version for core i3 - i7 as it's faster
59112         than sse42 version.
59113         (bit_Prefer_PMINUB_for_stringop): New.
59114         * sysdeps/x86_64/rawmemchr.S: Update.
59115         Replace with faster SSE2 version.
59116         * sysdeps/x86_64/memrchr.S: New file.
59117         * sysdeps/x86_64/memchr.S: Update.
59118         Replace with faster SSE2 version.
59120 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59122         * elf/dl-load.c (lose): Add cast to avoid warning.
59124 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59126         * po/ca.po: Update from translation team.
59128         * inet/getnetgrent_r.c: Hook up nscd.
59129         * nscd/Makefile (routines): Add nscd_netgroup.
59130         (nscd-modules): Add netgroupcache.
59131         (CFLAGS-netgroupcache.c): Define.
59132         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59133         (cache_search): Add const to second parameter.
59134         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59135         INNETGR.
59136         (dbs): Add netgrdb entry.
59137         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59138         (verify_persistent_db): Handle netgrdb.
59139         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59140         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59141         GETFDNETGR.
59142         (netgroup_response_header): Define.
59143         (innetgroup_response_header): Define.
59144         (datahead): Add netgroup_response_header and innetgroup_response_header
59145         elements.
59146         * nscd/nscd.conf: Add entries for netgroup cache.
59147         * nscd/nscd.h (dbtype): Add netgrdb.
59148         (_PATH_NSCD_NETGROUP_DB): Define.
59149         (netgroup_iov_disabled): Declare.
59150         (xmalloc, xcalloc, xrealloc): Move declarations here.
59151         (cache_search): Adjust prototype.
59152         Add netgroup-related prototypes.
59153         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59154         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59155         (__nscd_innetgr): Declare.
59156         * nscd/selinux.c (perms): Use access_vector_t as element type and
59157         add netgroup-related initializers.
59158         * nscd/netgroupcache.c: New file.
59159         * nscd/nscd_netgroup.c: New file.
59160         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59161         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59162         For four parameters use innetgr.
59163         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59164         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59165         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59166         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59168         * nscd/connections.c (register_traced_file): Don't register file
59169         for disabled databases.
59171 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59173         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59175         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59176         from tree and freeing node.
59178 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59180         * nss/nsswitch.c (__nss_database_lookup): Handle
59181         nss_parse_service_list out of memory case.
59183 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59185         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59186         out of memory case.
59188 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59190         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59191         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59192         pass it down.
59193         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59194         elf_machine_rela, elf_machine_lazy_rel.
59195         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59196         (ELF_DYNAMIC_DO_REL): Likewise.
59197         (ELF_DYNAMIC_DO_RELA): Likewise.
59198         (ELF_DYNAMIC_RELOCATE): Likewise.
59199         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59200         to ELF_DYNAMIC_DO_REL.
59201         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59202         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59203         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59204         elf_machine_rela.
59205         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59206         skip_ifunc, don't call ifunc function if non-zero.
59207         (elf_machine_rela): Likewise.
59208         (elf_machine_lazy_rel): Likewise.
59209         (elf_machine_lazy_rela): Likewise.
59210         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59211         (elf_machine_lazy_rel): Likewise.
59212         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59213         Likewise.
59214         (elf_machine_lazy_rel): Likewise.
59215         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59216         Likewise.
59217         (elf_machine_lazy_rel): Likewise.
59218         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59219         (elf_machine_lazy_rel): Likewise.
59220         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59221         (elf_machine_lazy_rel): Likewise.
59222         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59223         (elf_machine_lazy_rel): Likewise.
59224         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59225         (elf_machine_lazy_rel): Likewise.
59226         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59227         (elf_machine_lazy_rel): Likewise.
59228         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59229         (elf_machine_lazy_rel): Likewise.
59231 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59233         * nss/nss_files/files-init.c (_nss_files_init): Use static
59234         initialization for all the *_traced_file variables.
59236 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59238         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59240 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59242         [BZ #13226]
59243         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59245 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59247         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59248         Reread the line before reparsing it.
59250 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59252         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59254 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59255             Maxim Kuvyrkov  <maxim@codesourcery.com>
59256             Joseph Myers  <joseph@codesourcery.com>
59258         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59259         if needed for __stack_chk_guard.
59261 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59263         * sysdeps/posix/spawni.c (script_execute): Always define it.
59264         It will be optimized away if unused.
59265         (maybe_script_execute): New function.
59266         (__spawni): Call it.
59268         * Makerules: Don't include tls.make.
59269         (config-tls): Always set to thread.
59270         * tls.make.c: File removed.
59272 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59274         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59275         * config.make.in (CPPFLAGS-config): New substituted variable.
59277 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59279         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59281         [BZ #13192]
59282         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59283         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59285 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59287         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59288         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59289         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59290         (CALL_FAIL): Likewise.
59291         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59292         (CALL_FAIL): Macro removed.
59293         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59295 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59297         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59298         for __FINITE_MATH_ONLY__ == 1.
59300 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59302         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59303         __ieee754_sqrt instead of sqrt.
59304         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59305         __ieee754_sqrtf instead of sqrtf.
59306         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59307         __floorf instead of floorf.
59308         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59309         __floorf, __truncf instead of floorf, truncf.
59311 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59313         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59315         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59316         __extern_always_inline.
59317         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59318         32-bit.
59320 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59322         * elf/rtld.c (dl_main): Also relocate in dependency order when
59323         doing symbol dependency testing.
59325 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59327         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59328         Always define `refsym'.
59330 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59332         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59333         (__FD_ELT): Renamed from __FDELT.
59334         * misc/bits/select2.h (__FD_ELT): Likewise.
59335         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59336         __FD_MASK instead of __FDELT, __FDMASK.
59337         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59338         Likewise.
59339         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59340         Likewise.
59342         * elf/Makefile (gen-ldd): Fix pattern.
59344         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59345         (init_tls): Likewise.
59347 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59349         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59351 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59353         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59354         `struct cmsghdr *' instead of `void *'.
59355         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59356         Likewise.
59358 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59360         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59361         if non-absolute.
59362         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59363         ldd_rewrite_script.
59365 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59367         * configure.in: Remove --with-tls option.
59368         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59369         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59370         out in case it is missing.
59371         * sysdeps/ia64/elf/configure.in: Likewise.
59372         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59373         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59374         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59375         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59376         * sysdeps/sh/elf/configure.in: Likewise.
59377         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59378         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59379         * sysdeps/x86_64/elf/configure.in: Likewise.
59380         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59381         * sysdeps/mach/hurd/tls.h: Likewise.
59383         [BZ #13067]
59384         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59386         [BZ #13090]
59387         * configure.in: Fix use of AC_INIT.
59389         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59391 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59393         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59394         __set_errno.
59395         * malloc/hooks.c: Likewise.
59397         [BZ #11929]
59398         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59399         variables statically.
59400         (narenas): Initialize.
59401         (list_lock): Initialize.
59402         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59403         initializtion of main_arena and list_lock.  Small cleanups.
59404         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59405         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59406         Add initializers to main_arena and mp_.
59407         (malloc_state): Remove pagesize member.  Change all users to use
59408         GLRO(dl_pagesize).
59410         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59411         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59412         is always initialized.
59414         * malloc/malloc.c: Removed unused configurations and dead code.
59415         * malloc/arena.c: Likewise.
59416         * malloc/hooks.c: Likewise.
59417         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59419         * include/tls.h: Removed.  USE___THREAD must always be defined.
59420         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59421         * elf/dl-libc.c: Likewise.
59422         * elf/dl-tsd.c: Likewise.
59423         * include/errno.h: Likewise.
59424         * include/netdb.h: Likewise.
59425         * include/resolv.h: Likewise.
59426         * inet/herrno-loc.c: Likewise.
59427         * inet/herrno.c: Likewise.
59428         * malloc/arena.c: Likewise.
59429         * malloc/hooks.c: Likewise.
59430         * malloc/malloc.c: Likewise.
59431         * resolv/res-state.c: Likewise.
59432         * resolv/res_libc.c: Likewise.
59433         * sysdeps/i386/dl-machine.h: Likewise.
59434         * sysdeps/ia64/dl-machine.h: Likewise.
59435         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59436         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59437         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59438         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59439         * sysdeps/sh/dl-machine.h: Likewise.
59440         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59441         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59442         * sysdeps/unix/i386/sysdep.S: Likewise.
59443         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59444         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59445         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59446         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59447         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59448         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59449         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59450         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59451         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59452         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59453         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59454         * sysdeps/x86_64/dl-machine.h: Likewise.
59455         * tls.make.c: Likewise.
59457         * configure.in: Remove --with-__thread option.  Make tests for
59458         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59459         tls_model attribute fail if no support is available.  Remove
59460         USE_IN_LIBIO.
59461         * Makeconfig: Adjust for dropped configure option.  All features are
59462         now mandatory.
59463         * Makerules: Likewise.
59464         * Versions.def: Likewise.
59465         * argp/argp-fmtstream.c: Likewise.
59466         * argp/argp-fmtstream.h: Likewise.
59467         * argp/argp-help.c: Likewise.
59468         * assert/assert.c: Likewise.
59469         * config.h.in: Likewise.
59470         * config.make.in: Likewise.
59471         * configure: Likewise.
59472         * configure.in: Likewise.
59473         * csu/Versions: Likewise.
59474         * csu/init.c: Likewise.
59475         * elf/tst-audit2.c: Likewise.
59476         * elf/tst-tls10.c: Likewise.
59477         * elf/tst-tls10.h: Likewise.
59478         * elf/tst-tls11.c: Likewise.
59479         * elf/tst-tls12.c: Likewise.
59480         * elf/tst-tls14.c: Likewise.
59481         * elf/tst-tlsmod11.c: Likewise.
59482         * elf/tst-tlsmod12.c: Likewise.
59483         * elf/tst-tlsmod13.c: Likewise.
59484         * elf/tst-tlsmod13a.c: Likewise.
59485         * elf/tst-tlsmod14a.c: Likewise.
59486         * elf/tst-tlsmod15b.c: Likewise.
59487         * elf/tst-tlsmod16a.c: Likewise.
59488         * elf/tst-tlsmod16b.c: Likewise.
59489         * elf/tst-tlsmod7.c: Likewise.
59490         * elf/tst-tlsmod8.c: Likewise.
59491         * elf/tst-tlsmod9.c: Likewise.
59492         * gmon/gmon.c: Likewise.
59493         * grp/fgetgrent_r.c: Likewise.
59494         * grp/putgrent.c: Likewise.
59495         * hurd/fopenport.c: Likewise.
59496         * include/libc-symbols.h: Likewise.
59497         * include/tls.h: Likewise.
59498         * intl/gettextP.h: Likewise.
59499         * intl/loadinfo.h: Likewise.
59500         * locale/global-locale.c: Likewise.
59501         * locale/localeinfo.h: Likewise.
59502         * mach/devstream.c: Likewise.
59503         * malloc/arena.c: Likewise.
59504         * malloc/set-freeres.c: Likewise.
59505         * misc/err.c: Likewise.
59506         * misc/getttyent.c: Likewise.
59507         * misc/mntent_r.c: Likewise.
59508         * posix/getopt.c: Likewise.
59509         * posix/wordexp.c: Likewise.
59510         * pwd/fgetpwent_r.c: Likewise.
59511         * resolv/Versions: Likewise.
59512         * resolv/res_hconf.c: Likewise.
59513         * shadow/fgetspent_r.c: Likewise.
59514         * shadow/putspent.c: Likewise.
59515         * stdio-common/printf_fphex.c: Likewise.
59516         * stdio-common/tmpfile.c: Likewise.
59517         * stdlib/abort.c: Likewise.
59518         * stdlib/fmtmsg.c: Likewise.
59519         * sunrpc/auth_unix.c: Likewise.
59520         * sunrpc/clnt_perr.c: Likewise.
59521         * sunrpc/clnt_tcp.c: Likewise.
59522         * sunrpc/clnt_udp.c: Likewise.
59523         * sunrpc/clnt_unix.c: Likewise.
59524         * sunrpc/openchild.c: Likewise.
59525         * sunrpc/svc_simple.c: Likewise.
59526         * sunrpc/svc_tcp.c: Likewise.
59527         * sunrpc/svc_udp.c: Likewise.
59528         * sunrpc/svc_unix.c: Likewise.
59529         * sunrpc/xdr.c: Likewise.
59530         * sunrpc/xdr_array.c: Likewise.
59531         * sunrpc/xdr_rec.c: Likewise.
59532         * sunrpc/xdr_ref.c: Likewise.
59533         * sunrpc/xdr_stdio.c: Likewise.
59535 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59537         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59539 2011-07-03  Andreas Jaeger  <aj@suse.de>
59541         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59542         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59543         regenerate with gen-libm-tests.pl.
59545 2010-05-12  Petr Baudis  <pasky@suse.cz>
59547         [BZ #11589]
59548         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59549         around j0() zero points by switching to j1().
59550         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59551         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59552         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59553         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59555 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59557         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59558         instead of 0.
59559         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59560         instead of 0.
59561         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59562         Patch in part by Pavel Roskin <proski@gnu.org>.
59564         [BZ #13138]
59565         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59566         realloc.
59567         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59568         Free memory block if necessary.
59570         [BZ #12847]
59571         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59572         be NULL.  Don't lock in this case.
59574 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59576         * elf/elf.h (ELFOSABI_GNU): New macro.
59577         (ELFOSABI_LINUX): Define to that.
59579 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59581         * string/strncat.c (strncat): Undef the symbol in case it has been
59582         defined in bits/string.h.
59584 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59586         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59588         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59589         link map.
59591 2011-08-17  Andreas Jaeger  <aj@suse.de>
59593         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59595 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59596             Ian Lance Taylor  <iant@google.com>
59598         * math/libm-test.inc (lround_test): New testcase.
59599         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59601 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59603         * Makefile: Remove support for automatic cvs check-ins.
59604         * Makerules: Likewise.
59605         * config.make.in: Likewise.
59606         * configure.in: Likewise.
59607         * intl/Makefile: Likewise.
59608         * locale/Makefile: Likewise.
59609         * po/Makefile: Likewise.
59610         * posix/Makefile: Likewise.
59611         * sysdeps/gnu/Makefile: Likewise.
59612         * sysdeps/mach/hurd/Makefile: Likewise.
59613         * sysdeps/sparc/sparc32/Makefile: Likewise.
59615         [BZ #13118]
59616         * posix/Makefile (bug-regex32-ENV): Define.
59617         Patch by John Stanley <jpsinthemix@verizon.net>.
59619         * misc/Makefile (headers): Add bits/select2.h.
59620         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59621         * misc/bits/select2.h: New file.
59622         * include/bits/select2.h: New file.
59623         * debug/Makefile (routines): Add fdelt_chk.
59624         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59625         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59626         FD_ISSET.
59627         * debug/fdelt_chk.c: New file.
59629         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59630         * wcsmbs/test-wmemcmp.c: Likewise.
59631         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59632         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59634 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59636         * string/Makefile (strop-tests): Add memcmp.
59637         * string/test-wmemcmp.c: New file.
59638         * string/test-memcmp.c: Add wmemcmp support.
59640 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59642         [BZ #13153]
59643         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59644         2011-07-19 change.
59646         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59647         garbage value in a __mach_port_mod_refs call in the cases of the
59648         task-self and thread-self ports.
59650 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59652         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59654 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59656         * elf/dl-load.c (lose): Check for non-null L.
59658 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59660         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59662         * elf/dl-libc.c (dlerror_run): Pass back error code from
59663         dl_catch_error.
59665         [BZ #13123]
59666         * elf/dl-load.c (lose): Free l_origin if it is valid.
59668         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59669         names.
59670         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59671         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59672         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59673         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59674         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59675         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59677 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59679         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59680         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59681         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59682         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59683         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59684         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59685         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59686         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59687         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59688         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59690 2011-08-15  Alan Modra  <amodra@gmail.com>
59692         [BZ #13092]
59693         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59694         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59695         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59696         ppc_mcount to static-only-routines.
59697         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59698         __mcount_internal.
59699         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59700         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59702 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59704         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59705         for finite and infinity parameters.
59707 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59709         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59710         and add nop instructions for throughput optimization.
59711         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59713 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59715         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59716         aligned copy for power7 with vector-scalar instructions.
59717         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59719 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59722         AVX check.
59724 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59726         [BZ #13144]
59727         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59728         last change.
59730 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59732         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59733         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59734         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59735         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59736         clock_gettime.
59738 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59740         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59741         Forgot to demangle the pointer.
59743         * sysdeps/i386/sysdep.h: Define atom_text_section.
59744         * sysdeps/x86_64/sysdep.h: Likewise.
59745         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59746         section with atom_text_section.
59747         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59748         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59749         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59750         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59751         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59753         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59754         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59755         already be defined.  Change to take two parameters and don't assign
59756         result to variable.  Adjust all users.
59757         Define INTERNAL_GETTIME if not already defined.
59758         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59759         call.
59760         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59761         HAVE_CLOCK_GETTIME_VSYSCALL.
59762         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59764         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59765         gettimeofday vsyscall, just use time.
59767 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59769         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59770         <errno.h>.
59772 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59774         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59775         syscall on x86-64.
59776         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59777         syscall.
59778         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59779         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59780         syscall if possible.
59782 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59784         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59785         e_ident.  Don't pass to find_mapsXX.
59786         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59788 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59791         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59792         * sysdeps/x86_64/multiarch/strchr.S: Update.
59793         Check bit_slow_BSF bit.
59794         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59795         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59796         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59798 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59800         [BZ #13134]
59801         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59802         before glibc 2.15.
59803         (tryshell): Define.
59804         (__spawni): Change last parameter to be flag.  Test
59805         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59806         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59807         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59808         * posix/spawni.c: Likewise.
59809         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59810         * posix/spawnp.c: Likewise.  Change normal version to use
59811         SPAWN_XFLAGS_USE_PATH.
59812         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59813         SPAWN_XFLAGS_TRY_SHELL.
59815         [BZ #13150]
59816         * posix/glob.h: Remove gcc 1.x support.
59818         [BZ #13068]
59819         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59821 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59823         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59824         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59825         strrchr-sse2-bsf
59826         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59827         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59828         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59829         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59830         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59831         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59833 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59835         * sysdeps/x86_64/wcscmp.S: New file.
59837         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59838         wcscmp-c wcscmp-sse2
59839         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59840         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59841         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59842         * wcsmbs/wcscmp.c: Allow renaming.
59844 2011-09-05  David S. Miller  <davem@davemloft.net>
59846         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59847         stack slot, rather than the struct return pointer slot.
59848         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59849         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59851         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59853 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59855         * po/ja.po: Update from translation team.
59857         [BZ #13144]
59858         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59859         kernel in 64-bit binaries.
59861 2011-09-01  David S. Miller  <davem@davemloft.net>
59863         * elf/elf.h (HWCAP_SPARC_*): Move to..
59864         * sysdeps/sparc/sysdep.h: this new file and add new values.
59865         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59866         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59867         _DL_HWCAP_COUNT to 24.
59868         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59869         entries.
59870         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59871         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59872         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59873         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59874         instead of magic constants.
59875         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59877 2011-08-31  David S. Miller  <davem@davemloft.net>
59879         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59880         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59881         Reimplement to do errno handling inline.
59882         (SYSCALL_ERROR_HANDLER): New macro.
59883         (__SYSCALL_STRING): Do not do errno handling in asm.
59884         (__CLONE_SYSCALL_STRING): Delete.
59885         (__INTERNAL_SYSCALL_STRING): Delete.
59886         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59887         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59888         (PSEUDO): Reimplement to do errno handling inline.
59889         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59890         (SYSCALL_ERROR_HANDLER): New macro.
59891         (__SYSCALL_STRING): Do not do errno handling in asm.
59892         (__CLONE_SYSCALL_STRING): Delete.
59893         (__INTERNAL_SYSCALL_STRING): Delete.
59894         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59895         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59896         i386.
59897         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59898         (inline_syscall*): Add 'err' argument.
59899         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59900         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59901         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59902         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59904         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59905         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59907 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59909         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59911 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59913         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59914         directive.
59916 2011-08-24  David S. Miller  <davem@davemloft.net>
59918         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59920 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59922         * elf/Makefile: Add rules to build and run unload8 test.
59923         * elf/unload8.c: New file.
59924         * elf/unload8mod1.c: New file.
59925         * elf/unload8mod1x.c: New file.
59926         * elf/unload8mod2.c: New file.
59927         * elf/unload8mod3.c: New file.
59929         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59930         it wasn't used.
59932 2011-08-23  David S. Miller  <davem@davemloft.net>
59934         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59935         subtract stack bias.
59936         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59937         %sp not %fp in calculations.
59938         (_JMPBUF_UNWINDS_ADJ): Likewise.
59940         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59941         (aio_suspend): Call it to force an exception region around the
59942         AIO_MISC_WAIT() invocation.
59944 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59946         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59947         backslash.
59949 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59951         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59952         protection macro.
59953         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59954         and <dl-machine.h>.
59955         (Elf64_FuncDesc): Remove.
59957 2011-08-22  David S. Miller  <davem@davemloft.net>
59959         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59960         sigaltstack check, add missing cfi directives.
59961         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59962         missing cfi directives, and sigaltstack handling.
59964 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59966         [BZ #11724]
59967         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59968         object is seen twice.
59969         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59971         * elf/Makefile (distribute): Add tst-initorder2.c.
59972         (tests): Add tst-initorder2.
59973         (modules-names): Add tst-initorder2a tst-initorder2b
59974         tst-initorder2c tst-initorder2d.  Add rules to build them.
59975         ($(objpfx)tst-initorder2.out): New rule.
59976         * elf/tst-initorder2.c: New file.
59977         * elf/tst-initorder2.exp: New file.
59979 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59981         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59983         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59984         dependencies back to end of function.
59986         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59987         $(elfobjdir)/ld.so.
59989 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59991         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59992         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59993         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59994         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59995         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59996         of __vdso_gettimeofday.
59997         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59998         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59999         attribute_hidden.
60000         (_libc_vdso_platform_setup): Remove initialization of
60001         __vdso_gettimeofday and __vdso_time.
60003 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60005         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60006         and fgetc_unlocked.
60007         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60008         getc_unlocked.
60010         * elf/dl-open.c (add_to_global): Report additions to the global scope
60011         for LD_DEBUG=scopes.
60012         (dl_open_worker): Also print scope of newly loaded dependencies.
60013         (_dl_show_scope): Indicate if there is no scope.
60015         [BZ #13114]
60016         * stdio-common/Makefile (tests): Add bug24.
60017         * stdio-common/bug24.c: New file.
60019 2011-08-19  Andreas Jaeger  <aj@suse.de>
60021         [BZ #13114]
60022         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60023         non-existant file when using close-on-exec mode.
60025 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60027         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60028         the very first instruction.
60030         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60031         the CFI state in the end.
60032         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60033         inclusion of dl-trampoline.h.
60034         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60036 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60038         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60039         expectations for long double.
60041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60042         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60044 2011-08-14  David S. Miller  <davem@davemloft.net>
60046         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60047         artificual limit depends upon the system page size.
60049 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60051         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60052         * resolv/Makefile: Define CFLAGS-libresolv.
60054 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60056         * nss/makedb.c (compute_tables): Make variables used in nested
60057         function static.
60059 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60061         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60062         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60063         if buffer was too small.
60065         * elf/pldd.c (main): Attach to all threads in the process.
60066         Rewrite /proc handling to use *at functions.
60068 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60070         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60071         specifies first scope to show.
60072         (dl_open_worker): Update callers.  Move printing scope of new
60073         object to before the relocation.
60074         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60075         * sysdeps/generic/ldsodefs.h: Update declaration.
60077         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60078         string for the scope number.
60080 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60082         * nscd/servicescache.c (cache_addserv): Make sure written is always
60083         initialized.
60085 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60087         * sysdeps/i386/i486/bits/atomic.h
60088         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60089         statement expression, so as to suppress "set but not used" warning.
60090         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60092         * string/strncat.c (STRNCAT): Use prototype definition.
60094         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60095         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60096         -Iprograms here.
60097         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60098         (localedef-modules): Add localedef.
60099         (locale-modules): Add locale.
60101         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60102         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60103         to avoid a warning.
60105 2011-08-14  David S. Miller  <davem@davemloft.net>
60107         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60108         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60110 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60112         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60113         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60114         * elf/rtld.c (dl_main): Set l_name of vDSO.
60115         Call _dl_show_scope when DL_DEBUG_SCOPES.
60116         (process_dl_debug): Recognize scopes flag and also set it for all.
60117         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60118         Declare _dl_show_scope.
60120         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60121         (do_dlopen): Pass caller_dlopen to dl_open.
60122         (__libc_dlopen_mode): Initialize caller_dlopen.
60124         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60125         of libc.  Make tolower call locale-independent.  Optimize a bit by
60126         using isdigit instead of isalnum.
60127         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60129 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60131         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60132         was a dependency or dynamically loaded.
60134 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60136         * intl/l10nflist.c: Allow architecture-specific pop function.
60137         * sysdeps/x86_64/l10nflist.c: New file.
60139         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60140         classification.
60142 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60144         * include/dirent.h: Add libc_hidden_proto for scandirat and
60145         scandirat64.  Don't declare __scandirat64.
60146         * dirent/scandirat.c: Add libc_hidden_def.
60147         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60148         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60150 2011-08-10  David S. Miller  <davem@davemloft.net>
60152         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60153         enum.
60154         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60155         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60156         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60158 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60160         * Versions.def [libc]: Add GLIBC_2.15.
60161         * dirent/Makefile (routines): Add scandirat and scandirat64.
60162         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60163         GLIBC_2.15.
60164         * dirent/dirent.h: Declare scandirat and scandirat64.
60165         * dirent/scandirat.c: New file.
60166         * dirent/scandirat64.c: New file.
60167         * sysdeps/wordsize-64/scandirat.c: New file.
60168         * sysdeps/wordsize-64/scandirat64.c: New file.
60169         * dirent/opendir.c: Define opendirat.
60170         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60171         using scandirat.
60172         * dirent/scandir64.c: Adjust for scandir.c change.
60173         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60174         __scandirat64, and __scandir_cancel_handler.
60175         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60176         additional parameter and use openat instead of open (outside of ld.so).
60177         Add new __opendir as wrapper around __opendirat.
60178         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60179         here without requiring old scandirat implementation.
60181 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60183         * dirent/scandir.c (cancel_handler): Renamed to
60184         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60185         defined.  Adjust users.
60186         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60187         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60189 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60191         * string/test-string.h (IMPL): Use __STRING to expand name and then
60192         stringify it.
60194         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60195         of cleanups.
60197 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60199         * string/Makefile: Update.
60200         (strop-tests): Append strncat.
60201         * string/test-wcscmp.c: New file.
60202         New comprehensive test for wcscmp.
60203         * string/test-strcmp.c: Update.
60204         (WIDE): New define.
60206 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60208         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60209         line.
60211 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60213         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60214         encoding to ACE if AI_IDN.
60216 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60218         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60219         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60221 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60223         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60224         Fix overflow bug in strncat.
60225         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60227         * string/test-strncat.c: Update.
60228         Add new tests for checking overflow bugs.
60230 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60232         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60233         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60234         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60235         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60236         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60237         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60238         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60239         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60240         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60242         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60243         (USE_AS_STRCAT): Define.
60244         Add strcat and strncat support.
60245         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60247 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60249         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60250         __n bigger than INT_MAX+1.
60251         (__strncmp_g): Likewise.
60253 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60255         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60256         * libio/stido.h: Likewise.
60258         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60259         (AF_NFC): Define.
60260         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60261         (AF_NFC): Define.
60263         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60264         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60265         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60266         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60267         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60269         [BZ #13021]
60270         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60271         installed.
60273         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60274         typo.
60275         (_dl_x86_64_save_sse): Likewise.
60277 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60279         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60280         OSXSAVE.
60281         (_dl_x86_64_save_sse): Likewise.
60283         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60285         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60287 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60289         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60290         change.
60291         (_dl_x86_64_save_sse): Use correct AVX check.
60293 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60295         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60296         bug in strncpy/strncat.
60297         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60299 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60301         * string/tester.c (test_strcat): Add tests for different alignments
60302         of source and destination.
60303         (test_strncat): Likewise.
60305 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60307         [BZ #12852]
60308         * posix/glob.c (glob): Check passed in values before using them in
60309         expressions to avoid some overflows.
60310         (glob_in_dir): Likewise.
60312         [BZ #13007]
60313         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60314         check for AVX enablement so that we don't crash with old kernels and
60315         new hardware.
60316         * elf/tst-audit4.c: Add same checks here.
60317         * elf/tst-audit6.c: Likewise.
60319         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60321 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60323         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60325 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60327         * po/cs.po: Update from translation team.
60328         * po/bg.po: Likewise.
60330 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60332         * misc/sys/cdefs.h: Add support for const attribute.
60333         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60334         to gnu_dev_{major,minor,makedev} functions.
60336 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60338         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60340 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60342         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60343         strlen results.
60345 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60347         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60348         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60349         register in order to avoid conflicts with the soft frame pointer
60350         being held in r11 when necessary.
60351         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60352         (INTERNAL_VSYSCALL_NCS): Likewise.
60354 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60356         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60357         * elf/dl-fini.c (_dl_fini): Adjust caller.
60358         * elf/dl-close.c (_dl_close_worker): Likewise.
60359         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60361 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60363         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60364         "aux_cache->nlibs < 0".
60366         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60367         in the reload-count case.
60369 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60372         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60373         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60374         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60375         * sysdeps/x86_64/multiarch/strcat.S: New file.
60376         * sysdeps/x86_64/multiarch/strncat.S: New file.
60377         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60378         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60379         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60380         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60381         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60382         (USE_AS_STRCAT): Define.
60383         Add strcat and strncat support.
60384         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60385         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60386         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60387         * string/strncat.c: Update.
60388         (USE_AS_STRNCAT): Define.
60389         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60390         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60391         and i7.
60392         * sysdeps/x86_64/multiarch/init-arch.h
60393         (bit_Prefer_PMINUB_for_stringop): New.
60394         (index_Prefer_PMINUB_for_stringop): Likewise.
60395         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60396         bit_Prefer_PMINUB_for_stringop.
60398 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60400         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60401         buffer64.
60402         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60403         of casting of buffer.
60404         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60405         buffer32 and buffer64.
60406         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60407         writes instead of casting of buffer.
60408         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60409         buffer32.
60410         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60411         casting of buffer.
60413 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60415         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60417 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60419         * nscd/nscd.c (termination_handler): Don't do anything for a database
60420         if it has not yet been initialized.
60422 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60424         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60426 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60428         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60430 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60432         * po/nl.po: Update from translation team.
60433         * po/sv.po: Likewise.
60435 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60437         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60438         now disallowed by GCC.
60440         * configure.in (use-default-link): Default to yes if a test -shared
60441         link meets our qualifications.
60442         * configure: Regenerated.
60444         * config.make.in (output-format): New variable.
60445         * configure.in: Check for ld --print-output-format support.
60446         * configure: Regenerated.
60447         * Makerules ($(common-objpfx)format.lds)
60448         [$(output-format) != unknown]: Just use $(output-format),
60449         instead of the linker-script munging.
60451 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60453         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60454         of $(common-objpfx)shlib.lds.
60455         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60457         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60458         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60460         * configure.in (-z relro check): Adjust test code to add a large
60461         writable data section after it.
60462         * configure: Regenerated.
60464 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60466         * configure.in (-z relro check): Fix test code to make the variable
60467         truly const.
60468         * configure: Regenerated.
60470 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60472         * nscd/nscd.h (struct traced_file): Define.
60473         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60474         elements.  Add traced_files.
60475         (inotify_fd): Declare.
60476         (register_traced_file): Declare.
60477         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60478         (inotify_fd): Export.
60479         (resolv_conf_descr): Remove.
60480         (nscd_init): Move inotify descriptor creation to main.
60481         Don't register files for notification here.
60482         (register_traced_file): New function.
60483         (invalidate_cache): Don't use reset_res to determine whether to call
60484         res_init, go through the list of registered files.
60485         (main_loop_poll): The inotify descriptors are now stored in the
60486         structures for the traced files.
60487         (main_loop_epoll): Likewise
60488         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60489         to __nss_disable_nscd.
60490         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60491         for a database anymore.  Check the records for all the registered
60492         files instead.
60493         * nss/Makefile (libnss_files-routines): Add files-init.
60494         (libnss_db-routines): Add db-init.
60495         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60496         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60497         * nss/nss_db/db-init.c: New file.
60498         * nss/nss_files/files-init.c: New file.
60499         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60500         __nss_lookup_function.
60501         (__nss_lookup_function): Call nss_load_library.
60502         (nss_load_all_libraries): New function.
60503         (__nss_disable_nscd): Take parameter with callback function for files
60504         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60505         used for the cached services.
60506         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60507         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60508         options for features to all the files in nscd.
60510         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60512 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60514         * csu/elf-init.c (__libc_csu_init): Comment typo.
60516 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60518         * po/pl.po: Update from translation team.
60519         * po/ja.po: Likewise.
60520         * po/ru.po: Likewise.
60521         * po/ko.po: Likewise.
60522         * po/fr.po: Likewise.
60524 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60526         * configure.in (.ctors/.dtors header and trailer check):
60527         Use an empirical test on a built program.
60528         * configure: Regenerated.
60530         * configure.in (-z relro check): Use an empirical test on a built DSO.
60531         Detect, but do not require, on ia64.
60532         * configure: Regenerated.
60534         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60535         Update tests that use readelf to use $READELF instead.
60536         * configure: Regenerated.
60538 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60540         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60541         if the result is not used.
60543 2011-07-05  Andreas Jaeger  <aj@suse.de>
60545         [BZ#9696]
60546         * stdlib/tst-strtod.c: Add testcase.
60548 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60550         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60551         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60552         The latter has a higher limit.  Take additional parameter to pass to
60553         the new function.
60554         (__pathconf): Pass file to __statfs_link_max.
60555         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60556         __statfs_link_max.
60557         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60558         __statfs_link_max.
60560         [BZ #12868]
60561         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60562         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60563         Handle Lustre.
60564         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60565         (__statfs_filesize_max): Likewise.
60566         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60568 2011-07-05  Andreas Jaeger  <aj@suse.de>
60570         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60572 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60574         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60575         `status' variable.
60576         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60577         Likewise.
60579 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60581         * Makefile (strop-tests): Add strncat.
60582         * string/test-strncat.c: New file.
60584 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60586         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60588 2011-06-21  Andreas Jaeger  <aj@suse.de>
60590         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60591         Copy rule from iconvdata/Makefile.
60593 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60595         [BZ #12922]
60596         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60597         but no long options are defined, just return 'W'.
60599 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60601         [BZ #9696]
60602         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60604 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60606         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60607         netgroups to read.
60608         (innetgr): Likewise.
60610 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60612         * config.make.in (install_root): Default to $(DESTDIR).
60614 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60616         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60618 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60620         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60622         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60623         containing directory rather than embedding absolute directory names.
60625         * scripts/check-local-headers.sh: Rewritten using awk.
60626         Match by word, not by line.  Print error messages for matches.
60627         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60629         * Makerules [shlib-lds-flags empty]:
60630         ($(common-objpfx)libc_pic.opts): New target.
60631         ($(common-objpfx)libc_pic.os.clean): New target.
60632         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60634         * config.make.in (OBJCOPY): New variable.
60635         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60636         * configure: Regenerated.
60638         * config.make.in (use-default-link): New variable.
60639         * configure.in (use_default_link): Grok --with-default-link to set it.
60640         * configure: Regenerated.
60641         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60642         (shlib-lds, shlib-lds-flags): Define to empty.
60644         * Makerules (shlib-lds): New variable.
60645         (shlib-lds-flags): New variable.
60646         (build-shlib, build-moduile, build-module-asneeded): Use it.
60647         ($(common-objpfx)libc.so): Use $(shlib-lds).
60648         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60649         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60651         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60652         DT_FLAGS/DT_FLAGS_1 with zero flags.
60654         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60655         linker script munging.
60657 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60659         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60660         as 128-bit value.
60661         * crypt/sha512.c (sha512_process_block): Perform total addition using
60662         128-bit if possible.
60663         (__sha512_finish_ctx): Likewise.
60664         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60665         as 64-bit value.
60666         * crypt/sha256.c (SWAP64): Define.
60667         (sha256_process_block): Perform total addition using 64-bit if
60668         possible.
60669         (__sha256_finish_ctx): Likewise.
60671 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60673         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60674         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60675         * nscd/hstcache.c (cache_addhst): Likewise.
60676         * nscd/grpcache.c (cache_addgr): Likewise.
60677         * nscd/aicache.c (addhstaiX): Likewise
60678         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60680 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60682         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60683         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60684         * nscd/hstcache.c (cache_addhst): Likewise.
60685         * nscd/grpcache.c (cache_addgr): Likewise.
60686         * nscd/aicache.c (addhstaiX): Likewise
60688 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60690         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60691         domain only when needed.
60693 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60695         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60696         is always restored.
60698 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60700         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60701         are re-adding the entry.
60702         * nscd/servicescache.c (cache_addserv): Likewise.
60704 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60706         * sysdeps/generic/dl-irel.h: fix protection against multiple
60707         inclusions.
60708         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60710 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60712         [BZ #12935]
60713         * malloc/memusage.sh: Fix quoting in message.
60714         * debug/xtrace.sh: Likewise.
60716         * configure.in: Remove support for --experimental-malloc option, make
60717         it the default.
60718         * config.make.in: Likewise.
60719         * malloc/Makefile: Likewise.
60721 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60723         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60724         two-byte characters.
60726 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60728         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60729         AC_CACHE_CHECK invocation.
60730         * configure: Regenerated.
60732         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60734 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60736         [BZ #12350]
60737         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60738         bit from old_res_options.
60740         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60742         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60743         value type for setfct.
60745 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60747         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60748         __gettimeofday instead of gettimeofday.
60750 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60752         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60754 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60756         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60758         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60759         info.
60761 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60763         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60764         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60765         strcpy-sse2-unaligned strncpy-sse2-unaligned
60766         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60767         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60768         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60769         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60770         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60771         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60772         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60773         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60774         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60775         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60776         (STRCPY): Support SSE2 and SSSE3 versions.
60778 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60780         [BZ #12874]
60781         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60782         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60783         kernels which artificially limit size of requests.
60785 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60787         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60788         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60789         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60790         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60791         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60792         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60793         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60794         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60795         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60796         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60797         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60798         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60799         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60800         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60801         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60802         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60803         Enable unaligned load optimization for Intel Core i3, i5 and i7
60804         processors.
60805         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60806         Define.
60807         (index_Fast_Unaligned_Load): Define.
60808         (HAS_FAST_UNALIGNED_LOAD): Define.
60810 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60812         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60814 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60816         [BZ #12907]
60817         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60818         until it is clear that the information is realy needed.
60819         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60821 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60825 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60827         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60828         /sys/devices/system/cpu/online if it is usable.
60830         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60831         reading the information from the /proc filesystem to once a second.
60833 2011-06-21  Andreas Jaeger  <aj@suse.de>
60835         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60836         NULL after inclusion of kernel headers.
60838 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60840         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60841         calls to internal_setent.
60843         [BZ #12885]
60844         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60845         addresses using gethostbyname4_r ignore IPv4 addresses.
60847         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60848         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60850         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60852 2011-06-20  David S. Miller  <davem@davemloft.net>
60854         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60855         inclusions.
60856         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60858         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60859         (elf_irel): Use it.
60860         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60861         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60862         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60863         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60864         * sysdeps/x86_64/dl-irel.h: Likewise.
60866         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60867         * elf/dl-sym.c: Likewise.
60869 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60871         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60872         need to dereference resplen2.
60874 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60876         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60878 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60880         * Makeconfig: Define vardbdir and inst_vardbdir.
60881         * nss/Makefile: Add rules to install db-Makefile.
60883         * nss/nss_db/db-XXX.c: Cleanup.
60885         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60886         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60887         GLIBC_PRIVATE.
60888         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60889         * nss/makedb.c: Implement -g option to specify that value strings
60890         are generated and should not be added to table iterated over for
60891         get*ent calls.
60892         * nss/nss_db/db-initgroups.c: New file.
60894         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60895         interface.
60897         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60898         (internal_getgrouplist): Adjust to name change.
60899         Update use_initgroups_entry if this is not the first call.
60900         * nss/databases.def: Add initgroups entry.
60902         * nss/makedb.c (compute_tables): Check result of multiple hash table
60903         sizes to minimize maximum chain length.
60905 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60907         * Versions.def: Add entry for libnss_db.
60908         * shlib-versions: Likewise.
60909         * nss/Makefile: Add rules to build libnss_db.
60910         * nss/Versions: Add libnss_db information.  Organize libnss_files
60911         entries better.
60912         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60913         makedb progra.  Some minor improvements to generate smaller files.
60914         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60915         here from...
60916         * nss/makedb.c: ...here.
60917         Improve database format to be smaller and require less memory at
60918         runtime.
60919         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60920         db anymore.
60921         * nss/nss_db/db-netgrp.c: Likewise.
60922         * nss/nss_db/db-open.c: Likewise.
60923         * nss/nss_files/flies-XXX.x: Adjust comments.
60924         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60925         * nss/nss_files/files-grp.c: Likewise.
60926         * nss/nss_files/files-hosts.c: Likewise.
60927         * nss/nss_files/files-network.c: Likewise.
60928         * nss/nss_files/files-proto.c: Likewise.
60929         * nss/nss_files/files-pwd.c: Likewise.
60930         * nss/nss_files/files-rpc.c: Likewise.
60931         * nss/nss_files/files-service.c: Likewise.
60932         * nss/nss_files/files-sgrp.c: Likewise.
60933         * nss/nss_files/files-spwd.c: Likewise.
60934         * nss/nss_db/db-alias.c: Removed.
60935         * nss/nss_db/dummy-db.h: Removed.
60937 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60939         * nss/makedb.c: Rewritten to not use database library.
60940         * nss/Makefile: Update to build new makedb program.
60942 2011-06-14  Andreas Jaeger  <aj@suse.de>
60944         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60945         memset declaration.
60947 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60949         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60950         tmpbuf.
60952 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60954         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60955         * elf/Makefile ($(objpfx)ld.so): Likewise.
60957         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60958         Don't list ld.so twice in dependencies.
60960         * posix/bug-regex31.c: Include <stdlib.h>.
60962         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60964         * nis/nss_compat/compat-spwd.c
60965         (getspent_next_nss_netgr): Remove unused variable.
60966         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60968         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60969         nonmembers" output to use the right array.
60971         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60973         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60975         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60976         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60977         * catgets/gencat.c (read_input_file): Likewise.
60978         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60980         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60981         variable definition inside #if's controlling its use.
60983         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60985         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60987         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60989         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60990         unreachable code.
60992         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60994         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60995         * configure: Regenerated.
60997         * Makerules: Revert last change.
60998         * elf/Makefile: Likewise.
61000 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61002         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61003         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61004         (reloc-link): Likewise.
61006 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61008         * elf/Makefile: Add rules to build pldd.
61009         * elf/pldd.c: New file.
61010         * elf/pldd-xx.c: New file.
61012 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61014         * version.h: Update for 2.15 development version.
61016 2011-06-07  David S. Miller  <davem@davemloft.net>
61018         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61019         ifuncs.
61020         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61021         elf_machine_lazy_rel): Likewise.
61022         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61023         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61024         elf_machine_lazy_rel): Likewise.
61025         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61026         dl_hwcap via passed in argument.
61027         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61028         Likewise.
61030 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61032         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61034 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61036         [BZ #12849]
61037         * manual/fdl-1.1.texi: New file, verbatim from:
61038         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61039         * manual/lgpl-2.1.texi: New file, verbatim from:
61040         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61041         * manual/Makefile (licenses): New variable, list those new file names.
61042         (texis): Use it.
61043         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61045         * manual/fdl.texi: File removed.
61046         * manual/lesser.texi: File removed.
61047         * manual/libc.texinfo (Copying, Documentation License):
61048         Use new @include file names, put @appendix directive before @include.
61050 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61052         [BZ #12841]
61053         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61054         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61055         (mq_open): Add __NTH.
61057 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61059         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61060         Assume Intel Core i3/i5/i7 processor if AVX is available.
61062 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61064         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61065         typo.
61067 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61069         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61070         memory.  Use alloca_account.  Fix memory leak when retrying.
61072 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61074         * version.h (RELEASE): Bump for 2.14 release.
61075         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61077         * config.make.in (RANLIB): Remove entry.
61079 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61081         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61082         (libc.pot): Work around missing support for .ksh extension in xgettext.
61084         [BZ #12684]
61085         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61086         if both request failed.
61087         (send_dg): In case of server errors clear resplen or *resplen2.
61089         [BZ #12454]
61090         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61091         when there are multiple maps.
61092         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61093         (_dl_fini): Remove test here.
61095         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61097 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61099         [BZ #12350]
61100         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61101         bit from old_res_options.
61102         (gaih_inet): Likewise.
61104         [BZ #11099]
61105         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61106         as signed.
61108         * resolv/res_init.c (res_setoptions): Make the code more compact.
61110         [BZ #11558]
61111         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61112         set RES_USEVC.
61114         [BZ #11634]
61115         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61117         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61119         [BZ #11781]
61120         * malloc/malloc.h: Declare malloc hook variables as volatile.
61122         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61123         in last patch.
61125         [BZ #11799]
61126         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61127         raise in the comment.
61128         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61129         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61130         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61132 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61134         [BZ #12811]
61135         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61136         grow the buffers more if it already has to be sufficient.
61137         (build_wcs_upper_buffer): Likewise.
61138         * posix/regexec.c (check_matching): Likewise.
61139         (clean_state_log_if_needed): Likewise.
61140         (extend_buffers): Don't enlarge buffers beyond size of the input
61141         buffer.
61142         Patches mostly by Emil Wojak <emil@wojak.eu>.
61143         * posix/bug-regex32.c: New file.
61144         * posix/Makefile (tests): Add bug-regex32.
61146         * locale/findlocale.c (_nl_find_locale): Return right away if
61147         _nl_explode_name failed.
61148         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61150         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61152         * debug/xtrace.sh: Unify messages.
61153         * malloc/memusage.sh: Likewise.
61155         [BZ #12813]
61156         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61157         time symbol from vDSO.  Substitute with vsyscall if not available.
61158         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61159         __vdso_time.
61161         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61162         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61163         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61164         Add sendmmsg and internal_sendmmsg.
61165         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61166         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61167         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61169         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61170         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61171         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61173 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61175         [BZ #12813]
61176         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61177         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61178         available.
61179         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61180         __vdso_getcpu.
61182         [BZ #12814]
61183         * iconvdata/Makefile (tests): Add bug-iconv9.
61184         * iconvdata/bug-iconv9.c: New file.
61186 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61188         [BZ #12814]
61189         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61191 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61193         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61194         (struct user_regs_struct): Change intcs field back to cs.
61196 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61198         * po/ja.po: Update from translation team.
61200 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61202         [BZ #12795]
61203         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61204         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61206 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61208         * stdlib/longlong.h: Update from GCC.
61210 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61212         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61213         parameter name.
61214         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61215         Add parameter name.
61216         (__sysconf): Pass it down.
61218 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61220         [BZ #12671]
61221         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61222         some situations.
61223         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61224         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61225         add in in __libc_use_alloca calls.  Adjust callers.
61226         (glob): Use malloc in some situations.
61228         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61229         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61230         pltexit.
61232 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61234         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61235         and CLOCK_BOOTTIME_ALARM.
61237         [BZ #12782]
61238         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61239         is returned.
61241         * string/_strerror.c (__strerror_r): Print negative errors as signed
61242         numbers.
61244         [BZ #12777]
61245         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61246         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61247         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61249         * configure.in: Fix typo in redirection and correct removal of test
61250         files in two cases.
61252         [BZ #12788]
61253         * locale/setlocale.c (new_composite_name): Fix test to check for
61254         identical name of all categories.
61256         [BZ #12792]
61257         * libio/filedoalloc.c (local_isatty): New function.
61258         (_IO_file_doallocate): Use local_isatty.
61259         * stdio-common/perror.c (perror): In case a new stream is used
61260         forward the stream error.
61261         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61262         error flag.
61264 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61266         [BZ #11869]
61267         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61268         alloca.
61269         * include/alloca.h (extend_alloca_account): Define.
61271         [BZ #11857]
61272         * posix/regex.h: Fix comments with documentation of user-accessible
61273         fields after compilation and describe correct free'ing of pattern
61274         after re_compile_pattern.
61275         Patch by Reuben Thomas <rrt@sc3d.org>.
61277 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61279         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61280         and -mno-altivec to prevent the compiler from using Altivec and/or
61281         VSX instructions when the corresponding registers are not available.
61283 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61285         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61287 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61289         * libio/freopen.c (freopen): Use __dup2, not dup2.
61290         * libio/freopen64.c (freopen64): Likewise.
61292 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61294         [BZ #12775]
61295         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61296         * math/Makefile (tests): Add test-powl.
61297         (CFLAGS-test-powl.c): Define.
61298         * math/test-powl.c: New file.
61300 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61302         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61304 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61306         [BZ #11837]
61307         * iconvdata/gb18030.c: Update to GB18020-2005.
61309 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61311         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61312         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61313         Patch by Aharon Robbins <arnold@skeeve.com>.
61315         [BZ #11892]
61316         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61317         on the stack.
61319         [BZ #11895]
61320         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61321         through underflows.
61323         [BZ #12766]
61324         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61325         point to strings before performing equality test for error_one_per_line
61326         mode.
61328         [BZ #11697]
61329         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61331         [BZ #11820]
61332         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61333         (struct user_fpregs_struct): Avoid __uint*_t types.
61335         [BZ #6420]
61336         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61337         symbol info.  Use it instead of calling _dl_addr locally.
61338         (lock_and_info): New function.
61339         (tr_freehook): Call lock_and_info and pass symbol info as additional
61340         parameter to tr_where.
61341         (tr_mallochook): Likewise.
61342         (tr_reallochook): Likewise.
61343         (tr_memalignhook): Likewise.
61345         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61346         used and couldn't be at all thread-safe.
61348 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61350         * libio/freopen.c (freopen): Don't close old file descriptor
61351         before the new one is opened.  Instead dup the new file descriptor
61352         to the old one after the new stream is created.
61353         * libio/freopen64.c (freopen64): Likewise.
61354         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61355         * libio/fileops.c (_IO_new_file_close_it): Handle new
61356         _IO_FLAGS2_NOCLOSE flag.
61357         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61358         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61359         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61360         _IO_FLAGS2_NOCLOSE flag.
61361         * include/unistd.h: Add hidden_proto for dup3.
61362         Define __have_dup3.
61363         * io/dup3.c: Define hidden symbol.
61364         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61366         [BZ #7101]
61367         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61368         when an incomplete long option is used.
61369         * posix/tst-getopt_long1.c: New file.
61370         * posix/Makefile (tests): Add tst-getopt_long1.
61372         [BZ #10138]
61373         * scripts/config.guess: Update from autoconf-2.68.
61374         * scripts/config.sub: Likewise.
61376         [BZ #10157]
61377         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61378         tests into ...
61379         (has_cpuclock): ...this.  New function.
61380         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61381         macro here based on has_cpuclock code.
61383         [BZ #10149]
61384         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61385         First byte (not low byte) is now always NUL.
61386         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61388         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61389         Use non-cancelable interfaces.
61391         [BZ #9809]
61392         * locale/iso-639.def: Add entry for Sorani.
61394         [BZ #11901]
61395         * include/stdlib.h: Move include protection to the right place.
61396         Define abort_msg_s.  Declare __abort_msg with it.
61397         * stdlib/abort.c (__abort_msg): Adjust type.
61398         * assert/assert.c (__assert_fail_base): New function.  Majority
61399         of code from __assert_fail.  Allocate memory for __abort_msg with
61400         mmap.
61401         (__assert_fail): Now call __assert_fail_base.
61402         * assert/assert-perr.c: Remove bulk of implementation.  Use
61403         __assert_fail_base.
61404         * include/assert.hL Declare __assert_fail_base.
61405         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61406         mmap.
61407         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61409 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61411         [BZ #11952]
61412         [BZ #12453]
61413         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61414         until all modules are registered in the DTV.
61415         * elf/Makefile: Add rules to build and run tst-tls19.
61416         * elf/tst-tls19.c: New file.
61417         * elf/tst-tls19mod1.c: New file.
61418         * elf/tst-tls19mod2.c: New file.
61419         * elf/tst-tls19mod3.c: New file.
61420         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61422         [BZ #12083]
61423         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61424         correctly.
61426         [BZ #12601]
61427         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61428         two-byte sequence errors.
61429         * iconvdata/Makefile (tests): Add bug-iconv8.
61430         * iconvdata/bug-iconv8.c: New file.
61432         [BZ #12626]
61433         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61434         buf2 definition.
61436         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61438         [BZ #12432]
61439         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61440         (dummy_getcfa): New function.
61441         (init): Get _Unwind_GetCFA address, use dummy if not found.
61442         (backtrace_helper): In recursion check, also check whether CFA changes.
61443         (__backtrace): Completely initialize arg.
61445         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61446         storing incomplete byte sequence in state object.  Avoid testing for
61447         guaranteed too small input if we know there is enough data available.
61449 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61451         * Makeconfig (+link-pie): Indent.
61452         * Rules (binaries-pie): Define if $(have-fpie) and
61453         $(build-shared).
61454         (binaries-shared): Also filter out $(binaries-pie).
61455         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61456         * nscd/Makefile (others-pie): Add nscd.
61457         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61458         ($(objpfx)nscd): Remove command override.
61459         * login/Makefile (others-pie): Add pt_chown.
61460         ($(objpfx)pt_chown): Remove command override.
61461         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61462         remove command overrides.
61464 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61466         * libio/tst_putwc.c: Fix error messages.
61468         [BZ #12724]
61469         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61470         currently writing and seek to current position when not.
61471         * libio/Makefile (tests): Add bug-fclose1.
61472         * libio/bug-fclose1.c: New file.
61474 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61476         [BZ #12511]
61477         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61478         don't set DF_1_NODELETE here.
61479         (do_lookup_x): When entering new entry test for copy relocation
61480         and if necessary set DF_1_NODELETE flag.
61481         * elf/tst-unique4.cc: New file.
61482         * elf/tst-unique4.h: New file.
61483         * elf/tst-unique4lib.cc: New file.
61484         * elf/Makefile: Add rules to build and run tst-unique4.
61485         Patch by Piotr Bury <pbury@goahead.com>.
61487 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61489         [BZ #12052]
61490         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61492         [BZ #12625]
61493         * misc/mntent_r.c (addmntent): Flush the stream after the output
61495         [BZ #12393]
61496         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61497         (is_trusted_path_normalize): Skip initial colon.  Append slash
61498         to empty buffer.  Duplicate is_trusted_path code but allow
61499         constructed patch to be prefix.
61500         (is_dst): Allow $ORIGIN followed by /.
61501         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61502         Correct testing of result of is_trusted_path_normalize
61503         (decompose_rpath): Fix warning.
61505 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61507         [BZ #11257]
61508         * grp/initgroups.c (internal_getgrouplist): When we found the service
61509         list through the initgroups entry in nsswitch.conf do not always
61510         continue on a successful lookup.  Don't always use the
61511         __nss_group_database value if it is set.
61512         * nss/nsswitch.conf (initgroups): Change action for successful db
61513         lookup to continue for compatibility.
61515 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61517         [BZ #11532]
61518         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61519         and CP774 modules.
61520         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61521         and CP774 modules.
61522         * iconvdata/tst-tables.sh: Likewise.
61523         * iconvdata/cp770.c: New file.
61524         * iconvdata/cp771.c: New file.
61525         * iconvdata/cp772.c: New file.
61526         * iconvdata/cp773.c: New file.
61527         * iconvdata/cp774.c: New file.
61528         * iconvdata/testdata/CP770: New file.
61529         * iconvdata/testdata/CP770..UTF8: New file.
61530         * iconvdata/testdata/CP771: New file.
61531         * iconvdata/testdata/CP771..UTF8: New file.
61532         * iconvdata/testdata/CP772: New file.
61533         * iconvdata/testdata/CP772..UTF8: New file.
61534         * iconvdata/testdata/CP773: New file.
61535         * iconvdata/testdata/CP773..UTF8: New file.
61536         * iconvdata/testdata/CP774: New file.
61537         * iconvdata/testdata/CP774..UTF8: New file.
61539         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61540         END CHARMAP line.
61541         * iconvdata/gen-8bit-gap.sh: Likewise.
61542         * iconvdata/gen-8bit.sh: Likewise.
61544         * locale/iso-639.def: Add ary entry.
61546         [BZ #11258]
61547         * locale/C-translit.h.in: Add U20A1 transliteration.
61549         [BZ #12178]
61550         * locale/iso-639.def: Add wae entry.
61551         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61553         [BZ #12545]
61554         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61555         for n.
61557         [BZ #12711]
61558         * locale/C-translit.h.in: Add entry for U20B9.
61559         Patch by pravin.d.s@gmail.com.
61561 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61563         [BZ #12713]
61564         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61565         ENAMETOOLONG use generic getcwd.
61566         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61567         in rtld.  Use *stat64.
61568         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61569         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61570         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61571         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61572         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61573         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61574         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61575         __fstatat64 macros.
61576         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61577         * dirent/rewinddir.c: Add libc_hidden_def.
61578         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61579         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61581         * include/dirent.h (__alloc_dir): Add flags parameter.
61582         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61583         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61584         __alloc_dir.
61585         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61586         from fdopendir if O_CLOEXEC is already set.
61588 2011-03-15  Alan Modra  <amodra@gmail.com>
61590         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61591         l_tls_firstbyte_offset non-zero.  Save padding offset in
61592         l_tls_firstbyte_offset for later use.
61593         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61594         freeing static tls block.
61596 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61598         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61599         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61600         being defined by the kernel headers.
61602 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61604         [BZ #12734]
61605         * resolv/resolv.h: Define RES_NOTLDQUERY.
61606         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61607         no-tld-query and set RES_NOTLDQUERY.
61608         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61609         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61610         modern BIND to search name as TLD unless forbidden.
61612 2011-05-07  Petr Baudis  <pasky@suse.cz>
61613             Ulrich Drepper  <drepper@gmail.com>
61615         [BZ #12393]
61616         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61617         (is_trusted_path): ...to here.
61618         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61619         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61620         using is_trusted_path_normalize() in setuid scripts.
61622 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61624         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61625         __BEGIN/__END_DECLS.
61627 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61629         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61630         NSS_STATUS_NOTFOUND if no record was found.
61632 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61634         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61635         (headers-not-in-tirpc): Remove rpc/netdb.h
61636         * resolv/netdb.h: Revert last change.
61638 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61640         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61641         circular dependency between libgcc.a and libc.a.
61643 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61645         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61646         * nis/Makefile: Don't install rpcsvc/*.
61647         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61648         instead of <rpc/types.h>.
61649         (MAXHOSTNAMELEN): Define.
61651 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61653         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61655 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61657         [BZ #12714]
61658         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61659         gethostbyname4_r when IPv6 results are possible.
61661 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61663         [BZ #12723]
61664         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61665         _PC_PIPE_BUF handling.
61667 2011-04-30  Bruno Haible  <bruno@clisp.org>
61669         [BZ #12717]
61670         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61671         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61672         to 'int'.
61673         * inet/getnameinfo.c (getnameinfo): Likewise.
61675 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61677         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61678         to groups setting in database lookup.
61679         * nss/nsswitch.conf: Add initgroups entry.
61681 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61683         [BZ #12685]
61684         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61685         mode string.
61686         Patch by Eric Blake <eblake@redhat.com>.
61688 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61690         * sunrpc/Makefile (need-export-routines): Add svc_run.
61691         (routines): Remove svc_run.
61692         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61693         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61694         * sunrpc/svc_run.c (svc_run): Likewise.
61695         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61697 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61699         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61700         problem in reallocation in last patch.
61702 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61704         * sunrpc/Makefile: Move inclusion of Rules.
61706 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61708         * nss/nss_files/files-initgroups.c: New file.
61709         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61710         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61711         _nss_files_initgroups_dyn.
61713 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61715         * elf/elf.h (R_ARM_IRELATIVE): Define.
61717 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61719         * po/ru.po: Update from translation team.
61721 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61723         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61724         dependencies.
61726 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61728         [BZ #12653]
61729         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61730         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61731         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61732         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61733         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61735 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61737         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61738         differing bytes.
61739         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61740         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61741         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61743 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61745         [BZ #12420]
61746         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61747         storing it.
61748         * stdlib/bug-getcontext.c: New file.
61749         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61751 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61753         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61754         instructions into .machine "z9-109".
61755         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61756         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61758 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61760         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61761         between environment variables and auxiliary vector.
61763 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61765         * Makefile: Add rules to build linkobj/libc.so.
61766         * include/libc-symbols.h: Define libc_hidden_nolink.
61767         * include/rpc/auth.h: Mark functions which are to be hidden.
61768         * include/rpc/auth_des.h: Likewise.
61769         * include/rpc/auth_unix.h: Likewise.
61770         * include/rpc/clnt.h: Likewise.
61771         * include/rpc/des_crypt.h: Likewise.
61772         * include/rpc/key_prot.h: Likewise.
61773         * include/rpc/pmap_clnt.h: Likewise.
61774         * include/rpc/pmap_prot.h: Likewise.
61775         * include/rpc/pmap_rmt.h: Likewise.
61776         * include/rpc/rpc_msg.h: Likewise.
61777         * include/rpc/svc.h: Likewise.
61778         * include/rpc/svc_auth.h: Likewise.
61779         * include/rpc/xdr.h: Likewise.
61780         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61781         * nss/Makefile: Likewise.
61782         * sunrpc/Makefile: Don't install headers.  Build library with normal
61783         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61784         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61785         for the compat linking library.  Remove use of INTDEF/INTUSE.
61786         * sunrpc/auth_none.c: Likewise.
61787         * sunrpc/auth_unix.c: Likewise.
61788         * sunrpc/authdes_prot.c: Likewise.
61789         * sunrpc/authuxprot.c: Likewise.
61790         * sunrpc/clnt_gen.c: Likewise.
61791         * sunrpc/clnt_perr.c: Likewise.
61792         * sunrpc/clnt_raw.c: Likewise.
61793         * sunrpc/clnt_simp.c: Likewise.
61794         * sunrpc/clnt_tcp.c: Likewise.
61795         * sunrpc/clnt_udp.c: Likewise.
61796         * sunrpc/clnt_unix.c: Likewise.
61797         * sunrpc/des_crypt.c: Likewise.
61798         * sunrpc/des_soft.c: Likewise.
61799         * sunrpc/get_myaddr.c: Likewise.
61800         * sunrpc/key_call.c: Likewise.
61801         * sunrpc/key_prot.c: Likewise.
61802         * sunrpc/netname.c: Likewise.
61803         * sunrpc/pm_getmaps.c: Likewise.
61804         * sunrpc/pm_getport.c: Likewise.
61805         * sunrpc/pmap_clnt.c: Likewise.
61806         * sunrpc/pmap_prot.c: Likewise.
61807         * sunrpc/pmap_prot2.c: Likewise.
61808         * sunrpc/pmap_rmt.c: Likewise.
61809         * sunrpc/publickey.c: Likewise.
61810         * sunrpc/rpc_cmsg.c: Likewise.
61811         * sunrpc/rpc_common.c: Likewise.
61812         * sunrpc/rpc_dtable.c: Likewise.
61813         * sunrpc/rpc_prot.c: Likewise.
61814         * sunrpc/rpc_thread.c: Likewise.
61815         * sunrpc/rtime.c: Likewise.
61816         * sunrpc/svc.c: Likewise.
61817         * sunrpc/svc_auth.c: Likewise.
61818         * sunrpc/svc_authux.c: Likewise.
61819         * sunrpc/svc_raw.c: Likewise.
61820         * sunrpc/svc_run.c: Likewise.
61821         * sunrpc/svc_simple.c: Likewise.
61822         * sunrpc/svc_tcp.c: Likewise.
61823         * sunrpc/svc_udp.c: Likewise.
61824         * sunrpc/svc_unix.c: Likewise.
61825         * sunrpc/svcauth_des.c: Likewise.
61826         * sunrpc/xcrypt.c: Likewise.
61827         * sunrpc/xdr.c: Likewise.
61828         * sunrpc/xdr_array.c: Likewise.
61829         * sunrpc/xdr_float.c: Likewise.
61830         * sunrpc/xdr_intXX_t.c: Likewise.
61831         * sunrpc/xdr_mem.c: Likewise.
61832         * sunrpc/xdr_rec.c: Likewise.
61833         * sunrpc/xdr_ref.c: Likewise.
61834         * sunrpc/xdr_sizeof.c: Likewise.
61835         * sunrpc/xdr_stdio.c: Likewise.
61837 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61839         [BZ #12650]
61840         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61841         * sysdeps/ia64/dl-tls.h: Likewise.
61842         * sysdeps/powerpc/dl-tls.h: Likewise.
61843         * sysdeps/s390/dl-tls.h: Likewise.
61844         * sysdeps/sh/dl-tls.h: Likewise.
61845         * sysdeps/sparc/dl-tls.h: Likewise.
61846         * sysdeps/x86_64/dl-tls.h: Likewise.
61847         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61849 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61851         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61852         rpath element also skip the following colon.
61853         (expand_dynamic_string_token): Add is_path parameter and pass
61854         down to DL_DST_REQUIRED and _dl_dst_substitute.
61855         (decompose_rpath): Call expand_dynamic_string_token with
61856         non-zero is_path.  Ignore empty rpaths.
61857         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61858         with zero is_path.
61860 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61863         Make cancelable.
61865 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61867         [BZ #12655]
61868         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61869         Patch by Filipe David Manana <fdmanana@apache.org>.
61871 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61873         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61874         Maintain aligned stack.
61875         (CHECK_RSP): Remove unused macro.
61877 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61879         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61880         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61882 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61884         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61886         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61888 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61890         [BZ #12518]
61891         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61892         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61893         * sysdeps/x86_64/memmove.c: New file.
61894         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61895         (memcpy): Renamed to ...
61896         (__new_memcpy): This.
61897         (memcpy): Provide GLIBC_2_14 memcpy.
61898         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61899         (memcpy): Provide GLIBC_2_2_5 memcpy.
61901 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61903         [BZ #12631]
61904         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61906 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61908         * misc/syncfs.c: New file.
61909         * misc/Makefile (routines): Add syncfs.
61910         * posix/unistd.h: Declare syncfs.
61911         * sysdeps/unix/syscalls.list: Add syncfs.
61913 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61915         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61916         open_by_handle_at.
61917         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61918         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61919         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61920         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61921         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61922         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61923         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61925 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61927         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61928         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61929         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61930         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61931         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61932         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61933         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61935         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61936         sync_file_range.c with -fexceptions.
61937         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61938         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61939         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61940         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61941         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61942         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61943         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61944         sync_file_range as cancellation point
61945         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61946         now a wrapper around __call_sync_file_range with cancellation handling.
61947         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61948         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61949         function name to __call_sync_file_range.
61950         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61951         Add call_sync_file_range.
61953 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61955         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61956         bits/timex.h.
61958 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61960         * iconv/iconv.h: Fix typo in comment.
61961         * io/fcntl.h: Likewise.
61962         * libio/stdio.h: Likewise.
61963         * posix/spawn.h: Likewise.
61964         * posix/unistd.h: Likewise.
61965         * stdlib/stdlib.h: Likewise.
61966         * time/time.h: Likewise.
61967         * wcsmbs/wchar.h: Likewise.
61969         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61970         open_by_handle): Add.
61971         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61972         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61973         Augment a few comments.
61974         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61975         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61976         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61977         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61978         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61979         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61980         open_by_handle.
61982         * io/fcntl.h (AT_EMPTY_PATH): Define.
61984 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61986         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61987         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61988         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61989         to...
61990         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61991         * Versions.def: Add GLIBC_2.14.
61992         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61993         Export.
61995 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61997         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61998         round counter.
61999         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62001 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62003         [BZ #12597]
62004         * string/test-strncmp.c (do_page_test): New function.
62005         (check2): Likewise.
62006         (test_main): Call check2.
62007         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62009 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62011         [BZ #12587]
62012         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62013         Handle cache information in CPU leaf 4.
62014         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62016 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62018         [BZ #12583]
62019         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62020         character representation.
62021         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62023 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62025         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62026         END(__isnan) to END(__isnanf) to match function entry point/label
62027         EALIGN(__isnanf,...).
62029 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62031         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62033 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62035         [BZ #12510]
62036         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62037         copy from the symbol referenced in the relocation to initialize the
62038         used variable.
62039         Patch by Piotr Bury <pbury@goahead.com>.
62040         * elf/Makefile: Add rules to build and tst-unique3.
62041         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62042         * elf/tst-unique3.cc: New file.
62043         * elf/tst-unique3.h: New file.
62044         * elf/tst-unique3lib.cc: New file.
62045         * elf/tst-unique3lib2.cc: New file.
62047         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62049 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62051         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62052         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62053         to _start.
62055 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62057         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62058         to-be-loaded object along a path to loader is ld.so.
62060 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62061             Ulrich Drepper  <drepper@gmail.com>
62063         * sysdeps/x86_64/memset.S: After aligning destination, code
62064         branches to different locations depending on the value of
62065         misalignment, when multiarch is enabled. Fix this.
62067 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62069         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62070         Set _x86_64_preferred_memory_instruction for AMD processsors.
62071         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62072         Set bit_Prefer_SSE_for_memop for AMD processors.
62074 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62076         * libio/fmemopen.c (fmemopen): Optimize a bit.
62078 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62080         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62082 2011-03-03  Roland McGrath  <roland@redhat.com>
62084         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62086 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62088         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62089         __bzero_ultra1 instead of __memset_ultra1.
62091 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62092             Ulrich Drepper  <drepper@gmail.com>
62094         [BZ #12509]
62095         * include/link.h (struct link_map): Add l_orig_initfini.
62096         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62097         returning unsuccessfully.
62098         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62099         close of a file loaded at startup, restore the original l_initfini
62100         list.
62101         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62102         list, store the pointer.
62103         * elf/Makefile ($(objpfx)noload-mem): New rule.
62104         (noload-ENV): Define.
62105         (tests): Add $(objpfx)noload-mem.
62106         * elf/noload.c: Include <memcheck.h>.
62107         (main): Call mtrace.  Close all opened handles.
62109 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62111         [BZ #12454]
62112         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62113         dependencies are missing.
62115 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62117         Fix __if_freereq crash: Unlike the generic version which uses free,
62118         Hurd needs munmap.
62119         * sysdeps/mach/hurd/ifreq.h: New file.
62121 2011-01-27  Petr Baudis  <pasky@suse.cz>
62122             Ulrich Drepper  <drepper@gmail.com>
62124         [BZ 12445]#
62125         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62126         to extend_alloca().
62127         * stdio-common/bug23.c: New file.
62128         * stdio-common/Makefile (tests): Add bug23.
62130 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62131             Ulrich Drepper  <drepper@gmail.com>
62133         [BZ #12489]
62134         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62135         before performing relro protection.  At old place add assertion
62136         to make sure nothing changed.
62138 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62139             Glauber de Oliveira Costa  <glommer@gmail.com>
62141         * elf/elf.h: Add new ARM TLS relocs.
62143 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62146         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62147         cast from r3.
62148         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62149         'tests' variable.
62150         * sysdeps/wordsize-64/tst-writev.c: New file.
62152 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62154         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62155         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62156         insns in _dl_start to prevent a TOC reference before relocs are
62157         resolved.
62159 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62161         [BZ #12469]
62162         * Makeconfig: Remove RANLIB definition.
62163         * Makerules: Don't use RANLIB.
62164         * aclocal.m4: Remove ranlib test.
62165         * configure.in: No need to check for ranlib.
62166         * elf/rtld-Rules: Don't use RANLIB.
62168 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62170         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62171         protection macro.
62172         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62173         inclusion protection macro.
62175         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62176         SIGRTMIN and SIGRTMAX and print information in that case only when
62177         SIGRTMIN is defined.
62179 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62181         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62182         arginfo fn returning -1.
62184         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62185         and thousands string is zero terminated.
62187 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62189         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62190         sysdeps/unix/sysv/linux/bits/socket.h.
62192 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62194         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62195         (__CPU_COUNT): Remove old macros.
62196         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62197         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62198         (__CPU_ALLOC, __CPU_FREE): Add macros.
62199         (__sched_cpualloc, __sched_cpufree): Add declarations.
62201 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62203         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62204         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62205         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62206         (readdhstai): Return value of addhstaiX call.
62207         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62208         (addgrbyX): Return value returned by cache_addgr.
62209         (readdgrbyname): Return value returned by addgrbyX.
62210         (readdgrbygid): Likewise.
62211         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62212         (addpwbyX): Return value returned by cache_addpw.
62213         (readdpwbyname): Return value returned by addhstbyX.
62214         (readdpwbyuid): Likewise.
62215         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62216         (addservbyX): Return value returned by cache_addserv.
62217         (readdservbyname): Return value returned by addservbyX:
62218         (readdservbyport): Likewise.
62219         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62220         (addhstbyX): Return value returned by cache_addhst.
62221         (readdhstbyname): Return value returned by addhstbyX.
62222         (readdhstbyaddr): Likewise.
62223         (readdhstbynamev6): Likewise.
62224         (readdhstbyaddrv6): Likewise.
62225         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62226         (readdinitgroups): Return value returned by addinitgroupsX.
62227         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62228         (prune_cache): Keep track of timeout value of re-added entries.
62229         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62230         * nscd/nscd.h: Adjust prototypes of readd* functions.
62232 2011-02-04  Roland McGrath  <roland@redhat.com>
62234         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62235         (nis_stats): Likewise.
62236         * nis/nis_modify.c (nis_modify): Likewise.
62237         * nis/nis_remove.c (nis_remove): Likewise.
62238         * nis/nis_add.c (nis_add): Likewise.
62240         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62242         * posix/fnmatch_loop.c: Add some consts.
62244         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62246 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62248         [BZ #12460]
62249         * config.make.in (config-cflags-novzeroupper): Define.
62250         * configure.in: Substitute libc_cv_cc_novzeroupper.
62251         * elf/Makefile (AVX-CFLAGS): Define.
62252         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62253         (CFLAGS-tst-auditmod4a.c): Likewise.
62254         (CFLAGS-tst-auditmod4b.c): Likewise.
62255         (CFLAGS-tst-auditmod6b.c): Likewise.
62256         (CFLAGS-tst-auditmod6c.c): Likewise.
62257         (CFLAGS-tst-auditmod7b.c): Likewise.
62258         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62260 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62262         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62263         function to the callback.
62264         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62266 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62268         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62269         of errno.
62271 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62273         [BZ #11724]
62274         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62275         of constructors.
62276         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62277         of destructors.
62278         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62280         [BZ #11724]
62281         * elf/Makefile: Add rules to build and run new test.
62282         * elf/tst-initorder.c: New file.
62283         * elf/tst-initorder.exp: New file.
62284         * elf/tst-initordera1.c: New file.
62285         * elf/tst-initordera2.c: New file.
62286         * elf/tst-initordera3.c: New file.
62287         * elf/tst-initordera4.c: New file.
62288         * elf/tst-initorderb1.c: New file.
62289         * elf/tst-initorderb2.c: New file.
62290         * elf/tst-order-a1.c: New file.
62291         * elf/tst-order-a2.c: New file.
62292         * elf/tst-order-a3.c: New file.
62293         * elf/tst-order-a4.c: New file.
62294         * elf/tst-order-b1.c: New file.
62295         * elf/tst-order-b2.c: New file.
62296         * elf/tst-order-main.c: New file.
62297         New test case by George Gensure <werkt0@gmail.com>.
62299 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62301         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62302         decoding ACE if AI_CANONIDN.
62304 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62306         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62308 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62310         * version.h (RELEASE): Bump for 2.13 release.
62311         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62313         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62315         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62316         MADV_NOHUGEPAGE.
62317         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62318         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62319         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62320         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62321         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62322         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62324         * posix/getconf.c: Update copyright year.
62325         * catgets/gencat.c: Likewise.
62326         * csu/version.c: Likewise.
62327         * debug/catchsegv.sh: Likewise.
62328         * debug/xtrace.sh: Likewise.
62329         * elf/ldconfig.c: Likewise.
62330         * elf/ldd.bash.in: Likewise.
62331         * elf/sprof.c (print_version): Likewise.
62332         * iconv/iconv_prog.c: Likewise.
62333         * iconv/iconvconfig.c: Likewise.
62334         * locale/programs/locale.c: Likewise.
62335         * locale/programs/localedef.c: Likewise.
62336         * malloc/memusage.sh: Likewise.
62337         * malloc/mtrace.pl: Likewise.
62338         * nscd/nscd.c (print_version): Likewise.
62339         * nss/getent.c: Likewise.
62341         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62342         PF_CAIF, and PF_ALG.
62343         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62345 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62347         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62348         (modules-names): Use them.
62349         (ifunc-test-modules, ifunc-pie-tests): Define.
62350         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62351         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62352         (test-extras): Likewise.
62353         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62354         $(compile-command.c).
62355         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62356         (all-built-dso): Define.
62357         (check-textrel.out, check-execstack.out): Depend on it.
62359         * configure.in: Don't override --enable-multi-arch.
62361 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62363         [BZ #6812]
62364         * nscd/hstcache.c (tryagain): Define.
62365         (cache_addhst): Return tryagain not notfound for temporary errors.
62366         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62367         failed.
62369 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62371         [BZ #10563]
62372         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62373         to make the syscall.
62374         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62376         [BZ #12378]
62377         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62378         and fall back to matching as normal character if the string ends before
62379         the matching ']' is found.  This is what POSIX requires.
62380         * posix/testfnm.c: Adjust test result.
62381         * posix/globtest.sh: Adjust test result.  Add new test.
62382         * posix/tst-fnmatch.input: Likewise.
62383         * posix/tst-fnmatch2.c: Add new test.
62385 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62387         * elf/Makefile (check-execstack): Revert last change.  Depend on
62388         check-execstack.h.
62389         (check-execstack.h): New target.
62390         (generated): Add check-execstack.h.
62391         * elf/check-execstack.c: Include "check-execstack.h".
62392         (main): Revert last change.
62393         (handle_file): Return zero if GNU_STACK is absent and
62394         DEFAULT_STACK_PERMS doesn't include PF_X.
62396 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62398         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62399         in child fails because the descriptor is already closed.
62400         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62401         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62402         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62404         [BZ #12397]
62405         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62406         syscall.
62408         [BZ #10484]
62409         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62410         temporary buffer used to handle multi lookups locally.
62411         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62413 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62415         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62416         loader is ld.so.
62418 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62420         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62421         alignment for SSE2.
62423 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62425         [BZ #12394]
62426         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62427         characters.  When rounding increased number of integer digits recompute
62428         number of groups.
62429         * stdio-common/tst-grouping.c: New file.
62430         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62432 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62434         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62435         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62437         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62438         void.
62439         * bits/select.h: Likewise.
62441 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62443         * po/ja.po: Update from translation team.
62445 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62447         [BZ #11155]
62448         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62449         implementation just like for lxstat, fxstatat, et al.
62451 2010-12-27  Jim Meyering  <meyering@redhat.com>
62453         [BZ #12348]
62454         * posix/regexec.c (build_trtable): Return failure indication upon
62455         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62457 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62459         [BZ #12201]
62460         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62461         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62462         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62463         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62465         [BZ #12207]
62466         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62468         [BZ #12204]
62469         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62470         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62472 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62474         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62475         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62476         script has SORT_BY_INIT_PRIORITY.
62477         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62478         NO_CTORS_DTORS_SECTIONS is defined.
62479         * elf/soinit.c: Likewise.
62480         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62481         NO_CTORS_DTORS_SECTIONS is defined.
62482         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62483         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62484         * sysdeps/sh/init-first.c: Likewise.
62485         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62487 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62489         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62490         always use the slow path.
62492 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62494         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62495         similar rule which adds the sysdep directories to the header search in
62496         order to pick up the correct platform stackinfo.h.
62497         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62498         perform test if it is, otherwise return successfully without testing.
62499         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62500         DEFAULT_STACK_PERMS define in stackinfo.h.
62501         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62502         defined in stackinfo.h.
62503         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62504         DEFAULT_STACK_PERMS defined in stackinfo.h.
62505         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62506         * sysdeps/ia64/stackinfo.h: Likewise.
62507         * sysdeps/s390/stackinfo.h: Likewise.
62508         * sysdeps/sh/stackinfo.h: Likewise.
62509         * sysdeps/sparc/stackinfo.h: Likewise.
62510         * sysdeps/x86_64/stackinfo.h: Likewise.
62511         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62512         PF_X for powerpc64.  Retain PF_X for powerpc32.
62514 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62516         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62517         accurately.
62518         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62519         GETDENTS_64BIT_ALIGNED.
62521 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62523         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62525 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62527         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62528         _GNU_SOURCE.
62530         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62531         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62532         Remove __restrict.
62533         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62534         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62536 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62538         [BZ #11655]
62539         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62540         are initialized.
62542 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62544         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62546 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62548         * po/it.po: Update from translation team.
62550 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62552         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62553         unused codes.
62555 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62557         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62559 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62561         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62562         specially.
62563         (gaih_getanswer_slice): Likewise.
62565 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62567         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62569 2010-05-31  Petr Baudis  <pasky@suse.cz>
62571         [BZ #11149]
62572         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62573         silently even in the chroot mode.
62575 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62577         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62578         last patch a bit.  Pretty printing
62580 2010-05-31  Petr Baudis <pasky@suse.cz>
62582         [BZ #10085]
62583         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62584         initialization of skip_initgroups_dyn.
62586 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62588         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62589         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62591 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62593         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62595 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62597         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62598         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62599         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62600         ($(objpfx)tst-fnmatch-mem): New rule.
62601         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62602         * posix/tst-fnmatch.c (main): Call mtrace.
62604 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62606         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62607         Support Intel processor model 6 and model 0x2c.
62609 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62611         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62612           signed comparison.
62614 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62616         [BZ #12205]
62617         * string/test-strncasecmp.c (check_result): New function.
62618         (do_one_test): Use it.
62619         (check1): New function.
62620         (test_main): Use it.
62621         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62622         Support strcasecmp and strncasecmp.
62624 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62626         [BZ #12194]
62627         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62628         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62630 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62632         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62633         IFUNC support.
62634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62635         memset-x86-64.
62636         * sysdeps/x86_64/multiarch/bzero.S: New file.
62637         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62638         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62639         * sysdeps/x86_64/multiarch/memset.S: New file.
62640         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62641         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62642         Set bit_Prefer_SSE_for_memop for Intel processors.
62643         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62644         Define.
62645         (index_Prefer_SSE_for_memop): Define.
62646         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62648 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62650         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62651         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62653 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62655         [BZ #12191]
62656         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62657         (__x86_64_raw_data_cache_size_half): Likewise.
62658         (__x86_64_raw_shared_cache_size): Likewise.
62659         (__x86_64_raw_shared_cache_size_half): Likewise.
62661         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62662         (__x86_64_raw_data_cache_size_half): Likewise.
62663         (__x86_64_raw_shared_cache_size): Likewise.
62664         (__x86_64_raw_shared_cache_size_half): Likewise.
62665         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62666         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62667         and __x86_64_raw_shared_cache_size_half.  Round
62668         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62669         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62670         to multiple of 256 bytes.
62672 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62674         [BZ #12167]
62675         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62676         of inacessible symlinks.  Verify result of symlink before returning it.
62677         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62678         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62680 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62682         * math/math.h (isinf): Fix typo in comment.
62684 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62686         * po/da.po: Update from translation team.
62688 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62690         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62691         is added to the list.
62693 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62694             Ulrich Drepper  <drepper@gmail.com>
62696         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62697         the global list here.  Move code to...
62698         (_dl_add_to_namespace_list): ...here.  New function.
62699         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62700         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62701         * elf/dl-load.c (lose): Don't remove the element from the list.
62702         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62703         (_dl_map_object): Likewise.
62705 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62707         [BZ #12159]
62708         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62709         into all bytes of SSE register.
62710         Patch by Richard Li <richardpku@gmail.com>.
62712 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62714         [BZ #12140]
62715         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62716         perturbing.
62718 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62720         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62721         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62722         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62723         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62725         submachine.
62726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62728 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62730         * include/dlfcn.h (__RTLD_SECURE): Define.
62731         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62732         mode & __RTLD_SECURE instead.
62733         (open_path): Rename preloaded parameter to secure.
62734         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62735         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62736         * elf/dl-deps.c (openaux): Likewise.
62737         * elf/rtld.c (struct map_args): Remove is_preloaded.
62738         (map_doit): Don't use it.
62739         (dl_main): Likewise.
62740         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62741         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62743 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62745         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62746         (sysd-rules-targets): Remove duplicates.
62747         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62748         rtld-%.$o dependency.
62750 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62752         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62753         _dl_map_object do it.
62755 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62757         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62758         fast fma builtins, define the macros in the C99 standard.
62759         (FP_FAST_FMAF): Likewise.
62760         (FP_FAST_FMAL): Likewise.
62761         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62763         * bits/mathdef.h: Update copyright year.
62764         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62766 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62768         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62769         builtins, define the macros in the C99 standard.
62770         (FP_FAST_FMAF): Likewise.
62771         (FP_FAST_FMAL): Likewise.
62772         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62773         multiply/add.
62774         (FP_FAST_FMAF): Likewise.
62776 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62778         [BZ #3268]
62779         * math/libm-test.inc (fma_test): Some new testcases.
62780         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62781         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62782         y and infinite z.  Do multiplication by C already in long double.
62783         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62784         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62785         y and infinite z.  Do bitwise or of inexact bit into u.d.
62786         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62787         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62788         * sysdeps/i386/fpu/s_fma.S: Removed.
62789         * sysdeps/i386/fpu/s_fmal.S: Removed.
62791 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62793         [BZ #3268]
62794         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62795         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62796         computation is not scheduled after fetestexcept.  Fix value
62797         of minimum denormal long double.
62799 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62801         [BZ #3268]
62802         * math/libm-test.inc (fma_test): Add some more tests.
62803         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62804         correctly.
62806 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62808         * scripts/data/localplt-s390-linux-gnu.data: New file.
62809         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62811 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62813         [BZ #3268]
62814         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62815         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62816         instead of dbl-64.
62817         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62818         inlines.
62819         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62820         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62821         if one of x and y is very large and the other is subnormal.
62822         * sysdeps/s390/fpu/s_fmaf.c: New file.
62823         * sysdeps/s390/fpu/s_fma.c: New file.
62824         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62825         * sysdeps/powerpc/fpu/s_fma.S: New file.
62826         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62827         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62828         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62830 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62832         [BZ #3268]
62833         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62834         fma tests.
62835         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62836         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62837         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62838         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62839         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62840         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62841         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62843 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62845         [BZ #12078]
62846         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62847         * posix/bug-regex31.input: Add test case.
62849 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62851         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62852         * posix/bug-regex31.input: New file.
62854         [BZ #12078]
62855         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62856         (parse_sub_exp): Fix last change, use postorder.
62858         * posix/bug-regex31.c: New file.
62859         * posix/Makefile: Add rules to build and run bug-regex31.
62861         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62863         [BZ #12078]
62864         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62866         [BZ #12108]
62867         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62868         to have entries in sys_siglist.
62870         [BZ #12093]
62871         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62872         be NULL.
62874 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62876         [BZ #3268]
62877         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62878         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62879         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62880         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62881         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62882         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62883         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62884         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62885         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62886         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62887         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62888         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62889         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62890         * math/ftestexcept.c (fetestexcept): Likewise.
62891         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62892         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62893         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62894         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62895         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62896         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62897         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62899 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62901         [BZ #12107]
62902         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62903         newline.
62905 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62907         * string/bug-strstr1.c: New file.
62908         * string/Makefile: Add rules to build and run bug-strstr1.
62910 2010-10-05  Eric Blake  <eblake@redhat.com>
62912         [BZ #12092]
62913         * string/str-two-way.h (two_way_long_needle): Always clear memory
62914         when skipping input due to the shift table.
62916 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62918         [BZ #12005]
62919         * malloc/mcheck.c: Handle large requests.
62921         [BZ #12077]
62922         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62923         for strncmp and strncasecmp.
62924         * string/stratcliff.c: Add tests for strcmp and strncmp.
62925         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62927 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62929         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62930         __set_fpscr.
62932 2010-09-30  Andreas Jaeger  <aj@suse.de>
62934         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62935         (CGROUP_SUPER_MAGIC): Define.
62936         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62937         Handle btrfs and cgroup file systems.
62938         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62939         Likewise.
62941 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62943         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62944         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62946 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62948         [BZ #12067]
62949         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62950         trying to locate the ELF header.
62952 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62954         [BZ #11611]
62955         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62956         Mask out sign-bit copies when constructing f_fsid.
62958 2010-09-24  Petr Baudis <pasky@suse.cz>
62960         * debug/stack_chk_fail_local.c: Add missing licence exception.
62961         * debug/warning-nop.c: Likewise.
62963 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62965         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62966         implementing getdents64 using getdents syscall, set d_type if
62967         __ASSUME_GETDENTS32_D_TYPE.
62969 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62971         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62972         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62974 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62976         [BZ #12037]
62977         * posix/unistd.h: Undo change of feature selection for ftruncate from
62978         2010-01-11.
62980 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62982         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62983         detection.
62985 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62987         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62988         fanotify_mark.
62989         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62991 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62993         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62994         variables after CHECK_SP call.
62995         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62997 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62998             Ulrich Drepper  <drepper@redhat.com>
63000         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63001         re-relocationg ld.so.
63002         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63003         _dl_init_paths call.
63004         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63005         here anymore.
63007 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63009         * resolv/res_init.c (__res_vinit): Count the default server we added.
63011 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63012             Ulrich Drepper  <drepper@redhat.com>
63014         [BZ #11968]
63015         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63016         (____longjmp_chk): Use %ebx for saving value across system call.
63017         Add unwind info.
63019 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63021         * manual/Makefile: Don't mix pattern rules with normal rules.
63023 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63025         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63026         operation.
63027         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63028         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63029         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63030         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63031         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63032         Likewise.
63034 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63036         [BZ #11979]
63037         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63038         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63040 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63042         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63043         * sysdeps/x86_64/addmul_1.S: Likewise.
63044         * sysdeps/x86_64/lshift.S: Likewise.
63045         * sysdeps/x86_64/mul_1.S: Likewise.
63046         * sysdeps/x86_64/rshift.S: Likewise.
63047         * sysdeps/x86_64/sub_n.S: Likewise.
63048         * sysdeps/x86_64/submul_1.S: Likewise.
63050 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63052         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63053         Define __sched_param instead of SCHED_* and sched_param when
63054         <bits/sched.h> is included with __need_schedparam defined.
63055         * bits/sched.h [__need_schedparam]
63056         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63057         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63058         (__defined_schedparam): Define to 1.
63059         (__sched_param): New structure, identical to sched_param.
63060         (__need_schedparam): Undefine.
63062 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63064         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63065         (epoll_create1): Declare.
63067         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63069 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63071         [BZ #7066]
63072         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63073         shifting retval into place.
63075 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63077         * nis/rpcsvc/nis.h: Update copyright notice.
63078         * nis/rpcsvc/nis.x: Likewise.
63079         * nis/rpcsvc/nis_callback.h: Likewise.
63080         * nis/rpcsvc/nis_callback.x: Likewise.
63081         * nis/rpcsvc/nis_object.x: Likewise.
63082         * nis/rpcsvc/nis_tags.h: Likewise.
63083         * nis/rpcsvc/yp.h: Likewise.
63084         * nis/rpcsvc/yp.x: Likewise.
63085         * nis/rpcsvc/ypupd.h: Likewise.
63086         * nis/yp_xdr.c: Likewise.
63087         * nis/ypupdate_xdr.c: Likewise.
63089         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63090         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63091         (pmap_getport): Use __libc_rpc_getport.
63092         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63093         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63094         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63096 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63099         fanotify_mark.
63101 2010-08-27  Roland McGrath  <roland@redhat.com>
63103         * sysdeps/i386/i686/multiarch/Makefile
63104         (CFLAGS-varshift.c): New variable.
63106 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63108         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63109         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63111         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63113         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63115 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63117         * sysdeps/x86_64/strlen.S: Unroll the loop.
63118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63119         strlen-sse2 strlen-sse2-bsf.
63120         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63121         __strlen_no_bsf if bit_Slow_BSF is set.
63122         (__strlen_sse42): Removed.
63123         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63124         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63126 2010-08-25  Roland McGrath  <roland@redhat.com>
63128         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63129         * sysdeps/x86_64/multiarch/varshift.c: New file.
63130         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63131         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63132         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63133         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63135 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63137         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63138         strlen-sse2 strlen-sse2-bsf.
63139         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63140         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63141         (__strlen_sse2): Removed.
63142         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63143         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63144         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63145         bit_Slow_BSF for Atom.
63146         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63147         (index_Slow_BSF): Define.
63148         (HAS_SLOW_BSF): Define.
63150 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63152         [BZ #10851]
63153         * resolv/res_init.c (__res_vinit): When no server address at all
63154         is given default to loopback.
63156 2010-08-24  Roland McGrath  <roland@redhat.com>
63158         * configure.in: Remove config-name.h generation.
63159         * configure: Regenerated.
63160         * config-name.in: File removed.
63161         * scripts/config-uname.sh: New file.
63162         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63163         ($(objdir)config-name.h): New target.
63165         * sunrpc/rpc_parse.h: Avoid nested comment.
63167 2010-08-24  Richard Henderson  <rth@redhat.com>
63168             Ulrich Drepper  <drepper@redhat.com>
63169             H.J. Lu  <hongjiu.lu@intel.com>
63171         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63172         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63173         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63174         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63175         _mm_alignr_epi8 with _mm_loadu_si128.
63176         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63177         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63178         (__m128i_shift_right): Removed.
63179         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63180         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63181         * sysdeps/x86_64/multiarch/varshift.h: New file.
63182         * sysdeps/x86_64/multiarch/varshift.S: New file.
63184 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63186         * configure.in: Move assembler checks to before sysdep dir checking.
63188 2010-08-20  Petr Baudis  <pasky@suse.cz>
63190         * LICENSES: Sync the sunrpc license.
63192 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63194         * sunrpc/auth_des.c: Update copyright notice once again.
63195         * sunrpc/auth_none.c: Likewise.
63196         * sunrpc/auth_unix.c: Likewise.
63197         * sunrpc/authdes_prot.c: Likewise.
63198         * sunrpc/authuxprot.c: Likewise.
63199         * sunrpc/bindrsvprt.c: Likewise.
63200         * sunrpc/clnt_gen.c: Likewise.
63201         * sunrpc/clnt_perr.c: Likewise.
63202         * sunrpc/clnt_raw.c: Likewise.
63203         * sunrpc/clnt_simp.c: Likewise.
63204         * sunrpc/clnt_tcp.c: Likewise.
63205         * sunrpc/clnt_udp.c: Likewise.
63206         * sunrpc/clnt_unix.c: Likewise.
63207         * sunrpc/des_crypt.c: Likewise.
63208         * sunrpc/des_soft.c: Likewise.
63209         * sunrpc/get_myaddr.c: Likewise.
63210         * sunrpc/getrpcport.c: Likewise.
63211         * sunrpc/key_call.c: Likewise.
63212         * sunrpc/key_prot.c: Likewise.
63213         * sunrpc/openchild.c: Likewise.
63214         * sunrpc/pm_getmaps.c: Likewise.
63215         * sunrpc/pm_getport.c: Likewise.
63216         * sunrpc/pmap_clnt.c: Likewise.
63217         * sunrpc/pmap_prot.c: Likewise.
63218         * sunrpc/pmap_prot2.c: Likewise.
63219         * sunrpc/pmap_rmt.c: Likewise.
63220         * sunrpc/rpc/auth.h: Likewise.
63221         * sunrpc/rpc/auth_unix.h: Likewise.
63222         * sunrpc/rpc/clnt.h: Likewise.
63223         * sunrpc/rpc/des_crypt.h: Likewise.
63224         * sunrpc/rpc/key_prot.h: Likewise.
63225         * sunrpc/rpc/netdb.h: Likewise.
63226         * sunrpc/rpc/pmap_clnt.h: Likewise.
63227         * sunrpc/rpc/pmap_prot.h: Likewise.
63228         * sunrpc/rpc/pmap_rmt.h: Likewise.
63229         * sunrpc/rpc/rpc.h: Likewise.
63230         * sunrpc/rpc/rpc_des.h: Likewise.
63231         * sunrpc/rpc/rpc_msg.h: Likewise.
63232         * sunrpc/rpc/svc.h: Likewise.
63233         * sunrpc/rpc/svc_auth.h: Likewise.
63234         * sunrpc/rpc/types.h: Likewise.
63235         * sunrpc/rpc/xdr.h: Likewise.
63236         * sunrpc/rpc_clntout.c: Likewise.
63237         * sunrpc/rpc_cmsg.c: Likewise.
63238         * sunrpc/rpc_common.c: Likewise.
63239         * sunrpc/rpc_cout.c: Likewise.
63240         * sunrpc/rpc_dtable.c: Likewise.
63241         * sunrpc/rpc_hout.c: Likewise.
63242         * sunrpc/rpc_main.c: Likewise.
63243         * sunrpc/rpc_parse.c: Likewise.
63244         * sunrpc/rpc_parse.h: Likewise.
63245         * sunrpc/rpc_prot.c: Likewise.
63246         * sunrpc/rpc_sample.c: Likewise.
63247         * sunrpc/rpc_scan.c: Likewise.
63248         * sunrpc/rpc_scan.h: Likewise.
63249         * sunrpc/rpc_svcout.c: Likewise.
63250         * sunrpc/rpc_tblout.c: Likewise.
63251         * sunrpc/rpc_util.c: Likewise.
63252         * sunrpc/rpc_util.h: Likewise.
63253         * sunrpc/rpcinfo.c: Likewise.
63254         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63255         * sunrpc/rpcsvc/key_prot.x: Likewise.
63256         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63257         * sunrpc/rpcsvc/mount.x: Likewise.
63258         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63259         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63260         * sunrpc/rpcsvc/rex.x: Likewise.
63261         * sunrpc/rpcsvc/rstat.x: Likewise.
63262         * sunrpc/rpcsvc/rusers.x: Likewise.
63263         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63264         * sunrpc/rpcsvc/spray.x: Likewise.
63265         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63266         * sunrpc/rtime.c: Likewise.
63267         * sunrpc/svc.c: Likewise.
63268         * sunrpc/svc_auth.c: Likewise.
63269         * sunrpc/svc_authux.c: Likewise.
63270         * sunrpc/svc_raw.c: Likewise.
63271         * sunrpc/svc_run.c: Likewise.
63272         * sunrpc/svc_simple.c: Likewise.
63273         * sunrpc/svc_tcp.c: Likewise.
63274         * sunrpc/svc_udp.c: Likewise.
63275         * sunrpc/svc_unix.c: Likewise.
63276         * sunrpc/svcauth_des.c: Likewise.
63277         * sunrpc/xcrypt.c: Likewise.
63278         * sunrpc/xdr.c: Likewise.
63279         * sunrpc/xdr_array.c: Likewise.
63280         * sunrpc/xdr_float.c: Likewise.
63281         * sunrpc/xdr_mem.c: Likewise.
63282         * sunrpc/xdr_rec.c: Likewise.
63283         * sunrpc/xdr_ref.c: Likewise.
63284         * sunrpc/xdr_sizeof.c: Likewise.
63285         * sunrpc/xdr_stdio.c: Likewise.
63287         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63288         handling.
63290 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63292         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63294 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63296         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63297         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63298         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63299         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63300         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63301         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63302         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63303         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63304         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63305         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63306         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63307         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63308         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63309         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63311 2010-07-26  Anton Blanchard  <anton@samba.org>
63313         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63314         * malloc/arena.c (heap_trim): Likewise.
63316 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63318         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63319         here.  Not...
63320         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63321         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63323 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63325         * sysdeps/i386/elf/Makefile: New file.
63327 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63329         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63330         from fanotify_init.
63331         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63332         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63334 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63336         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63337         of strncasecmp_l.
63338         * sysdeps/multiarch/strcmp.S: Likewise.
63340 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63342         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63343         strncase_l-nonascii.
63344         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63345         Add strncase_l-ssse3.
63346         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63347         * sysdeps/x86_64/strcmp.S: Likewise.
63348         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63349         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63350         * sysdeps/x86_64/strncase.S: New file.
63351         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63352         * sysdeps/x86_64/strncase_l.S: New file.
63353         * string/Makefile (strop-tests): Add strncasecmp.
63354         * string/test-strncasecmp.c: New file.
63356         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63357         warning.
63359         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63360         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63362 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63364         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63366 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63368         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63369         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63370         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63372 2010-05-01  Alan Modra  <amodra@gmail.com>
63374         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63375         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63376         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63377         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63378         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63379         tidying.  Don't tail-call __sigjmp_save for static lib.
63380         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63381         save location.
63382         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63383         (CALL_MCOUNT): Add eh info, and nop after bl.
63384         (TAIL_CALL_SYSCALL_ERROR): New macro.
63385         (PSEUDO_RET): Use it.
63386         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63387         Correct save location of integer regs and cr.
63388         (_dl_profile_resolve): Correct cr save location.  Delete nops
63389         after bl when SHARED.  Reduce cfi size a little by better
63390         placement of cfi directives.
63391         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63392         make a stack frame.  Instead use parm save area as a temp.
63393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63394         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63396         Don't make a stack frame for parent, use parm save area.
63397         Increase child stack frame to 112 bytes.  Don't save unused reg,
63398         and adjust reg usage.  Set up cfi on error recovery and
63399         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63401         (__makecontext): Add dummy nop after jump to exit.
63402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63403         Use correct parm save area and cr save, reduce stack frame.
63404         Correct cfi for possible PSEUDO_RET frame setup.
63405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63406         Branch to local label emitted by PSEUDO_RET rather than
63407         __syscall_error.
63409 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63411         [BZ #11904]
63412         * locale/programs/locale.c (print_assignment): New function.
63413         (show_locale_vars): Use it.
63415 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63417         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63418         field.
63419         (struct statfs64): Likewise.
63420         (_STATFS_F_FLAGS): Define.
63421         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63422         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63423         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63424         (ST_VALID): Define locally.
63425         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63426         __statvfs_getflags, use the provided value.
63427         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63428         __ASSUME_STATFS_F_FLAGS.
63430         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63432         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63433         Add sys/fanotify.h.
63434         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63435         fanotify_mask for GLIBC_2.13.
63436         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63437         fanotify_init and fanotify_mark.
63438         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63439         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63441         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63442         Add prlimit.
63443         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63444         prlimit64 for GLIBC_2.13.
63445         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63446         prlimit64.
63447         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63448         syscall.
63449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63450         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63451         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63452         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63453         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63454         add prlimit alias.
63455         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63457         [BZ #11903]
63458         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63459         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63461         * nss/Makefile: Add rules to build and run tst-nss-test1.
63462         * shlib-versions: Add entry for libnss_test1.
63463         * nss/nss_test1.c: New file.
63464         * nss/tst-nss-test1.c: New file.
63466         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63467         (__nss_configure_lookup): Set appropriate entry in
63468         __nss_configure_lookup to true.
63469         * nss/nsswitch.h: Define enum with indeces of databases in
63470         databases and __nss_database_custom arrays.  Declare
63471         __nss_database_custom.
63472         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63473         to avoid using nscd when custom rules are installed.
63474         * nss/getXXbyYY_r.c: Likewise.
63475         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63477         * nss/nss_files/files-parse.c: Whitespace fixes.
63479 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63481         [BZ #11883]
63482         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63483         * posix/fnmatch_loop.c: Likewise.
63485 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63487         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63488         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63489         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63490         * Versions.def [GLIBC_2.13]: Add.
63492 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63494         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63495         Also fail if tpwd after pwuid call is NULL.
63497 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63499         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63500         when converting to ms.
63502 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63504         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63505         EOPNOTSUPP errors with ENOTTY.
63506         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63507         EOPNOTSUPP errors with ENOTTY.
63509 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63511         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63512         Add strcasecmp_l-ssse3.
63513         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63514         strcasecmp.
63515         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63516         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63517         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63519 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63521         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63523         * string/Makefile (strop-tests): Add strcasecmp.
63524         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63525         strcasecmp_l-nonascii.
63526         (gen-as-const-headers): Add locale-defines.sym.
63527         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63528         * sysdeps/x86_64/strcasecmp.S: New file.
63529         * sysdeps/x86_64/strcasecmp_l.S: New file.
63530         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63531         * sysdeps/x86_64/locale-defines.sym: New file.
63532         * string/test-strcasecmp.c: New file.
63534         * string/test-strcasestr.c: Test both ends of the range of characters.
63535         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63537 2010-07-29  Roland McGrath  <roland@redhat.com>
63539         [BZ #11856]
63540         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63542 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63544         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63545         for ld.so.
63547 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63549         * manual/memory.texi (Malloc Tunable Parameters): Document
63550         M_PERTURB.
63552 2010-07-26  Roland McGrath  <roland@redhat.com>
63554         [BZ #11840]
63555         * configure.in (-fgnu89-inline check): Set and substitute
63556         gnu89_inline, not libc_cv_gnu89_inline.
63557         * configure: Regenerated.
63558         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63560 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63562         * string/test-strnlen.c: New file.
63563         * string/Makefile (strop-tests): Add strnlen.
63564         * string/tester.c (test_strnlen): Add a few more test cases.
63565         * string/tst-strlen.c: Better error reporting.
63567         * sysdeps/x86_64/strnlen.S: New file.
63569 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63571         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63572         lower-latency instructions.
63574 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63576         * string/test-strcasestr.c: New file.
63577         * string/test-strstr.c: New file.
63578         * string/Makefile (strop-tests): Add strstr and strcasestr.
63579         * string/str-two-way.h: Don't undefine MAX.
63580         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63582 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63584         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63585         strcasestr-nonascii.
63586         (CFLAGS-strcasestr-nonascii.c): Define.
63587         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63588         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63589         Remove unused attribute.
63591 2010-07-20  Roland McGrath  <roland@redhat.com>
63593         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63594         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63595         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63596         like LD_HWCAP_MASK can disable hwcaps.
63598 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63600         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63602 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63604         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63605         call in strcasestr.
63606         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63607         __strcasestr_sse42_nonascii.
63608         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63609         strcasestr-nonascii.c.
63610         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63612 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63614         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63615         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63616         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63617         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63619 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63621         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63622         fcntl.
63624 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63626         [BZ #11577]
63627         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63628         dl_signal_cerror.
63630 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63632         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63633         _PC_PIPE_BUF using F_GETPIPE_SZ.
63635 2010-07-05  Roland McGrath  <roland@redhat.com>
63637         * manual/arith.texi (Rounding Functions): Fix rint description
63638         implicit in round description.
63640 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63642         * elf/Makefile: Fix linking for a few tests to make recent linker
63643         happy.
63645 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63647         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63648         $(common-objpfx)libc_nonshared.a.
63650 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63652         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63653         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63654         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63655         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63656         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63657         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63658         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63659         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63674         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63675         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63676         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63677         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63678         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63679         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63680         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63681         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63682         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63683         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63684         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63685         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63701 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63703         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63704         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63705         * string/memmove.c (memmove): Renamed to ...
63706         (MEMMOVE): ...this.  Default to memmove.
63707         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63708         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63709         (END_CHK): Define.
63710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63711         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63712         mempcpy-ssse3-back memmove-ssse3-back.
63713         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63714         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63715         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63716         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63717         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63718         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63719         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63720         * sysdeps/x86_64/multiarch/memmove.c: New file.
63721         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63722         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63723         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63724         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63725         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63726         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63727         Define.
63728         (index_Fast_Copy_Backward): Define.
63729         (HAS_ARCH_FEATURE): Define.
63730         (HAS_FAST_REP_STRING): Define.
63731         (HAS_FAST_COPY_BACKWARD): Define.
63733 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63735         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63736         Restore proper fallback handling.
63738 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63740         [BZ #11701]
63741         * posix/group_member.c (__group_member): Correct checking loop.
63743         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63744         OOM in getpwuid_r correctly.  Return error number when the caller
63745         should return, otherwise -1.
63746         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63747         call returning > 0 value.
63748         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63750 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63752         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63753         libc_nonshared.a from targets in modules-names.
63755 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63757         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63758         requires it.
63760 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63762         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63763         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63764         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63765         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63767 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63769         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63771 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63773         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63774         and F_GETPIPE_SZ.
63775         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63776         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63777         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63778         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63779         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63780         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63782 2010-06-14  Roland McGrath  <roland@redhat.com>
63784         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63786 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63788         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63789         __REDIRECT followed by __THROW.
63790         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63791         * posix/getopt.h (getopt): Likewise.
63793 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63795         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63796         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63797         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63798         in AT_FLAGS.
63799         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63800         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63802 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63804         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63806 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63808         [BZ #11640]
63809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63810         Properly check family and model.
63812 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63814         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63816 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63818         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63820 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63822         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63823         symbol reference.
63825 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63827         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63828         symbol reference.
63830 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63832         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63833         and internal_recvmmsg.
63834         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63835         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63836         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63837         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63839         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63840         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63841         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63843 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63845         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63847 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63849         POWER7 optimizations.
63850         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63851         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63853 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63855         * version.h: Update for 2.13 development version.
63857 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63859         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63860         exceptions.  Return 0.
63862 2010-05-07  Roland McGrath  <roland@redhat.com>
63864         * elf/ldconfig.c (main): Add a const.
63866 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63868         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63869         (args_options): Add no-idn option.
63870         (ahosts_keys_int): Add idn_flags to ai_flags.
63871         (parse_option): Handle 'i' option to clear idn_flags.
63873         * malloc/malloc.c (_int_free): Possible race in the most recently
63874         added check.  Only act on the data if no current modification
63875         happened.
63877 See ChangeLog.17 for earlier changes.